{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C3","name":"Audit Trail","shortDescription":{"text":"Audit Trail"},"helpUri":"https://codehealth.canine.dev/dimensions/C3"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"C5","name":"Data-Subject Rights","shortDescription":{"text":"Data-Subject Rights"},"helpUri":"https://codehealth.canine.dev/dimensions/C5"},{"id":"DM10","name":"One transaction, one aggregate","shortDescription":{"text":"One transaction, one aggregate"},"helpUri":"https://codehealth.canine.dev/dimensions/DM10"},{"id":"DM9","name":"Scattered domain decisions","shortDescription":{"text":"Scattered domain decisions"},"helpUri":"https://codehealth.canine.dev/dimensions/DM9"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"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":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"handlers.createToolExecuteHandler (cyclomatic 363): handlers.createToolExecuteHandler has cyclomatic complexity 363 (threshold 15). Most of this is not in the body itself: 1 of the 363 points is its own statement and the rest belongs to 35 function literals inside it that branch (lines 7369, 7072, 5777, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5666}}}],"partialFingerprints":{"codehealthFindingId/v1":"d460ce34f7f17d8f7fc9f34d91cff928ad525979805b60c11c9992bd55ef83c0"}},{"ruleId":"D1","level":"warning","message":{"text":"panel.SubagentThreadPanel (cyclomatic 322): panel.SubagentThreadPanel has cyclomatic complexity 322 (threshold 15). Of this number, 124 points are the body\u0027s own statements and 198 belong to 51 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd8a8548b7e57315481546479f6185226192f464e8c6d4dd2d9bc162d9bd7c2"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.initializeAgent (cyclomatic 243): initialize.initializeAgent has cyclomatic complexity 243 (threshold 15). Of this number, 221 points are the body\u0027s own statements and 22 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabc52ce7b878e777a90cf6c7a9d28105927e64f78861052ff1a6ebb99d0d810"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumeAgentController (cyclomatic 235): ResumeAgentController has cyclomatic complexity 235 (threshold 15). Of this number, 208 points are the body\u0027s own statements and 27 belong to 37 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":"api/server/controllers/agents/resume.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5be2055d167b0e22dcc420ff1fad20934ff8d48f5150158689c90cc800f0b2c"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableAgentController (cyclomatic 234): ResumableAgentController has cyclomatic complexity 234 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e23f2db8ee7f58f40172bc0834249d0346bd22b1d83ce2b1266160b170982b"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageNav.MessageNav (cyclomatic 221): MessageNav.MessageNav has cyclomatic complexity 221 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 205 belong to 62 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6710c99c8223fc7409a4df9d3562166dccc2d81f404a6f2884ff4f523b7bc95"}},{"ruleId":"D1","level":"warning","message":{"text":"initializeClientWithProvider (cyclomatic 186): initializeClientWithProvider has cyclomatic complexity 186 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 115 belong to 97 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":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d787f9a0c5443e3524356879f67242c89e11b27de4938625afd1ad6c17e212"}},{"ruleId":"D1","level":"warning","message":{"text":"outcome.createAgentEventTerminalHandler.\u003Creturned closure\u003E (cyclomatic 184): outcome.createAgentEventTerminalHandler.\u003Creturned closure\u003E has cyclomatic complexity 184 (threshold 15). Of this number, 180 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12973cfc3539492e4679b29c1b29c0f95666af4c20fd18c5727c768dbe8ef4d"}},{"ruleId":"D1","level":"warning","message":{"text":"buildMessages (cyclomatic 179): buildMessages has cyclomatic complexity 179 (threshold 15). Of this number, 81 points are the body\u0027s own statements and 98 belong to 32 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":"api/server/controllers/agents/client.js"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caaa10b370f0004417340a6aee61ffce9621e40101a2c217806b736cc3deb82"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.getOpenAILLMConfig (cyclomatic 170): llm.getOpenAILLMConfig has cyclomatic complexity 170 (threshold 15). Of this number, 166 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0d0e6d46be6aee59bdaa6ee402c7b274f9a9d74554af098ff3f0d08d8bcb7a"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableAgentController::startGeneration (cyclomatic 154): ResumableAgentController::startGeneration has cyclomatic complexity 154 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b3f41be90993389a1e417797f3bd5bd1237642b73a392ba734bf0720f7c00a"}},{"ruleId":"D1","level":"warning","message":{"text":"Palette.Palette (cyclomatic 151): Palette.Palette has cyclomatic complexity 151 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 128 belong to 28 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":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e58afac049c19cd07d3b7214cb2068e27f6d10735c4acbe5ec9a130535ccd3d"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPManager.callTool (cyclomatic 141): MCPManager.callTool has cyclomatic complexity 141 (threshold 15). Of this number, 115 points are the body\u0027s own statements and 26 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"b014421ffa4d538ed70eb439f830fd5a762c936e1f99009e0a9d0ab03a4288b5"}},{"ruleId":"D1","level":"warning","message":{"text":"actor.executeAgentEventActor (cyclomatic 139): actor.executeAgentEventActor has cyclomatic complexity 139 (threshold 15). Of this number, 137 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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d146e84424d460f5faf64a6983c7518ee99bf6f3438b196b7bf3e87d45216276"}},{"ruleId":"D1","level":"warning","message":{"text":"permissions.updateInterfacePermissions (cyclomatic 136): permissions.updateInterfacePermissions has cyclomatic complexity 136 (threshold 15). Of this number, 111 points are the body\u0027s own statements and 25 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e49aa815beab52b9b6b973a609541c1ba81943ccc89c6fa3c171e9b2212881"}},{"ruleId":"D1","level":"warning","message":{"text":"WorkspaceChannel.WorkspaceChannel (cyclomatic 132): WorkspaceChannel.WorkspaceChannel has cyclomatic complexity 132 (threshold 15). Of this number, 107 points are the body\u0027s own statements and 25 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6def08a15b1bda594d357caa097dcd6d2c460c495e793365d821476dc3ba4f86"}},{"ruleId":"D1","level":"warning","message":{"text":"background.runCheckBackgroundTask (cyclomatic 130): background.runCheckBackgroundTask has cyclomatic complexity 130 (threshold 15). Of this number, 123 points are the body\u0027s own statements and 7 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":"packages/api/src/agents/background.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac963c8bb6c3ad8f9c93eab1a520caebc2e5e97a27cb946a9d5ef8f46509dac6"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.deserializeJob (cyclomatic 129): RedisJobStore.deserializeJob has cyclomatic complexity 129 (threshold 15). Of this number, 125 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b6cf3aa06d7ef949b2b6b6f5ff839e5ef3c9cf7568dea3405ab765a9c9f7d4"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeWorkspaceMenu.CodeWorkspaceMenu (cyclomatic 128): CodeWorkspaceMenu.CodeWorkspaceMenu has cyclomatic complexity 128 (threshold 15). Of this number, 91 points are the body\u0027s own statements and 37 belong to 17 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d8bf71d8a64875d7f5d229b5670dbb604a9ebeb2f0957faa9374f8aacdb0f"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.subscribeWithResume (cyclomatic 127): GenerationJobManagerClass.subscribeWithResume has cyclomatic complexity 127 (threshold 15). Of this number, 109 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6336}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a23ebde678a889b1d35e1e8382b7010c2d5f7147c1ce23fb2775a9f2f41f6c"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentParts.ContentPartsBody (cyclomatic 124): ContentParts.ContentPartsBody has cyclomatic complexity 124 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 74 belong to 26 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb9d34fa4d3ccd643f1b5bfd5a961333b29ab379ba8fa45328456a374608ef7"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.isValidResult (cyclomatic 123): workspace.isValidResult has cyclomatic complexity 123 (threshold 15). Of this number, 117 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80696ea4b2375890a36c777370fe6901b1edbed532eb40b0144f6eb790ea909"}},{"ruleId":"D1","level":"warning","message":{"text":"useAutoSave.useAutoSave (cyclomatic 117): useAutoSave.useAutoSave has cyclomatic complexity 117 (threshold 15). Most of this is not in the body itself: 4 of the 117 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 409, 648, 636, \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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b5aa2a456f473079300f4f1c836d367970621ea90d26aae170895344f9212e"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.extractMessageContent (cyclomatic 115): messages.extractMessageContent has cyclomatic complexity 115 (threshold 15). Of this number, 94 points are the body\u0027s own statements and 21 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a359c3da656f4322ee3fd071729e24659512e608942c4981dd8cd410ac2aa27"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPanel.AgentPanel (cyclomatic 114): AgentPanel.AgentPanel has cyclomatic complexity 114 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 65 belong to 17 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c538d53853d13be301b43352cdbdc9e34fa487bb26f969688a315c9428610abe"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.saveConvo (cyclomatic 113): conversation.createConversationMethods.saveConvo has cyclomatic complexity 113 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 25 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"d057e734aae311516aba73ad5222657ab0723bcd22c46aaaccbe2ecbf69c6143"}},{"ruleId":"D1","level":"warning","message":{"text":"Queue.QueueRow (cyclomatic 112): Queue.QueueRow has cyclomatic complexity 112 (threshold 15). Of this number, 83 points are the body\u0027s own statements and 29 belong to 10 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cc483cd573ebb35ecc093bf8e084a8f6f7260a77eeb0240c9a4d86f368ff7b"}},{"ruleId":"D1","level":"warning","message":{"text":"Artifacts.Artifacts (cyclomatic 111): Artifacts.Artifacts has cyclomatic complexity 111 (threshold 15). Of this number, 65 points are the body\u0027s own statements and 46 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1f81aa0f117d08aa5b5b9c118a40b3f0debdbcd84ad88041dd6cf253ede71d"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.validateSettingDefinitions (cyclomatic 109): generate.validateSettingDefinitions has cyclomatic complexity 109 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"a770b0a093bf52e0504b3be21cd6ffb397908f681e835ca48871928859164df7"}},{"ruleId":"D1","level":"warning","message":{"text":"Apps.Apps (cyclomatic 107): Apps.Apps has cyclomatic complexity 107 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 57 belong to 13 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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba749a54789a3dc2d8c389c5c803c3768ba430459b571601bb6f6a527d3daa57"}},{"ruleId":"D1","level":"warning","message":{"text":"McpSection.McpSection (cyclomatic 106): McpSection.McpSection has cyclomatic complexity 106 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 45 belong to 12 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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d94533da3dd22d567c595ccb4acd080ed1471a3427796ab542974419331bca"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.inspectModelBoundContent (cyclomatic 105): modelBoundContent.inspectModelBoundContent has cyclomatic complexity 105 (threshold 15). Of this number, 79 points are the body\u0027s own statements and 26 belong to 8 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"d964945ce202ee9c5de7eac469857847cc7d5e465ccf08ba7ee487fc38e8ace3"}},{"ruleId":"D1","level":"warning","message":{"text":"index.router.post(\u0022/chat/abort\u0022) (cyclomatic 104): index.router.post(\u0022/chat/abort\u0022) has cyclomatic complexity 104 (threshold 15). Of this number, 78 points are the body\u0027s own statements and 26 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":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"df80913ad606e85aca83a0534c12dc3cb72c6b46f41c9002692a749fe2439c03"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.createJob (cyclomatic 104): RedisJobStore.createJob has cyclomatic complexity 104 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc7da8b0105cca84d030389cea9d5cd4ac5cc6be71b7cea0090614983d14d1"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.recordScheduleOutcome (cyclomatic 103): service.createSchedulesService.recordScheduleOutcome has cyclomatic complexity 103 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c61b6d0d292fe1bb5027b5de024302c26d3b6abed35f81741614ed57002f42"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTable.DataTable (cyclomatic 102): DataTable.DataTable has cyclomatic complexity 102 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 76 belong to 27 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff076f9047bd8f6a258e6f96603d4d96a4f8452e7b83475b7c806bbb99c95ce8"}},{"ruleId":"D1","level":"warning","message":{"text":"request.handleSteerRequestInternal (cyclomatic 97): request.handleSteerRequestInternal has cyclomatic complexity 97 (threshold 15). Of this number, 96 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"18715d2c9cf2f4c9d18eb1efab1ba693ebf6008fe838a5b2cc6f6480c008d67a"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.claimBackgroundToolResults (cyclomatic 97): message.createMessageMethods.claimBackgroundToolResults has cyclomatic complexity 97 (threshold 15). Of this number, 95 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0805ce416ea757068854fafe86aca8e4da5e047ebfe9b47edd752ade8aa019db"}},{"ruleId":"D1","level":"warning","message":{"text":"sendReservedMessage (cyclomatic 97): sendReservedMessage has cyclomatic complexity 97 (threshold 15). Of this number, 89 points are the body\u0027s own statements and 8 belong to 15 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":"api/app/clients/BaseClient.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"aff7d9889e3e8d530a536c69defa1fcad0a8a1c7f1abbbc98f45623ecb7978e5"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.createJob (cyclomatic 96): GenerationJobManagerClass.createJob 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede37a2c9fbb403775ccb1e2ebc5c69e9fd4f7d93aebc523c3a63c45b8f2c042"}},{"ruleId":"D1","level":"warning","message":{"text":"loadToolDefinitionsWrapper (cyclomatic 96): loadToolDefinitionsWrapper has cyclomatic complexity 96 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 54 belong to 21 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9f4a6ff5e5b999f5b580c92d75eaa674982ae3a2b6071b750e91d30fec80e4"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualizedAgentGrid.VirtualizedAgentGrid (cyclomatic 95): VirtualizedAgentGrid.VirtualizedAgentGrid has cyclomatic complexity 95 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 70 belong to 17 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2c3c6a4df694b2555c211b04b044bc169b390ebf586b573a8f16d38829587"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCall.ToolCall (cyclomatic 95): ToolCall.ToolCall has cyclomatic complexity 95 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 56 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d62a9b532015f01839181543d71d3bfe2425060758b9555de13e6b4268fd007f"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessControlService.bulkUpdateResourcePermissions (cyclomatic 95): AccessControlService.bulkUpdateResourcePermissions has cyclomatic complexity 95 (threshold 15). Of this number, 80 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65cf6d909ab82af8065fa788b60df2c9354a28b08215caf9759836b489e74fc"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.executeWorkspaceTool (cyclomatic 94): workspace.executeWorkspaceTool has cyclomatic complexity 94 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"46667c41fc0434c6bd78b15933d603dce86420689b2e2e39672a017f6fe81508"}},{"ruleId":"D1","level":"warning","message":{"text":"backgroundCompletionWakeup.createBackgroundToolCompletionWakeupResolver.resolve (cyclomatic 94): backgroundCompletionWakeup.createBackgroundToolCompletionWakeupResolver.resolve has cyclomatic complexity 94 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ead20599e561146ae08436a5c81b309382f4d36fac77babcdedf0c1309a72df"}},{"ruleId":"D1","level":"warning","message":{"text":"target.useTarget (cyclomatic 93): target.useTarget has cyclomatic complexity 93 (threshold 15). Of this number, 73 points are the body\u0027s own statements and 20 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/target.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0a907a21a15950ad1cf5b21d1710e8223bd59ae056fe698f3c73c66b062ec5"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentPublicRecorder.recordEvent (cyclomatic 93): SubagentPublicRecorder.recordEvent has cyclomatic complexity 93 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e426c70148a2717d6308e5d2ac15e61b4ac0f130f2acd6edf1993e5caa6036c"}},{"ruleId":"D1","level":"warning","message":{"text":"updateAgentHandler (cyclomatic 92): updateAgentHandler has cyclomatic complexity 92 (threshold 15). Of this number, 88 points are the body\u0027s own statements and 4 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d838da5b28b49517d0e9f0eca5101fe961d081d13f7799eedcdfb3e288048dac"}},{"ruleId":"D1","level":"warning","message":{"text":"Breakdown.Breakdown (cyclomatic 90): Breakdown.Breakdown has cyclomatic complexity 90 (threshold 15). Of this number, 71 points are the body\u0027s own statements and 19 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada6adb8fcf6600161cb43cd285d44435a01bef0dd340789d2df734608238ec5"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSearch.WebSearch (cyclomatic 89): WebSearch.WebSearch has cyclomatic complexity 89 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 27 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/WebSearch.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b9a5aab952a92022841a2469b2929a087d1235f6a5f2cfbb70cb50747d9396"}},{"ruleId":"D1","level":"warning","message":{"text":"LangfuseConnection.LangfuseConnection (cyclomatic 89): LangfuseConnection.LangfuseConnection has cyclomatic complexity 89 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 36 belong to 16 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":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d532b64927860eb1eb38b742f8d2b373a6eb573f81b24dbf7cf20c26044138"}},{"ruleId":"D1","level":"warning","message":{"text":"chatCompletion (cyclomatic 89): chatCompletion has cyclomatic complexity 89 (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":"api/server/controllers/agents/client.js"},"region":{"startLine":4563}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7fe4cb943ab8896e4f5af06a81508130d50e034d4331b8981016ac33361a1b"}},{"ruleId":"D1","level":"warning","message":{"text":"chatV1 (cyclomatic 89): chatV1 has cyclomatic complexity 89 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 58 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fba79905579d6b257b589a9d9ba539436607403a0f1331ee340d9fc104c114a"}},{"ruleId":"D1","level":"warning","message":{"text":"cleanup.disposeClient (cyclomatic 88): cleanup.disposeClient has cyclomatic complexity 88 (threshold 15). Of this number, 85 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/cleanup.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"40aec95d09ee7171ad5d4169a8bdaf258d52eab12f7720c1ecf6e20fe0814c47"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatRoute.ChatRoute (cyclomatic 88): ChatRoute.ChatRoute has cyclomatic complexity 88 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 56 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":"client/src/routes/ChatRoute.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e46e11a03328fa4c0b090d5b991a7573e50c51a6f8396179a9eb0211c3c74a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Workspaces.OwnedWorkspaces (cyclomatic 88): Workspaces.OwnedWorkspaces has cyclomatic complexity 88 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 55 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":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a782ac64f30a1e8640c5b487b15ea435c72aead017adcce8db93320fd86395"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallGroup.ToolCallGroup (cyclomatic 88): ToolCallGroup.ToolCallGroup has cyclomatic complexity 88 (threshold 15). To reduce it, separate the cases: extract each independent 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 (ToolCallGroup.ToolCallGroup::resolveGroupLabel) 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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f54bbab31a3eaff1728730ab8de0dff45b239f47721f7de5e9bbc2498600886"}},{"ruleId":"D1","level":"warning","message":{"text":"resumeCompletion (cyclomatic 88): resumeCompletion has cyclomatic complexity 88 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 29 belong to 18 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5442}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e28de62af8945d62c36e1e3072f9f46feaed65d964a5e12b9d94d6801522dee"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentCall.SubagentCall (cyclomatic 87): SubagentCall.SubagentCall has cyclomatic complexity 87 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 46 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"24599d89a93ebd401cdb5d73a80807239402d7f840335c8668d20a93d3f9d193"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createResponseExecutionRuntime (cyclomatic 86): runtime.createResponseExecutionRuntime has cyclomatic complexity 86 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 63 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"535cafef93a615495039c203ea73ec25fd205b5c74325cbb2b2035647939d0b5"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.getGoogleConfig (cyclomatic 86): llm.getGoogleConfig has cyclomatic complexity 86 (threshold 15). Of this number, 82 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":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f6ee455d90d2a2eec2c27c18df3292444cfe67f44d910b22041f27704db7ba"}},{"ruleId":"D1","level":"warning","message":{"text":"content.foldSubagentEvent (cyclomatic 86): content.foldSubagentEvent has cyclomatic complexity 86 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d913b8ecd790c34fe7f12f95fc7e200165c814a1ca637c40c7a26ddff701b6e5"}},{"ruleId":"D1","level":"warning","message":{"text":"processAgentFileUpload (cyclomatic 86): processAgentFileUpload has cyclomatic complexity 86 (threshold 15). Of this number, 66 points are the body\u0027s own statements and 20 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e3264262231bf30658cb4c04db9290125a85771aa23d23cb5bff9725ad2336"}},{"ruleId":"D1","level":"warning","message":{"text":"Stage.Stage (cyclomatic 85): Stage.Stage has cyclomatic complexity 85 (threshold 15). Most of this is not in the body itself: 3 of the 85 points are its own statements and the rest belongs to 26 function literals inside it that branch (lines 299, 376, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a84cc4bc6b88b18839a42aaf6ed9d368211df9655f787fb7a8df03b542b248a"}},{"ruleId":"D1","level":"warning","message":{"text":"llm.getLLMConfig (cyclomatic 85): llm.getLLMConfig has cyclomatic complexity 85 (threshold 15). Of this number, 81 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":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"904c3cf157b94e4a46fafed29f00d8b387d622d4b07441f282f990329fef2b9b"}},{"ruleId":"D1","level":"warning","message":{"text":"useMCPServerManager.useMCPServerManager (cyclomatic 84): useMCPServerManager.useMCPServerManager has cyclomatic complexity 84 (threshold 15). Most of this is not in the body itself: 7 of the 84 points are its own statements and the rest belongs to 22 function literals inside it that branch (lines 338, 235, 511, \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":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f48bdb12a3dfb582b4e4788fc8a370dd05de243731694f4667ea5becac991e"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatForm.ChatForm (cyclomatic 84): ChatForm.ChatForm has cyclomatic complexity 84 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 38 belong to 14 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":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e52f80dc0140e85158e18b218c5919a105496df0004f1695a967b9537cb1b9"}},{"ruleId":"D1","level":"warning","message":{"text":"requirements.resolveScheduledMCPRequirements (cyclomatic 82): requirements.resolveScheduledMCPRequirements has cyclomatic complexity 82 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 56 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7993f30fdad7f57cf4c40851ca88a7b35d823947bb25507cbc1beb806b7e16"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolApproval.ToolApproval (cyclomatic 81): ToolApproval.ToolApproval has cyclomatic complexity 81 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 44 belong to 10 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":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdaef173b7b84fa92a38ef3d89391dbb7512587f0f01ba3c947c5eb45c5ad26"}},{"ruleId":"D1","level":"warning","message":{"text":"useAppBridge.useAppBridge (cyclomatic 80): useAppBridge.useAppBridge has cyclomatic complexity 80 (threshold 15). Most of this is not in the body itself: 1 of the 80 points is its own statement and the rest belongs to 20 function literals inside it that branch (lines 201, 391, 530, \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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e6caa85f2f4ae36af7604582c095bc3a11c8367015944c1ddc1042b814ed18"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 80): (anonymous) has cyclomatic complexity 80 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f4cb32a117fc7d235d1940c3f21e5b4bb6bae9c885d9eafcf6e37e0e306750"}},{"ruleId":"D1","level":"warning","message":{"text":"Link.OwnedLink (cyclomatic 79): Link.OwnedLink has cyclomatic complexity 79 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 18 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Link.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4877b0a8bba38ddb101e8fe87f4c67d75afeb75508cc2208555a0ef5afcf01b1"}},{"ruleId":"D1","level":"warning","message":{"text":"engine.startScheduleEngine (cyclomatic 79): engine.startScheduleEngine has cyclomatic complexity 79 (threshold 15). Most of this is not in the body itself: 1 of the 79 points is its own statement and the rest belongs to 16 function items inside it that branch (a function literal at line 69, a function literal at line 500, a function literal at line 92, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"112a1d44fd5ce55c12603298ee31129ff4b0e237513c3e103309f8021d9dd262"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentGrid.AgentGrid (cyclomatic 78): AgentGrid.AgentGrid has cyclomatic complexity 78 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 42 belong to 11 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentGrid.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c660046c7c4c02f483c6371925c89758bf3f05fb69097ea3b5196905aa2fb4b8"}},{"ruleId":"D1","level":"warning","message":{"text":"ArtifactCodeEditor.ArtifactCodeEditor (cyclomatic 78): ArtifactCodeEditor.ArtifactCodeEditor has cyclomatic complexity 78 (threshold 15). Most of this is not in the body itself: 7 of the 78 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 509, 384, 640, \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":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"a717b8c031fb0052e35587d8b1102190520037a53c61f561b5be59222c5f4c04"}},{"ruleId":"D1","level":"warning","message":{"text":"Convo.Conversation (cyclomatic 78): Convo.Conversation has cyclomatic complexity 78 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 30 belong to 11 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":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe239e68c948df6bd473f149c2325d628e7f6d8ab10bfa4a01031458446bc4"}},{"ruleId":"D1","level":"warning","message":{"text":"openai.executeOpenAIChatCompletion (cyclomatic 77): openai.executeOpenAIChatCompletion has cyclomatic complexity 77 (threshold 15). Most of this is not in the body itself: 13 of the 77 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 443, 1023, 1035, \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"263153d805e0f9a2014d2a92e7e4cf9bd65370d3294f79340ee560c7d1f37646"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserQuestions.AskUserQuestions (cyclomatic 77): AskUserQuestions.AskUserQuestions has cyclomatic complexity 77 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 44 belong to 12 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":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c5c3aa8fd738d7a60c0c9b6b99b3ef4bb047491066ecb59ef12c100068931c"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleReadFileCall (cyclomatic 77): handlers.handleReadFileCall has cyclomatic complexity 77 (threshold 15). Of this number, 76 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"7948f9d47f7eb14cd115cd98c5671c55c155ea116dfef08e4c6fbf650e6f0ad4"}},{"ruleId":"D1","level":"warning","message":{"text":"modes.createAgentToolApprovalSession.validateExecution (cyclomatic 76): modes.createAgentToolApprovalSession.validateExecution has cyclomatic complexity 76 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cb5ee01e0576fffcde9aed5db1ab5656870c08b801a05dbbcc390657e9657f0"}},{"ruleId":"D1","level":"warning","message":{"text":"decision.createResponseDecisionSubmission.\u003Creturned closure\u003E (cyclomatic 76): decision.createResponseDecisionSubmission.\u003Creturned closure\u003E has cyclomatic complexity 76 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 14 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ef510cf3cb795a6cc5eac227d115b4b972a94b6e6cd2813384c059a17c87155"}},{"ruleId":"D1","level":"warning","message":{"text":"fire.fireSchedule (cyclomatic 76): fire.fireSchedule has cyclomatic complexity 76 (threshold 15). Most of this is not in the body itself: 3 of the 76 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 249, a function literal at line 532, advance, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4e76d95eee15a987e89dda14524ed3318f2b33f0f70ec582f5c961f7573925"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.createAgentMethods.getListAgentsByAccess (cyclomatic 76): agent.createAgentMethods.getListAgentsByAccess has cyclomatic complexity 76 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"325abfb0e7cbfbd8741815160a4eea51fd115b965effd2314ee56e498df3f3cd"}},{"ruleId":"D1","level":"warning","message":{"text":"loadToolsForExecution (cyclomatic 75): loadToolsForExecution has cyclomatic complexity 75 (threshold 15). Of this number, 67 points are the body\u0027s own statements and 8 belong to 14 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":"api/server/services/ToolService.js"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f895bc07fb78ed3b9a4674f6812be7a2ed67a4dbad5dabf4625f7bac4246120c"}},{"ruleId":"D1","level":"warning","message":{"text":"Channels.OwnedChannels (cyclomatic 74): Channels.OwnedChannels has cyclomatic complexity 74 (threshold 15). Of this number, 50 points are the body\u0027s own statements and 24 belong to 12 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1372d30e93f35c80f35cd06f2af7b9554b546b79b20cacda5a7f9fc036af7b2"}},{"ruleId":"D1","level":"warning","message":{"text":"host.startRun (cyclomatic 74): host.startRun has cyclomatic complexity 74 (threshold 15). Of this number, 71 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"9559440e13d3e9a047ebb6a4d8b1daf9bec19747ac218a7dc9a174468889fab7"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.foldConfigLayers (cyclomatic 74): resolution.foldConfigLayers has cyclomatic complexity 74 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ed890c9fb498bbf769434b7d29031c90383ec206bc7e697e64288e0b93b68d"}},{"ruleId":"D1","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore.processFiles (cyclomatic 73): useFileHandling.useFileHandlingCore.processFiles has cyclomatic complexity 73 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 18 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"426a385c6e05df83bba71073e0ff74fa629509a2acd994763291ae078c4c82f1"}},{"ruleId":"D1","level":"warning","message":{"text":"files.getOpaqueFields (cyclomatic 73): files.getOpaqueFields has cyclomatic complexity 73 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee9cc1b7f8b09a7d339738b11e3836d40ff50ee1748d99fff2d94ae2ea64495"}},{"ruleId":"D1","level":"warning","message":{"text":"submissions.extractStoredMessageContentWithBudget (cyclomatic 73): submissions.extractStoredMessageContentWithBudget has cyclomatic complexity 73 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 56 belong to 13 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb27974fb499e902c12f7ec3c28f4b78fdd8da7aeb5f4e5331eb5a0c4cdb69f"}},{"ruleId":"D1","level":"warning","message":{"text":"actor.resumeAgentEventActor (cyclomatic 73): actor.resumeAgentEventActor has cyclomatic complexity 73 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a24b8f4c44bd1d44bc19a6d84b82b7b990398321207e4267c5ba7e7b4b36bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectResources.ProjectResources (cyclomatic 72): ProjectResources.ProjectResources has cyclomatic complexity 72 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 36 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9938395ba26ceedbc368217624de0f2867d9dc3f8103de3acbb71b869a5e0f8"}},{"ruleId":"D1","level":"warning","message":{"text":"resources.computeProvisionState (cyclomatic 72): resources.computeProvisionState has cyclomatic complexity 72 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 11 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":"packages/api/src/agents/resources.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7353d9eba29a6754c4c40d4ed21049722aebd9ec4eae172dba7eb1325d3c24"}},{"ruleId":"D1","level":"warning","message":{"text":"Conversations.Conversations (cyclomatic 71): Conversations.Conversations has cyclomatic complexity 71 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 37 belong to 16 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a810fb2abf2505a521e85f866351a11bcf0133b2378a9ff25df0d2ae38d331b7"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.abortJob (cyclomatic 71): GenerationJobManagerClass.abortJob has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090369e3854c0033f12491b68250b24982b5063b0e9677663d8b46b38c10595"}},{"ruleId":"D1","level":"warning","message":{"text":"web.loadWebSearchAuth::checkAuth (cyclomatic 71): web.loadWebSearchAuth::checkAuth has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f616c9ec8dc7d4ba502d57673294224131cb498eda080deb26b839c495c07af"}},{"ruleId":"D1","level":"warning","message":{"text":"Effort.Effort (cyclomatic 71): Effort.Effort has cyclomatic complexity 71 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 26 belong to 14 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad5beeafc3157469dfcd0c255ac7d757d1a82a70b008d01854c8c3cc56eff8f"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpAuthority.assertProofIntegrity (cyclomatic 71): mcpAuthority.assertProofIntegrity has cyclomatic complexity 71 (threshold 15). Of this number, 69 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"020db506a5d8b004730617c84a1fba504f0014d9ab5290a92899a7137d5c708c"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelWorker.execute (cyclomatic 70): ChannelWorker.execute has cyclomatic complexity 70 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ChannelWorker.execute::syncProgress) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"85da8dacab5a8f971ab619071dd226868aa158dc6c90a3d7b8e7700e01ae8509"}},{"ruleId":"D1","level":"warning","message":{"text":"loadTools (cyclomatic 70): loadTools has cyclomatic complexity 70 (threshold 15). Of this number, 55 points are the body\u0027s own statements and 15 belong to 16 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbef9977cec95b1a7dd73b5fbe88c64d66a2332f552c94920543e3748febfd9"}},{"ruleId":"D1","level":"warning","message":{"text":"usePaletteEntries.usePaletteEntries (cyclomatic 69): usePaletteEntries.usePaletteEntries has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 6 of the 69 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 266, 221, 521, \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":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce487d994f09cd36c00861429188542b0931243a51bf9d00e38b1837fcc65e9"}},{"ruleId":"D1","level":"warning","message":{"text":"useDrawerSwipe.useDrawerSwipe (cyclomatic 69): useDrawerSwipe.useDrawerSwipe has cyclomatic complexity 69 (threshold 15). Most of this is not in the body itself: 1 of the 69 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 510, 306, 577, \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":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"723b790eb4417b544ff5f86a803b6f3744fad1b319570f2ccf75621014f64919"}},{"ruleId":"D1","level":"warning","message":{"text":"run.createRun (cyclomatic 69): run.createRun has cyclomatic complexity 69 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (run.createRun::buildAgentInput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a559d3cda9dd749b041ffe110991ad900e8e70d705f606cc9f60c41613e8fa8"}},{"ruleId":"D1","level":"warning","message":{"text":"build.buildTurn (cyclomatic 68): build.buildTurn has cyclomatic complexity 68 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/build.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcca9fc0addf62153940d8d2ddea6ef470a2b5d342086494636f7730b0652bac"}},{"ruleId":"D1","level":"warning","message":{"text":"callbacks.getDefaultHandlers (cyclomatic 67): callbacks.getDefaultHandlers has cyclomatic complexity 67 (threshold 15). Most of this is not in the body itself: 14 of the 67 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 596, a function literal at line 484, a function literal at line 693, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdb151b0d1f1e377c32eeeb6902ddd4743fc25efe217810a9605c2f8aeb741d"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptForm.PromptForm (cyclomatic 67): PromptForm.PromptForm has cyclomatic complexity 67 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 25 belong to 12 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a5bf5140a9d4d1e0c899eb12b59f4d37ddd6f5c0bca467a2797b8bb17e5a01"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.formatToolContent (cyclomatic 67): parsers.formatToolContent has cyclomatic complexity 67 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 36 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"79962df6f07d2a18c5d5f5b25601d77076ed25399c291090e116433a9d452f3f"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.getContentParts (cyclomatic 67): RedisJobStore.getContentParts has cyclomatic complexity 67 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4428}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f830b0668888d8a685a28dc33cc17442a34fa37d4cd01aa33d57d8b3456ac1"}},{"ruleId":"D1","level":"warning","message":{"text":"reducer.reduceStep (cyclomatic 67): reducer.reduceStep has cyclomatic complexity 67 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e70e478b2ce8d660268ae85a5b893c1f97b5e2fabe735a1b5cb2b8830fba2e1"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.settleToolCallResult (cyclomatic 67): message.createMessageMethods.settleToolCallResult has cyclomatic complexity 67 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 31 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b611f8806c6859ba20d9ae477dbcd1b3fd1cc4ba784af970e816e52a65b0dcec"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.isValidRequest (cyclomatic 66): workspace.isValidRequest has cyclomatic complexity 66 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0621f741d67ac67f871de64441568c85db74893b376f88e18677de006d5e5ef"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.canAgentGraphPause (cyclomatic 66): admission.canAgentGraphPause has cyclomatic complexity 66 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 32 belong to 11 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5b26cf0ea90208c44d02c3dd8b1593db540c0f951e8c148a2f5c01c3bbb5b9"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTokenStorage.storeTokensUnderLease (cyclomatic 66): MCPTokenStorage.storeTokensUnderLease has cyclomatic complexity 66 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb502688297218c7d829af82cf0dabd4cea2db528f21e6f62a5088838df5fbe"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.upsertConfigOverrides (cyclomatic 65): config.createAdminConfigHandlers.upsertConfigOverrides has cyclomatic complexity 65 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 11 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":"packages/api/src/admin/config.ts"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fb882803b5c8469f14c698ffe51e56141bcafa879d85b39c4928ab0ce0c09"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.attachSubscription (cyclomatic 65): GenerationJobManagerClass.attachSubscription has cyclomatic complexity 65 (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 (GenerationJobManagerClass.attachSubscription::deliverStoredTerminal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5cc7db5fb69de94ba0eed139c4d8bf5a5e444aeadc812ed622fa2c39efede1"}},{"ruleId":"D1","level":"warning","message":{"text":"view.createSubagentThreadViewHandler.\u003Creturned closure\u003E (cyclomatic 65): view.createSubagentThreadViewHandler.\u003Creturned closure\u003E has cyclomatic complexity 65 (threshold 15). Of this number, 62 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"156b8ae73fff2af40a77e81e3693511b6b487380f49309caef3486666f736f6a"}},{"ruleId":"D1","level":"warning","message":{"text":"EditContentParts.EditContentParts (cyclomatic 64): EditContentParts.EditContentParts has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 13 of the 64 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 208, a function literal at line 330, a function literal at line 159, \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":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4952c2f3a20516f6338ced9d2fd70ff46e8a21c3c21da53fce597b41a705da"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.emitChunkNow (cyclomatic 64): GenerationJobManagerClass.emitChunkNow has cyclomatic complexity 64 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7193}}}],"partialFingerprints":{"codehealthFindingId/v1":"04154b44253cf48d49b4263dea50c382a9687a0707d926a9ff0ae517769586b5"}},{"ruleId":"D1","level":"warning","message":{"text":"useConversationSeen.useConversationSeen (cyclomatic 64): useConversationSeen.useConversationSeen has cyclomatic complexity 64 (threshold 15). Most of this is not in the body itself: 1 of the 64 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 121, 280, 88, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useConversationSeen.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa40f39dda4bff7e016ef06aa571b7036164e28276931454d05b9a3470b8a12"}},{"ruleId":"D1","level":"warning","message":{"text":"responses.executeResponse (cyclomatic 63): responses.executeResponse has cyclomatic complexity 63 (threshold 15). Most of this is not in the body itself: 14 of the 63 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 513, 496, 1159, \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":"api/server/controllers/agents/responses.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"a970f5230b72ac48d8d46d6c50dc4899f688a083d9027daca4cd96c1b0b6e04c"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericGrantAccessDialog.GenericGrantAccessDialog (cyclomatic 63): GenericGrantAccessDialog.GenericGrantAccessDialog has cyclomatic complexity 63 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 25 belong to 10 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":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a822679d1b5c44c57053b4887853dc3c8bb7ae85c0fddbc7941d9095beb2ca2a"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.projectModelBoundProviderContent (cyclomatic 63): modelBoundContent.projectModelBoundProviderContent has cyclomatic complexity 63 (threshold 15). Of this number, 60 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0e3309589e1b600754956263cd598aa15e227a4043c1533be41f3f774cc622"}},{"ruleId":"D1","level":"warning","message":{"text":"UserConnectionManager.createUserConnectionInternal (cyclomatic 63): UserConnectionManager.createUserConnectionInternal has cyclomatic complexity 63 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff2e6cce422d7e2bfcfc94eb7ef819506e7323f2c9f6ffe08398c85e830d67f"}},{"ruleId":"D1","level":"warning","message":{"text":"zod.convertJsonSchemaToZod (cyclomatic 63): zod.convertJsonSchemaToZod has cyclomatic complexity 63 (threshold 15). Of this number, 60 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ea3b0aae6b3239a0cdacbd41d5c834756315f565e77a85938a8e6f55d45d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"finalizeResumedTurn (cyclomatic 63): finalizeResumedTurn has cyclomatic complexity 63 (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":"api/server/controllers/agents/resume.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"046d21c101917b4e0c48d5d9e736966b7086ba1b02017d81b2cc51096b9ee071"}},{"ruleId":"D1","level":"warning","message":{"text":"reinitMCPServer (cyclomatic 63): reinitMCPServer has cyclomatic complexity 63 (threshold 15). Of this number, 54 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95e083f43072854ee129886ddcc4479ba8c67f00c0bee30dc8cb6db73a92cde"}},{"ruleId":"D1","level":"warning","message":{"text":"Reasoning.useComposerReasoning (cyclomatic 62): Reasoning.useComposerReasoning has cyclomatic complexity 62 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 34 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1391207977ca1b0722380b5a3b969d4b280b58e3f8d51fb5c897e53512dee1a5"}},{"ruleId":"D1","level":"warning","message":{"text":"Channels.Channel (cyclomatic 62): Channels.Channel has cyclomatic complexity 62 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 23 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"245ee44b7f77bc505f1b20aeb38abb91a5ee0e4d6541ade4271d3f0796b67225"}},{"ruleId":"D1","level":"warning","message":{"text":"resources.primeResources (cyclomatic 62): resources.primeResources has cyclomatic complexity 62 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4166a86dbc7b18bf056cbaabf3c454eabce20686547f4b282300a5346753b8bf"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse (cyclomatic 62): recovery.createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse has cyclomatic complexity 62 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 13 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":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"118a8b89d64c19183357932e649f35b897f75dbdb1e9f0e863f79ddc71fbefe7"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.getConvosByCursor (cyclomatic 62): conversation.createConversationMethods.getConvosByCursor has cyclomatic complexity 62 (threshold 15). Of this number, 61 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc38b29d6cd541322d6540b10484f1897f07e381e4a3250e0ab6896b414e9c9"}},{"ruleId":"D1","level":"warning","message":{"text":"models.createLoadConfigModels.loadConfigModels (cyclomatic 61): models.createLoadConfigModels.loadConfigModels has cyclomatic complexity 61 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e685e97e1a406d834926f42849af9ad9e1ab4f7726ac6720ccfa63fe626c512"}},{"ruleId":"D1","level":"warning","message":{"text":"useQueueDrain.useQueueDrain (cyclomatic 61): useQueueDrain.useQueueDrain has cyclomatic complexity 61 (threshold 15). Most of this is not in the body itself: 3 of the 61 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 169, 345, 153, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e38f552d50b9d042e36a54056f9aaf14fb9775604748227182edfdf7efb071"}},{"ruleId":"D1","level":"warning","message":{"text":"final.useFinalHandler.finalHandler (cyclomatic 61): final.useFinalHandler.finalHandler has cyclomatic complexity 61 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 8 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":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d858228ff1f2aa796b2a1b99c5537d3f33e1d4a93547950958d2642a418d85"}},{"ruleId":"D1","level":"warning","message":{"text":"registry.resolveTheme (cyclomatic 61): registry.resolveTheme has cyclomatic complexity 61 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c0167708e8908f6b656517f5783b9fc9d796a33718dca0ba0102bcd0336709"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch (cyclomatic 61): triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e77573c059019820e3733f4746a73660e126f59a5f4726b1760df11fd01031"}},{"ruleId":"D1","level":"warning","message":{"text":"loadAgentTools (cyclomatic 61): loadAgentTools has cyclomatic complexity 61 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 14 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff330dab6ffd0b497e2ec97f3e3ada68bccbf5f4750aaf8db204ed22814517ef"}},{"ruleId":"D1","level":"warning","message":{"text":"PinnedSection.PinnedSection (cyclomatic 60): PinnedSection.PinnedSection has cyclomatic complexity 60 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 44 belong to 14 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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93f690ab6f0c6e6573ec9207789ffb41491bb7b2324da54dcbccceab4d5bde7"}},{"ruleId":"D1","level":"warning","message":{"text":"run.shapeSummarizationConfig (cyclomatic 60): run.shapeSummarizationConfig 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":"packages/api/src/agents/run.ts"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9b91f23a07f504fd161c67d518d0a1bc1bde4609230e0557dba5fefacc74cc"}},{"ruleId":"D1","level":"warning","message":{"text":"Settings.CodeSettings (cyclomatic 59): Settings.CodeSettings has cyclomatic complexity 59 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 19 belong to 11 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":"client/src/components/SidePanel/Agents/Code/Settings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4476a31809ea24dd0d6aab0189e9ebe220cc751275221d37f4fa59689c741fb4"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.createJob (cyclomatic 59): InMemoryJobStore.createJob has cyclomatic complexity 59 (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 (InMemoryJobStore.createJob::assertOwnerCompatible) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1607aeef38163ce04d3ed3ad23634905c66d359ce82e2176e3f5fba5c2e6fedc"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeProvider.ThemeProvider (cyclomatic 59): ThemeProvider.ThemeProvider has cyclomatic complexity 59 (threshold 15). Most of this is not in the body itself: 15 of the 59 points are its own statements and the rest belongs to 12 function literals inside it that branch (lines 602, 728, 537, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39414f96e65307f02cd2d98406d01d7021dc79331d76d8f8dfa9db8f94580d7"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.commitAgentEventActorState (cyclomatic 59): conversation.createConversationMethods.commitAgentEventActorState 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc9eae15dab76a6a9dbaeba33ef14e0d699d87030da34b45c2a8d41b3d3a889"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentDetailContent.AgentDetailContent (cyclomatic 58): AgentDetailContent.AgentDetailContent has cyclomatic complexity 58 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 13 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":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6bfb750f414ce4984be53bb6c85f73bf45a938a9c119bbd4fc57f4c34ed9566"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserQuestion.AskUserQuestionSingle (cyclomatic 58): AskUserQuestion.AskUserQuestionSingle has cyclomatic complexity 58 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 31 belong to 11 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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5f506702659f82c0049501e2e445aede894f3de1b69b5ad4f4e7b5a0a2ec15"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.projectModelBoundSourceFiles (cyclomatic 58): modelBoundContent.projectModelBoundSourceFiles has cyclomatic complexity 58 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 41 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bff94d9b91d34502bb762c7b5a931473766277a1f34c96557834385671af935"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPOAuthHandler.initiateOAuthFlow (cyclomatic 58): MCPOAuthHandler.initiateOAuthFlow 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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c386ff4b5d45204cbb3b052fef0a595a694e32c81c83b9c7c31b8791bbc385"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpAuthority.createMCPAuthorityMethods.loadCurrentProof (cyclomatic 58): mcpAuthority.createMCPAuthorityMethods.loadCurrentProof has cyclomatic complexity 58 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 19 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":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"6264b2d6096b5b4e6cde7a1327c5fb438a8365c88cd951ada8a0e8babc6f99a2"}},{"ruleId":"D1","level":"warning","message":{"text":"browserSetup.createBrowserSetupStore.update (cyclomatic 58): browserSetup.createBrowserSetupStore.update has cyclomatic complexity 58 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e826ebdb043503bbed1fff29080fa5bcc0497714d62a52523392a85c989c4a38"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentParts.ContentParts (cyclomatic 57): ContentParts.ContentParts has cyclomatic complexity 57 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 16 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2dd7afc9468c67319fc2ba92350bc75fb82920cd723748a88b96a6a2a6244e"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.start (cyclomatic 57): SubagentThreadTaskStore.start has cyclomatic complexity 57 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 34 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e3266a24bd32dd02220f4c295a19d87268a052066536a89ff4c091302e0ec9"}},{"ruleId":"D1","level":"warning","message":{"text":"chat.extractChatContent (cyclomatic 57): chat.extractChatContent has cyclomatic complexity 57 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 15 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/chat.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cca60d2e7530ff68b6fc2c133e375ec9698de7cbb42702105e46fdb22e713d2"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.applyRecoveredContent (cyclomatic 57): recovery.applyRecoveredContent has cyclomatic complexity 57 (threshold 15). Of this number, 56 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9d22206fffc0a172e9ba6a5b81fe1745f97f71ede7ea4fe8194949c1eaf1a9"}},{"ruleId":"D1","level":"warning","message":{"text":"executeResponse::execute (cyclomatic 57): executeResponse::execute has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b6d63de43c91f915ac9e8d585465cc51e1ff3f7188886fb4baf647bf3e3437"}},{"ruleId":"D1","level":"warning","message":{"text":"executeOpenAIChatCompletion::execute (cyclomatic 57): executeOpenAIChatCompletion::execute has cyclomatic complexity 57 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"446a624926e5d04879ce758ece7a51575524bfabd8b17a24775a1d26c7c62f12"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenAIImageGen.OpenAIImageGen (cyclomatic 56): OpenAIImageGen.OpenAIImageGen has cyclomatic complexity 56 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 23 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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a3c8a92be2440b6c3364eb423519a1028c7bf4321e1f60e2a189d69a43cdb4"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.projectStoredMessageForProvider (cyclomatic 56): modelBoundContent.projectStoredMessageForProvider has cyclomatic complexity 56 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 10 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc1d2fd03031b56e79832f33df7585d6c9d7cc84ef9c10f845617de94890683"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.initializeBedrock (cyclomatic 56): initialize.initializeBedrock has cyclomatic complexity 56 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/bedrock/initialize.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba032f63bbe82c452664ea62621a64dd7f40dada64b9f20e0bd1421fe924350"}},{"ruleId":"D1","level":"warning","message":{"text":"mongoMeili.createMeiliMongooseModel (cyclomatic 56): mongoMeili.createMeiliMongooseModel has cyclomatic complexity 56 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57f782c0162ddd17235d0582520d739ac1b65b60ffca83451a39f294c63015a"}},{"ruleId":"D1","level":"warning","message":{"text":"chatV2 (cyclomatic 56): chatV2 has cyclomatic complexity 56 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 25 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5b6f99ed25dfdf47b32fc59b13e25144abd3e7d0362a3ae2f892707abb0f38a"}},{"ruleId":"D1","level":"warning","message":{"text":"SetKeyDialog.SetKeyDialog (cyclomatic 55): SetKeyDialog.SetKeyDialog has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 4 of the 55 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 231, a function literal at line 242, submit, \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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc31db2ed68dc04b2a214c0e02d666f9a68c26e086cb2bbf475a2c574b2dcacb"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.getResumeState (cyclomatic 55): GenerationJobManagerClass.getResumeState has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9085}}}],"partialFingerprints":{"codehealthFindingId/v1":"4611518716584423838ba918143320b5b5b9c18a766b30cb1929dddaf1cf989d"}},{"ruleId":"D1","level":"warning","message":{"text":"requests.executeDurableWorkspaceRequest (cyclomatic 55): requests.executeDurableWorkspaceRequest has cyclomatic complexity 55 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/requests.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"815b05c5b3511459ff9469ef0ee5074adf15b8e99fea8c7c42bf9d4211fedac9"}},{"ruleId":"D1","level":"warning","message":{"text":"inference.resolveAgentInferenceParameters (cyclomatic 55): inference.resolveAgentInferenceParameters has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"6257d94e79aa2168529ba24cfeb67697c4d7a9ec6cf36e3547caa2e932594ed5"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.snapshotExternalMessages (cyclomatic 55): messages.snapshotExternalMessages has cyclomatic complexity 55 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"322d74d7d0950869d1b2a2deb53c5f316797fd5a52731143eda684a5049ba962"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createSchedulesHandlers.updateSchedule (cyclomatic 55): handlers.createSchedulesHandlers.updateSchedule has cyclomatic complexity 55 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d704c187deea16f89d0532dcca9edd2cbd3c6ae0cf2c200e2ce01f1ddc1fc4"}},{"ruleId":"D1","level":"warning","message":{"text":"sync.handleSync (cyclomatic 55): sync.handleSync has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/sync.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9591d49c09d963983ee80abd0e48d5ad09b8d095c2323cc173211126b3a80411"}},{"ruleId":"D1","level":"warning","message":{"text":"stream.useSubagentActivityStream (cyclomatic 55): stream.useSubagentActivityStream has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 1 of the 55 points is its own statement and the rest belongs to 12 function literals inside it that branch (lines 177, 135, 289, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/stream.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1147e0a388d8d7c40770193c7be10f769b51eb39df6a5e955847d487184c2445"}},{"ruleId":"D1","level":"warning","message":{"text":"saveErrorTurn (cyclomatic 55): saveErrorTurn has cyclomatic complexity 55 (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":"api/server/controllers/agents/request.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2569c64df4097b4e00d9e1785726b7920daf49e7dbfb3573ad202aa761af1b7"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 55): (anonymous) has cyclomatic complexity 55 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 24 belong to 14 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":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfbdc7b7a70dff3b922378e4d373f7b40ffa1158fe06896229f2d35c6cdae4e"}},{"ruleId":"D1","level":"warning","message":{"text":"useQueryParams.useQueryParams (cyclomatic 54): useQueryParams.useQueryParams has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 5 of the 54 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 647, 263, 767, \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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a2a3dbe3fb501197103f020212a7fa879334a9787c5b37c3d4a431a6536782"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePreviewDialog.FilePreviewDialog (cyclomatic 54): FilePreviewDialog.FilePreviewDialog has cyclomatic complexity 54 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 18 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8671e5e0573352e532d900bf80914f80b10a642c4ebfdf3ba802f3175884cec1"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentSelect.AgentSelect (cyclomatic 54): AgentSelect.AgentSelect 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 9 function literals inside it that branch (lines 166, 99, 80, \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":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"309b70ec1f576169c1a0f1a1298573b3ad227b97465b9ae77c9ff1868ecd7afa"}},{"ruleId":"D1","level":"warning","message":{"text":"useDictation.useDictation (cyclomatic 54): useDictation.useDictation has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 1 of the 54 points is its own statement and the rest belongs to 10 function literals inside it that branch (lines 106, 145, 306, \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":"client/src/hooks/Input/useDictation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"261b76aa19bc9ad9db9edbb0a4393dd44d569403d272b692c658d5c517e5b8e8"}},{"ruleId":"D1","level":"warning","message":{"text":"bridge.getCodeBridgeWorkerStatus (cyclomatic 54): bridge.getCodeBridgeWorkerStatus has cyclomatic complexity 54 (threshold 15). Of this number, 53 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93bbe7c705e19480a9cd63284aabf8ab98cd3f099a93c9f2ece5259126c937c"}},{"ruleId":"D1","level":"warning","message":{"text":"load.useResumeOnLoad (cyclomatic 54): load.useResumeOnLoad has cyclomatic complexity 54 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 38 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98e68208c32489f5ceabef22e25ff0c8f00a483c295e7b0e6df576bb5291bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"createOpenAIImageTools (cyclomatic 54): createOpenAIImageTools has cyclomatic complexity 54 (threshold 15). Most of this is not in the body itself: 13 of the 54 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 231, a function literal at line 115, getApiKey, \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":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1820cef2cb897b08a5915e9ce47260cb9712659b32fa1c02f8f1c311bbc702e"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.patchConfigField (cyclomatic 53): config.createAdminConfigHandlers.patchConfigField has cyclomatic complexity 53 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"89babc082ec3e05d4fecbc6d9b9e6885c6d92a73073f278c4024fd1f1e09b614"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageRow.MessageRow (cyclomatic 53): MessageRow.MessageRow has cyclomatic complexity 53 (threshold 15). Of this number, 52 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRow.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebbf8dbbfcb72adb0b43a7b2380214d23a7e213a1038f5354d1ad6b65c71afc9"}},{"ruleId":"D1","level":"warning","message":{"text":"turns.useTurns.ask (cyclomatic 53): turns.useTurns.ask has cyclomatic complexity 53 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c319fcfe2c58b55379129033d5153c34987cde96b08dab35560b98108d618063"}},{"ruleId":"D1","level":"warning","message":{"text":"successor.useOwedSuccessor (cyclomatic 53): successor.useOwedSuccessor has cyclomatic complexity 53 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 37 belong to 15 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/successor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f90bf6b73e79066fdac55320108b1d526331378409d6fdb5cf48728570e309b"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.beginAgentQueuedTurnAdmission (cyclomatic 53): queuedTurn.createAgentQueuedTurnMethods.beginAgentQueuedTurnAdmission has cyclomatic complexity 53 (threshold 15). Most of this is not in the body itself: 2 of the 53 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 2185, retireObsoleteClaim). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1aa002a6898892dd056db5165a567a9950113fd4faec28b1210fd81a413d3a"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.router.get(\u0022/:serverName/oauth/callback\u0022) (cyclomatic 52): mcp.router.get(\u0022/:serverName/oauth/callback\u0022) has cyclomatic complexity 52 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 21 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc4724044896b49dec6ddd03fd79d2970ab89d9e62061d5cd2454a31f92293e5"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthContext.AuthContextProvider (cyclomatic 52): AuthContext.AuthContextProvider has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 1 of the 52 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 343, 417, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb239b2f9e3aaf806efce5c2f653d53891551976d65aec2d0c54d3e43b96688"}},{"ruleId":"D1","level":"warning","message":{"text":"Mermaid.MermaidRenderer (cyclomatic 52): Mermaid.MermaidRenderer has cyclomatic complexity 52 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df55bec3705350be8ff96e4d25825c4e67359343353baa210a5b4b2ac5c2385"}},{"ruleId":"D1","level":"warning","message":{"text":"activity.projectPersistedMessageActivity (cyclomatic 52): activity.projectPersistedMessageActivity has cyclomatic complexity 52 (threshold 15). Most of this is not in the body itself: 2 of the 52 points are its own statements and the rest belongs to one function literal inside it that branches (line 174). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308158bfd8622922fce1d75e4cc8193c704c6fb1e26f0c02c751a6a01b296dd"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.finishTerminalJobInternal (cyclomatic 52): GenerationJobManagerClass.finishTerminalJobInternal has cyclomatic complexity 52 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f2ea717b9a124a41e939f0ff04acb88a369dec1adc8152f9c02680b54c8bad"}},{"ruleId":"D1","level":"warning","message":{"text":"zod.sanitizeGeminiSchema (cyclomatic 52): zod.sanitizeGeminiSchema has cyclomatic complexity 52 (threshold 15). Of this number, 49 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28271a409b7e524a77dd360a13688a5530b0e398bcdb5a97992c77643dd694e"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.recordMCPToolAuthFailure (cyclomatic 52): service.createSchedulesService.recordMCPToolAuthFailure has cyclomatic complexity 52 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"492dc2595e4289537d8d6ca9a7dbbf6351f0009766536f76269c44668a4969e0"}},{"ruleId":"D1","level":"warning","message":{"text":"transform.transformToOpenAIConfig (cyclomatic 51): transform.transformToOpenAIConfig has cyclomatic complexity 51 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/transform.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ee30190085c8268d791e9697160b9e224c766d8be57909720499ea8afa0fff"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackClient.call (cyclomatic 51): SlackClient.call has cyclomatic complexity 51 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f9d8c232fb978a333b6eb4fb61e5388bcb4ec513678ce90e67699fe9b8a4cb"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.saveMessage (cyclomatic 51): message.createMessageMethods.saveMessage 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25cbf42cc16851380bcc4c0e5fbcf1b5360cea47db592afec14eb1917a68a8d"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 51): (anonymous) has cyclomatic complexity 51 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 11 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d516871fdd8b5f382049c85249319bf2f273f79f5c8d7e231ef1690e4b3fa34"}},{"ruleId":"D1","level":"warning","message":{"text":"BackgroundTaskCard.BackgroundTaskCard (cyclomatic 50): BackgroundTaskCard.BackgroundTaskCard has cyclomatic complexity 50 (threshold 15). Of this number, 48 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0afa2430678363e51e8999a77c7240e0017e1011e4e1e939811593bd469f69d"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillFileViewer.SkillFileViewer (cyclomatic 50): SkillFileViewer.SkillFileViewer has cyclomatic complexity 50 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 9 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":"client/src/components/Skills/display/SkillFileViewer.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6272178baae3a718c5b753b537a4aaba4712c2f7708d4973162f684e0bf93e"}},{"ruleId":"D1","level":"warning","message":{"text":"activity.projectSubagentActivity (cyclomatic 50): activity.projectSubagentActivity has cyclomatic complexity 50 (threshold 15). Of this number, 49 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"07dd39442ca3655264909b8198698c43d054ff666d99e3c60c8fcf3375f3c232"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createAgentChatCompletion (cyclomatic 50): service.createAgentChatCompletion has cyclomatic complexity 50 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"daeafdfd79f3477953a5328e8421d90e6ec2acf7e7b7c4c595e40cd014c3fbfb"}},{"ruleId":"D1","level":"warning","message":{"text":"models.fetchModels (cyclomatic 50): models.fetchModels 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":"packages/api/src/endpoints/models.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ddcdd8dc09c26a1fc325e4f1bababa94fce084fa7be36f43e28cf0d5b0d88d"}},{"ruleId":"D1","level":"warning","message":{"text":"github.createGitHubPullRequestSource.find (cyclomatic 50): github.createGitHubPullRequestSource.find has cyclomatic complexity 50 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 29 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":"packages/api/src/pulls/github.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"881ce2c5dc5f22395fdf5835b81dd06175651e757e0900099a29ed5e918aa52b"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnectionFactory.handleOAuthEvents::handleOAuthEvent (cyclomatic 50): MCPConnectionFactory.handleOAuthEvents::handleOAuthEvent 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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b106bba7366e22f4f822fb224180977735a75d7205df426efd88c86d60543a"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService (cyclomatic 50): service.createSchedulesService has cyclomatic complexity 50 (threshold 15). Most of this is not in the body itself: 3 of the 50 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 712, 864, 938, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"079fbd95c0aaa6f5f76a92b4fcc782817153f45560e201070bd4ca938da2f5e1"}},{"ruleId":"D1","level":"warning","message":{"text":"InsightsView.InsightsView (cyclomatic 49): InsightsView.InsightsView has cyclomatic complexity 49 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 26 belong to 15 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":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a5b888570011e6d74317643d00c2956c60fc4a6d2652d5d10c55ac560fc121"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.claimTerminalJob (cyclomatic 49): GenerationJobManagerClass.claimTerminalJob has cyclomatic complexity 49 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4060}}}],"partialFingerprints":{"codehealthFindingId/v1":"32438f7158680a461d98c12ddfa3c85a3915ba43dd9f2f9b4818315013f1d65e"}},{"ruleId":"D1","level":"warning","message":{"text":"reconcile.reconcileGenerationLifecycle (cyclomatic 49): reconcile.reconcileGenerationLifecycle 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":"packages/chat/src/core/resumable/reconcile.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e11e843a825fe020dcc788c04253ea1585e876cad77f67f651ac23c8b68494"}},{"ruleId":"D1","level":"warning","message":{"text":"launch.startGeneration (cyclomatic 49): launch.startGeneration 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":"packages/chat/src/core/resumable/launch.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"680042dbec770bed034794bd404d38ff093596d95a3748eb553487dbd183168e"}},{"ruleId":"D1","level":"warning","message":{"text":"index.router.get(\u0022/chat/stream/:streamId\u0022) (cyclomatic 48): index.router.get(\u0022/chat/stream/:streamId\u0022) has cyclomatic complexity 48 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 10 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":"api/server/routes/agents/index.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"19832269fa6222679ded7378814c71a84d2b5ae9a58f0f5b02ba4818851abba0"}},{"ruleId":"D1","level":"warning","message":{"text":"useReplyWatcher.mergeTimestamps (cyclomatic 48): useReplyWatcher.mergeTimestamps has cyclomatic complexity 48 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"df79f5e79a7663fc8325f30c65266fbd4f2ad2bb548ab3e6b89e0bc4ca457057"}},{"ruleId":"D1","level":"warning","message":{"text":"useNewConvo.useNewConvo.newConversation (cyclomatic 48): useNewConvo.useNewConvo.newConversation has cyclomatic complexity 48 (threshold 15). Of this number, 31 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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"508e4da142115b436ef351d5db34c744d52384f9bf2896016fddf41f7c66403d"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.createResponseResumeValidation.inspect (cyclomatic 48): resume.createResponseResumeValidation.inspect has cyclomatic complexity 48 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"234285e0798ea0a283334df0acb40a3bd33e862404e2959e57f5b22015bd4f8b"}},{"ruleId":"D1","level":"warning","message":{"text":"missing.recoverMissingStream (cyclomatic 48): missing.recoverMissingStream has cyclomatic complexity 48 (threshold 15). Of this number, 45 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/missing.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe97a5c5cc0b7f8fa904110c47c477d00ac995b044632b38cfa931ab5432079"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityPhaseGroup.ActivityPhaseGroup (cyclomatic 47): ActivityPhaseGroup.ActivityPhaseGroup has cyclomatic complexity 47 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 15 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d879070dd81be23fb4f362f4072a2900179125169627bd3457284c0bccbf73"}},{"ruleId":"D1","level":"warning","message":{"text":"Setup.Review (cyclomatic 47): Setup.Review has cyclomatic complexity 47 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Code/Setup.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee12dde62541f44f1af60025b29ced04e36656d201eddbfa5ade81cd14528de"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectedAccounts.ConnectedAccounts (cyclomatic 47): ConnectedAccounts.ConnectedAccounts has cyclomatic complexity 47 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 24 belong to 11 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/ConnectedAccounts.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7cb74b8eb6d97a3f4fce81e4cc6c0d44e85923a5b2c5dd6f1b7dc54670d3c2"}},{"ruleId":"D1","level":"warning","message":{"text":"Review.Decision (cyclomatic 47): Review.Decision has cyclomatic complexity 47 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 27 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":"client/src/components/Responses/Review.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47fcfdd774d9bcd365b9ca30110877c3a03e37f450c24e5d17b80c951477455"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.applyConfigChanges (cyclomatic 47): config.createAdminConfigHandlers.applyConfigChanges has cyclomatic complexity 47 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (config.createAdminConfigHandlers.applyConfigChanges::plan) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"112fee5200923afaa9eeecb688fc8a0a70ae8dee4d90c85fb9d82ec927ef1b88"}},{"ruleId":"D1","level":"warning","message":{"text":"metadata.sanitizeJobMetadata (cyclomatic 47): metadata.sanitizeJobMetadata 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/metadata.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"645af801e95635777981d7bbd4662a8b7583090c0f4675d01967cfa7120d7fcd"}},{"ruleId":"D1","level":"warning","message":{"text":"import.handleZip (cyclomatic 47): import.handleZip has cyclomatic complexity 47 (threshold 15). Of this number, 44 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":"packages/api/src/skills/import.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5ddf1ee8c5e6045ecc4133ba58fbf0e254c9c2f467411b46fa0f4003c4ed4a"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentContent.createSubagentTaskContentHandler.\u003Creturned closure\u003E (cyclomatic 47): subagentContent.createSubagentTaskContentHandler.\u003Creturned closure\u003E has cyclomatic complexity 47 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cbca37ef6ff2d972f42757c5ff32f806b6f439c2b40b058d2d593f4b095661"}},{"ruleId":"D1","level":"warning","message":{"text":"review.createResponseReview.privateView (cyclomatic 47): review.createResponseReview.privateView has cyclomatic complexity 47 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/review.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"942bcee1594db7f41de92e38fc82fb71aeb658baa67f506e15976521976bb5ef"}},{"ruleId":"D1","level":"warning","message":{"text":"bitbucket.createBitbucketPullRequestSource.find (cyclomatic 47): bitbucket.createBitbucketPullRequestSource.find has cyclomatic complexity 47 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 25 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":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6b752ce5adaba73d96f9c23bc62542a7b8c80b6b0d9e8708cf68cced664b25"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.deleteScheduleForOwner (cyclomatic 47): service.createSchedulesService.deleteScheduleForOwner has cyclomatic complexity 47 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"283156a2ebe087bb84b91407c1ba1bbdecdc7b1c53b5bd61b1dfb141d660a319"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.request (cyclomatic 47): Chat.request has cyclomatic complexity 47 (threshold 15). Of this number, 43 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"f781646120e557423fca25f19237687e4cb98906c2ff309ddfb0269286930170"}},{"ruleId":"D1","level":"warning","message":{"text":"submit.useSubmitSteer (cyclomatic 47): submit.useSubmitSteer has cyclomatic complexity 47 (threshold 15). Most of this is not in the body itself: 1 of the 47 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 252, 129, 347, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81d486ff81616280ba582d6dbca37af875c582a4b6472e34dba6e1f5a868d94"}},{"ruleId":"D1","level":"warning","message":{"text":"useNewConvo.useNewConvo.switchToConversation.\u003Creturned closure\u003E (cyclomatic 46): useNewConvo.useNewConvo.switchToConversation.\u003Creturned closure\u003E has cyclomatic complexity 46 (threshold 15). Of this number, 41 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6fb9400dce260c1b12748fde17fb0f78a65e7aa9b9c6a99489777f7b846a39"}},{"ruleId":"D1","level":"warning","message":{"text":"model.groupSteps (cyclomatic 46): model.groupSteps has cyclomatic complexity 46 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 27 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21cf70b11f1427970363152de661d605f4e98ec10cc7949c03bf2d26e7ff07a"}},{"ruleId":"D1","level":"warning","message":{"text":"BashCall.BashCall (cyclomatic 46): BashCall.BashCall has cyclomatic complexity 46 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 13 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"672a9a84221e6b76360cb7d4ad714667600d9acd521e0a2d1afdc53f074b9487"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicSlider.DynamicSlider (cyclomatic 46): DynamicSlider.DynamicSlider has cyclomatic complexity 46 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 27 belong to 10 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e0f6af5900a3413040596d203f329ab5c75c50a67e2bcacb7fcf0c208d94f4"}},{"ruleId":"D1","level":"warning","message":{"text":"useAskAnswerMode.useAskAnswerMode (cyclomatic 46): useAskAnswerMode.useAskAnswerMode has cyclomatic complexity 46 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 18 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4705e06b79e816650bffade1f1d73707be883afb9d0d44867279e042eea2bbbf"}},{"ruleId":"D1","level":"warning","message":{"text":"loader.createCustomConfigLoader.loadCustomConfig (cyclomatic 46): loader.createCustomConfigLoader.loadCustomConfig has cyclomatic complexity 46 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 12 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"55117f8bf19dd59a7b7ba9df34ef8a3cb2dd757a43c188f9ed8940ed2cbd2a92"}},{"ruleId":"D1","level":"warning","message":{"text":"definitions.loadToolDefinitions (cyclomatic 46): definitions.loadToolDefinitions has cyclomatic complexity 46 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca621b1ebebdb491aeaba7bbbceabd7b0804dd9788d40487ca4f2eae4c335c39"}},{"ruleId":"D1","level":"warning","message":{"text":"GatewayApp.dispatch (cyclomatic 46): GatewayApp.dispatch 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":"packages/channel-gateway/src/app.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56d79077c56afbc4da84df054256c3ef249b9a481baa593ff9099e6dcdb8056"}},{"ruleId":"D1","level":"warning","message":{"text":"mongoMeili.mongoMeili (cyclomatic 46): mongoMeili.mongoMeili has cyclomatic complexity 46 (threshold 15). Most of this is not in the body itself: 8 of the 46 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 1269, 1050, 1212, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ec7cd21acb6da80b0f6bf4cb4907d3a4f6432cb2cba0f0bd0b53f2ebca5b2"}},{"ruleId":"D1","level":"warning","message":{"text":"run.createRun::buildAgentInput (cyclomatic 45): run.createRun::buildAgentInput 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. This shape REPEATS in the file: one other method here (run.createRun) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dce761ba3cf3200cabdbe466f96d2fc6af97de189fe4237dfa2b3e8b985bea4"}},{"ruleId":"D1","level":"warning","message":{"text":"engine.createAgentTriggerDeliveryEngine.processDelivery (cyclomatic 45): engine.createAgentTriggerDeliveryEngine.processDelivery 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":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f704cafd7eefb764c0bebcdebccf8c972336d7ed7fee5d768b0f1009f5e000"}},{"ruleId":"D1","level":"warning","message":{"text":"worker.createBackgroundResponseWorkerAuth.\u003Creturned closure\u003E (cyclomatic 45): worker.createBackgroundResponseWorkerAuth.\u003Creturned closure\u003E has cyclomatic complexity 45 (threshold 15). Most of this is not in the body itself: 10 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 179). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/worker.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e8c75c73b780f204cffaeee1f61dd8c74369c79abc7e5a8d780c1ef8c0c0a9"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.extractNestedSerializedPayloadFragments (cyclomatic 45): protection.extractNestedSerializedPayloadFragments 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb3a543e6c77d0352174d014f2be605acd91c4a4c1de722ab41a458d9fa78d4"}},{"ruleId":"D1","level":"warning","message":{"text":"render.inlineDocument (cyclomatic 45): render.inlineDocument has cyclomatic complexity 45 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbd249ba46c03ca7797bbea1ca4a05fd35a71ed59a1797fe64cbeac350e80f9"}},{"ruleId":"D1","level":"warning","message":{"text":"content.writeContent (cyclomatic 45): content.writeContent has cyclomatic complexity 45 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b092efc25afeb3cde882214d40e483ad4b59540457d78d04c1f55acd8af707"}},{"ruleId":"D1","level":"warning","message":{"text":"describe.describeThemeColors (cyclomatic 45): describe.describeThemeColors has cyclomatic complexity 45 (threshold 15). Of this number, 43 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/describe.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e6e68358ebc06fac5c551fcb583e5bdec18fc6d1c0bf9bead57847f61013d8"}},{"ruleId":"D1","level":"warning","message":{"text":"refreshController (cyclomatic 45): refreshController has cyclomatic complexity 45 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 20 belong to 11 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":"api/server/controllers/AuthController.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea00a2cc3e6551cc125ab7dc2beb2eeb983f9c0a1847d36c01798611d0715f4"}},{"ruleId":"D1","level":"warning","message":{"text":"EditMessage.EditMessage (cyclomatic 44): EditMessage.EditMessage has cyclomatic complexity 44 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 22 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":"client/src/components/Chat/Messages/Content/EditMessage.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6b58980a0aed382a848ed11299ad5c62e3a9d627c68f27749b7b5a9579e14a"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicInput.DynamicInput (cyclomatic 44): DynamicInput.DynamicInput has cyclomatic complexity 44 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 27 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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c9841175de46ec4e6e9a6d92d1ff1db3bbd12fe562be9508944b61a179b645"}},{"ruleId":"D1","level":"warning","message":{"text":"useKeyboardShortcuts.useShortcutActions (cyclomatic 44): useKeyboardShortcuts.useShortcutActions has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 17 function literals inside it that branch (lines 709, 550, 760, \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":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"a069ebc9831333720ddf63c84bc51fd85e32483499831a8493aca73104e766c1"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.createResponseResumeAdmission.\u003Creturned closure\u003E (cyclomatic 44): resume.createResponseResumeAdmission.\u003Creturned closure\u003E has cyclomatic complexity 44 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"6efc6058e0664fcafb92b3fe65b3582fdf8a05179dc6a7621c4e53344e23904e"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.initializeOpenAI (cyclomatic 44): initialize.initializeOpenAI has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/initialize.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc45fef1ae65386b3c421893046a7a1812a59ba1334090466fe40edeea0f9ce7"}},{"ruleId":"D1","level":"warning","message":{"text":"callback.createProvisionFilesCallback.provisionFiles (cyclomatic 44): callback.createProvisionFilesCallback.provisionFiles has cyclomatic complexity 44 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 21 belong to 10 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/callback.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e6dbff9d0c3fffbde1deb19b8d8f660be772365fd209dc523b84259516b44a"}},{"ruleId":"D1","level":"warning","message":{"text":"enqueue.useQueueEnqueue (cyclomatic 44): enqueue.useQueueEnqueue has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 101, 160, 80, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/enqueue.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea99a2bca7f499115322d012079e9f3bbb99d9434487778ff9652687a3aacb7d"}},{"ruleId":"D1","level":"warning","message":{"text":"PixelCard.PixelCard (cyclomatic 44): PixelCard.PixelCard has cyclomatic complexity 44 (threshold 15). Most of this is not in the body itself: 10 of the 44 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 235, a function literal at line 293, a function literal at line 220, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5267fefe2c1302207ca11ea9f8283d231b34a47927e0aab278e1157b80c3a4"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.getResponseSender (cyclomatic 44): parsers.getResponseSender has cyclomatic complexity 44 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbea50a90444fedffd99de0c4f11ac5e3db209f14359b2fdf2a4f32c71fdd4d"}},{"ruleId":"D1","level":"warning","message":{"text":"toolTiming.createToolTimingTracker (cyclomatic 43): toolTiming.createToolTimingTracker has cyclomatic complexity 43 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/toolTiming.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c7878cd9734b4a2ab66af3112d6aa5102b0b9fd058dd6cfd147d322df06193"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentContent.readSubagentContent (cyclomatic 43): subagentContent.readSubagentContent 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":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e283a1ab85687bcd20321ae10e613e827875abe8ac284397efa4fa34d54265d"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentExecutionEnrollment.settleInternal (cyclomatic 43): AgentExecutionEnrollment.settleInternal 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":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8ad862a3b097712c07fffbe5086a3943f5895871afbdbe437c50947776c7c1"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTokenStorage.executeTokenRefresh (cyclomatic 43): MCPTokenStorage.executeTokenRefresh has cyclomatic complexity 43 (threshold 15). Of this number, 42 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"71410288c6d233044413ec39f355d7040c851a0ccc57409202e6ba84d3ba9ea6"}},{"ruleId":"D1","level":"warning","message":{"text":"cleanup.cleanupMCPServerOAuthWithFenceHeld (cyclomatic 43): cleanup.cleanupMCPServerOAuthWithFenceHeld has cyclomatic complexity 43 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bfe419a170f6d9c2f00b11b8864126bbfba1d7ea95c0f1d519fb039de00741"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.reattach (cyclomatic 43): Chat.reattach has cyclomatic complexity 43 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"43003a5286de83e1a222cf91a2c1b393c75fd0069ba08950fb248c90482bfec9"}},{"ruleId":"D1","level":"warning","message":{"text":"activityLabels.groupActivityPhases (cyclomatic 43): activityLabels.groupActivityPhases has cyclomatic complexity 43 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"895ab0508cc46992a4d3de9148c7622440ae123b49767d66e4f75697d34be686"}},{"ruleId":"D1","level":"warning","message":{"text":"QuoteButton.QuoteButton (cyclomatic 43): QuoteButton.QuoteButton has cyclomatic complexity 43 (threshold 15). Most of this is not in the body itself: 1 of the 43 points is its own statement and the rest belongs to 14 function literals inside it that branch (lines 396, 457, 605, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66638ad887bbfff4baa4bc4cf71adf31e915570b82a1c3dc803d0da561e827d"}},{"ruleId":"D1","level":"warning","message":{"text":"ControlCombobox.ControlCombobox (cyclomatic 43): ControlCombobox.ControlCombobox has cyclomatic complexity 43 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 19 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":"packages/client/src/components/ControlCombobox.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"28453c637c52e31cf6db4054c33c8db3f511b8b03a1b2526d3485c91e9ca38c4"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.recoverLanePublisher (cyclomatic 43): triggerDelivery.createAgentTriggerDeliveryMethods.recoverLanePublisher 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"e234da0c8ed67c62364c846d664708a28f7744ed9a89322141bd3bf6a99d5fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"mutations.useMarkConversationUnreadMutation (cyclomatic 42): mutations.useMarkConversationUnreadMutation has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 1 of the 42 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 802, 899, 788, \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":"client/src/data-provider/mutations.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f33da76f16c91e4ef38ca1319e98525875d1133a8853312e1dc2b546004040"}},{"ruleId":"D1","level":"warning","message":{"text":"richtext.serializeNode (cyclomatic 42): richtext.serializeNode has cyclomatic complexity 42 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/richtext.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ea1dd56352801782b55f9e6ed27658dc0d0f9f777985a216e647718067bb3b"}},{"ruleId":"D1","level":"warning","message":{"text":"bridge.validWorkspaceCapabilities (cyclomatic 42): bridge.validWorkspaceCapabilities has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 9 of the 42 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 307, 312). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"590e458f9aec19175dc6dd8bb9fe5cbec2e177f1b3c5447911eb288ec16630c3"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.prepareThread (cyclomatic 42): SubagentThreadTaskStore.prepareThread has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2fbaff22e45e96f7b9e9159a5cffe20da54e5d7b451883d01e0d5d11d645fd"}},{"ruleId":"D1","level":"warning","message":{"text":"host.createRunFileHost (cyclomatic 42): host.createRunFileHost has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 2 of the 42 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 186, 360, 393, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/host.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad45aedef126c8799870155b880f6c34f3117fb98543998d1830f3ba6700c29"}},{"ruleId":"D1","level":"warning","message":{"text":"pause.pauseResponseForReview (cyclomatic 42): pause.pauseResponseForReview has cyclomatic complexity 42 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"85325f6d7180f4eacf141b90d483193cb91ad20b288d48bf310a42e58ef7d425"}},{"ruleId":"D1","level":"warning","message":{"text":"router.createCodeSetupRouter (cyclomatic 42): router.createCodeSetupRouter has cyclomatic complexity 42 (threshold 15). Most of this is not in the body itself: 3 of the 42 points are its own statements and the rest belongs to 12 function items inside it that branch (machine, browserSession, a function literal at line 140, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/router.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d54e0696d97655114ee1e2ab7533f74c38b771453838417485691a850ba8fc"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnection.constructTransport (cyclomatic 42): MCPConnection.constructTransport has cyclomatic complexity 42 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 20 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04a17fcf113d328819c4f4fe02e3dbc17ebd22a19c9ee7bde5339d54795c06c"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceStatus (cyclomatic 42): workspace.resolveCodeWorkspaceStatus has cyclomatic complexity 42 (threshold 15). Of this number, 38 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"907a11971c6db7bbca5188c15cd65bc23387d48998dd3079040c5dcf23b58a4c"}},{"ruleId":"D1","level":"warning","message":{"text":"DialogImage.DialogImage (cyclomatic 42): DialogImage.DialogImage has cyclomatic complexity 42 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 25 belong to 15 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c1d8c6c988f672c4692db79d46f1d2506e5d9d20edeae0499a1947e284578a"}},{"ruleId":"D1","level":"warning","message":{"text":"stripUIResourceMarkers.applyCitationTextBoundaries (cyclomatic 42): stripUIResourceMarkers.applyCitationTextBoundaries has cyclomatic complexity 42 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 21 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":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94d6c9ef5b8b39b9e6a68ab2466987ec939e22cc8699d98cafc4cacdb2ce2f4"}},{"ruleId":"D1","level":"warning","message":{"text":"FileAuthoringCall.FileAuthoringCall (cyclomatic 41): FileAuthoringCall.FileAuthoringCall has cyclomatic complexity 41 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35b66b4da7c4af4a386a8047ec60d7e8fd32b653a07001404e2e005aa0663c2"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryEditDialog.MemoryEditDialog (cyclomatic 41): MemoryEditDialog.MemoryEditDialog has cyclomatic complexity 41 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 13 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":"client/src/components/SidePanel/Memories/MemoryEditDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd21d6bbc061ec982b6fed6f6733ea5b73eb23f34421619929c979a2f0368a4"}},{"ruleId":"D1","level":"warning","message":{"text":"Citation.CompositeCitation (cyclomatic 41): Citation.CompositeCitation has cyclomatic complexity 41 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 16 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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4b5d43b08d03c4ada9df7b35946dde8fc9763f251e5b36e63329151a638529"}},{"ruleId":"D1","level":"warning","message":{"text":"useTextToSpeechExternal.useTextToSpeechExternal (cyclomatic 41): useTextToSpeechExternal.useTextToSpeechExternal has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 2 of the 41 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 89, 81, 108, \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":"client/src/hooks/Input/useTextToSpeechExternal.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aa5c8a8b96d60745a052de50ead3aa3a3ea2181550e40c8100aef4ed84aef5"}},{"ruleId":"D1","level":"warning","message":{"text":"skillFiles.primeInvokedSkills (cyclomatic 41): skillFiles.primeInvokedSkills has cyclomatic complexity 41 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"c270c353712dc1f50d0cdf4b8d9e9c1f9b6d9d5ca13155394d8236fc1633a988"}},{"ruleId":"D1","level":"warning","message":{"text":"validation.validateGraphSubagentTopology (cyclomatic 41): validation.validateGraphSubagentTopology has cyclomatic complexity 41 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a263d767447800a99ca5f297845134770be4ad8e3b8602f1c42744c14aa1f0ad"}},{"ruleId":"D1","level":"warning","message":{"text":"request.handleSteerCancelInternal (cyclomatic 41): request.handleSteerCancelInternal has cyclomatic complexity 41 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 19 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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"874cb6cb6d636b9ebc27ee5cb93834647d60cbd48cfd19e9cc84def57fee743c"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPOAuthHandler.refreshOAuthTokens (cyclomatic 41): MCPOAuthHandler.refreshOAuthTokens 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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"5948a7bb4411a8625729e9ad1b458b2e9e746defd35a5ab3431836ae369e0ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"receipts.reconcileServerQueuedTurns (cyclomatic 41): receipts.reconcileServerQueuedTurns has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 146, 206, 141). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78061759dd74ee88b64ceef7023c786d14d3c06f6064f97a71becdedcd16f6e"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript.SubagentControlHistory (cyclomatic 41): transcript.SubagentControlHistory has cyclomatic complexity 41 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 24 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":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d7646c0f3f2de51ef802c5e643369d9f73fe3e1f10830103e141e0f4efc6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"channelFeedback.createChannelFeedbackStorage (cyclomatic 41): channelFeedback.createChannelFeedbackStorage has cyclomatic complexity 41 (threshold 15). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 12 function items inside it that branch (createStorage, a function literal at line 258, createStorage::guard, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelFeedback.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddca0f3b979619f03bed0a1633780f3c1b132fb55ecffcf17eb2a00b3ed31e13"}},{"ruleId":"D1","level":"warning","message":{"text":"assistant.createAssistantMethods.updateAssistantAvatar (cyclomatic 41): assistant.createAssistantMethods.updateAssistantAvatar has cyclomatic complexity 41 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/assistant.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"947699050964bd6fe5b5187c52bc284c493611d40f2ec70d56c1676dd0f107df"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.createAgentMethods.updateAgent (cyclomatic 41): agent.createAgentMethods.updateAgent has cyclomatic complexity 41 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4f9f49885e412c59115521e914830eaa9a0e5a913cbddd383c14d91a7b0a0b"}},{"ruleId":"D1","level":"warning","message":{"text":"addPreviousAttachments (cyclomatic 41): addPreviousAttachments has cyclomatic complexity 41 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 19 belong to 14 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"58794d9dbbcd00e8931119f221aa2d07eba5092562201fbaff70356df3949d5b"}},{"ruleId":"D1","level":"warning","message":{"text":"performSync (cyclomatic 41): performSync 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":"api/db/indexSync.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"be212b86b4fcc54b661a6ac52974763f113756b0d3fc609786d682fcdb7b46ef"}},{"ruleId":"D1","level":"warning","message":{"text":"Bar.Bar (cyclomatic 40): Bar.Bar has cyclomatic complexity 40 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Bar.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09dea2e6aa83c723fc0b094366221b6c956d074170f1073d1933829f735ec1c"}},{"ruleId":"D1","level":"warning","message":{"text":"BackgroundTaskCall.BackgroundTaskCall (cyclomatic 40): BackgroundTaskCall.BackgroundTaskCall has cyclomatic complexity 40 (threshold 15). Of this number, 37 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":"client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"522cdb6f7dcb569d059613da0026e782aecc9253d446997db0b9bd2245759d92"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createReasoningLabelWiring.startStep (cyclomatic 40): runtime.createReasoningLabelWiring.startStep has cyclomatic complexity 40 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"336a9469b6c039523c9bd18a72fb6647161e69bc8a8bdc28bc63db0fb8f3536f"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSetupService.advance (cyclomatic 40): service.createSetupService.advance has cyclomatic complexity 40 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/service.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b85ca2096c93e18f65c0e55bc877c7598f200456a0701b195b637216032032a"}},{"ruleId":"D1","level":"warning","message":{"text":"queued.planCodeFileUploads (cyclomatic 40): queued.planCodeFileUploads has cyclomatic complexity 40 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 17 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/queued.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5775f24dc5eb91b40de651a74ba3a277dbff487f2ccc7c235362acdf1976de6c"}},{"ruleId":"D1","level":"warning","message":{"text":"UserConnectionManager.getUserConnectionForTarget (cyclomatic 40): UserConnectionManager.getUserConnectionForTarget has cyclomatic complexity 40 (threshold 15). Of this number, 37 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":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb7ba890ee9dd5f03b253a8ed7ff0ebe49ec3252da546b14d5fbc9d0ff9c34e"}},{"ruleId":"D1","level":"warning","message":{"text":"bearer.createScheduledMCPBearerHost.bind.resolve (cyclomatic 40): bearer.createScheduledMCPBearerHost.bind.resolve has cyclomatic complexity 40 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 8 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4facda256a994b72340e3734e6a3a6582f38e11d2fa34b0da46a4dbca728dcf7"}},{"ruleId":"D1","level":"warning","message":{"text":"service.recordScheduledMCPToolAuthFailure (cyclomatic 40): service.recordScheduledMCPToolAuthFailure has cyclomatic complexity 40 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 21 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"d083b5639ecc95d4a25cae81e10b93b07614c74d75ebc8d153c55fb808b10580"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.transitionStatusInternal (cyclomatic 40): RedisJobStore.transitionStatusInternal has cyclomatic complexity 40 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8077f8b33d4109a1f49a7ec5ff83fe10ef85e3be0b508725e3848e460025efa"}},{"ruleId":"D1","level":"warning","message":{"text":"response.createResponseStorage.readCleanupIdentity (cyclomatic 40): response.createResponseStorage.readCleanupIdentity has cyclomatic complexity 40 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a1ff5e1b7e012795856457494d7365e08ba87685f8461a59765c76c09e35777"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.isDuplicateVersion (cyclomatic 40): agent.isDuplicateVersion has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a5faf4cddee3b29c76cfc66956f3b5c2b0a507a229324ba40b12394848f737"}},{"ruleId":"D1","level":"warning","message":{"text":"titleConvo (cyclomatic 40): titleConvo has cyclomatic complexity 40 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":6145}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9df807df59d81554e3d4765e488978e967642bddc00aa364170d1c8bd1c1c84"}},{"ruleId":"D1","level":"warning","message":{"text":"processOpenIDAuth (cyclomatic 40): processOpenIDAuth has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92172b48671ee577ed7a51c43ade986f0fbda46d1f39dc9e662b94b3cfad1ef"}},{"ruleId":"D1","level":"warning","message":{"text":"openIdJwtStrategy.openIdJwtLogin (cyclomatic 39): openIdJwtStrategy.openIdJwtLogin has cyclomatic complexity 39 (threshold 15). Most of this is not in the body itself: 3 of the 39 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 218, 158, 193). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openIdJwtStrategy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c10b0eb86673797f46fb19b63b7ca96879216ad7acba048e2bf8fd674b10d3"}},{"ruleId":"D1","level":"warning","message":{"text":"preview.buildMessagePreview (cyclomatic 39): preview.buildMessagePreview has cyclomatic complexity 39 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f0e2d8183a56464fc923e9a3189f6fa1b1cdeb1ab6c69a639b4b1d3aa1ba56"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCard.ToolCardImpl (cyclomatic 39): ToolCard.ToolCardImpl has cyclomatic complexity 39 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolCard.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aad73dc1424775ec7d417987d39faefd253f99b4d177e9101163860231687cb"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurns.createAgentQueuedTurnResolver.\u003Creturned closure\u003E (cyclomatic 39): queuedTurns.createAgentQueuedTurnResolver.\u003Creturned closure\u003E 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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea82e35e3fdea1261a44b4cb59463969f2baf53702aded4b28a6ba426297a4c"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createResponseExecutionRuntime.graphOptions (cyclomatic 39): runtime.createResponseExecutionRuntime.graphOptions has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e4dcd82a3fecc2d6e37aa171b3ed511b8375ba08c48f3316d3af22d6576e69"}},{"ruleId":"D1","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.pair (cyclomatic 39): http.createCodeEnvironmentHttpHandlers.pair 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":"packages/api/src/code/http.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3f73859f0e223c5d0a92358d2c45bbe0d8d7202cd9d10e83800a911ff6290c"}},{"ruleId":"D1","level":"warning","message":{"text":"imports.inspectConversationImportContent (cyclomatic 39): imports.inspectConversationImportContent has cyclomatic complexity 39 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/imports.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe9e21415327cf34e2d21eca62fbec9d5e08dd8222b31cf9e1a5f5940147672"}},{"ruleId":"D1","level":"warning","message":{"text":"connection.guardMCPStreamableHTTPResponse (cyclomatic 39): connection.guardMCPStreamableHTTPResponse has cyclomatic complexity 39 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 13 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cd01a4d739222024187d7cf9a79d23f3588aad1a7e02e1a5ee69c928a08ea2"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createScheduleMCPConsentService (cyclomatic 39): service.createScheduleMCPConsentService 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":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2afb3f666904361f77cc1cc5df6c67a08fc0aac57f95f2d52aa10bd41a46d4"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createSchedulesHandlers.createSchedule (cyclomatic 39): handlers.createSchedulesHandlers.createSchedule has cyclomatic complexity 39 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3045667ebd80eefaf1ab1c02746b1ce1fa1bab7b025371e1292b8b1439ddd7ce"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.overlayHostSteerParts (cyclomatic 39): RedisJobStore.overlayHostSteerParts 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf6ec4a3a71aab3174d972e41b83b94c189f48424a7bd343776aa37afb82daf"}},{"ruleId":"D1","level":"warning","message":{"text":"content.reconcileSubagentMessagePhases (cyclomatic 39): content.reconcileSubagentMessagePhases has cyclomatic complexity 39 (threshold 15). Of this number, 34 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":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b34c1d8d0ec568b60683b4d0b05d8efa93aaf9229a2f8485d51deb2e86291b"}},{"ruleId":"D1","level":"warning","message":{"text":"state.reduceSubagentProgress (cyclomatic 39): state.reduceSubagentProgress has cyclomatic complexity 39 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b9f503951b7f9856b2edfd94c80a12c36dcb9b7304bb11b048fd2752d74f5d"}},{"ruleId":"D1","level":"warning","message":{"text":"file-config.buildMergedFileConfig (cyclomatic 39): file-config.buildMergedFileConfig has cyclomatic complexity 39 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4e53d10afd9ce9f10f6a3e9b3210db73a1b90548b087ead536387422ea8f6b"}},{"ruleId":"D1","level":"warning","message":{"text":"skill.createSkillMethods.updateSkill (cyclomatic 39): skill.createSkillMethods.updateSkill 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a7fefb9049cb96bbf1e802aef01ce278feefe7117d2e428312a4ba00a1875c"}},{"ruleId":"D1","level":"warning","message":{"text":"useCopyToClipboard.createCitationProcessor.process (cyclomatic 38): useCopyToClipboard.createCitationProcessor.process 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":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24f5c8562d0877b268333ce63ab287bf817603602b8d1dad461e7fe42e26a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressText.ProgressText (cyclomatic 38): ProgressText.ProgressText has cyclomatic complexity 38 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ProgressText.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccdcc352a629a928808ec962b2858b37ac1c5b7744647e5ccd5726e960b44e6"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleDialog.ScheduleDialog (cyclomatic 38): ScheduleDialog.ScheduleDialog has cyclomatic complexity 38 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (ScheduleDialog.ScheduleDialog::onSubmit) 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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c62aacae8a2d84059e2cdc22a11413d38c4e2c3d8264d97ed8202bbbe41ac72"}},{"ruleId":"D1","level":"warning","message":{"text":"roles.createAdminRolesHandlers.deleteRole (cyclomatic 38): roles.createAdminRolesHandlers.deleteRole has cyclomatic complexity 38 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 15 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f78daa0232e823c0be59ae58ef4ef5a057991348075452d7bf738a44b7e7917"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.getProviderMessageProvenanceState (cyclomatic 38): modelBoundContent.getProviderMessageProvenanceState 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ca5cd9e613c06a4544c88b62fa7d770694780c077e6c46f0f3f510d98085b7"}},{"ruleId":"D1","level":"warning","message":{"text":"lifecycle.reconcileCodeEnvironmentLifecycle (cyclomatic 38): lifecycle.reconcileCodeEnvironmentLifecycle has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 1 of the 38 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 35, 273). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c2dd5d5d9aeddd70bc7ec4246809678bada0e3118c7b391db11df963c1829a"}},{"ruleId":"D1","level":"warning","message":{"text":"config.getOpenAIConfig (cyclomatic 38): config.getOpenAIConfig has cyclomatic complexity 38 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/config.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85783a5f26fc66fd90d06c235ef8de3c7c4e70db2d266b3890b98140e1896cd"}},{"ruleId":"D1","level":"warning","message":{"text":"render.makeSlackPlan (cyclomatic 38): render.makeSlackPlan has cyclomatic complexity 38 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2f71148a993089130c47fa4f7f957e2d66a1abbe20bbcbda2dd4171b825809"}},{"ruleId":"D1","level":"warning","message":{"text":"slackWorkspace.createSlackWorkspaceStorage.completeInstall (cyclomatic 38): slackWorkspace.createSlackWorkspaceStorage.completeInstall has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 5 of the 38 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 393, 368). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f48d28c9ca4b522a1a55c3ca60e0d1ad330c55c98596da6d652c2fcc7627cd"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.decodeAgentSortCursor (cyclomatic 38): agent.decodeAgentSortCursor 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"73efea82c3df1b98ad5725b740b02ce4f60387e3d911b9c3897929359a3f9298"}},{"ruleId":"D1","level":"warning","message":{"text":"createMCPToolImpl (cyclomatic 38): createMCPToolImpl has cyclomatic complexity 38 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87beae98be66d2fd9537c55d1455b23450222360c14e9dd489d8df283e94d53"}},{"ruleId":"D1","level":"warning","message":{"text":"usePastedTextEdit.usePastedTextEdit.saveEdit (cyclomatic 37): usePastedTextEdit.usePastedTextEdit.saveEdit has cyclomatic complexity 37 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 13 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":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a424c5f1a80a06e01045c0da1cd697c78867d6c18506113975f30b10ceccf9"}},{"ruleId":"D1","level":"warning","message":{"text":"useTextarea.useTextarea.handlePaste (cyclomatic 37): useTextarea.useTextarea.handlePaste 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 7 function items inside it that branch (restorePasteAfterUploadFailure, a function literal at line 588, a function literal at line 634, \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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d40aade2303ab3437498c077fb3bc46874dba96179ab0ff19bb0991e3f3a82"}},{"ruleId":"D1","level":"warning","message":{"text":"useEndpoints.useEndpoints.mappedEndpoints (cyclomatic 37): useEndpoints.useEndpoints.mappedEndpoints has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to one function literal inside it that branches (line 135). 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":"client/src/hooks/Endpoint/useEndpoints.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95860906ae9d87103d36b7c1b6a8563297a0e346062a50caecbd12cbde6bec7"}},{"ruleId":"D1","level":"warning","message":{"text":"model.buildTraceModel (cyclomatic 37): model.buildTraceModel has cyclomatic complexity 37 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d74f28828e5c8ff11ee9a9159267895ddc079cf3f63313e51db995c08c4ef3e"}},{"ruleId":"D1","level":"warning","message":{"text":"Landing.Landing (cyclomatic 37): Landing.Landing has cyclomatic complexity 37 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 11 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":"client/src/components/Chat/Landing.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"083959ba4565804552fa0481a5f2900902c2766f3d2863dc9cd39a4c3076039e"}},{"ruleId":"D1","level":"warning","message":{"text":"Sources.FileItem (cyclomatic 37): Sources.FileItem has cyclomatic complexity 37 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 19 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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7546375188c8a20d2664ed67ed11678e4f55c85003bfa73837df27986d02a9d"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.updateConvoInAllQueries (cyclomatic 37): convos.updateConvoInAllQueries has cyclomatic complexity 37 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 21 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfcf1ab360e2a7c59c90eeb0a26f8fcbacb1d5b6e16f15616a69c5d700150dc6"}},{"ruleId":"D1","level":"warning","message":{"text":"langfuse.createAdminLangfuseHandlers.updateConnection (cyclomatic 37): langfuse.createAdminLangfuseHandlers.updateConnection has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"2946a666dfc8846929f4faad9e0ae600c7a953d116481ee05c5292b02c7396f6"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.handlers (cyclomatic 37): runtime.createActivityPhaseWiring.handlers has cyclomatic complexity 37 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 20 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f1476b7713d5960a589f3fb06be808b819af5c3ad88e481dba82a7f597227b"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.cleanup (cyclomatic 37): InMemoryJobStore.cleanup 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe793998ea997585001d6c369337520888bc777ca1dade5b7a9f13fd678e9ea7"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleWorkspaceListCall (cyclomatic 37): handlers.handleWorkspaceListCall 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc42f6cc74ce3f5e6adfc03caf3bb57b7cd13c54abd2e4b4b6784657a0e5904"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createAppConfigService.getAppConfig (cyclomatic 37): service.createAppConfigService.getAppConfig has cyclomatic complexity 37 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce06821a9570ad0b50ad8836a9b01935bbe8a9bc6148f88cfb0f2eecc03f1241"}},{"ruleId":"D1","level":"warning","message":{"text":"ceiling.settleAfterRetryCeiling (cyclomatic 37): ceiling.settleAfterRetryCeiling has cyclomatic complexity 37 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dea418de878c1511f25e9071a359f61d59b001a454358f90781d01152ef4c2f"}},{"ruleId":"D1","level":"warning","message":{"text":"Dropdown.Dropdown (cyclomatic 37): Dropdown.Dropdown has cyclomatic complexity 37 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 15 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Dropdown.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b133173a045e6c533d9c2ea65e12c4c0e4f05648bbb7fa108b59fa725a017672"}},{"ruleId":"D1","level":"warning","message":{"text":"toolApprovalGrant.createToolApprovalGrantMethods (cyclomatic 37): toolApprovalGrant.createToolApprovalGrantMethods has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 2 of the 37 points are its own statements and the rest belongs to 4 function items inside it that branch (readGrants, a function literal at line 190, a function literal at line 141, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/toolApprovalGrant.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a206a51cb941da1d5a058c398ad2d9d4b45b880ec6555c02fdd998cbc16c5cf2"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.toRecord (cyclomatic 37): triggerDelivery.toRecord has cyclomatic complexity 37 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3d15bccd0c367e12711bb6c295239198da4874a0536da2a01cf0b5d6fe337d"}},{"ruleId":"D1","level":"warning","message":{"text":"duplicateAgentHandler (cyclomatic 37): duplicateAgentHandler has cyclomatic complexity 37 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ba72a66c353cd2db9481fb3b6b448cb98271c86b6a7ff35d0ff42ecb274e73"}},{"ruleId":"D1","level":"warning","message":{"text":"logoutController (cyclomatic 37): logoutController 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":"api/server/controllers/auth/LogoutController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a82dee3f8a98722b5db9c4647ce380c934f3559208d3de14cfad64dcbd234db"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolCallGroup.ToolCallGroup::resolveGroupLabel (cyclomatic 36): ToolCallGroup.ToolCallGroup::resolveGroupLabel 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. This shape REPEATS in the file: one other method here (ToolCallGroup.ToolCallGroup) 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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"729e021b5c6446d6ab577998b6b3f9463254d930f3ea66ab2e7176fd9bd8bf94"}},{"ruleId":"D1","level":"warning","message":{"text":"face.drawEye (cyclomatic 36): face.drawEye has cyclomatic complexity 36 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"247d21a9d72155fbe7308deb387df4a423a511368b5682957159313a18edfc71"}},{"ruleId":"D1","level":"warning","message":{"text":"files.getCanonicalFileReferenceIds (cyclomatic 36): files.getCanonicalFileReferenceIds has cyclomatic complexity 36 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ced35327633503067fd943fdcabb2974e6860ef0cf1c8ce2f5d72f9a6462dc"}},{"ruleId":"D1","level":"warning","message":{"text":"files.omitResolvedFileLocators (cyclomatic 36): files.omitResolvedFileLocators has cyclomatic complexity 36 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"6345638b41d459d7a91b5d708cac67cf6d0c619974b62bf66e5be7862256587d"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.restoreLegacyOverflowAnchors (cyclomatic 36): runtime.restoreLegacyOverflowAnchors has cyclomatic complexity 36 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 14 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2395b4b8af2a05229f832b3e4f5bf735482cafe0cf423e99f9c2d4b4af95cc1"}},{"ruleId":"D1","level":"warning","message":{"text":"modes.createAgentToolApprovalSession.hook (cyclomatic 36): modes.createAgentToolApprovalSession.hook has cyclomatic complexity 36 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"020a5de5eefa1f157f813ed12411a2789d3858926476d847e79bba12a2b7e524"}},{"ruleId":"D1","level":"warning","message":{"text":"skillFiles.executePrimeSkillFiles (cyclomatic 36): skillFiles.executePrimeSkillFiles has cyclomatic complexity 36 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b5df21e02ab28b8b6e20785bbdc13b08a8d855bc65b5f046ce4c10dd0a24a4"}},{"ruleId":"D1","level":"warning","message":{"text":"retirement.createResponseRetirement.\u003Creturned closure\u003E::stageCancellation (cyclomatic 36): retirement.createResponseRetirement.\u003Creturned closure\u003E::stageCancellation has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (retirement.createResponseRetirement.\u003Creturned closure\u003E) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc73738818f8f826807bc953868b10730711f92bda3c4733fb4df13de927a61"}},{"ruleId":"D1","level":"warning","message":{"text":"bindings.createAgentEventBindingHandlers.register (cyclomatic 36): bindings.createAgentEventBindingHandlers.register has cyclomatic complexity 36 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 11 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":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"026432c680317fe907a37ba29e4d8aa5b020901a49b63c50b7bbafc59b4f1da3"}},{"ruleId":"D1","level":"warning","message":{"text":"storage.createDeleteFileWithSecondaryStorage.\u003Creturned closure\u003E::deleteStorage (cyclomatic 36): storage.createDeleteFileWithSecondaryStorage.\u003Creturned closure\u003E::deleteStorage has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"3738bb4320d301ca9a682a784ca923059a7bdd874b3e45fa49ff59357be2b15a"}},{"ruleId":"D1","level":"warning","message":{"text":"gitlab.createGitLabPullRequestSource.find (cyclomatic 36): gitlab.createGitLabPullRequestSource.find has cyclomatic complexity 36 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 16 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":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"821438f9d59b9ba47ef1aa99fbb5af07fbc6832262f20e6c76664937d4e3f99c"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPManager.runAppOperation (cyclomatic 36): MCPManager.runAppOperation has cyclomatic complexity 36 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 13 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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a294702a9a285cb127ed24fcaa08393319063310324ae271dddee29572d2488"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.getJobIdsByUser (cyclomatic 36): RedisJobStore.getJobIdsByUser has cyclomatic complexity 36 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4038}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84307c5e1004e837ebe50fe576b132ef430b3a917249a989bb9b9909579c1cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Header.Header (cyclomatic 35): Header.Header has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Header.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1516ae68a3c8863e0ae88f383f646cdf36f75c1db78d0386971b11f266f5cd"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedLinkButton.SharedLinkButton (cyclomatic 35): SharedLinkButton.SharedLinkButton has cyclomatic complexity 35 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 14 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":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fce9b42fcbeb68dbb1b48770602000225fec07d356d617177ac7c0527c3ec35"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.loadThreadUserMessages (cyclomatic 35): protection.loadThreadUserMessages 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":"packages/api/src/assistants/protection.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a78e36b598f6bead69ca12dc470f23c41b0079a3f7f448faae82c27ca827339"}},{"ruleId":"D1","level":"warning","message":{"text":"execution.createScheduleMCPExecution.resolve (cyclomatic 35): execution.createScheduleMCPExecution.resolve has cyclomatic complexity 35 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/execution.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"867e30d148ebdff7511776a20ffe065cdf04419431e9e11baae22626ad516afb"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelWorker.progress (cyclomatic 35): ChannelWorker.progress 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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"576e9a4729656d021b5658e2a2ae0dd42ea8ffc9eb69cca88dfa420c122fdefd"}},{"ruleId":"D1","level":"warning","message":{"text":"receipts.useQueuedTurnReceipts (cyclomatic 35): receipts.useQueuedTurnReceipts 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 9 function literals inside it that branch (lines 106, 88, 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":"packages/chat/src/react/steering/receipts.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4872faf215e60de19615269268dac896927aa5e7826f995372cb65326242cb77"}},{"ruleId":"D1","level":"warning","message":{"text":"useSteerConvert.useSteerConvert (cyclomatic 35): useSteerConvert.useSteerConvert 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 11 function literals inside it that branch (lines 164, 126, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerConvert.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a1f7913a35285204ef93d64cea9658d0b80de98d2354f5e5d0fa876155baeb"}},{"ruleId":"D1","level":"warning","message":{"text":"HoverButtons.HoverButtons (cyclomatic 35): HoverButtons.HoverButtons has cyclomatic complexity 35 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 6 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":"packages/chat/src/components/messages/HoverButtons.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"06790d220a0abc9c1923e13ffd2f937d22e90b02a3dbd2d4fea2776a8f5764eb"}},{"ruleId":"D1","level":"warning","message":{"text":"adapters.contentPartsToActivity (cyclomatic 35): adapters.contentPartsToActivity 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 one function literal inside it that branches (line 107). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef34a8400e51c609d372b8b143649235d2d20f75737a5157b0df67c3bae9dff"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.redactFormat (cyclomatic 35): parsers.redactFormat has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"7711ca9da061ed21b68263c814e8f7c6d449a799dd4e7f1ff243556f7d3fcb0f"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.deleteConvos (cyclomatic 35): conversation.createConversationMethods.deleteConvos has cyclomatic complexity 35 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 13 belong to 6 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":4078}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6f43f0fbfcdbdbbe203a4492ed06c90e67200c873fcbf153ca9ada1ac215a3"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpAuthority.prepareTargets (cyclomatic 35): mcpAuthority.prepareTargets has cyclomatic complexity 35 (threshold 15). Most of this is not in the body itself: 4 of the 35 points are its own statements and the rest belongs to one function literal inside it that branches (line 486). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c238992e110a37f7bd4550e1c14c19d937da7021fde6cc04d16bd7d91617dc"}},{"ruleId":"D1","level":"warning","message":{"text":"revertAgentVersionHandler (cyclomatic 35): revertAgentVersionHandler has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb55115b1e1d98a12a1808803a774e9403c93d6f06d2aedd8cea5c12e75b7ec0"}},{"ruleId":"D1","level":"warning","message":{"text":"createResponsesToolEndCallback (cyclomatic 35): createResponsesToolEndCallback 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 13 function items inside it that branch (a function literal at line 1297, a function literal at line 1309, a function literal at line 1408, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a5f4ccc66f627f8395f80f47f9476ce20a6e3009abce665fc969ae3d1e6eb74"}},{"ruleId":"D1","level":"warning","message":{"text":"BadgeRowContext.BadgeRowProvider (cyclomatic 34): BadgeRowContext.BadgeRowProvider has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 3 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 85, 182, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bef1c936cbec465172d4db45bd3d6ea27614491cb456db0652940d20e190e82"}},{"ruleId":"D1","level":"warning","message":{"text":"VerifyEmail.RequestPasswordReset (cyclomatic 34): VerifyEmail.RequestPasswordReset has cyclomatic complexity 34 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 8 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":"client/src/components/Auth/VerifyEmail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c5db204226b52d6aff7756c015713510053b05481d8acc888e4af4e684280f"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareView.SharedView (cyclomatic 34): ShareView.SharedView has cyclomatic complexity 34 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 12 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"056d85e204feb6dc285ed7bbc47a9a57fe14dcad3e80e9e2469f98f005571bbb"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsSection.SkillsSection (cyclomatic 34): SkillsSection.SkillsSection has cyclomatic complexity 34 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 16 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b9d1e741ee6fe5ad9daeedebfb536cc650210c93970d0be31110e1868e171a8"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantPanel.AssistantPanel (cyclomatic 34): AssistantPanel.AssistantPanel has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to 8 function items inside it that branch (a function literal at line 91, onSubmit, a function literal at line 183, \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":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad159d8645c6cb45255744ee149d0c62aa91a20fcf108b90d6ae82dad1d8a721"}},{"ruleId":"D1","level":"warning","message":{"text":"retention.retainMessages (cyclomatic 34): retention.retainMessages has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 2 of the 34 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 236, a function literal at line 202, a function literal at line 145, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Messages/retention.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04bb269d056d871cc330b9102b81edff19b75afc5889800175dca65483309e5"}},{"ruleId":"D1","level":"warning","message":{"text":"useSideNavLinks.useSideNavLinks.Links (cyclomatic 34): useSideNavLinks.useSideNavLinks.Links has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useSideNavLinks.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a815837509b54ef338be1a8e371311ff3d8db55359cf2d492543fac009cf52ae"}},{"ruleId":"D1","level":"warning","message":{"text":"nested.visitNestedStrings (cyclomatic 34): nested.visitNestedStrings 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":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c32d43e7ea63efe361bf4c8050b53c74d0fa9619a189d19496fbec6253e499"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.hook (cyclomatic 34): runtime.createActivityPhaseWiring.hook 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d178e10d13318793e649c3c9671773ebcfeac2c76855e24ce48455fa9b23fa"}},{"ruleId":"D1","level":"warning","message":{"text":"added.loadAddedAgent (cyclomatic 34): added.loadAddedAgent has cyclomatic complexity 34 (threshold 15). Of this number, 30 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":"packages/api/src/agents/added.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f29976551d5d4036e8fc104a1d4f1eb954d934ef6d5a13e23c7c29793e30a5a"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.claimParkedSteersDetailed (cyclomatic 34): InMemoryJobStore.claimParkedSteersDetailed has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7af0f3c5f40b19adbaf52542636b57df00dc46bc7092af5b102dbd58575f46"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.createInitialModelBoundAdmissionCallback (cyclomatic 34): modelBoundContent.createInitialModelBoundAdmissionCallback has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 8 function items inside it that branch (a function literal at line 3450, a function literal at line 3419, a function literal at line 3406, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce21d7d28025ae40e327f9b610f6d69e5a40cfa4c2d3978ea5854654b449a702"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurnHttp.handleAgentQueuedTurnEnqueue (cyclomatic 34): queuedTurnHttp.handleAgentQueuedTurnEnqueue 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":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6915d43854027731405bfe8caaa5cf8c438bd5caa7b44816223737a22630a91"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createReasoningLabelWiring.schedule (cyclomatic 34): runtime.createReasoningLabelWiring.schedule has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 14 of the 34 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 435, 484, 510). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde3bc0043d3c5bf6784992d8eb6904e1915d6ffcb5c0a86bfb4cdfd39ebc26"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.performIdpRefresh (cyclomatic 34): session.createOpenIDSessionRefreshService.performIdpRefresh has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 7 of the 34 points are its own statements and the rest belongs to one function literal inside it that branches (line 1593). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e31bb61730225a6e9e2f56f0217ac13b555469292d681c3342dfefd90b5dd61"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createScheduleMCPRuntimeHost.prepare (cyclomatic 34): runtime.createScheduleMCPRuntimeHost.prepare has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/runtime.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9541a6aa3d9fc55b09c6da32ce183923b9dc3e17cadf52c32d6561cb120c3ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createTraceHandlers (cyclomatic 34): handlers.createTraceHandlers has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 7 function items inside it that branch (record, records, prepareScope, \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":"packages/api/src/traces/handlers.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"554d9da99bdb922b3039271fc3d89241942250653c3b3f7d0154708fc25c7d29"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.applyMembershipSnapshot (cyclomatic 34): RedisJobStore.applyMembershipSnapshot 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d7afc5b2c1bcd663ececb35c744bc35689750acc74e7fe14a60568e1aab806"}},{"ruleId":"D1","level":"warning","message":{"text":"view.deriveTokenUsageView (cyclomatic 34): view.deriveTokenUsageView 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":"packages/chat/src/core/usage/view.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"50def25fe7dfacef372d1310e2c15b59b53995fb8ac984f0d6ec4e1604c5ab32"}},{"ruleId":"D1","level":"warning","message":{"text":"state.storedControlState (cyclomatic 34): state.storedControlState has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1222af30920da271b8e6479b23cbd7253e7acca6129694759376d867c11c4641"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTable.DataTable (cyclomatic 34): DataTable.DataTable has cyclomatic complexity 34 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 15 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbdd7a89fcf812c41866144655b41432cbc562aad9d253a042013ff8a0949a3"}},{"ruleId":"D1","level":"warning","message":{"text":"parts.toUIMessage (cyclomatic 34): parts.toUIMessage has cyclomatic complexity 34 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfee7a6d4ee72c5de5a4404cba6757574953200db44e2e8527fb54cdae0217b"}},{"ruleId":"D1","level":"warning","message":{"text":"processRequiredActions (cyclomatic 34): processRequiredActions has cyclomatic complexity 34 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3bc29f96f18054b3d0d0d4f85d0024baa9fe9c2c85326d63225f2cc6887551"}},{"ruleId":"D1","level":"warning","message":{"text":"createToolEndCallback (cyclomatic 34): createToolEndCallback has cyclomatic complexity 34 (threshold 15). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 13 function items inside it that branch (a function literal at line 924, a function literal at line 936, a function literal at line 1042, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e270913d6bb462d297497c27580c3f4f55f3644cf7adb96f258fe0553dd4fb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 34): (anonymous) 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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb32ee546f57ebf0b42410e3e57e9e50a12c2ea39864e3cbc55ecbe9803db430"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 34): (anonymous) has cyclomatic complexity 34 (threshold 15). Of this number, 33 points are the body\u0027s own statements and 1 belongs to 41 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":"config/delete-user.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d56dfc89a221cacb60919a944375624a2fd68bd0afcb1f8c820fdecd11d8949"}},{"ruleId":"D1","level":"warning","message":{"text":"FavoritesController.updateFavoritesController (cyclomatic 33): FavoritesController.updateFavoritesController 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":"api/server/controllers/FavoritesController.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b697e55a9a4610b3c2fbfcfd04f24003ec690d3ef914f15d2e3e9aa77153fcc8"}},{"ruleId":"D1","level":"warning","message":{"text":"Timeline.Timeline (cyclomatic 33): Timeline.Timeline has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 4 of the 33 points are its own statements and the rest belongs to 11 function items inside it that branch (handleKeyDown, handlePointerMove, 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":"client/src/components/Chat/Trace/Timeline.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2c0d2f1830731f96ec77c00e6a8f84bd3973c2d8bbf91f3d6a571498496b01"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionsPromptFields.InstructionsPromptFields (cyclomatic 33): InstructionsPromptFields.InstructionsPromptFields has cyclomatic complexity 33 (threshold 15). Most of this is not in the body itself: 3 of the 33 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 208, 233, 340, \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":"client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3505d48a4d3140ad60de68717d7ba75ba8f3f84c0850994b179fd163493ad556"}},{"ruleId":"D1","level":"warning","message":{"text":"ConversationsSection.ConversationsSection (cyclomatic 33): ConversationsSection.ConversationsSection has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/UnifiedSidebar/ConversationsSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f620bc6b637020e8358691f062fe9f3200f0dabaf352cd55230fbcdcb929311a"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentCompletionWakeup.createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E (cyclomatic 33): subagentCompletionWakeup.createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E 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":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ac8913dc871b88314edd4aed6326d63f3ed99da214f41d70d43ac5723b03d5"}},{"ruleId":"D1","level":"warning","message":{"text":"compatibility.planMatcher (cyclomatic 33): compatibility.planMatcher has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d2444086debaed28a0a77716409b470f7b3cb090bb38d6ecbef887f7f921a6"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createAggregatorEventHandlers (cyclomatic 33): service.createAggregatorEventHandlers 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 7 function literals inside it that branch (lines 1391, 1357, 1324, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3a1deb52f2f6e38de7a72de81013c1a516129050c0058be1e8386d3260482f"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.initializeCustom (cyclomatic 33): initialize.initializeCustom 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":"packages/api/src/endpoints/custom/initialize.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3683597455ffa69029271d008b2c573e259171510c58ebef36bd0da9657e2b1"}},{"ruleId":"D1","level":"warning","message":{"text":"enrollment.createScheduleMCPEnrollmentResolver.\u003Creturned closure\u003E (cyclomatic 33): enrollment.createScheduleMCPEnrollmentResolver.\u003Creturned closure\u003E 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":"packages/api/src/schedules/authorization/enrollment.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"25318131e6ddfa2f4a6d1455bebaa2ba387cf04c8d7ddd5ddfbef326077db6a6"}},{"ruleId":"D1","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords (cyclomatic 33): reader.createLangfuseTraceReader.listRecords 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. This shape REPEATS in the file: 2 other methods here (reader.createLangfuseTraceReader.listRecords::probe, reader.createLangfuseTraceReader.listRecords::nameToolRounds) 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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebffaca3614f959e1735c76a507133b07305898bc82be453b7b3b7de8517b2c5"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.resume (cyclomatic 33): Chat.resume has cyclomatic complexity 33 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"020609f6541bf9a6982ee8d9be356d31697915ffd2874e4d31dfbf2f3344758a"}},{"ruleId":"D1","level":"warning","message":{"text":"outcome.getToolMeta (cyclomatic 33): outcome.getToolMeta has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/outcome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"7782382ea285d9aac91fb55dd5021ca2254e4c427a5d1567bc4557d2c18fc6d4"}},{"ruleId":"D1","level":"warning","message":{"text":"content.reconcileSubagentToolTimings (cyclomatic 33): content.reconcileSubagentToolTimings has cyclomatic complexity 33 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"1298cf675c097f8deaac4815bb0c8f395a8e957088e608cb3488317ed794e082"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.toRecord (cyclomatic 33): queuedTurn.toRecord has cyclomatic complexity 33 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce65a1aab5d8f4bac2780ee80be27bc8985fcb3bd07530a733490a5654506f5"}},{"ruleId":"D1","level":"warning","message":{"text":"updateUserPluginsController (cyclomatic 33): updateUserPluginsController has cyclomatic complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs 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":"api/server/controllers/UserController.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9a31787e1aaec81cd34dac438fe6318d47302e873fb1c8dca8a127c4ffa450"}},{"ruleId":"D1","level":"warning","message":{"text":"useReplyWatcher.useReplyWatcher (cyclomatic 32): useReplyWatcher.useReplyWatcher has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 514, 443, 506, \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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f365215f38ffc81a0c596d9b4a39ec1c46a0f05e0b87d03d19aca432fe001f2"}},{"ruleId":"D1","level":"warning","message":{"text":"useNewChat.useNewChat (cyclomatic 32): useNewChat.useNewChat has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 219, 146, 204, \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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"2128975db37204e6c4617efb1dddb0f6138c543b7fd0e793444ca19039fb5030"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseReviewRoute.OwnedReview (cyclomatic 32): ResponseReviewRoute.OwnedReview has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ResponseReviewRoute.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b284945b537a2d09f508baa7d83ec36b1536ea2cf6839aa9e2d0d7c4aecd4d4"}},{"ruleId":"D1","level":"warning","message":{"text":"TwoFactorSetupScreen.TwoFactorSetupScreen (cyclomatic 32): TwoFactorSetupScreen.TwoFactorSetupScreen has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 14 of the 32 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 261, 182, 191, \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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a0008850feca227c4acecbc72d727443aebacc9dbecffd2ddbd26a5e20015f"}},{"ruleId":"D1","level":"warning","message":{"text":"PendingSteers.PendingSteers (cyclomatic 32): PendingSteers.PendingSteers has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 140, resolvePaused, queueSteer, \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":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ac487b2ea555624da2b3f42ba52153c64299c8c845e37bab8c343257378392"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamAudio.StreamAudio (cyclomatic 32): StreamAudio.StreamAudio has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 64, 208, 59). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/StreamAudio.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad40ae9073679010fc5ad55e0a74dc125f784046252a1519180954eef853e531"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerInitializationSection.ServerInitializationSection (cyclomatic 32): ServerInitializationSection.ServerInitializationSection has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"918fae476fecaeb51b735e62ce34aad984be08a434453b3675be71afbbfaec6b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChatGroupItem.ChatGroupItem (cyclomatic 32): ChatGroupItem.ChatGroupItem has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 13 of the 32 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 106, a function literal at line 81, a function literal at line 181, \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":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3265dd09b9d5054dbf93d59663db2b5b6be3f4ee5efac109998053446a5a9256"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolsMarketplaceDialog.ToolsMarketplaceDialog (cyclomatic 32): ToolsMarketplaceDialog.ToolsMarketplaceDialog has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 3 of the 32 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 120, 199, 71, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20e6b63a1ac90516ba0447a8ac0c80e08cedf50adbbd20d7f941679f4fc2a7a"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentFooter.AgentFooter (cyclomatic 32): AgentFooter.AgentFooter has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentFooter.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7578c1b7c33d62e9b879771f4d688e0d454389e7bf988f429b7c103730c083a"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantSelect.AssistantSelect (cyclomatic 32): AssistantSelect.AssistantSelect has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 2 of the 32 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 66, 192, 222, \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":"client/src/components/SidePanel/Builder/AssistantSelect.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d268d277149d90820b20da7aa3e9f469b4ddf16f7b1f3a0f8f04cc4ecf9b5a5f"}},{"ruleId":"D1","level":"warning","message":{"text":"index.MCPServerDialog (cyclomatic 32): index.MCPServerDialog has cyclomatic complexity 32 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5365614ffc1cd3710ccfa9aab33da73970b9e4e46e75017629a6b347f30d7214"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalizedDateRangePicker.LocalizedDateRangePicker (cyclomatic 32): LocalizedDateRangePicker.LocalizedDateRangePicker has cyclomatic complexity 32 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/ui/LocalizedDateRangePicker.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f954fec33117e80e3cb9151b165b217df5bea174c6120999d1f932da440a8f"}},{"ruleId":"D1","level":"warning","message":{"text":"useChatOptions.useChatOptions (cyclomatic 32): useChatOptions.useChatOptions has cyclomatic complexity 32 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 16 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Sharing/useChatOptions.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"df289a0e66ad11431d79aab0e9fa1cdf6b692ffe3296abf2ad5894956f76d66e"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate-shared-link-permissions.migrateSharedLinkPermissions (cyclomatic 32): migrate-shared-link-permissions.migrateSharedLinkPermissions has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 154, 28). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-shared-link-permissions.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"941f0ecb57295c972d75e3ead4a5a2e1aad9de43793ae7ba768b213f1982ad88"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.tombstoneConfigField (cyclomatic 32): config.createAdminConfigHandlers.tombstoneConfigField 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4065}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae9fa424c8173787a8b4f2f1587b64fa9f83b6223b1ec4707370a075140b306"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentActivity.createSubagentActivityStreamHandler.\u003Creturned closure\u003E (cyclomatic 32): subagentActivity.createSubagentActivityStreamHandler.\u003Creturned closure\u003E has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2b7fc0e2e43c0a7da0aacec62b1dd9233a218091a0cc2e7f8d978fc55a1b44"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.publishTerminalClaim (cyclomatic 32): GenerationJobManagerClass.publishTerminalClaim 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2f50fbd8c4355ecaeeece5ca4999aae2fe851f72cd6d04310067f1a7c0c530"}},{"ruleId":"D1","level":"warning","message":{"text":"validationFeedback.toolValidationFeedback (cyclomatic 32): validationFeedback.toolValidationFeedback 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":"packages/api/src/agents/validationFeedback.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f355859005c117e2d66665e8e1ab720c9b8b3afff8fb8c12a403b4ada12c5eb"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleAttachedWorkspaceEditFileCall (cyclomatic 32): handlers.handleAttachedWorkspaceEditFileCall has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4081}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b40fda421c7f86256f7a7f0f88bbb8035aa3349cb7ce0e0fc743280735234ce"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.assertResumeRuntimeContentAllowed (cyclomatic 32): protection.assertResumeRuntimeContentAllowed has cyclomatic complexity 32 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 6 belong to 5 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c3b39fcc0177718a547dd82537ba340d8ba6d1f73213f266916c570bff8d7a"}},{"ruleId":"D1","level":"warning","message":{"text":"detachedAction.parseAgentEventDetachedTerminalEvidence (cyclomatic 32): detachedAction.parseAgentEventDetachedTerminalEvidence has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb311c5f15478fd488bea40b993709aea187e232f61ffdfb8ace91ff2de0d60"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.controlInvocationAndPersist (cyclomatic 32): SubagentThreadTaskStore.controlInvocationAndPersist has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"81baaf4c839cdbb743e924dedefd0016f712e586ad33a039b7a28cad35d00293"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createResponsesEventHandlers (cyclomatic 32): service.createResponsesEventHandlers has cyclomatic complexity 32 (threshold 15). Most of this is not in the body itself: 1 of the 32 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 1050, 1004, 963, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e7cc489fa5bce5b94e8101647de96f89732aabf9530b7e6969f54c5fdb5711"}},{"ruleId":"D1","level":"warning","message":{"text":"bindingResolver.createAgentEventContinueResolver.\u003Creturned closure\u003E (cyclomatic 32): bindingResolver.createAgentEventContinueResolver.\u003Creturned closure\u003E 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":"packages/api/src/agents/triggers/bindingResolver.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ec93c09e0c8360a966b1539e928cf8615a3e13bc2179d07bee11b2eda9ae62"}},{"ruleId":"D1","level":"warning","message":{"text":"responses.createChannelResponseProjection.\u003Creturned closure\u003E (cyclomatic 32): responses.createChannelResponseProjection.\u003Creturned closure\u003E 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/responses.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f8bf5e217eebc0aca1a1f898a1e683fce00ca0304078f1d19aa59de304a304"}},{"ruleId":"D1","level":"warning","message":{"text":"capabilities.resolveCodeExecutionWorkspaceContext (cyclomatic 32): capabilities.resolveCodeExecutionWorkspaceContext 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6a145c5eecc443a066d02d11448b37259b79fb46c3862ecf0708aab9a6abdff"}},{"ruleId":"D1","level":"warning","message":{"text":"load.createGetConversationHandler.\u003Creturned closure\u003E (cyclomatic 32): load.createGetConversationHandler.\u003Creturned closure\u003E has cyclomatic complexity 32 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/load.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"66043b4a61a33e9217d1b7e9670976a8d5c40867bce9bd19b843ac2a84dcb046"}},{"ruleId":"D1","level":"warning","message":{"text":"deletion.runSkillDeletion (cyclomatic 32): deletion.runSkillDeletion has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 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":"packages/api/src/skills/deletion.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c798b59ba944119581ef075333555d49532ff654952aad7802206cc020985a99"}},{"ruleId":"D1","level":"warning","message":{"text":"frames.handleFrame (cyclomatic 32): frames.handleFrame 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f7da13aec99f1e8c056a613ee88b1ce97422033d7b8bd4ed0296949cce9f9"}},{"ruleId":"D1","level":"warning","message":{"text":"hint.composeHint (cyclomatic 32): hint.composeHint 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":"packages/chat/src/components/composer/bar/hint.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0674a30008e85bde2091ea2f9df5b39f81386488034dff241124bc41d7baa379"}},{"ruleId":"D1","level":"warning","message":{"text":"state.foldAcceptedSubagentEvents (cyclomatic 32): state.foldAcceptedSubagentEvents has cyclomatic complexity 32 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb3502e69e5ebe095f06f1684e6e01e1aa8000fa97f2711ffdcdf920c15d697"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.recordAgentEventActorReconciliation (cyclomatic 32): conversation.createConversationMethods.recordAgentEventActorReconciliation has cyclomatic complexity 32 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"903ffde2fbba1058e01400a8164b70d6e76d5af21aeee95a977ed024654020ee"}},{"ruleId":"D1","level":"warning","message":{"text":"role.createRoleMethods.updateAccessPermissions (cyclomatic 32): role.createRoleMethods.updateAccessPermissions 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":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb94f86eb8a88009e71c12bb3088c6139841585a7206dbf435168d71f745a7e5"}},{"ruleId":"D1","level":"warning","message":{"text":"skill.createSkillMethods.upsertSkillFile (cyclomatic 32): skill.createSkillMethods.upsertSkillFile 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4698e7a5ca1e5929fddc5d19bd177951ba0e4c5eb6174d9fe8ff2f7aeda9fbd"}},{"ruleId":"D1","level":"warning","message":{"text":"import.importSnapshot (cyclomatic 32): import.importSnapshot has cyclomatic complexity 32 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 16 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18fa23437223aa4c3311ca5e58e8fb30ba4c84c818ca4ef719aefcd3c827588"}},{"ruleId":"D1","level":"warning","message":{"text":"startServer (cyclomatic 32): startServer has cyclomatic complexity 32 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 13 belong to 17 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0837cff5331ed353be408d040f944b9b1f93895855a0eb5d5b54176c950105"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentClient.rebaseActivityPhaseBounds (cyclomatic 31): AgentClient.rebaseActivityPhaseBounds 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1cf22555bd08256c6120a93d150eac0ef822b85852166becb1ece20f2b3fad"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectEditor.ProjectEditor (cyclomatic 31): ProjectEditor.ProjectEditor has cyclomatic complexity 31 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 12 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":"client/src/components/Projects/ProjectEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f61f4531d9d7509f7f00248394f1eddb0e30266c65381ab37ed24e83843470"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareArtifacts.ShareArtifactsContainer (cyclomatic 31): ShareArtifacts.ShareArtifactsContainer has cyclomatic complexity 31 (threshold 15). Of this number, 24 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":"client/src/components/Share/ShareArtifacts.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf04ad29e3c27270fc4e8ebd02cb10cea8d30e371bf86a68360bf66a2ad214"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelPanel.ModelPanel (cyclomatic 31): ModelPanel.ModelPanel has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 11 of the 31 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 240, 171, 121, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04eb4db3f09560bb2277b1b61b95d9dc1597d4c12f05976e65c9cbe3eae9055"}},{"ruleId":"D1","level":"warning","message":{"text":"useArtifacts.useArtifacts (cyclomatic 31): useArtifacts.useArtifacts has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 276, 259, 208, \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":"client/src/hooks/Artifacts/useArtifacts.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"947cce58758625e9882599645d9612532f1a9614b156a747f9b90150c5751d2a"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoningLabels.applyReasoningLabel (cyclomatic 31): reasoningLabels.applyReasoningLabel 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":"client/src/utils/reasoningLabels.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a2754e625825f6f54d8b045293f1c4a7c9e7e049558f400724d77c5f8268a3"}},{"ruleId":"D1","level":"warning","message":{"text":"context.resolveChatProjectContext (cyclomatic 31): context.resolveChatProjectContext has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/context.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fae56310a50e4ce763ec2721b27570f6e7430760afd1d2ea10b4ad4d67af60"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleWorkspaceSearchCall (cyclomatic 31): handlers.handleWorkspaceSearchCall has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"192c62492d3356a7f5bbe5cc64b4c0ea9d82b0aef3ac2e256fcd87c3658eaf8d"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.writeSkillMd (cyclomatic 31): handlers.writeSkillMd has cyclomatic complexity 31 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0ac022acbb687a426d1d2b55a04a7856f84edaee15fed3defbf858e7d25772"}},{"ruleId":"D1","level":"warning","message":{"text":"service.validateResponseRequest (cyclomatic 31): service.validateResponseRequest has cyclomatic complexity 31 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"7616eb9a07d71af986d517e2a8056f2e80f86ca2dca737e83e5fb3e8ad05a11c"}},{"ruleId":"D1","level":"warning","message":{"text":"image.encodeAndFormatImages (cyclomatic 31): image.encodeAndFormatImages has cyclomatic complexity 31 (threshold 15). Of this number, 26 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":"packages/api/src/files/encode/image.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c1a042900d256456b258b47d046ee6e5a8614aae8564518f7cc0985e9d6ba"}},{"ruleId":"D1","level":"warning","message":{"text":"handler.createConversationPullRequestsHandler.\u003Creturned closure\u003E (cyclomatic 31): handler.createConversationPullRequestsHandler.\u003Creturned closure\u003E has cyclomatic complexity 31 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"957a69a2d156c4fa4416342abf4fb26de5ef18d6b69751a63b3801941071f682"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTokenStorage.forceRefreshTokens (cyclomatic 31): MCPTokenStorage.forceRefreshTokens has cyclomatic complexity 31 (threshold 15). Most of this is not in the body itself: 9 of the 31 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1116, 1217, 1227, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab22ec84b6d8936223e3d7648d770a4b49bd2d209d1cf4cb27412a840cb1a235"}},{"ruleId":"D1","level":"warning","message":{"text":"env.processMCPEnv (cyclomatic 31): env.processMCPEnv has cyclomatic complexity 31 (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":"packages/api/src/utils/env.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a98f2218c1d1647e2d50eb60448f2844d0485ea3c43213c0946e3ffde1e10e"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnection.createFetchFunction::customFetch (cyclomatic 31): MCPConnection.createFetchFunction::customFetch 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"916bb5e872ccea564c386ad7b1d0a1a1a5adadf1ef5b829e2f712bd851038791"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.reconcileRetainedJobs (cyclomatic 31): service.createSchedulesService.reconcileRetainedJobs 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91837ae3b1f380c370d6f670303ae6d5631c8d51683ce745fcebadf1e647fbb"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.debugTraverse (cyclomatic 31): parsers.debugTraverse has cyclomatic complexity 31 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 15 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":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c32479ce58bcca419ba324e569d728ccf23a774d1e0f12eb3ae51c02ac3241"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.deadLetterAgentQueuedTurn (cyclomatic 31): queuedTurn.createAgentQueuedTurnMethods.deadLetterAgentQueuedTurn 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc1c9cb4d6991eba8d8dc9396666c61e0bc1108dbefd0241bea2bcd716f6cafb"}},{"ruleId":"D1","level":"warning","message":{"text":"handleRunInterrupt (cyclomatic 31): handleRunInterrupt has cyclomatic complexity 31 (threshold 15). Of this number, 30 points are the body\u0027s own statements and 1 belongs to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4355}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d02a5eed594c14c488dddbcb990140e9cd65a7e50d56d75ca7e782c987cefc"}},{"ruleId":"D1","level":"warning","message":{"text":"useUnseenConversations.useUnseenConversations (cyclomatic 30): useUnseenConversations.useUnseenConversations has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 4 of the 30 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 331, 313). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac6aac76cdcfb20d8434a57b4b3b8d8291ada42627e1a9c74beb7b2d0a66466"}},{"ruleId":"D1","level":"warning","message":{"text":"useReplyAlerts.useReplyAlerts (cyclomatic 30): useReplyAlerts.useReplyAlerts has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 281, 321, 262, \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":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1938346a38d64ab43c570743d0a437b562ea08dd5c5417dcf30a20202d622300"}},{"ruleId":"D1","level":"warning","message":{"text":"Button.BackgroundTasksButton (cyclomatic 30): Button.BackgroundTasksButton has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (Button.BackgroundTasksButton::jumpToTool) 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":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2bf95a57f48645346122cc6a20ace67f9c7d54143bdd80080c3c0d66808283"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector.Inspector (cyclomatic 30): Inspector.Inspector has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a0d696b1be638a1f19ac3480ae526cc1c2818dc84f82f71aaad4b4f1b5a12f"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionsInput.ActionsInput (cyclomatic 30): ActionsInput.ActionsInput has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 131, a function literal at line 89, getButtonContent, \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":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"95770ab459b2b1c957859b3a4c1d059837b8370c857becf19ae917a2d0dd02d8"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.close (cyclomatic 30): runtime.createActivityPhaseWiring.close has cyclomatic complexity 30 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bbd5ab513e24f9004c176f92bd92742867f1a3583d9a52dea04cee6941f510"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.recoverCommittedCreate (cyclomatic 30): GenerationJobManagerClass.recoverCommittedCreate has cyclomatic complexity 30 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"86779441b344a473b86634b43d4940103ebb729c4983d1b6b553aa8e4a9f13fc"}},{"ruleId":"D1","level":"warning","message":{"text":"matching.findLineWindowMatch (cyclomatic 30): matching.findLineWindowMatch has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcedcb15e3fc5446619b44cd69ca97ad336c6a898f9610104b449b12ad1ce4e"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.attachAskUserQuestionAnswers (cyclomatic 30): resume.attachAskUserQuestionAnswers 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91995a5cf30687a93b50ec09da0ebca0039b4185d1a7df145861f5e619e9373"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentCompletionWakeup.resolveOrchestrationSnapshot (cyclomatic 30): subagentCompletionWakeup.resolveOrchestrationSnapshot has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a600faae28a915607e939e4a450c0232ddbce3bfda95ef778bd712e6d5efa03"}},{"ruleId":"D1","level":"warning","message":{"text":"control.createSubagentControlHandler.\u003Creturned closure\u003E (cyclomatic 30): control.createSubagentControlHandler.\u003Creturned closure\u003E has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"4984cc19fa03f375a6f47af9784f8fb6a410a0628ac081bd85cf3197c3f7760a"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurns.parseQueuedTurnAdmissionSource (cyclomatic 30): queuedTurns.parseQueuedTurnAdmissionSource has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f560a8536d829ea1c2482c9285e819379d51382e3578a07f441dfd00f24f4b7"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurns.createAgentQueuedTurnScheduler.recoverPass (cyclomatic 30): queuedTurns.createAgentQueuedTurnScheduler.recoverPass 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 7 function literals inside it that branch (lines 951, 989, 985, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"364fbaac66b3ea473de0d0b52cb3b056a2e42fdc7ae6b6011fb459800183e4b4"}},{"ruleId":"D1","level":"warning","message":{"text":"transport.createResponseWorkerTransport.\u003Creturned closure\u003E (cyclomatic 30): transport.createResponseWorkerTransport.\u003Creturned closure\u003E has cyclomatic complexity 30 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/transport.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8334bdcafcc8a269bf6f5ce28911616f4af88871b4eeadc072b0b76e2200a3"}},{"ruleId":"D1","level":"warning","message":{"text":"retirement.createResponseRetirement.\u003Creturned closure\u003E (cyclomatic 30): retirement.createResponseRetirement.\u003Creturned closure\u003E 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. This shape REPEATS in the file: one other method here (retirement.createResponseRetirement.\u003Creturned closure\u003E::stageCancellation) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc48839565fc6d252cad37bf1f2cc44521eb915869b29e752f3ce0cdde4305c"}},{"ruleId":"D1","level":"warning","message":{"text":"retrieve.createAssistantRetriever.\u003Creturned closure\u003E (cyclomatic 30): retrieve.createAssistantRetriever.\u003Creturned closure\u003E has cyclomatic complexity 30 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 15 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/retrieve.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"293c01d201997a9b7e54f51ea125ec104dc3e7b7eba1ec5c11bdd9829e96c894"}},{"ruleId":"D1","level":"warning","message":{"text":"title.publishConversationTitle (cyclomatic 30): title.publishConversationTitle has cyclomatic complexity 30 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/title.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec7356cab1d100d27bdbdf6bbe923d638627d9a53cea01b0463bccc1a4cbe3d"}},{"ruleId":"D1","level":"warning","message":{"text":"preflight.preflightCodeOutputBatch (cyclomatic 30): preflight.preflightCodeOutputBatch 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":"packages/api/src/files/code/preflight.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f303346123148190c17d2b32386863042f276368f2d4d70fa18577f87e43b6"}},{"ruleId":"D1","level":"warning","message":{"text":"zod.normalizeJsonSchema (cyclomatic 30): zod.normalizeJsonSchema has cyclomatic complexity 30 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef152c102efd84d9987f5258db868b97dabac211f1b5c102a24c207dd41c3ac"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisEventTransport.deliverMessage (cyclomatic 30): RedisEventTransport.deliverMessage 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad941a7419069581f14d8d4e7afad08b3f30a4dcaa31885e02dda7809cd7d1c2"}},{"ruleId":"D1","level":"warning","message":{"text":"review.reviewModal (cyclomatic 30): review.reviewModal has cyclomatic complexity 30 (threshold 15). Of this number, 28 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d2997af73514b4c884e3dc3c381054463839b78c975bbdc2489ca5c260525"}},{"ruleId":"D1","level":"warning","message":{"text":"shortcuts.resolveComposerKeyDown (cyclomatic 30): shortcuts.resolveComposerKeyDown 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":"packages/chat/src/core/shortcuts.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"938053ca28c96c668a7efd93bad19b4e430325639b4fa237414821e75821e069"}},{"ruleId":"D1","level":"warning","message":{"text":"rows.useQueueRows (cyclomatic 30): rows.useQueueRows has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 3 of the 30 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 60, 210, 233, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/rows.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e341395562fab46b77fe6b707c3d5ecc2e0dfec110a41016e137e8c5d0fdf6"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy.useLegacyStream (cyclomatic 30): legacy.useLegacyStream has cyclomatic complexity 30 (threshold 15). Most of this is not in the body itself: 1 of the 30 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 225, 164, 143, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e987c0bc05444e27d845af5cfe7cd92de1f67f388dacc7027cd2bcd33c1ffaf"}},{"ruleId":"D1","level":"warning","message":{"text":"prompt.createPromptMethods.getListPromptGroupsByAccess (cyclomatic 30): prompt.createPromptMethods.getListPromptGroupsByAccess has cyclomatic complexity 30 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac294da9170befc4aae3a80c1cfdf4b03ef6b78fa610ad721b94e5649fd3eb55"}},{"ruleId":"D1","level":"warning","message":{"text":"buildEndpointOption (cyclomatic 30): buildEndpointOption has cyclomatic complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"931a265242086c1de6ffb00aab966201498966c64642adda7063f1b8d6f0b206"}},{"ruleId":"D1","level":"warning","message":{"text":"FluxAPI._call (cyclomatic 29): FluxAPI._call 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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8e10d0da257858217f48d7ba61cb2b2a13d50ec1918512770e22df8d2b310c"}},{"ruleId":"D1","level":"warning","message":{"text":"FluxAPI.generateFinetunedImage (cyclomatic 29): FluxAPI.generateFinetunedImage 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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c99379af6b9ae595b5beb8f35752c155853ce0e517042d1c75653e6521d44e8"}},{"ruleId":"D1","level":"warning","message":{"text":"callbacks.createResponsesToolEndCallback.\u003Creturned closure\u003E (cyclomatic 29): callbacks.createResponsesToolEndCallback.\u003Creturned closure\u003E has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 1309, 1408, 1335, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4712b0422325a1327682d321cf653dec91d87d96a877595298040d4fec169911"}},{"ruleId":"D1","level":"warning","message":{"text":"useAutoSave.useAutoSave.restoreFiles (cyclomatic 29): useAutoSave.useAutoSave.restoreFiles has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 155, 195). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed5b1a58e7fcba3f1c26c4b5ba752a8b7918491efa4b345400aefd3f96f5786"}},{"ruleId":"D1","level":"warning","message":{"text":"Search.Search (cyclomatic 29): Search.Search has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 223, 279, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/Search.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"549d26493d5a47e5fb7efb8426df2b1b24b9718a0ec65b3fc485ff5250b13633"}},{"ruleId":"D1","level":"warning","message":{"text":"LogContent.LogContent (cyclomatic 29): LogContent.LogContent has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 8 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 67, renderAttachment, a function literal at line 44, \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":"client/src/components/Chat/Messages/Content/Parts/LogContent.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a9a727f7dffbb25ecf16041ec4fc778e5601bf71315d217a91c8de761ea7d3"}},{"ruleId":"D1","level":"warning","message":{"text":"LangfusePromptsDialog.LangfusePromptsDialog (cyclomatic 29): LangfusePromptsDialog.LangfusePromptsDialog has cyclomatic complexity 29 (threshold 15). Of this number, 22 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":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa7c3785a35103d240e27f5a24f7e1f46a50fdfaaee2428faf01be6d5531c76"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateSkillDialog.CreateSkillDialog (cyclomatic 29): CreateSkillDialog.CreateSkillDialog has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 9 of the 29 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 94, a function literal at line 85, a function literal at line 75, \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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1ba1d1c338343e505c2409e551fb51022d3e94a9fc50b7005760c8ecdb1e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillForm.SkillForm (cyclomatic 29): SkillForm.SkillForm has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 192, onSubmit, a function literal at line 286, \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":"client/src/components/Skills/forms/SkillForm.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7fdc50403b72618bfae67c91534437dd1df8e70b46470354a5ef869b5ca7d3"}},{"ruleId":"D1","level":"warning","message":{"text":"UnifiedSidebar.UnifiedSidebar (cyclomatic 29): UnifiedSidebar.UnifiedSidebar has cyclomatic complexity 29 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 11 belong to 8 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/UnifiedSidebar/UnifiedSidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7364441e8d0624bfcee50d3da12f8a2e5a6742ffe4b6308fac5dc11f239b858e"}},{"ruleId":"D1","level":"warning","message":{"text":"useProjectMenuItem.useProjectMenuItem (cyclomatic 29): useProjectMenuItem.useProjectMenuItem has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/useProjectMenuItem.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c47a18568399e6254e93e898955aa8be62773298331afa7c212edf0d3aacfe5"}},{"ruleId":"D1","level":"warning","message":{"text":"flush-cache.flushRedisCache (cyclomatic 29): flush-cache.flushRedisCache 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":"config/flush-cache.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7e551f907d6642e6f356db3622ed8617c372fcd53437bedf3008a377ea8fd2"}},{"ruleId":"D1","level":"warning","message":{"text":"submissions.toBoundedJsonValue (cyclomatic 29): submissions.toBoundedJsonValue 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":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccdf2760c59d27028f8b72c6e1fb85ca49f1530dac53971b01c0efe35c7a14a"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.saveRunStepFromEvent (cyclomatic 29): GenerationJobManagerClass.saveRunStepFromEvent has cyclomatic complexity 29 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7898}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1e5ade8024b57e7411e35bc6fb9122fbcf9c80ff803db50ed59321e3033877"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.expireStaleApprovals (cyclomatic 29): GenerationJobManagerClass.expireStaleApprovals has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9577}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8d9f786646e247e13bfc02cea6fe73593b0853544acd9d9be0a313682f82c3"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.cleanup (cyclomatic 29): GenerationJobManagerClass.cleanup 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9726}}}],"partialFingerprints":{"codehealthFindingId/v1":"c387a0def10e92a037452d16ca8cad1bda2f96b3131c47a1b683d205fb1ef3e8"}},{"ruleId":"D1","level":"warning","message":{"text":"client.estimateDocumentBlockTokens (cyclomatic 29): client.estimateDocumentBlockTokens 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":"packages/api/src/agents/client.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ae11238848f50e67574fc916ce5a65d7bd7191b9767b6000e78b2fc09cf3ee"}},{"ruleId":"D1","level":"warning","message":{"text":"run.resolveAzureSummarization (cyclomatic 29): run.resolveAzureSummarization has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b40e391e66beb6357392ee3b2e7b273a33f1a46034d0a5464f71797ae53eb85"}},{"ruleId":"D1","level":"warning","message":{"text":"completion.createResponseCompletion.finish (cyclomatic 29): completion.createResponseCompletion.finish 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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7387ce5e2d95ba2067fc8113240033115ce3d879c7e65989dbe7eebfe3370f69"}},{"ruleId":"D1","level":"warning","message":{"text":"lease.createEventChildGenerationLeaseAcquirer.acquireEventChildGenerationLease (cyclomatic 29): lease.createEventChildGenerationLeaseAcquirer.acquireEventChildGenerationLease has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (renew, armRetentionDeadline, abortForLostLease, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/lease.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67e6d77d050e1f5849d24d06be49ca140d991c09ac22e4eb078c16fa9156392"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.createOpenIDRefreshRecoveryService.recoverOpenIDRefreshBridge (cyclomatic 29): recovery.createOpenIDRefreshRecoveryService.recoverOpenIDRefreshBridge has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 550, 649). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"076677ab0eceb55f96a3f1f92d7287cf6d7b719854f075276e733a5a3e83ca7f"}},{"ruleId":"D1","level":"warning","message":{"text":"destinations.planCodeSnapshotMounts (cyclomatic 29): destinations.planCodeSnapshotMounts has cyclomatic complexity 29 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/destinations.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da455e99b2910692dd43b8fcde46b008fc1b1697e98f0a2a5ca14530d12feea"}},{"ruleId":"D1","level":"warning","message":{"text":"process.processCodeOutput (cyclomatic 29): process.processCodeOutput has cyclomatic complexity 29 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 11 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a850f430f7fb49437a685f1e251b3d63a27685372b12a0f9d18c966e3ef03625"}},{"ruleId":"D1","level":"warning","message":{"text":"workbook.workbookToText (cyclomatic 29): workbook.workbookToText has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/workbook.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"745b916005d278c12db0f9e5931e18d281cabcf265f0e1ecad79eacf31e8fc4b"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPServerCatalogRecoveryTracker.run (cyclomatic 29): MCPServerCatalogRecoveryTracker.run has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 13 of the 29 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 613, trackPublication, a function literal at line 652). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a033ed28ae22651af947175840bbc4307749874cd70530977942b921a5ced23"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.recoverMCPServerCatalogsWithState (cyclomatic 29): recovery.recoverMCPServerCatalogsWithState has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 11 of the 29 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 943, 875, 892). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f117ca83c86e9caf7e519b9f35250bc565f70035147d4fd036ed64ce71a9ed"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnectionFactory.handleOAuthRequired (cyclomatic 29): MCPConnectionFactory.handleOAuthRequired has cyclomatic complexity 29 (threshold 15). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e4bc66431f78c27386cd90c617acb956b943f420388eb05940138f053ee590"}},{"ruleId":"D1","level":"warning","message":{"text":"github.syncSource (cyclomatic 29): github.syncSource 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. This shape REPEATS in the file: one other method here (github.syncSource::syncPreparedSkill) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0d686854058418f60556c7e61483185699d48308a9dbabb7a5299868ca0c39"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisEventTransport.subscribeReplayable (cyclomatic 29): RedisEventTransport.subscribeReplayable has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 1329, deliver, unsubscribe, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef1f4920b4036f8561d72cf1ba7b86f3d45c61243a3758feee57f4c4a646ac1"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewFlow.control (cyclomatic 29): ReviewFlow.control 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"aada48920a094d09ffb0646f3ceea89d7b6338a5f61472dbd2209845f81202fb"}},{"ruleId":"D1","level":"warning","message":{"text":"background.parseTask (cyclomatic 29): background.parseTask has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e94deae1948ec3c268a848cebe1e139adfdb43f0416f68dca08618f69d04fa"}},{"ruleId":"D1","level":"warning","message":{"text":"useMessageScrolling.useMessageScrolling (cyclomatic 29): useMessageScrolling.useMessageScrolling has cyclomatic complexity 29 (threshold 15). Most of this is not in the body itself: 1 of the 29 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 407, 467, 325, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8ca22b0fe58bd45d1bd8552708bcc9c3409459c4a6433986afb3282b87587e"}},{"ruleId":"D1","level":"warning","message":{"text":"schedule.createScheduleMethods.recordRunOutcome (cyclomatic 29): schedule.createScheduleMethods.recordRunOutcome has cyclomatic complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"418b72910005fcb9caf7078fb2a2a2162a663677ad834eec0dc23e247a84070b"}},{"ruleId":"D1","level":"warning","message":{"text":"browserSetup.createBrowserSetupStore.start (cyclomatic 29): browserSetup.createBrowserSetupStore.start has cyclomatic complexity 29 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"504d8fd3fedbf81da9ec9253bd1169a69f7e4996c701a1da83c651e62b16654d"}},{"ruleId":"D1","level":"warning","message":{"text":"callbacks.createToolEndCallback.\u003Creturned closure\u003E (cyclomatic 28): callbacks.createToolEndCallback.\u003Creturned closure\u003E has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 936, 1042, 962, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c0822abb04adbff4e45099d04b6c453fed5655465ac99a4a32d371b1f18deb"}},{"ruleId":"D1","level":"warning","message":{"text":"useDebouncedMermaid.useDebouncedMermaid (cyclomatic 28): useDebouncedMermaid.useDebouncedMermaid has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 131, 185, 121, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Mermaid/useDebouncedMermaid.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdd4b27462c1ca43ac91f61617708a57801930df03ad7e172b10d4bbf756a3c"}},{"ruleId":"D1","level":"warning","message":{"text":"OutputRenderer.OutputRenderer (cyclomatic 28): OutputRenderer.OutputRenderer has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"54beeb7107f0149867409c32f09dc6db2ed3030966ae4981fb47c2deef54e01e"}},{"ruleId":"D1","level":"warning","message":{"text":"ExecuteCode.ExecuteCode (cyclomatic 28): ExecuteCode.ExecuteCode has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2815ca736f66d7a578087e2fae525f4755edc26b6563ec9ffee4919336d7a00"}},{"ruleId":"D1","level":"warning","message":{"text":"AskUserQuestionCall.AskUserQuestionCall (cyclomatic 28): AskUserQuestionCall.AskUserQuestionCall has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed82d8a9ac239ea977deb3d3a89790fd6a3af06312eb3ada889c4bb4c8af1d2"}},{"ruleId":"D1","level":"warning","message":{"text":"TwoFactorAuthentication.TwoFactorAuthentication (cyclomatic 28): TwoFactorAuthentication.TwoFactorAuthentication has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 183, 82, 226, \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":"client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3eca21fea3f5d2618de9ece016925da49ad2ab4fb2f58268ec1131002111994"}},{"ruleId":"D1","level":"warning","message":{"text":"CreatePromptForm.CreatePromptForm (cyclomatic 28): CreatePromptForm.CreatePromptForm has cyclomatic complexity 28 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 12 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":"client/src/components/Prompts/forms/CreatePromptForm.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d614e3354862bb9f115434fe8193c79c92edf36256d5c4f6a1b98f63ca4b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptName.PromptName (cyclomatic 28): PromptName.PromptName has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 82, 58, 38, \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":"client/src/components/Prompts/fields/PromptName.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44966e16a17168c6970a42cb4bf82484365a078e0b0f405d9dd6fe9db06907c"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthSection.AuthSection (cyclomatic 28): AuthSection.AuthSection has cyclomatic complexity 28 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"48175abbbb1d1f2a2bae0270b47d71d056da4bd539f4ff754c1442d5991c40de"}},{"ruleId":"D1","level":"warning","message":{"text":"Sources.SourcesComponent (cyclomatic 28): Sources.SourcesComponent 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 6 function literals inside it that branch (lines 601, 664, 574, \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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d62a83320c304282e90c1ab34b0c57e7bbc31e82ac0a1215ef9037c2253d2fd"}},{"ruleId":"D1","level":"warning","message":{"text":"principals.preparePermissionPrincipals::read (cyclomatic 28): principals.preparePermissionPrincipals::read 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":"packages/api/src/acl/principals.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c770d8c653cf4f43e151c7754ac45687f65998e3d6c94a209512bf15d90e3d91"}},{"ruleId":"D1","level":"warning","message":{"text":"files.getBlockedOpaqueFileField (cyclomatic 28): files.getBlockedOpaqueFileField 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":"packages/api/src/protection/files.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bd151a8d7572348391c08745e29a503cbff6776bf0ff27559a5bfd728b6a01"}},{"ruleId":"D1","level":"warning","message":{"text":"host.resolveActivityLabelModel (cyclomatic 28): host.resolveActivityLabelModel has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f1e18d23b73a70184d163bac4af523700bcf58a8d797dbf96eafbf8e8d8297"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.transitionStatus (cyclomatic 28): InMemoryJobStore.transitionStatus 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1b478c9848de84ded9e79e15ea5ea9fb39b477e0e8cd78e27723cde75616c0"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.interruptToolHandler.handle (cyclomatic 28): tools.interruptToolHandler.handle has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 4 of the 28 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 70, 86, 59, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/tools.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60efd195514311c044f53efb1a1936b31e263de9a7b5ee012e9cef1ce172df4"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleSandboxFileFallback (cyclomatic 28): handlers.handleSandboxFileFallback has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d08cac222690603b4b7b565938b4cf1a01793a570b5b44498e6b4746d2f18e9"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.writeBundledSkillFile (cyclomatic 28): handlers.writeBundledSkillFile has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"bffe49e47272b0eba0a3ba1355f890c86ac6c672ff5b232d4f3f67ed3f7ecb64"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.assertResumeToolContentAllowed (cyclomatic 28): protection.assertResumeToolContentAllowed has cyclomatic complexity 28 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 10 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":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"3effa17daa85c63b0184aadd3b43c606e708721df0cce9ba7a93d873ad9d1b36"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.hydrateSessionFromResolvedTokens (cyclomatic 28): session.createOpenIDSessionRefreshService.hydrateSessionFromResolvedTokens has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"5895e5e891d0c73f01d49a619616954b2580d6704a518d55a53da89ee9f2f516"}},{"ruleId":"D1","level":"warning","message":{"text":"summary.session (cyclomatic 28): summary.session has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/summary.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae05c07def9d96572e20122fba0509eb537f7e4d3754330c57b3f4cbe6d65a68"}},{"ruleId":"D1","level":"warning","message":{"text":"command.createAttachedWorkspaceBashTool.bashTool (cyclomatic 28): command.createAttachedWorkspaceBashTool.bashTool has cyclomatic complexity 28 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/command.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"097706afdcd811bef94575720e31a1fa3c4b618e3c7e7ad84174c2e426f407fd"}},{"ruleId":"D1","level":"warning","message":{"text":"operations.isDefinitiveFileStorageFailure (cyclomatic 28): operations.isDefinitiveFileStorageFailure has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce210aa20276a3a314f9c555f2e31932bfd1dc6f173d25dd29ffdb960e399be5"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.projectPendingMCPOAuthPrompts (cyclomatic 28): resume.projectPendingMCPOAuthPrompts 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":"packages/api/src/mcp/oauth/resume.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c4c3606b775911492aa66f8bc9670e6e0458198789d8c8c806d75eff75cc8b"}},{"ruleId":"D1","level":"warning","message":{"text":"recoveryCli.runSkillUploadRecoveryCli (cyclomatic 28): recoveryCli.runSkillUploadRecoveryCli has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/recoveryCli.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcd24fdc1a23671752c50ffc22f8d46825a052ed923ce2503d00d8f8bf15c00"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.recordSubagentTaskControlReceipt (cyclomatic 28): message.createMessageMethods.recordSubagentTaskControlReceipt has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b872e84e7e0aab7fe2ea2ea03e83c0f54a98bb49e8cc868502395b7efc74cc"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.claimNextAgentQueuedTurn (cyclomatic 28): queuedTurn.createAgentQueuedTurnMethods.claimNextAgentQueuedTurn has cyclomatic complexity 28 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a85fd9e021179e4a43776098d23029cb7e72ee253186c44832e923253ee490"}},{"ruleId":"D1","level":"warning","message":{"text":"primeFiles (cyclomatic 28): primeFiles has cyclomatic complexity 28 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 12 belong to 9 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"42838708173f2df1f2e3797436a5e62b01ae3b6c74bf4717ab4529b96406122e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 28): (anonymous) has cyclomatic complexity 28 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce1e9d9eba4cf43a9f3c129b8cfb5d5c692d214e49e5e3adfbd5d2e527076dc"}},{"ruleId":"D1","level":"warning","message":{"text":"getMCPTools (cyclomatic 28): getMCPTools has cyclomatic complexity 28 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 3 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"661432351a104b63539ef62b3bafd7b19f6183c9dd2d2bb34c6785d1b386cf21"}},{"ruleId":"D1","level":"warning","message":{"text":"updateAssistant (cyclomatic 28): updateAssistant 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":"api/server/controllers/assistants/v2.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1270d1a52acdf97d8204a03c9fee4c12c279c43dfba3f20e151b3e43350cdf70"}},{"ruleId":"D1","level":"warning","message":{"text":"BaseClient.getTokenCountForMessage::processValue (cyclomatic 27): BaseClient.getTokenCountForMessage::processValue 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c3b24a4d16cbcbb684ae9cb1d77fc87ef8386a7bd9a9d5e74de8b4dcd56db0"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.router.post(\u0022/branch\u0022) (cyclomatic 27): messages.router.post(\u0022/branch\u0022) has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"930be3099ac2ec3e69daf74ae6f5b1df823e419fd3e7cf680fa17fe5e2736a10"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointModelItem.EndpointModelItemComponent (cyclomatic 27): EndpointModelItem.EndpointModelItemComponent has cyclomatic complexity 27 (threshold 15). Of this number, 20 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":"client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0d9e5f4c5c94f988c2e80fb23c5a97990b3b3169266ce022489f7510f99a69"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamicTags.DynamicTags (cyclomatic 27): DynamicTags.DynamicTags has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 152, 57, 75, \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":"client/src/components/SidePanel/Parameters/DynamicTags.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e782dde4275b1cded2fd93a01d67fd78de48639d625e0028e46be4ea548a534"}},{"ruleId":"D1","level":"warning","message":{"text":"drafts.setFilesDraft (cyclomatic 27): drafts.setFilesDraft has cyclomatic complexity 27 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 8 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":"client/src/utils/drafts.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbbaec1d02fba99509acdf9aa45d38337b7eac9e7c53824b690157857653c15"}},{"ruleId":"D1","level":"warning","message":{"text":"createChatSearchParams.createChatSearchParams (cyclomatic 27): createChatSearchParams.createChatSearchParams has cyclomatic complexity 27 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/createChatSearchParams.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e886193ce0a2061fd37fe00028464e562a68267cd2019c66c0386aa4a22a8268"}},{"ruleId":"D1","level":"warning","message":{"text":"files.resolveCanonicalReferences (cyclomatic 27): files.resolveCanonicalReferences has cyclomatic complexity 27 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e703809718c795a1f3cadd316cbf91b28b5c84db28b211c150da2377683f28dc"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.applyConfigChanges::plan (cyclomatic 27): config.createAdminConfigHandlers.applyConfigChanges::plan 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. This shape REPEATS in the file: one other method here (config.createAdminConfigHandlers.applyConfigChanges) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4530}}}],"partialFingerprints":{"codehealthFindingId/v1":"500fcd4743d0d82c69cdc4164739516379a0f5c2aff89a32b1f4d61084d1fca3"}},{"ruleId":"D1","level":"warning","message":{"text":"groups.createAdminGroupsHandlers.createGroup (cyclomatic 27): groups.createAdminGroupsHandlers.createGroup 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":"packages/api/src/admin/groups.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe82a3a875f52c4918e7ad98e70968650b3aa89de4d0525878959e95e35cc34"}},{"ruleId":"D1","level":"warning","message":{"text":"groups.createAdminGroupsHandlers.deleteGroup (cyclomatic 27): groups.createAdminGroupsHandlers.deleteGroup has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 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":"packages/api/src/admin/groups.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dfebadee6737151da2094f07fd02de5e4f16fd594bf8a66350b29d72a68e41"}},{"ruleId":"D1","level":"warning","message":{"text":"toolTiming.applySubagentToolTiming (cyclomatic 27): toolTiming.applySubagentToolTiming 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/toolTiming.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e54deec8e9294061a78d168c9c1a2cc3179828286debd97e76aedfc7ba96b1"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.attachSubscription::deliverStoredTerminal (cyclomatic 27): GenerationJobManagerClass.attachSubscription::deliverStoredTerminal 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. This shape REPEATS in the file: one other method here (GenerationJobManagerClass.attachSubscription) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5839}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d282b5ca5dd50da80dfeb572263f4f9991268ce193531df382bca9e715a368"}},{"ruleId":"D1","level":"warning","message":{"text":"client.countFormattedMessageTokens::processValue (cyclomatic 27): client.countFormattedMessageTokens::processValue 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":"packages/api/src/agents/client.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd6c5c8002f89c6c3adc780f4f5f4d837517856445d7dae3164cb9aefc951da"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.toLinkedWorktreeRequest (cyclomatic 27): workspace.toLinkedWorktreeRequest 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":"packages/api/src/code/workspace.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"9068d43a0653baf7b6ab1c9dd76686e9dc97a7e9888ce8b7327ee96c178cabb4"}},{"ruleId":"D1","level":"warning","message":{"text":"encode.createRunFileMessageEncoder.encode (cyclomatic 27): encode.createRunFileMessageEncoder.encode has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/encode.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f32d13c648f732268f06b580ee1083b1ae8cb27c8d3bf282cdbb4dbf3c86940"}},{"ruleId":"D1","level":"warning","message":{"text":"service.validateRequest (cyclomatic 27): service.validateRequest 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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"26527830e92dcdc9f66240173de76be3240fcc277a57783bfaab56f74c079a77"}},{"ruleId":"D1","level":"warning","message":{"text":"compaction.snapshotEntry (cyclomatic 27): compaction.snapshotEntry has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dcfe254ca1e8fccbb30d91c1aa70462e7b49197141fc5d8da1187cfaee766f"}},{"ruleId":"D1","level":"warning","message":{"text":"guard.createSubagentThreadTurnGuard.\u003Creturned closure\u003E (cyclomatic 27): guard.createSubagentThreadTurnGuard.\u003Creturned closure\u003E 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":"packages/api/src/agents/guard.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4bc179274dd73c6cba8a7a99d1359f68d4e02421304e48ec92f5603d684bd0"}},{"ruleId":"D1","level":"warning","message":{"text":"accounting.createResponseAccountingCollector.record (cyclomatic 27): accounting.createResponseAccountingCollector.record 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":"packages/api/src/agents/responses/accounting.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8457a9de54dba1b2758851a3fb1d9aeef5113c2f34375b27b949c4da18ab902"}},{"ruleId":"D1","level":"warning","message":{"text":"priming.selectCodeFiles (cyclomatic 27): priming.selectCodeFiles has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 169, 208, 164). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/priming.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4143ee2f537b6e5f4fd443305e0bfd0e31e9f8183aff20cb6333a1398b8400"}},{"ruleId":"D1","level":"warning","message":{"text":"retention.computeRetentionExpiry (cyclomatic 27): retention.computeRetentionExpiry 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":"packages/api/src/files/retention.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d722163af798c57fa90801baec49e17b24566017cea55a8101f0bbe8d566b4"}},{"ruleId":"D1","level":"warning","message":{"text":"lookup.createPullRequestLookup.\u003Creturned closure\u003E (cyclomatic 27): lookup.createPullRequestLookup.\u003Creturned closure\u003E has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 10 of the 27 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 283, lifetimeOf). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a8ff5a14e2bec6f5002ddf13b127a5593fdfda60704dc2f77b83b894c3bac9"}},{"ruleId":"D1","level":"warning","message":{"text":"erasure.settleAbandonedRuns (cyclomatic 27): erasure.settleAbandonedRuns 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":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"727e2ed3f3fbf257f16b288b4dd361d0a845298c7eb8d9a441f6196d0c2c14de"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.quiesceUserSchedules (cyclomatic 27): service.createSchedulesService.quiesceUserSchedules 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4275d701bcbdfa335e27d45c0f8cc0c845ab6ada7bfc21e4dc52b8a03ecc48"}},{"ruleId":"D1","level":"warning","message":{"text":"upload.createSkillUploadHandler.uploadFileHandler (cyclomatic 27): upload.createSkillUploadHandler.uploadFileHandler has cyclomatic complexity 27 (threshold 15). Of this number, 25 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":"packages/api/src/skills/upload.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d3e4880691ef7e379016b51194d23368804ad52e6d69af648c634429e24642"}},{"ruleId":"D1","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords::nameToolRounds (cyclomatic 27): reader.createLangfuseTraceReader.listRecords::nameToolRounds 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. This shape REPEATS in the file: 2 other methods here (reader.createLangfuseTraceReader.listRecords, reader.createLangfuseTraceReader.listRecords::probe) 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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf20d3832dac6f73690d5001c46d645cf323ebd797b36676f1ca0820fd269e7"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.getIndexedTerminalHostActionJobs (cyclomatic 27): RedisJobStore.getIndexedTerminalHostActionJobs 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"b324cf9da3778801cf7df90cfb4c1f5d517c183b1bea18d8cd0c3905b1fa6cd8"}},{"ruleId":"D1","level":"warning","message":{"text":"outcome.hasTerminalOutcome (cyclomatic 27): outcome.hasTerminalOutcome has cyclomatic complexity 27 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 11 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/outcome.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4494baf43cba1cc128e4182a9a64477eeb770ab622f1c0b005f4c8fd6311ea17"}},{"ruleId":"D1","level":"warning","message":{"text":"stop.useStopGenerating (cyclomatic 27): stop.useStopGenerating has cyclomatic complexity 27 (threshold 15). Most of this is not in the body itself: 1 of the 27 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 88, 60, 45). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6bb455c4254043d85edca2ed62b4ee80e624d2ea25022905078dddb8e02ca3a"}},{"ruleId":"D1","level":"warning","message":{"text":"SecretInput.SecretInput (cyclomatic 27): SecretInput.SecretInput has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/SecretInput.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"327d7cf4dd565983c38ab4a76acc122cf950c316569c55bc014b2a1e164d69ce"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestExecutor.setAuth (cyclomatic 27): RequestExecutor.setAuth has cyclomatic complexity 27 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6068597adacf861bdc0b75319d2a2450970adc983e1bf2a1840d41297882c7b7"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerLanePublications (cyclomatic 27): triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerLanePublications has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e08d424d0b1cbc93a6c6659e9e97dfb27dbff2ce0f9ea946595c04b23f9d094"}},{"ruleId":"D1","level":"warning","message":{"text":"filterAuthorizedTools (cyclomatic 27): filterAuthorizedTools has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"5087c63fc4b3508ab4bd5c33b8541ecf4dc49f92241c41b36e136354673bc16e"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 27): (anonymous) has cyclomatic complexity 27 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 1 belongs 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":"api/server/routes/convos.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"578283f9c5bd3a884134e4479a18319398efd7de75458a0b7b6f8490621c6944"}},{"ruleId":"D1","level":"warning","message":{"text":"syncMessages (cyclomatic 27): syncMessages has cyclomatic complexity 27 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"76506377550af5785aff9a64622ff5743a618a34c3b5e5315667fb6eacac8f77"}},{"ruleId":"D1","level":"warning","message":{"text":"createActionTool._call (cyclomatic 27): createActionTool._call has cyclomatic complexity 27 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"447496606d9f859bcc9c6ac29bf8e8d40a7569c785536cb99a30c5ae81d0d103"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 27): (anonymous) 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":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7f46b5d35ae6e638aba6f28ce763a77de05047c49fb7c29d4a62c821b443c7"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 27): (anonymous) has cyclomatic complexity 27 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 3 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":"api/server/routes/assistants/actions.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e51376d31a96aebc4271ea457750a5a465e60ba9bad8fc70660969cb0a24f8af"}},{"ruleId":"D1","level":"warning","message":{"text":"moderateText.moderateText (cyclomatic 26): moderateText.moderateText 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":"api/server/middleware/moderateText.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"636201a19033a4860eb4009c80e0b6d8b78054470119c78a9e54fa81b009e14b"}},{"ruleId":"D1","level":"warning","message":{"text":"config.router.get(\u0022/\u0022) (cyclomatic 26): config.router.get(\u0022/\u0022) 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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fa7e546cd04cdaa9e54577d77024d96d6943f5cd7d7dc72c45456acf471ac3"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-sandbox.html.window.addEventListener(\u0022message\u0022) (cyclomatic 26): mcp-sandbox.html.window.addEventListener(\u0022message\u0022) 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":"client/public/mcp-sandbox.html"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28065eda36aad3e8e76104182620cf65068864a37b3a60c5c13e36441193d50"}},{"ruleId":"D1","level":"warning","message":{"text":"useMCPSelect.useMCPSelect (cyclomatic 26): useMCPSelect.useMCPSelect has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 95, 142, 123, \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":"client/src/hooks/MCP/useMCPSelect.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a9b6f817b193bd1da7a368af66eaaef491aa328a15861eb0660f0e9ccebda6"}},{"ruleId":"D1","level":"warning","message":{"text":"DeploymentTheme.DeploymentTheme (cyclomatic 26): DeploymentTheme.DeploymentTheme has cyclomatic complexity 26 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 9 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":"client/src/Providers/DeploymentTheme.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1907e8f670156b6c57bebeb69d4c8ffca02b2052d2995fbc4035d8ae855b1969"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryCall.MemoryCall (cyclomatic 26): MemoryCall.MemoryCall has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed233be40f304dcee5b60fa6adad615c45d36cd5f3a5a20a1547f8297ef473d3"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalCall.RetrievalCall (cyclomatic 26): RetrievalCall.RetrievalCall has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8fd9529e645c85cf371589d1bf6e25e0544a8c439f2db076780caf2898a597"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolsSection.ToolsSection (cyclomatic 26): ToolsSection.ToolsSection has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 121, 189, 245, \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":"client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d97cafbf9c4c9b37f7fec8bcacdc5a2b8ecc72872460449dc08088f9685c9fc2"}},{"ruleId":"D1","level":"warning","message":{"text":"VersionItem.VersionItem (cyclomatic 26): VersionItem.VersionItem 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":"client/src/components/SidePanel/Agents/Version/VersionItem.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16db812383f96976e4cf6367375b716dcdd978d9b1ea06f18e252c9836e5127"}},{"ruleId":"D1","level":"warning","message":{"text":"principals.resolveDirectoryPrincipal (cyclomatic 26): principals.resolveDirectoryPrincipal 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":"packages/api/src/acl/principals.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3466f1770f017f1ba0c392d9cd0d6c144b110b0204c5beac13e0f1bad8f0b2db"}},{"ruleId":"D1","level":"warning","message":{"text":"roles.createAdminRolesHandlers.updateRole (cyclomatic 26): roles.createAdminRolesHandlers.updateRole 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":"packages/api/src/admin/roles.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"23027b45195067bdbe329f6000b66114d980dce4e2d6602796fc8606a3942e37"}},{"ruleId":"D1","level":"warning","message":{"text":"users.createAdminUsersHandlers.deleteUser (cyclomatic 26): users.createAdminUsersHandlers.deleteUser 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":"packages/api/src/admin/users.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5153f0a54659cdebb4f256f583f53a6e650b3c5c669883534956a0ea22ba1cac"}},{"ruleId":"D1","level":"warning","message":{"text":"usage.recordCollectedUsage (cyclomatic 26): usage.recordCollectedUsage has cyclomatic complexity 26 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"56922792a9a17f1f2eaaba69d36a03e51ff8e4ea3a7f0079777e44b8af467fb2"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.appendStoredMessageFileIds (cyclomatic 26): modelBoundContent.appendStoredMessageFileIds 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff31bd43a2e6d54f93e6e4cd35fb84b44a78ee3d8ff7d2c732d4e58f0987de34"}},{"ruleId":"D1","level":"warning","message":{"text":"import.blockFilteredImportContent (cyclomatic 26): import.blockFilteredImportContent has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c826da0005193a1e6d8adc2bc148782a90d0b755dd32b5b1abaf57958b0e822"}},{"ruleId":"D1","level":"warning","message":{"text":"controller.createResetToolApprovalController.\u003Creturned closure\u003E (cyclomatic 26): controller.createResetToolApprovalController.\u003Creturned closure\u003E 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":"packages/api/src/agents/hitl/controller.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"326ef75c728555ffa79b15b6b76096d8c332010868922642e86c588806e2b8f0"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.replayDurableControl (cyclomatic 26): SubagentThreadTaskStore.replayDurableControl has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30a168aa85e811566895f0f2f11e72a015c7ec6a1ca4ff1871273388c92a0c7"}},{"ruleId":"D1","level":"warning","message":{"text":"backgroundCompletionWakeup.createBackgroundToolDeadClaimRecovery.\u003Creturned closure\u003E (cyclomatic 26): backgroundCompletionWakeup.createBackgroundToolDeadClaimRecovery.\u003Creturned closure\u003E has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d014bad8b4f822d882a4f9183dacecf57708100f37f46cbad0e40045316cce3"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.registerPluginHooks::hook (cyclomatic 26): runtime.registerPluginHooks::hook has cyclomatic complexity 26 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This shape REPEATS in the file: one other method here (runtime.registerPluginHooks) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da9b9ae812deb089d023a9ebc413eae72afa8b02d3cefaffab6997aaa019bcd"}},{"ruleId":"D1","level":"warning","message":{"text":"stored.createStoredForegroundResponseReader.\u003Creturned closure\u003E (cyclomatic 26): stored.createStoredForegroundResponseReader.\u003Creturned closure\u003E 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":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c8493baf1fe78585712231370e629d1a657a96614f54fa5e91fbeae8720c0d"}},{"ruleId":"D1","level":"warning","message":{"text":"summary.createChannelSummaryService.summarize::consume (cyclomatic 26): summary.createChannelSummaryService.summarize::consume 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":"packages/api/src/channels/summary.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8524263467879b1bfc887abd404aa60aaf79111455f92f17baca9cc53d410f2"}},{"ruleId":"D1","level":"warning","message":{"text":"preflight.assertUploadContentAllowed (cyclomatic 26): preflight.assertUploadContentAllowed 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":"packages/api/src/files/preflight.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca92d82acfed81d70f0429a67907744fc7434a3d2f3693005024ca46019fd5db"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPOAuthHandler.completeOAuthFlow (cyclomatic 26): MCPOAuthHandler.completeOAuthFlow has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1291d8eaa39b28ccf6f6daced9ec5f4644d7f5af277a6a101799b7e3df141"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnectionFactory.discoverToolsInternal (cyclomatic 26): MCPConnectionFactory.discoverToolsInternal 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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"93bf74964f3ad52aae7d371a8d798e1fe39cd2d29dbe860c9081d91b92318e52"}},{"ruleId":"D1","level":"warning","message":{"text":"messageFilterPii.createMessageFilterPii.messageFilterPii (cyclomatic 26): messageFilterPii.createMessageFilterPii.messageFilterPii has cyclomatic complexity 26 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 5 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":"packages/api/src/middleware/messageFilterPii.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30491474c749ec778e466e4a9f768249393495dfd2aa9ff8f25b36a39f5e429"}},{"ruleId":"D1","level":"warning","message":{"text":"submission.createPrivateTextIngress.\u003Creturned closure\u003E (cyclomatic 26): submission.createPrivateTextIngress.\u003Creturned closure\u003E has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e51c11e44d033980d04de060b297fb9250b8fda61dc335d8f6143fc9dbb27d"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createSkillsHandlers.downloadFile (cyclomatic 26): handlers.createSkillsHandlers.downloadFile has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1e43f4db76cbbf479ce5dd213b9f27b8258d5edf0989d6be584f6ef84219be"}},{"ruleId":"D1","level":"warning","message":{"text":"route.slackRouteLookup (cyclomatic 26): route.slackRouteLookup 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":"packages/channel-gateway/src/shared/route.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed01db153008907033a5a6bcc670d284b7fb833e1a4d3cbb8b19616e37b8ee8c"}},{"ruleId":"D1","level":"warning","message":{"text":"content.updateContent (cyclomatic 26): content.updateContent has cyclomatic complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 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":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7d9e4d256dac54d6506fe6fd598cc89836ba53a0fcdbab37f2aa95ede7a225"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceEnvironments.environmentResults (cyclomatic 26): workspace.resolveCodeWorkspaceEnvironments.environmentResults 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd38ebf24ab4a5fe18bfe2a7a9962efaad7bae254733617813aa56e4bc49e42d"}},{"ruleId":"D1","level":"warning","message":{"text":"useQueuedTurnReveal.useQueuedTurnReveal (cyclomatic 26): useQueuedTurnReveal.useQueuedTurnReveal has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 1 of the 26 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 64, 149, 103). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueuedTurnReveal.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e20c0f9b175c22cfa814e1d27e7749d459f97fbc7cfe8df2f526293237c8ef"}},{"ruleId":"D1","level":"warning","message":{"text":"generations.useGenerationsByLatest (cyclomatic 26): generations.useGenerationsByLatest 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":"packages/chat/src/react/messages/generations.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e248640c5f4b98a9025676e94245e5e35ba59b37ec59af263d7a63f51bb67d70"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiMessage.MultiMessage (cyclomatic 26): MultiMessage.MultiMessage has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 71). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a137a41e825305a6bb1d6c354aa5963b8a47757ba04e142d3faf965bbd3383"}},{"ruleId":"D1","level":"warning","message":{"text":"state.prependSubagentReplay (cyclomatic 26): state.prependSubagentReplay 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68e87489bc2812936991c1c74b9a4f17d5b50278fee566cdda4a9ca2a8a98c0"}},{"ruleId":"D1","level":"warning","message":{"text":"adapters.mergePersistedAndLiveActivity (cyclomatic 26): adapters.mergePersistedAndLiveActivity has cyclomatic complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fa46ba9da49e05fa21c7c3c23acbe6bed46aac6acee2eec847cb9cd356d2b9"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript.toContentPart (cyclomatic 26): transcript.toContentPart 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":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ab0fb75661d4fd36c94a96890f69244564eebb759b94425698337c42db97e8"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceInheritance (cyclomatic 26): workspace.resolveCodeWorkspaceInheritance has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to 5 function items inside it that branch (inherits, routeOf, resolveGroup, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"334599f053be7fd6824f84b226d5e4a73518d4266989decf352037430378ff99"}},{"ruleId":"D1","level":"warning","message":{"text":"parts.toToolPart (cyclomatic 26): parts.toToolPart 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":"packages/data-provider/src/parts.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ebdff8d8c6eb27dab7c568fda15f1ae0775f6acc78a88f968d34f543b79eb78"}},{"ruleId":"D1","level":"warning","message":{"text":"parameterSettings.applyModelFamilyDefaults (cyclomatic 26): parameterSettings.applyModelFamilyDefaults has cyclomatic complexity 26 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 12 belong to 6 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21e145a4f678cdd555fa115e7446fa001ab4b618a2f86570609cb56b30c0fb8"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.deepMerge (cyclomatic 26): resolution.deepMerge 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"32457bca9b07108c4fa7fd69a080054aa3ece73c17d1f1e1e6109512905195bb"}},{"ruleId":"D1","level":"warning","message":{"text":"object-traverse.forEach::walk (cyclomatic 26): object-traverse.forEach::walk 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":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8783d658d8a57fa435d04f605f0c91a0f00cba89ff25a35b652f00cd37fabae"}},{"ruleId":"D1","level":"warning","message":{"text":"share.createShareMethods.getSharedMessages (cyclomatic 26): share.createShareMethods.getSharedMessages has cyclomatic complexity 26 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"313e8a887585655c794595fbc94c00f84aabcc61469ddcc09d248b8a8e5d58dc"}},{"ruleId":"D1","level":"warning","message":{"text":"share.createShareMethods.updateSharedLink (cyclomatic 26): share.createShareMethods.updateSharedLink 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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c30ec679f393411c3172a0982e6a322761db7c3f712074844921d3eb1dc5ae"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.settleBatchMembers (cyclomatic 26): triggerDelivery.createAgentTriggerDeliveryMethods.settleBatchMembers 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"d034d35b87762fdc5f00a276e41ed332c709360bde7c8de9f6ce576cdb8679ee"}},{"ruleId":"D1","level":"warning","message":{"text":"recordActivityLabelUsage (cyclomatic 26): recordActivityLabelUsage has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 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":"api/server/controllers/agents/client.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eec8ca2cff096e627e8b644a938d3565c6807d4f77fe77b36d14eeaa28359b4"}},{"ruleId":"D1","level":"warning","message":{"text":"processAttachments (cyclomatic 26): processAttachments 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"3437d3daac3b16dd60a24c38330d05b90533430ba4a6ad3488008ce2f7a0aa59"}},{"ruleId":"D1","level":"warning","message":{"text":"createToolInstance::_call (cyclomatic 26): createToolInstance::_call 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":"api/server/services/MCP.js"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f0a5229e54d626b72efb3adcff6147bec10b77c5c8030871ed2b85448a247"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous)::beforePublish (cyclomatic 26): (anonymous)::beforePublish 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":"api/server/routes/agents/index.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9e876db06226c98759dc282089b9ce949899cafe6dcff24d343f33eff1cd15"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 26): (anonymous) has cyclomatic complexity 26 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 4 belong to 12 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fbb3c73368c7880b1d3db268926cae65eb818db476e80ee6b615b911b5e48e"}},{"ruleId":"D1","level":"warning","message":{"text":"deleteUserController (cyclomatic 26): deleteUserController has cyclomatic complexity 26 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"328ed96a69dc5ce10eef6322ed56446df8f18304cc9eac5cecf9ab9039e72b0c"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionService.createActionTool._call (cyclomatic 25): ActionService.createActionTool._call has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd21eaf08df821cb9aeb51bd607d9b23b2f96da21ed9f7af814eee7c701196c"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.router.post(\u0022/:assistant_id\u0022) (cyclomatic 25): actions.router.post(\u0022/:assistant_id\u0022) has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/assistants/actions.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4129aaa9687d28caf0571c1b1f5ebd944aa54163ffd6974bc723a8fdd0a31d"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.router.post(\u0022/:agent_id\u0022) (cyclomatic 25): actions.router.post(\u0022/:agent_id\u0022) 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":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"515535655d55e059775efafe17498ae95e607f0a01516f4ccb76afdd7694502b"}},{"ruleId":"D1","level":"warning","message":{"text":"useNewChat.useNewChat.startNewChat (cyclomatic 25): useNewChat.useNewChat.startNewChat has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 8 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (collectDiscardWork, a function literal at line 405, a function literal at line 458, \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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1e1ae386a733f54923b7d83910e65f7e1ebf4e53fc507e9909186bbfe04108"}},{"ruleId":"D1","level":"warning","message":{"text":"useTextarea.useTextarea (cyclomatic 25): useTextarea.useTextarea has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 181, 158, 145, \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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad6cd35f8620e7a59f97b60f55f057c485cf21312c1eadc1f424d922b44b7ac"}},{"ruleId":"D1","level":"warning","message":{"text":"BotManagers.BotManagers (cyclomatic 25): BotManagers.BotManagers has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/BotManagers.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ab4a4c8781267810f788c9cc9c2b227eb5818c29253c23454e066cd41a45fa"}},{"ruleId":"D1","level":"warning","message":{"text":"Ledger.Ledger::renderRow (cyclomatic 25): Ledger.Ledger::renderRow 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":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ed1db7d68ea9fef0549288e7cbb16834c7c8f531aa604095df12c397849e5b1"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolIcon.getToolIconType (cyclomatic 25): ToolIcon.getToolIconType 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":"client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5af551cefab918b1ccc4e5efb349c2c24e1fd5d30e2e9179d084cf296de03c"}},{"ruleId":"D1","level":"warning","message":{"text":"live.newestLine (cyclomatic 25): live.newestLine 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":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"607bbe70bb9976e5988ead916ab7c29e93c8f6269fd0e49c5ec6dc6776227853"}},{"ruleId":"D1","level":"warning","message":{"text":"ParallelContent.groupParallelContent (cyclomatic 25): ParallelContent.groupParallelContent has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 11 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 53, 116, 139, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ParallelContent.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d54ffcf8a91bd6c60d9bd0eba9cfe1916b8b919bbc91e9b843fbb6a50943937"}},{"ruleId":"D1","level":"warning","message":{"text":"BackupCodesItem.BackupCodesItem (cyclomatic 25): BackupCodesItem.BackupCodesItem 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcc92d985e7e315afd11a6fb8f61d44068583f404c584cae1cf726c18503759"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentHandoffs.AgentHandoffs (cyclomatic 25): AgentHandoffs.AgentHandoffs has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 4 of the 25 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 135, addHandoff, a function literal at line 58, \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":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1898af16bbd24c077397d2875c55bd572333a46d57e0a80b2da66b22ed112af"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleCard.ScheduleCard (cyclomatic 25): ScheduleCard.ScheduleCard has cyclomatic complexity 25 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f918869ae3bd5c262483c9574959adfb0f51ad993f76566e2194ab124275fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"useKeyboardShortcuts.useKeyboardShortcuts (cyclomatic 25): useKeyboardShortcuts.useKeyboardShortcuts has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1092, 1080). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"94285a15f6ca44c8f4eec01ba72fee934b30d5240794df3f6741d850b6351711"}},{"ruleId":"D1","level":"warning","message":{"text":"useWakeLock.useWakeLock (cyclomatic 25): useWakeLock.useWakeLock has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 109, 150, 58, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useWakeLock.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"210a52a2dd34872a5ab9e19409e7bbf38fb9eea12b28cf89b62d9e76460c241d"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.upsertConvoInAllQueries (cyclomatic 25): convos.upsertConvoInAllQueries has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 7 of the 25 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 634, 698, 619, \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":"client/src/utils/convos.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a6868ff39126ebf2cf2345f84752382d7b68788c8b6506c1c9d061f78a4907"}},{"ruleId":"D1","level":"warning","message":{"text":"config.prepareChange (cyclomatic 25): config.prepareChange 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":"packages/api/src/admin/config.ts"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbe1f70f58dceea94f5d50140a5bb90e7659a612f45a72f2511a865638ae7cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.stringifyBounded::walk (cyclomatic 25): runtime.stringifyBounded::walk 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":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf14aed7e5b71c02183d1f187709e41ac49c4e7f4e131590ad1c78674a5205b8"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.promoteSteerLeftover (cyclomatic 25): InMemoryJobStore.promoteSteerLeftover 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"818baef0632c339ff8b4ce6ec751e25b1dea05dc85e6f9b195618e35ce0e2aac"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.recordProviderExecutionDrain (cyclomatic 25): GenerationJobManagerClass.recordProviderExecutionDrain 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8469}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9b4dd67ac61b6e39c139086639681612554a10d93146a03db762dc9095faf8"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentTaskRouting.parseRequest (cyclomatic 25): subagentTaskRouting.parseRequest 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":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dca5dd297d87cebbec5abcd768790502644812583a31c843f0f28f5649134c2"}},{"ruleId":"D1","level":"warning","message":{"text":"json.cloneJsonValue (cyclomatic 25): json.cloneJsonValue 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":"packages/api/src/agents/json.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"13910f59706897dae782b36672a81fc9861d7ba81965ade58402666d26338b4e"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createOpenAIToolCallStream.onRunStepDelta (cyclomatic 25): handlers.createOpenAIToolCallStream.onRunStepDelta 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d6b4ecebe677c5189a7742e0009f9724024a4929d8c18f6791bc32731ac707"}},{"ruleId":"D1","level":"warning","message":{"text":"linked.createLinkedInstructionsResolver::resolve (cyclomatic 25): linked.createLinkedInstructionsResolver::resolve 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":"packages/api/src/agents/instructions/linked.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adc1fbaef8bbca65bc591232d74644573a19a98590c71fecceab7f134ed6186"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.snapshotNestedSubmittedValue (cyclomatic 25): messages.snapshotNestedSubmittedValue 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":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88018dfe8c2db1849ed306f2272c62f7416ea242157fd443d196e1ebf405531"}},{"ruleId":"D1","level":"warning","message":{"text":"provenance.getUserSubmittedPathState (cyclomatic 25): provenance.getUserSubmittedPathState has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecbb50935be9d7909d57b3e14dfd0612b6af8db2400ee8bd7ea373f771e5e18"}},{"ruleId":"D1","level":"warning","message":{"text":"outbox.createResponseDispatchOutbox.recoverPending (cyclomatic 25): outbox.createResponseDispatchOutbox.recoverPending has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to one function literal inside it that branches (line 80). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/outbox.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fa3968036cc5465a2cd57306b31dfc2b5f1cc0c2aa8e912b2a1e95252070b6"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.performIdpRefreshGrant (cyclomatic 25): session.createOpenIDSessionRefreshService.performIdpRefreshGrant 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff47d4b6ed26051ba0b57c0faebefedca6877f7bae69b68924a42c318e113af"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.refreshOpenIDSession (cyclomatic 25): session.createOpenIDSessionRefreshService.refreshOpenIDSession 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cc12c02377b64caef2e022bb1c61d42fce633163199b7ecbb53a2ffdf16075"}},{"ruleId":"D1","level":"warning","message":{"text":"helpers.configureReasoning (cyclomatic 25): helpers.configureReasoning 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":"packages/api/src/endpoints/anthropic/helpers.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23c2742ac8c5ce0661cf0db23c6ad44f013652a804d8abe6e2d0659e883aa34"}},{"ruleId":"D1","level":"warning","message":{"text":"endpoints.createEndpointsConfigService.getEndpointsConfig (cyclomatic 25): endpoints.createEndpointsConfigService.getEndpointsConfig has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/endpoints.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"223bb5fc46faaf124a2f0827b19488d0bca53070295bb4c8d394de57563b990d"}},{"ruleId":"D1","level":"warning","message":{"text":"delete.createCodeFileDeleter.\u003Creturned closure\u003E (cyclomatic 25): delete.createCodeFileDeleter.\u003Creturned closure\u003E 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":"packages/api/src/files/code/delete.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"182c887e555a5a117513636a01f2f6d1e34ba1eff78439b7dc720fbc9db50007"}},{"ruleId":"D1","level":"warning","message":{"text":"document.encodeAndFormatDocuments (cyclomatic 25): document.encodeAndFormatDocuments 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":"packages/api/src/files/encode/document.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"c016b75a10954b2447c5c557e650988b2ac3e13f9bddb9bca980654cda23a0d4"}},{"ruleId":"D1","level":"warning","message":{"text":"rag.createVectorFileDeleter.\u003Creturned closure\u003E (cyclomatic 25): rag.createVectorFileDeleter.\u003Creturned closure\u003E has cyclomatic complexity 25 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/rag.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a615426db423db32a5ffdbe6d8af69ee64ee7245adc0e47eae83b0af3543ea"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.extractSSEErrorMessage (cyclomatic 25): errors.extractSSEErrorMessage 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":"packages/api/src/mcp/errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ddb75be60e8343b5a929e35ca51d4f4eb474ffeb85494ffe505fcfa602cf7b"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionsRepository.loadConnection (cyclomatic 25): ConnectionsRepository.loadConnection 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":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b835fdf2caa592f192266fa2869edcfd8c2f0f07c9179c02c6b585bf0b32b0"}},{"ruleId":"D1","level":"warning","message":{"text":"previews.nestedAttachmentCalls (cyclomatic 25): previews.nestedAttachmentCalls 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":"packages/api/src/messages/previews.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f756f39d573096fe4438fa8ebd18b205c06d6c620ace8bf1ede64b155aa668d7"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisEventTransport.handleMessage (cyclomatic 25): RedisEventTransport.handleMessage 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5b7a8553fb11e13345fd0ee81ddca8170e42fab88f008442e0faf9562092b6"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.updateJob (cyclomatic 25): RedisJobStore.updateJob 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0662ccfc49984ebf69280557ec6992fecff2d7996539fa751e8333603e1fd468"}},{"ruleId":"D1","level":"warning","message":{"text":"review.nativeDecision (cyclomatic 25): review.nativeDecision has cyclomatic complexity 25 (threshold 15). Of this number, 20 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7fd24e9ac8a1daa908877097007ba8357e273f508b9f326934ee5441350720"}},{"ruleId":"D1","level":"warning","message":{"text":"render.renderSlackDocument (cyclomatic 25): render.renderSlackDocument has cyclomatic complexity 25 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec0c55e85b9d0d5035811c34bc2f4d38fd2280d73d3eefe64dceb2aaa1fa9f1"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.consume (cyclomatic 25): Chat.consume has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8760f6ed5f525887480b07edc65711aa60f49d0ab1e49143521ea4abd1d1652b"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceSelections (cyclomatic 25): workspace.resolveCodeWorkspaceSelections has cyclomatic complexity 25 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"4366e5fe680d3293c16ff9bad5460f6b3009156141af930b7c6e6ffabcbc4f91"}},{"ruleId":"D1","level":"warning","message":{"text":"state.foldReplaySegments (cyclomatic 25): state.foldReplaySegments 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"402f10db19dd82038a7973f8b93cb63113d5ada2fefd82231c4b431b1f64be37"}},{"ruleId":"D1","level":"warning","message":{"text":"state.reduceSubagentReplay (cyclomatic 25): state.reduceSubagentReplay 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d9a45801da148f2f02c57157b29126c2ee7500a67cb4a559a48156c2a7b484"}},{"ruleId":"D1","level":"warning","message":{"text":"Badge.Badge (cyclomatic 25): Badge.Badge has cyclomatic complexity 25 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 5 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":"packages/client/src/components/Badge.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3cea3de066a92ae1a2a5e5112b6aa97b3cbc23998c677414ed81a495dc942d"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.buildTree (cyclomatic 25): messages.buildTree has cyclomatic complexity 25 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/messages.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc50fc7eb34d23d032a91cc657b3973439d336497127812c71aefe61f5bfc9a4"}},{"ruleId":"D1","level":"warning","message":{"text":"response.createResponseStorage.reserve (cyclomatic 25): response.createResponseStorage.reserve has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5ce6714f8a4086354b8fcde4711a5fcf2f39e89079f21f697b812b9e1f0517"}},{"ruleId":"D1","level":"warning","message":{"text":"channelRun.createChannelRunStorage.admit (cyclomatic 25): channelRun.createChannelRunStorage.admit has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 423, a function literal at line 502, assertAuthority). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d1efb4429f2f3c972b01180884f3e7d4aa50894d5f836d831fd35abfa4b237"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.retireAgentTriggerDelivery (cyclomatic 25): triggerDelivery.createAgentTriggerDeliveryMethods.retireAgentTriggerDelivery has cyclomatic complexity 25 (threshold 15). 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fea35823a4b526f00cd68273d3c895fc7e463660194659acf96457d4af1f05f"}},{"ruleId":"D1","level":"warning","message":{"text":"chatCompletion::runAgents (cyclomatic 25): chatCompletion::runAgents 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4958}}}],"partialFingerprints":{"codehealthFindingId/v1":"5889054da0b3914f218281fd9aefc2fbd35476cc242dcb96706429f652d79c4e"}},{"ruleId":"D1","level":"warning","message":{"text":"handle (cyclomatic 25): handle 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfbf4049c4f505fb0b8fc2c613a9725d31d54924303bc19e418f47b16589253"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 25): (anonymous) 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":"api/server/routes/messages.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f1afd780189c926d3169d7b624e3aae62cb8097cc29958bda3cc0d7297899e"}},{"ruleId":"D1","level":"warning","message":{"text":"createGeminiImageTool (cyclomatic 25): createGeminiImageTool has cyclomatic complexity 25 (threshold 15). Most of this is not in the body itself: 5 of the 25 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 325, (anonymous)::abortHandler, 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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cb27f19f210c3079c0326cee457cfcd411e814f2dc89ee55cb527d579e5942"}},{"ruleId":"D1","level":"warning","message":{"text":"OpenWeather._call (cyclomatic 24): OpenWeather._call 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":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b785866ec59450cf20ab8459ea0fd1e842303277605b5735604716cc43ca17"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.router.get(\u0022/\u0022) (cyclomatic 24): messages.router.get(\u0022/\u0022) 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":"api/server/routes/messages.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"462680ff980fa6f2daeab6343ac0440ce10a5f6ac5cce96ccb407f114d0c5d80"}},{"ruleId":"D1","level":"warning","message":{"text":"checkBan.checkBan (cyclomatic 24): checkBan.checkBan 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":"api/server/middleware/checkBan.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"255687af40d3f4b4a4d61fc3f3dfec59eed3cfc682ad0aa62327ba5777b1c514"}},{"ruleId":"D1","level":"warning","message":{"text":"useReplyWatcher.reconcileFirstPage (cyclomatic 24): useReplyWatcher.reconcileFirstPage has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"959f57ab1995fe535686d985a56e5f0c53dcc43837cc94e77e3ab36d2e28c677"}},{"ruleId":"D1","level":"warning","message":{"text":"format.formatMessageContent (cyclomatic 24): format.formatMessageContent 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":"client/src/hooks/Conversations/format.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bbe9e180650a137eb8703f24cec6428f543639184cd95722147d00344fb109"}},{"ruleId":"D1","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore.startUpload (cyclomatic 24): useFileHandling.useFileHandlingCore.startUpload 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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"899eda04ec82b6c7d977850bd7ff3a3ffa0d0a5686b66134ab25caee358f6ad2"}},{"ruleId":"D1","level":"warning","message":{"text":"CategoryTabs.CategoryTabs (cyclomatic 24): CategoryTabs.CategoryTabs has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (handleKeyDown, getCategoryDisplayName, a function literal at line 132, \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":"client/src/components/Agents/CategoryTabs.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"483777e8cbff4274cf8b1fb478ad4a3bf18fc18f2300d2e087a4b2c2f3c24483"}},{"ruleId":"D1","level":"warning","message":{"text":"Card.TaskCard (cyclomatic 24): Card.TaskCard has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Card.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ae6e98e61f378e519ad73e4d92a70d6113df628ef9ce51388ce8e9741d69e0"}},{"ruleId":"D1","level":"warning","message":{"text":"preview.buildPreviewIndex (cyclomatic 24): preview.buildPreviewIndex has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c05cffd77a5a753d175c5dfe3618af50340ba959b976181493e823e3db12ef1"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvoOptions.ConvoOptions (cyclomatic 24): ConvoOptions.ConvoOptions has cyclomatic complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7173b4f6bbfbbfb68b614b0f20a75841550f88cc39be11204bc0127bca5ef993"}},{"ruleId":"D1","level":"warning","message":{"text":"ConvoLink.ConvoLink (cyclomatic 24): ConvoLink.ConvoLink has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2bcb03784cb6f9a605be59eb675d71e9787952b0994775a75aac6988f96f52"}},{"ruleId":"D1","level":"warning","message":{"text":"Passkeys.Passkeys (cyclomatic 24): Passkeys.Passkeys has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/Passkeys.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a5229c1e30e59305716a218a455868f276a182007d3e467c4c67bd17af0772"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectWorkspace.ProjectWorkspace (cyclomatic 24): ProjectWorkspace.ProjectWorkspace has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectWorkspace.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8abe0db25d6e3e832c932979fb977b726b3a362464d609191b215ca228c780"}},{"ruleId":"D1","level":"warning","message":{"text":"ApiKeyDialog.ApiKeyDialogContent (cyclomatic 24): ApiKeyDialog.ApiKeyDialogContent has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 79, handleVisibleSubmit). 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":"client/src/components/SidePanel/Agents/Search/ApiKeyDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7183c8b52310415af0d3932ea5e23dbc18aa80ca642ce1324b60cba6c371cc"}},{"ruleId":"D1","level":"warning","message":{"text":"isActiveVersion.isActiveVersion (cyclomatic 24): isActiveVersion.isActiveVersion has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (toolsMatch, capabilitiesMatch, a function literal at line 66). 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":"client/src/components/SidePanel/Agents/Version/isActiveVersion.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff671f60c043af6704ee3046f1815a7ad316824ecaf08f535681629d9c13458c"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPServerCard.MCPServerCard (cyclomatic 24): MCPServerCard.MCPServerCard has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 10 of the 24 points are its own statements and the rest belongs to 4 function items inside it that branch (getStatusText, handleInitialize, a function literal at line 57, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c988c12789b939859012d87948072b5b6574467db5c50365f57b99251edb975"}},{"ruleId":"D1","level":"warning","message":{"text":"Consent.Consent (cyclomatic 24): Consent.Consent has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/Consent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9089fb3d8be47d54fdb04d5b62729217ae277f5f638fa609a5ba7a15a73e6609"}},{"ruleId":"D1","level":"warning","message":{"text":"AdminSettingsDialog.AdminSettingsDialog (cyclomatic 24): AdminSettingsDialog.AdminSettingsDialog has cyclomatic complexity 24 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 10 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/ui/AdminSettingsDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c182a4c49b6313e4e6bac75b8c8cb9b7ac7aa9e5b7820bd40ac9e55d1aa2d6"}},{"ruleId":"D1","level":"warning","message":{"text":"pattern.createLinearInspector (cyclomatic 24): pattern.createLinearInspector has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 7 of the 24 points are its own statements and the rest belongs to 3 function items inside it that branch (locate, inspectFragment, a function literal at line 467). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3128e0f5b5689d0a4b52a52b5df5884ad3cc079da24b25fff2c244731e3520d"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.deleteConfigField (cyclomatic 24): config.createAdminConfigHandlers.deleteConfigField 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":"packages/api/src/admin/config.ts"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaf11212fb47ccc5565e54c81f2eac201f8f453668bd0aaf9afa71da2ef6022"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.getJobIdsByUser (cyclomatic 24): InMemoryJobStore.getJobIdsByUser has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"9142b98c2e7c3b675fb217d0d8a89aa1afbbd7e68fc290b194c87fe3f9be1108"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.appendChunk (cyclomatic 24): InMemoryJobStore.appendChunk has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c53e322e83f5cbd28a85ed0c6ee19eb78c5dd1979edeec05a4a75ea1e36b586"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.discardSteerLeftover (cyclomatic 24): InMemoryJobStore.discardSteerLeftover has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfd7d68c184097bc47d0d4ba4f1367add8f9dc1f93c16e8563b45fe92a3f015"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.consumeParkedSteer (cyclomatic 24): InMemoryJobStore.consumeParkedSteer 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"f560891186ae9e3e8848cfda27913fb028ed2565c93fd297fe42fcdff5a37664"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.registerCodeExecutionTools (cyclomatic 24): tools.registerCodeExecutionTools has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0617f20c09257e3c89bbd394bb7e5104f7c8a8062259820e026d5f9dd0d39943"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.collectModelBoundHistoricalFileIdState (cyclomatic 24): modelBoundContent.collectModelBoundHistoricalFileIdState has cyclomatic complexity 24 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"411ea64535f3d352ee05e7496c88253595044ab537673dedbd105d21191cbacf"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.assertResolvedSkillContentAllowed (cyclomatic 24): initialize.assertResolvedSkillContentAllowed has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2967beaec74f9699d0511b33fe86a7b8bcd83e433713eab49f4fa938bf98b8c8"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.sniffImageMime (cyclomatic 24): handlers.sniffImageMime has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8a6dc66248bff86153ed6e1992ad5fe0067ec0cf5997442c0d1bf147a9308d"}},{"ruleId":"D1","level":"warning","message":{"text":"edges.resolveReachableGraph (cyclomatic 24): edges.resolveReachableGraph has cyclomatic complexity 24 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/edges.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ada7409625327f51ddf69f7e0fef213bb992cb406d1110f4eab0d0b4b08697"}},{"ruleId":"D1","level":"warning","message":{"text":"inspection.getResumeStoredBranch (cyclomatic 24): inspection.getResumeStoredBranch has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb75668783af395a0061d19c7b1c8a313b70cc44ee1dbfb7bf1e9a2ed77ba8c7"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.claimDurableTaskResult (cyclomatic 24): SubagentThreadTaskStore.claimDurableTaskResult has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a739e8f005c72c6eb413812320d63369a0062658ed3bf2ac2baaa99434580b"}},{"ruleId":"D1","level":"warning","message":{"text":"retirement.createResponseRetirement::retiredAuthority (cyclomatic 24): retirement.createResponseRetirement::retiredAuthority has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c3bab7aa73ef4b8c9bf6cafdcc95a577f639ca587416af9f86c90cc71ef999"}},{"ruleId":"D1","level":"warning","message":{"text":"email.createEmailChangeService.confirmEmailChange (cyclomatic 24): email.createEmailChangeService.confirmEmailChange 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":"packages/api/src/auth/email.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c4d19362d7978b410680bcafc8989d8230de95860cb01701b6513b0e5ef316"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaces.createSlackWorkspaceService.finish (cyclomatic 24): workspaces.createSlackWorkspaceService.finish has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eef21e165fa861602cf050ff5bde4d75c4f6ec12fed40fd9a7cb81dafc440db"}},{"ruleId":"D1","level":"warning","message":{"text":"config.mergeAccessibleCodeEnvironments (cyclomatic 24): config.mergeAccessibleCodeEnvironments has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 222, 182, 239, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9decc82f415dbda40a1b7da3af471aa80e938cd6ef298ee595b947bb55bd0e"}},{"ruleId":"D1","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.register (cyclomatic 24): http.createCodeEnvironmentHttpHandlers.register has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aad7a85aaa96b045de7e458ab92ac54b9084ab9b6e6ca509c8619f8c35a734f"}},{"ruleId":"D1","level":"warning","message":{"text":"FlowStateManager.monitorFlow (cyclomatic 24): FlowStateManager.monitorFlow has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 798, 760, 752, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"7949dd13a2aa316bb4f780f82ad3ce5eb8fe2e123f719cf2d21cd0f20c72d3d2"}},{"ruleId":"D1","level":"warning","message":{"text":"openid.resolveDirectOpenIDBearerConfig (cyclomatic 24): openid.resolveDirectOpenIDBearerConfig has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/openid.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0bbd79e4adfb8f311788554b4b123be0d6d12c56b005eb4b76e6371e0e3710"}},{"ruleId":"D1","level":"warning","message":{"text":"zod.convertToZodUnion (cyclomatic 24): zod.convertToZodUnion has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 76). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"752afe1549f7c3a0ab1407e37e7897d27de87a5f94c593ef549f5a3faaaf8cf0"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.createPrivateTextInitialAdmissionCallback (cyclomatic 24): admission.createPrivateTextInitialAdmissionCallback has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 4 of the 24 points are its own statements and the rest belongs to 6 function items inside it that branch (admitModel, a function literal at line 128, findRoot, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/admission.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"418ae63e8f408146d7019fcb617d2abc03b8953676112d9f4b5838005d0e0cab"}},{"ruleId":"D1","level":"warning","message":{"text":"events.isOAuthStepEvent (cyclomatic 24): events.isOAuthStepEvent has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/events.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1242bd8282fd6b0435b57c8322be593ac3df2a914288034964fee478d8238bb6"}},{"ruleId":"D1","level":"warning","message":{"text":"content.foldSubagentEventIntoTicker (cyclomatic 24): content.foldSubagentEventIntoTicker has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4067f3471122b9d29bd038e0d12f1956237fb068af2b8ebcb90bb2fd34828f"}},{"ruleId":"D1","level":"warning","message":{"text":"send.useQueuedSend (cyclomatic 24): send.useQueuedSend has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 82, 186, 130, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/send.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa08c8fbab4da790b97e853dbbc43819e6cfc4085afdcfc9e0a0a6f15ec4d64d"}},{"ruleId":"D1","level":"warning","message":{"text":"useSteering.useSteering (cyclomatic 24): useSteering.useSteering has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffa7bc1b981ff68972a33d181e75aab6ce6bde9c8c818c8515a3a9101c75055"}},{"ruleId":"D1","level":"warning","message":{"text":"QuoteButton.visibleAnchor (cyclomatic 24): QuoteButton.visibleAnchor has cyclomatic complexity 24 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 12 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":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"af189f933acfa85b482f3f0ebaafdd0ab612cef4f9d6abe34f3a4128bdd8d75a"}},{"ruleId":"D1","level":"warning","message":{"text":"generate.generateDynamicSchema (cyclomatic 24): generate.generateDynamicSchema has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ecc4abfe0735bc66a200fc41735049baf3666aa258769e3b361975dd1905ae"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.validateAndParseOpenAPISpec (cyclomatic 24): actions.validateAndParseOpenAPISpec has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd56dde8face0ec1ff2411374750026edc254c997f5baea17cfbd06100bba6b"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-llm-delivery-path.resolveDefaultLLMDeliveryPath (cyclomatic 24): resolve-llm-delivery-path.resolveDefaultLLMDeliveryPath has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c929867056b4c1ce41e300670b336bde0189a3d132ecaac645736b75a45dec"}},{"ruleId":"D1","level":"warning","message":{"text":"slackWorkspace.createSlackWorkspaceStorage.configureApp (cyclomatic 24): slackWorkspace.createSlackWorkspaceStorage.configureApp has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 228). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f7f842ebb17d12be779e02ade5125b44d2acc83a1c958b05645396408db0f1"}},{"ruleId":"D1","level":"warning","message":{"text":"channelProtocol.assertDeliveryEvidence (cyclomatic 24): channelProtocol.assertDeliveryEvidence has cyclomatic complexity 24 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelProtocol.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c33f05ee316762b71f48839d53c9384f465fef850073121c880bc965896e6fb"}},{"ruleId":"D1","level":"warning","message":{"text":"mergeEditedContent (cyclomatic 24): mergeEditedContent has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"524f51cc4c09bbf36250c0f0c3b4a1e6163a72260b7a0f78b0b2449b47634b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"healMcpToolNames (cyclomatic 24): healMcpToolNames has cyclomatic complexity 24 (threshold 15). Of this number, 21 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":"api/server/services/MCP.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24bb1ff5a7127788fb72568fd4efcc59b0810dc3080905a20859fd50f77cfeb"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 24): (anonymous) 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":"api/server/routes/admin/auth.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3faf4456b389861f2d8dc3242c555ab6b2a6e2c247483be1e143e0e1d136507"}},{"ruleId":"D1","level":"warning","message":{"text":"processMessages (cyclomatic 24): processMessages has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 11 of the 24 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 668, 738, 753, \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":"api/server/services/Threads/manage.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cba7ed33828a8a0171bd109a409f5d3cb8a21d7e7aa3242b085e4dcce67a9f"}},{"ruleId":"D1","level":"warning","message":{"text":"updateResourcePermissions (cyclomatic 24): updateResourcePermissions has cyclomatic complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs 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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"738aa29c1ad65e71efaab25a8aa68e93f707b279b8eae6be3475420b12b6d32e"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.router.post(\u0022/oauth/refresh\u0022) (cyclomatic 23): auth.router.post(\u0022/oauth/refresh\u0022) 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":"api/server/routes/admin/auth.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"60b5831f0fadf8cc0214ce002a707259860d78a8be50c6d2d3ac08bde512b31d"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.router.delete(\u0022/\u0022) (cyclomatic 23): convos.router.delete(\u0022/\u0022) has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"1123fd6c925519a4707aedddfd4ef356db89dac7ba24d3d2ea1ebe2fe2599266"}},{"ruleId":"D1","level":"warning","message":{"text":"config.buildPreLoginPayload (cyclomatic 23): config.buildPreLoginPayload has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/config.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4646cfd95bcdc6261d5b5b7dce329ac161662696d34aca686869f4e783ff61c"}},{"ruleId":"D1","level":"warning","message":{"text":"files.router.delete(\u0022/\u0022) (cyclomatic 23): files.router.delete(\u0022/\u0022) has cyclomatic complexity 23 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fffbf67207a42b506c20fac40809f9858af3f1a3e6e3a77943dd8c1522bb07"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantService.createInProgressHandler.in_progress (cyclomatic 23): AssistantService.createInProgressHandler.in_progress 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":"api/server/services/AssistantService.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab07f7f93bfa21d8febe88f0ebe41073b8b1a7aef4f3d4635265fbe44aa26a3"}},{"ruleId":"D1","level":"warning","message":{"text":"MCP.getServerConnectionStatus (cyclomatic 23): MCP.getServerConnectionStatus 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":"api/server/services/MCP.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c794b01acdd83ef2561f43a38c7cff3efe79de564add09b533143ded0a86989"}},{"ruleId":"D1","level":"warning","message":{"text":"useAttachmentPreviewSync.useAttachmentPreviewSync (cyclomatic 23): useAttachmentPreviewSync.useAttachmentPreviewSync has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 158, 123, 181, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useAttachmentPreviewSync.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"de99b649501a8b5dde8eb1ce39809a797cdf31c85a480c3115d3434b9a44460c"}},{"ruleId":"D1","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore (cyclomatic 23): useFileHandling.useFileHandlingCore has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 397, 454, 277, \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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d146d77a2ee92611ab9b5b005b26b2f3d5c70849d56533aa583e395b2b193a"}},{"ruleId":"D1","level":"warning","message":{"text":"useSharePointPicker.useSharePointPicker.portMessageHandler (cyclomatic 23): useSharePointPicker.useSharePointPicker.portMessageHandler has cyclomatic complexity 23 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointPicker.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80d18cf5f4d1e7894a13520e4030f6528d9a1e31ac307329c509d771df9938b"}},{"ruleId":"D1","level":"warning","message":{"text":"DescriptionWords.DescriptionWords (cyclomatic 23): DescriptionWords.DescriptionWords has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 59, 61, 92, \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":"client/src/components/Agents/DescriptionWords.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c356aabcf5484e228b614082954b5af3c01d4878e32412e4e4c634ded3df7185"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeWorkspaceMenu.GitContext (cyclomatic 23): CodeWorkspaceMenu.GitContext has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0f6548cc66fa6d3210d33ba75c6309c55a2ec43a23c1cc4a62e895b0b94302"}},{"ruleId":"D1","level":"warning","message":{"text":"model.flattenRows (cyclomatic 23): model.flattenRows has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (pushRecords, a function literal at line 1005, a function literal at line 1023, \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":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03b30ec59a01453b2b1c9b47e9fce13dbe96b4d6932f962dd7282e39414bddf"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.filterItems (cyclomatic 23): utils.filterItems has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 39, 60). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d4e654ee6584b7eecc2b30cbdd32d68e77fd07d72f395cb02e13cf284d24dc"}},{"ruleId":"D1","level":"warning","message":{"text":"Reasoning.Reasoning (cyclomatic 23): Reasoning.Reasoning has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c4859786a762871f26272ea2d7383c6b9e65f324ecb108f2ee65b9c6a129d5"}},{"ruleId":"D1","level":"warning","message":{"text":"running.groupConversationsByStatus (cyclomatic 23): running.groupConversationsByStatus has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/running.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1394e1b5d36d27ae27ce4365c3f434a2cc67726a592210da469d73c771305d6f"}},{"ruleId":"D1","level":"warning","message":{"text":"face.drawMouth (cyclomatic 23): face.drawMouth has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7487429d32557ec98fe85b56629873829d28b4def7f0ea3861b9b4df14fa6f4"}},{"ruleId":"D1","level":"warning","message":{"text":"LiaEngine.updateMotion (cyclomatic 23): LiaEngine.updateMotion 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":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f483216f1e8119e0a05057a79ab1062e1298aabe58c16644e5bae828d8ce20c"}},{"ruleId":"D1","level":"warning","message":{"text":"LiaEngine.render (cyclomatic 23): LiaEngine.render 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":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78f450171734964ce590ea6edad3e9efe01d1446eba6a6107a8dd1476974d40"}},{"ruleId":"D1","level":"warning","message":{"text":"PluginAuthForm.PluginAuthForm (cyclomatic 23): PluginAuthForm.PluginAuthForm has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 9 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 119, 131). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Plugins/Store/PluginAuthForm.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"88da8c35c028d05208ecb8b94a4defbb3294838fccb3aa733595797b235ecac2"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionsInput.ActionsInput (cyclomatic 23): ActionsInput.ActionsInput 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 6 function items inside it that branch (a function literal at line 111, a function literal at line 73, submitContext, \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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9914464fbe2ee68fc372a85c6870187fd6efddbdc1da7c83b75b9a4dc969a7bc"}},{"ruleId":"D1","level":"warning","message":{"text":"signIn.watchPullRequestSignIn (cyclomatic 23): signIn.watchPullRequestSignIn has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (check, onSettled, resume, \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":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c7654b51462e69c86c959956fd6aa0779c0593c080b55a7562ee696860240c"}},{"ruleId":"D1","level":"warning","message":{"text":"useRum.useRum (cyclomatic 23): useRum.useRum has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 195, 175, 268, \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":"client/src/lib/rum/useRum.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e584effa2e5644d4e91d9b47beafbb3a961ffa9d13dc66529f75ea7a9cef55"}},{"ruleId":"D1","level":"warning","message":{"text":"groups.createAdminGroupsHandlers.updateGroup (cyclomatic 23): groups.createAdminGroupsHandlers.updateGroup has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2990713b69cbc05ca2f574a920b5f0da1dd91372637c144b0ff2eca1f5a64360"}},{"ruleId":"D1","level":"warning","message":{"text":"roles.createAdminRolesHandlers.addRoleMember (cyclomatic 23): roles.createAdminRolesHandlers.addRoleMember has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e96ce48e7b0a479b22af247a1fe8e4b5bb012dbd17deff1a66f90e0586faca"}},{"ruleId":"D1","level":"warning","message":{"text":"wiring.createActivityLabelWiring (cyclomatic 23): wiring.createActivityLabelWiring has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 10 of the 23 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 257, 316). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2988f7b31231b8dd4c27f0c337a01c8cf6904a3c6c14ca88b9b4640ab418ce9"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.createJob::assertOwnerCompatible (cyclomatic 23): InMemoryJobStore.createJob::assertOwnerCompatible has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (InMemoryJobStore.createJob) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558465c6b2afbd150d965522e8205db0432a79c3b733f2d592611a99eb36649"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.buildRunToolSet (cyclomatic 23): tools.buildRunToolSet has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdecf9b0397d99355b0b2bbf760a1a7ee43692177abd41a0f9086545a14042f"}},{"ruleId":"D1","level":"warning","message":{"text":"memory.processMemory (cyclomatic 23): memory.processMemory has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6a3f0e97af2fafd7e9109a557dca597ca5746f8064150e6e39456d7f4a3881"}},{"ruleId":"D1","level":"warning","message":{"text":"modes.createAgentToolApprovalSession.validateTransport (cyclomatic 23): modes.createAgentToolApprovalSession.validateTransport has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9dc3ea8079f812562981524791c600ca0c1aeb67ca6b4459aab3441c787c86"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleEditFileCall (cyclomatic 23): handlers.handleEditFileCall has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4504}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d688b9caf61b7745c29900b3cc0e404aabfe9e697278b10327eb5dda3ce45b8"}},{"ruleId":"D1","level":"warning","message":{"text":"turnProjection.projectCanonicalResponseTurn (cyclomatic 23): turnProjection.projectCanonicalResponseTurn has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/turnProjection.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e196cd98e86369a26cf4df6801ddffecd78b105bca4e529a01c960f1fc5998f1"}},{"ruleId":"D1","level":"warning","message":{"text":"outcome.createAgentEventActionRecorder.observeToolEnd (cyclomatic 23): outcome.createAgentEventActionRecorder.observeToolEnd has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee534012f4bad96aed4b785c1ef2085314ab1536cbfe1de8b8dad8c206e59e49"}},{"ruleId":"D1","level":"warning","message":{"text":"view.publicThreadTurns (cyclomatic 23): view.publicThreadTurns has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 6 of the 23 points are its own statements and the rest belongs to one function literal inside it that branches (line 350). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2991aaa0f24eb53405d0eb9dbc48be97c83d99187d7e6946a02c5349510fe041"}},{"ruleId":"D1","level":"warning","message":{"text":"cloudfront-cookies.setCloudFrontCookies (cyclomatic 23): cloudfront-cookies.setCloudFrontCookies has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the 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":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"729eb9a86d7f758cccc21806f958ac6510067df520749c678c43ba6e5cafd6bf"}},{"ruleId":"D1","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.moveConversationDecision (cyclomatic 23): http.createCodeEnvironmentHttpHandlers.moveConversationDecision has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1554bc64480fcc773b3d022f0f292d2c73f70773c3796e7f4b36a3e7dfde7ded"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.initializeGoogle (cyclomatic 23): initialize.initializeGoogle has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/initialize.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6aa28a11c969690ce4141eea12b904a1e24730225492c1dfc73bef28fc92c2"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPOAuthHandler.assertStoredClientBinding (cyclomatic 23): MCPOAuthHandler.assertStoredClientBinding has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b32940be6a8869484e282050ed4b89c54f2b772fdc884ab5c61d01b73249c09"}},{"ruleId":"D1","level":"warning","message":{"text":"remoteAgentAuth.createRemoteAgentAuth.handler (cyclomatic 23): remoteAgentAuth.createRemoteAgentAuth.handler has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4f8c2d9baefc63a56cee9d3a229347100d5447d3f994c3e2424ab2d6a5b7f3"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.createScheduleMCPPreflight::runPreflight (cyclomatic 23): mcp.createScheduleMCPPreflight::runPreflight has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cfbe50a4781ca6ed58d28dc25ea593d23b63c9350324e0e0d4e65669b7105a"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisEventTransport.syncReorderBuffer (cyclomatic 23): RedisEventTransport.syncReorderBuffer has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51c6e337811fda22073d9f5c0a3fcb7d2aaa84458e604207be61bf5cb0745f8"}},{"ruleId":"D1","level":"warning","message":{"text":"config.getRumConfig (cyclomatic 23): config.getRumConfig has cyclomatic complexity 23 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"060036519b84637f865998e4253e4bbd8229e907ca1b59fef09d62529f30b12b"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelWorker.artifact (cyclomatic 23): ChannelWorker.artifact has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5975411414ca7c0e17b81717fd8be9b18e3c966a3c0afbc351aae91416dd833"}},{"ruleId":"D1","level":"warning","message":{"text":"branch.sumBranch (cyclomatic 23): branch.sumBranch has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b0f28ce4ae94d781d76ddcdaf32d110ba8b4fadcb8aa46d9a14a1ca6be52e57"}},{"ruleId":"D1","level":"warning","message":{"text":"questions.resolveAskUserQuestionPart (cyclomatic 23): questions.resolveAskUserQuestionPart has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f934e1b7b885b184c3235a4b426f2d5dd3b3bb995defe307c14a30de4f576a55"}},{"ruleId":"D1","level":"warning","message":{"text":"FileRow.FileRow (cyclomatic 23): FileRow.FileRow has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 3 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 94, 95, 61, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa7341ea78340381c59e255afe8e1f8a493fadcfbec82c9e5ce8a972d98f5b0"}},{"ruleId":"D1","level":"warning","message":{"text":"rail.useFoldPath (cyclomatic 23): rail.useFoldPath has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 596, 532, 542, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"66aa79a42ad4caff7d8064c5a4a3581f5fcd8d9840a9211ceadd760666adb65a"}},{"ruleId":"D1","level":"warning","message":{"text":"Thinking.ThinkingControl (cyclomatic 23): Thinking.ThinkingControl has cyclomatic complexity 23 (threshold 15). Of this number, 12 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":"packages/chat/src/components/composer/bar/Thinking.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9236a961855ca8531c9b4797d69ebc80034dfe39cce7014889f0a27102a5cf"}},{"ruleId":"D1","level":"warning","message":{"text":"Radio.Radio (cyclomatic 23): Radio.Radio has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 7 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 197, handleKeyDown, a function literal at line 107, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Radio.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"21169ad0f7e1274ba938f117975af760de3d2f3a5435d0c89b646df80a479a91"}},{"ruleId":"D1","level":"warning","message":{"text":"file-config.getEndpointFileConfig (cyclomatic 23): file-config.getEndpointFileConfig has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"912f56f106931c2081c080d07cb82b6f7647c56b8ee7a45253460d60fb89734d"}},{"ruleId":"D1","level":"warning","message":{"text":"compaction.isValidCompactionSemanticIndexEntry (cyclomatic 23): compaction.isValidCompactionSemanticIndexEntry has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/types/compaction.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db637e4e01794079857d01988d6554cb3670a20a21ca1fcd10b627478dcae45"}},{"ruleId":"D1","level":"warning","message":{"text":"provisioning.createPermissionPrincipalMethods.persistPermissionPrincipals (cyclomatic 23): provisioning.createPermissionPrincipalMethods.persistPermissionPrincipals has cyclomatic complexity 23 (threshold 15). Of this number, 18 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":"packages/data-schemas/src/methods/provisioning.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bd4155c112ad12e09367403f430cf6752958428a37be49483f5d7e90d8401b"}},{"ruleId":"D1","level":"warning","message":{"text":"channelScope.touchChannelAuthority (cyclomatic 23): channelScope.touchChannelAuthority has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelScope.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8623916bae0031e632f7f3e4f8c0f46a5390bf4a7eae85574ecba9a195c55d8"}},{"ruleId":"D1","level":"warning","message":{"text":"message.findOneAndMergeMessageProvenance (cyclomatic 23): message.findOneAndMergeMessageProvenance has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2e0a17a28f5df0e03f752e25d5b14044d98d9fff926322e02222402b42e2ff"}},{"ruleId":"D1","level":"warning","message":{"text":"artifacts.readResponseArtifactCatalog (cyclomatic 23): artifacts.readResponseArtifactCatalog has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/artifacts.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d954fd080dc421968ce7dea8930ef575edc40e7dc0ecd87063e45c26fdc4d7b"}},{"ruleId":"D1","level":"warning","message":{"text":"channelIdentity.createChannelIdentityStorage.saveChannelIdentity (cyclomatic 23): channelIdentity.createChannelIdentityStorage.saveChannelIdentity has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 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":"packages/data-schemas/src/methods/channelIdentity.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8db8315296609a54e5eda4f1277d8851879626534b564b39070741c7b30bce"}},{"ruleId":"D1","level":"warning","message":{"text":"tx.createTxMethods.getCacheMultiplier (cyclomatic 23): tx.createTxMethods.getCacheMultiplier has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"3267f187c48d5781763045cba633ef43cbf0fe3db5d3d1fa770b3fc81753d47e"}},{"ruleId":"D1","level":"warning","message":{"text":"transaction.createTransactionMethods.reserveBalance (cyclomatic 23): transaction.createTransactionMethods.reserveBalance has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d51ba420c94a76a7572b79472482d2eb82be345ef89a973daa9cd909c304d4"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.expediteAgentTriggerDeliveries (cyclomatic 23): triggerDelivery.createAgentTriggerDeliveryMethods.expediteAgentTriggerDeliveries has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2612}}}],"partialFingerprints":{"codehealthFindingId/v1":"95272a342ce2888d52cad01f468d6ea12810f6ec3b7808f2114dfaf5c38725aa"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.reserveAgentEventActorDetachedAction (cyclomatic 23): triggerDelivery.createAgentTriggerDeliveryMethods.reserveAgentEventActorDetachedAction has cyclomatic complexity 23 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"4242d497256925dabfb88476bffba06400a5658bb6caca14a3a177888117ced6"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpAuthority.createMCPAuthorityMethods.compareProofs (cyclomatic 23): mcpAuthority.createMCPAuthorityMethods.compareProofs has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b1d5d4408733119108732735cd43d364f2447fb04cd5759bec35af15380cac"}},{"ruleId":"D1","level":"warning","message":{"text":"pool.createPostgresDatabase (cyclomatic 23): pool.createPostgresDatabase has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 4 of the 23 points are its own statements and the rest belongs to 5 function items inside it that branch (isConnectionError, a function literal at line 80, connect, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/pool.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"735778c13b0214c920ba9796189397820506d1b995f1e54e45fe1a2d3304ce57"}},{"ruleId":"D1","level":"warning","message":{"text":"getListAgentsHandler (cyclomatic 23): getListAgentsHandler has cyclomatic complexity 23 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 5 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f91752ad82b3ac1f20707b76eb22eaed96c2efeea94dd44a2243a421ef4274b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 23): (anonymous) 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":"api/server/routes/mcp.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c81b854dc294aeda041fc14fc9fdb86efc8c01a4684d36e33ce63a9e0314d7d"}},{"ruleId":"D1","level":"warning","message":{"text":"importLibreChatConvo (cyclomatic 23): importLibreChatConvo has cyclomatic complexity 23 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba07feed6d3f22eb307d4805155d297db78c658eaf7a7b91fb898af641b7a5e"}},{"ruleId":"D1","level":"warning","message":{"text":"createInProgressHandler::in_progress (cyclomatic 23): createInProgressHandler::in_progress 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":"api/server/services/AssistantService.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b41b36a037ed1a750173fad814dcde61f0e42cc6efe326aecb7ea961193e24"}},{"ruleId":"D1","level":"warning","message":{"text":"createErrorHandler (cyclomatic 23): createErrorHandler has cyclomatic complexity 23 (threshold 15). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 45, 103, 118). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6a31ebcfac82c14ce6050c48fffe5423be90341846f11a22a89304d248dc2e"}},{"ruleId":"D1","level":"warning","message":{"text":"formatMessages.formatMessage (cyclomatic 22): formatMessages.formatMessage 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":"api/app/clients/prompts/formatMessages.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"216a700f77bf82f895349944f18d1090f27c77ac453b40c68d843c5e7a76d71b"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.createErrorHandler.\u003Creturned closure\u003E (cyclomatic 22): errors.createErrorHandler.\u003Creturned closure\u003E 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":"api/server/controllers/assistants/errors.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4794c06e78ed24d8a1156b9d0d62bba1c3143f67958c95546f1d205c53e93653"}},{"ruleId":"D1","level":"warning","message":{"text":"share.streamSharedFile (cyclomatic 22): share.streamSharedFile has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b671498cf3bd2f4b3f0c3654fbc3aa8d4d5d873d23329e196c491807eee36481"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.router.get(\u0022/:serverName/oauth/initiate\u0022) (cyclomatic 22): mcp.router.get(\u0022/:serverName/oauth/initiate\u0022) has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"247450ff6afad397823f292ada0238152073c4e78b05edbd6e5dc53acc1cd3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.loadAndFormatTools (cyclomatic 22): tools.loadAndFormatTools 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":"api/server/services/start/tools.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c04f249deec7a3e9ccfd4e896cbe126106b6ce9524612894fdf8eddf7771f3"}},{"ruleId":"D1","level":"warning","message":{"text":"useUnseenConversations.observeArrivalQuery (cyclomatic 22): useUnseenConversations.observeArrivalQuery 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":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3fb802b64441f07a8205b98b4623fd7198ce15679d814421850043e3c80706"}},{"ruleId":"D1","level":"warning","message":{"text":"useQueryParams.useQueryParams.newQueryConvo (cyclomatic 22): useQueryParams.useQueryParams.newQueryConvo 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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b0876ab9ab14efbc1a83107fcf9b42013163dad79e2e81907462c5160cae6a6"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPanelContext.AgentPanelProvider (cyclomatic 22): AgentPanelContext.AgentPanelProvider has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 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":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ffef5d7dd1a8518df0fdd5f90d765e5eb5649abd8a2f1206ebcd414df9f933"}},{"ruleId":"D1","level":"warning","message":{"text":"ErrorDisplay.ErrorDisplay (cyclomatic 22): ErrorDisplay.ErrorDisplay has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 3 function items inside it that branch (getErrorInfo, getNotFoundMessage, getContextualTitle). 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":"client/src/components/Agents/ErrorDisplay.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac5945ea0c0cad2bf57ca4d8994f827b4afa9482119de190cf72ec7afaab542"}},{"ruleId":"D1","level":"warning","message":{"text":"Marketplace.AgentMarketplace (cyclomatic 22): Marketplace.AgentMarketplace has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 6 function items inside it that branch (handleMineChange, handleTabChange, a function literal at line 29, \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":"client/src/components/Agents/Marketplace.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb4966a3fc18339fea2fe2c5a279943d39523d356a8d6920c6976e0c6f525b5"}},{"ruleId":"D1","level":"warning","message":{"text":"preview.buildActivityIndex (cyclomatic 22): preview.buildActivityIndex has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"819d93958076d88ba6033ab55985cf6f6dfaeaf0d9aa46b1eaff6f5d275d6cb5"}},{"ruleId":"D1","level":"warning","message":{"text":"ProgressText.ProgressText::getText (cyclomatic 22): ProgressText.ProgressText::getText 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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfa8c15b6370152da99f444958a38f344e16db47a671354014e4c0f403792af"}},{"ruleId":"D1","level":"warning","message":{"text":"useLazyHighlight.useLazyHighlight (cyclomatic 22): useLazyHighlight.useLazyHighlight has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 7 of the 22 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 106, 94, 140, \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":"client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c3afa4e85e44bf213ed071d1bfdf4c015a7373a4f8560da78268fd32774edd"}},{"ruleId":"D1","level":"warning","message":{"text":"Review.PendingToolApprovalPanel (cyclomatic 22): Review.PendingToolApprovalPanel has cyclomatic complexity 22 (threshold 15). Of this number, 12 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":"client/src/components/Chat/approval/Review.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"397cee73d690e9a187cb62f10c393df9a06e2db38b312f1f148213e13dc93bb2"}},{"ruleId":"D1","level":"warning","message":{"text":"LiaEngine.chooseLife (cyclomatic 22): LiaEngine.chooseLife has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47e1f22a42cb2e1d4e49c336681d2315c3a54a021a7f923b3ec519824e1452e"}},{"ruleId":"D1","level":"warning","message":{"text":"UserKeyError.UserKeyError (cyclomatic 22): UserKeyError.UserKeyError has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Error/UserKeyError.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d61090632eab37571bf340de906742b3dfdbb280c5d9fcff8d3d7ea781beadd"}},{"ruleId":"D1","level":"warning","message":{"text":"RunCode.RunCode (cyclomatic 22): RunCode.RunCode has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 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":"client/src/components/Messages/Content/RunCode.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca8960e8c5496edcdb61582643410a14b6716c1b02dca382343f1ba0db62bfb"}},{"ruleId":"D1","level":"warning","message":{"text":"AutoRefillSettings.AutoRefillSettings (cyclomatic 22): AutoRefillSettings.AutoRefillSettings has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to one function item inside it that branches (getLocalizedIntervalUnit). 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":"client/src/components/Nav/SettingsTabs/Balance/AutoRefillSettings.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeee48c7bf1a17e54fc7a736570524963079783205675ee6579826fdb8a4c25"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectsView.ProjectsView (cyclomatic 22): ProjectsView.ProjectsView has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectsView.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a97b6a76a2aaf976cb7aa73a7c5a59bcc87365e0764494ef1c3731deb51f3b5"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentPanel.composeAgentUpdatePayload (cyclomatic 22): AgentPanel.composeAgentUpdatePayload 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":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf9e30df62d1594a645f589c701e873406af18ca3694c669bc2d70c7d95cf5d"}},{"ruleId":"D1","level":"warning","message":{"text":"useMCPServerForm.useMCPServerForm.defaultValues (cyclomatic 22): useMCPServerForm.useMCPServerForm.defaultValues has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"36649e16be456690efcdac58e5fbf1f3acd4f4855320ee3fc4fb79e363b1fa90"}},{"ruleId":"D1","level":"warning","message":{"text":"useMCPServerForm.useMCPServerForm.onSubmit (cyclomatic 22): useMCPServerForm.useMCPServerForm.onSubmit has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a178154c1c136cfb1b07e48f37a46c5f13fb324315de3bf8bd189f358fb5983"}},{"ruleId":"D1","level":"warning","message":{"text":"private.useOwnerMessageTexts (cyclomatic 22): private.useOwnerMessageTexts has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 105, 75, 143, \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":"client/src/data-provider/Messages/private.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2453d1182ff75796fe82b65a7e8921adff360a4c4f3d94a49cefb21f723b59ff"}},{"ruleId":"D1","level":"warning","message":{"text":"mermaid.fixSubgraphTitleContrast (cyclomatic 22): mermaid.fixSubgraphTitleContrast 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":"client/src/utils/mermaid.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e0c3367c9d950d26869a03de9fc5e6e709d7a785928a0047e24768a2cf6792"}},{"ruleId":"D1","level":"warning","message":{"text":"nested.isContentTraversalProtected (cyclomatic 22): nested.isContentTraversalProtected has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"625c503cec622e62d158bb83f00a5c8efe28157f1b4b1a73662b5dbe84f76f3c"}},{"ruleId":"D1","level":"warning","message":{"text":"submissions.extractModelParameterContent::visit (cyclomatic 22): submissions.extractModelParameterContent::visit 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":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"20316a560b823aafb3ae1a6013ac99890612f27eecc1bad4fa2392180760345b"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.redactConfigSecrets (cyclomatic 22): secrets.redactConfigSecrets 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c7678ded4afaa3885e13410c99c620341da2ed46df58b20144320d74226d5e"}},{"ruleId":"D1","level":"warning","message":{"text":"attachments.collectAgentAttachmentStats (cyclomatic 22): attachments.collectAgentAttachmentStats 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":"packages/api/src/agents/attachments.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed0d111aa7996c9f29fa08491b0f9b53e22e44a8dddb8b3c6e338bd7cb453cd"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalLifecycle.pause (cyclomatic 22): ApprovalLifecycle.pause 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":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c70edf5cabfa66822a9f851a30edf4bbcf18b7927fb8bb6df70d21a9085bdb"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.buildHistoricalToolNames (cyclomatic 22): tools.buildHistoricalToolNames has cyclomatic complexity 22 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1648358969cc8800746225c5ddd75106ea5a68ff3e77fe09c8c8ca291cf9659"}},{"ruleId":"D1","level":"warning","message":{"text":"instructions.createRepositoryInstructionLoader.\u003Creturned closure\u003E (cyclomatic 22): instructions.createRepositoryInstructionLoader.\u003Creturned closure\u003E 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":"packages/api/src/code/instructions.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b107c651a2f991dd6f96a90ef951b06777b1405a512da99d76ce2a21666a3a8e"}},{"ruleId":"D1","level":"warning","message":{"text":"provenance.isEffectiveUserSubmittedPath (cyclomatic 22): provenance.isEffectiveUserSubmittedPath has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ff37898bf26690f079fa634dad496382ee86672072a8f3726a6506effc6de6"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleSkillToolCall (cyclomatic 22): handlers.handleSkillToolCall 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed29a99060f7e1d7529431fac3b66a07298174950b7ad72a24f54b05d58ec36"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.controlInvocation (cyclomatic 22): SubagentThreadTaskStore.controlInvocation 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0fb9a2de57cea7dc80e72c9698ad7f0b7375b4549a2774c4890cf420a73833"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentThreads.serializeTranscript (cyclomatic 22): subagentThreads.serializeTranscript 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb89f4e278414520872f9b9e220313ed263155aa895ce3b38214c66dd29858bb"}},{"ruleId":"D1","level":"warning","message":{"text":"executor.normalizeOutput (cyclomatic 22): executor.normalizeOutput 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":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"64bd7c95d4540ab06e1829bc3a7d69818ddd4cd5cdc2b34e0ba3f25334ba88b2"}},{"ruleId":"D1","level":"warning","message":{"text":"completion.createResponseCompletion.stageAndFinish (cyclomatic 22): completion.createResponseCompletion.stageAndFinish 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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6915e90b42ab2c3eb38382f42c8ce4c352b1d2014af734db399f3455e427b62"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createAgentTriggerService.recoverPurges (cyclomatic 22): service.createAgentTriggerService.recoverPurges 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 2 function items inside it that branch (a function literal at line 535, isolated). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e1a235d0b4a11e42ade0aa77d7dca1efbb41b3476d3eb8e14219b21f298e68"}},{"ruleId":"D1","level":"warning","message":{"text":"load.loadEphemeralAgent (cyclomatic 22): load.loadEphemeralAgent has cyclomatic complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/load.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"025a63f464cffb78b093f10ecfe1e378abd5110c90c664c9cc738c8c452af224"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.synthesizeReasoningLabelGapEvents (cyclomatic 22): runtime.synthesizeReasoningLabelGapEvents 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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"95197adb319be86392935e5765b4ca09f26f6396da0ba7b172a228c2ea0f3ecc"}},{"ruleId":"D1","level":"warning","message":{"text":"targets.createSubagentCodeRouting.attach (cyclomatic 22): targets.createSubagentCodeRouting.attach has cyclomatic complexity 22 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 8 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":"packages/api/src/code/targets.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04bc1356370c72a11e78ed742b785f0f9efbb3d15ea99568d9fb88892020669"}},{"ruleId":"D1","level":"warning","message":{"text":"authorization.createImageAuthorizationMiddleware.authorizeImageRequest (cyclomatic 22): authorization.createImageAuthorizationMiddleware.authorizeImageRequest has cyclomatic complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/images/authorization.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2c75aa8d6c85dc122fbacfbedc53bfb0cf9741b144b991d5273c2c0f0bbbab"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnection.readToolsSnapshot (cyclomatic 22): MCPConnection.readToolsSnapshot has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: MCPConnection.setupTransportErrorHandlers (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2850}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d370bbf187dc6ea0bbafc30114990beab28ffad828b26194b555648c2e3f739"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPManager.getServerToolFunctionsSnapshot (cyclomatic 22): MCPManager.getServerToolFunctionsSnapshot has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"348b44c0a380a77e5dea2a1e7d1259104bbfd44cba042e09c37415b315496f5f"}},{"ruleId":"D1","level":"warning","message":{"text":"store.createMCPCatalogStore.getCachedTools (cyclomatic 22): store.createMCPCatalogStore.getCachedTools has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 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":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc843d356e6e53029b68b60a0439da3fa068aacc3c73948a526af43d0b84e31"}},{"ruleId":"D1","level":"warning","message":{"text":"config.buildLangfuseConfig (cyclomatic 22): config.buildLangfuseConfig 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":"packages/api/src/langfuse/config.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c79871c1830e6f2ed089a75c71d0a33644a97ecef1293ffe903c6e25ea7442a1"}},{"ruleId":"D1","level":"warning","message":{"text":"render.threadDetails (cyclomatic 22): render.threadDetails has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd1abf1540777d42e7c5cdee61852492c078900469b3e3f6e3b973ab5b9a4ef"}},{"ruleId":"D1","level":"warning","message":{"text":"outcomes.resolvePredecessorMismatch (cyclomatic 22): outcomes.resolvePredecessorMismatch 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":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59bff05d722f9e449068d45632647a2cde947a04bca39db6e83197c4b9b2322"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.useDuringRunActions (cyclomatic 22): actions.useDuringRunActions has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 146, 190, 60, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/actions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9fe0eb8c9dd9e59a8da282565a4271a7004674f5509c285a53da22aa818c59"}},{"ruleId":"D1","level":"warning","message":{"text":"FileContainer.FileContainer (cyclomatic 22): FileContainer.FileContainer has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileContainer.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"737e5fbb8c109e28132e163660ff505d3b786eef341b64cb08621ffb28498b93"}},{"ruleId":"D1","level":"warning","message":{"text":"Fork.Fork (cyclomatic 22): Fork.Fork has cyclomatic complexity 22 (threshold 15). Of this number, 17 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":"packages/chat/src/components/messages/Fork.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"22479bf21cdfae56f304f588cb7a54804ac2fe9faa343207a3321e212cadfda8"}},{"ruleId":"D1","level":"warning","message":{"text":"state.foldLegacyInvocations (cyclomatic 22): state.foldLegacyInvocations 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"330646682f00b3a5db1d4bea4826945d6eea6db58c9024ca2675917e29d2e5db"}},{"ruleId":"D1","level":"warning","message":{"text":"OriginalDialog.DialogContent (cyclomatic 22): OriginalDialog.DialogContent has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 3 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 312, 263, 346, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/OriginalDialog.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"066cf0dda3b402d6da2073cf76aa1737ebd120dc41c428a1962abf13fe845c20"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.isCodeWorkspaceEnvironment (cyclomatic 22): workspace.isCodeWorkspaceEnvironment has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"7580b07e0e7c5fd85a32888c6548b8ae9edbd1b761ca69107241935ab4cc0492"}},{"ruleId":"D1","level":"warning","message":{"text":"config.isPrivateIPv4Literal (cyclomatic 22): config.isPrivateIPv4Literal has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3756425739dc963b1dbff4dd30d92046aa57978856fbeaa7705ecb66819f0f8"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.openapiToFunction (cyclomatic 22): actions.openapiToFunction 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":"packages/data-provider/src/actions.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"95976a0a54761bc5e9ba2adb3048dd67a4b7a968dd70ea9d26dbabe6d485d274"}},{"ruleId":"D1","level":"warning","message":{"text":"actions.validateActionDomain (cyclomatic 22): actions.validateActionDomain 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":"packages/data-provider/src/actions.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6138120a8446965b1ac8b34940b14c43a79dd68e6ca12491a99ef884f64841a"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.resolveLayerAzureGroups (cyclomatic 22): resolution.resolveLayerAzureGroups has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bc63a37a2b7fc5e29d06bd8061312e124a7f59eeb5158eebe9820dcc19af33"}},{"ruleId":"D1","level":"warning","message":{"text":"stripUIResourceMarkers.collectCitationTokens (cyclomatic 22): stripUIResourceMarkers.collectCitationTokens 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":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"62118f007b07160bcc6bfc1df4d76a58bb7e706b157c6af86bc1c19a23da3618"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.bulkSaveMessages (cyclomatic 22): message.createMessageMethods.bulkSaveMessages has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 1476, 1536, 1589). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b81cdb886d38f3e23d1031dfa1530a27c108d8d3ce9ba9bf707ea05c989888"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.getSubagentTaskControlReplay (cyclomatic 22): message.createMessageMethods.getSubagentTaskControlReplay has cyclomatic complexity 22 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2791}}}],"partialFingerprints":{"codehealthFindingId/v1":"3999eb662506270ab723687179fed683119ee714367543a4fa05e3e66da52b46"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.listSubagentTasksForThreads (cyclomatic 22): message.createMessageMethods.listSubagentTasksForThreads has cyclomatic complexity 22 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d93753b78eac91c8a38061db77dece1cc99bcd75e79585654e3b0d36840ef3"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.bulkSaveConvos (cyclomatic 22): conversation.createConversationMethods.bulkSaveConvos has cyclomatic complexity 22 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 11 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. This is NOT this file\u0027s highest cyclomatic complexity: conversation.validateAgentEventActorSuspension (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a4ac52a0732a649b257b969869b83834b3ea0d66d169096d21984085bc2e5c"}},{"ruleId":"D1","level":"warning","message":{"text":"share.getMessagesUpToTarget (cyclomatic 22): share.getMessagesUpToTarget 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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"6294782cc6961dc6934df3338b97f32ca011f10c51713bfc7eca85f7065c7efc"}},{"ruleId":"D1","level":"warning","message":{"text":"share.createShareMethods.createSharedLink (cyclomatic 22): share.createShareMethods.createSharedLink 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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b9e9fa92db0a14ba9f79c452bd8081c03d5b36f4a08a055fdd4494331578c6"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.publishStagedDelivery (cyclomatic 22): triggerDelivery.createAgentTriggerDeliveryMethods.publishStagedDelivery has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bea9bbe9d2e63aab4e3795933fad681da887d43fa019f5dd985a4a87c60434"}},{"ruleId":"D1","level":"warning","message":{"text":"setMessageOptions (cyclomatic 22): setMessageOptions 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":"api/app/clients/BaseClient.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac28a8f90c2f8464038c7d76832a7d906673cf22613c23debc419550edb5c93"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 22): (anonymous) 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":"api/server/routes/agents/index.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"de373b7f00b2102f2349a1f6651beb10a77697c2f84192788fb4f4852d43c2f6"}},{"ruleId":"D1","level":"warning","message":{"text":"startServer (cyclomatic 22): startServer has cyclomatic complexity 22 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 6 belong to 8 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a52955758c2a563852f55c103ffa87ad231110f233a3f37f3b286210af9573"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 22): (anonymous) has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f30a616bd3c8ddedbe9b65eecff2bc86d6508dbacad11f7ccb32e99fb729ebc"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentClient.useMemory (cyclomatic 21): AgentClient.useMemory 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":"api/server/controllers/agents/client.js"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"daab3223a57e7edccbb8ff2c80cf106d34dd6d2d8055389b483b9c90c4d9ae4e"}},{"ruleId":"D1","level":"warning","message":{"text":"socialLogins.configureSocialLogins (cyclomatic 21): socialLogins.configureSocialLogins 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":"api/server/socialLogins.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54500b70c0a87f8571833034186129eff90ee65dd61e3067a5de491ebee32b0"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.router.put(\u0022/:conversationId/:messageId\u0022) (cyclomatic 21): messages.router.put(\u0022/:conversationId/:messageId\u0022) 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":"api/server/routes/messages.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"489441978b32162d6d6536a59aaa7baa05c108bd52a10a44d4ad1f031e0ef23c"}},{"ruleId":"D1","level":"warning","message":{"text":"index.router.get(\u0022/chat/status/:conversationId\u0022) (cyclomatic 21): index.router.get(\u0022/chat/status/:conversationId\u0022) 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":"api/server/routes/agents/index.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a128456b98d8df032bc5314c353b26776d0438ac49864894f610392f53ea00"}},{"ruleId":"D1","level":"warning","message":{"text":"useTokenUsage.useTokenUsage (cyclomatic 21): useTokenUsage.useTokenUsage has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 153, 133, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/useTokenUsage.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a79ae4260caf73cc53e74c013f6983ef270d98cd0108c5ab5018c80a22dee6"}},{"ruleId":"D1","level":"warning","message":{"text":"useSpeechSettingsInit.useSpeechSettingsInit (cyclomatic 21): useSpeechSettingsInit.useSpeechSettingsInit has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 39, 61, 100). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Config/useSpeechSettingsInit.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fae35fea7269640cf3da308a543a827bf9500ecf7e87ff10ff6f6af5e10dd5"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelLinkRoute.ChannelLinkRoute (cyclomatic 21): ChannelLinkRoute.ChannelLinkRoute has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 191, 161, 177, \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":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a9020319f97fe5c6fd0954420804bb5bcdcc69cbeada18f6e7ea6c46692314"}},{"ruleId":"D1","level":"warning","message":{"text":"Viewer.Viewer::renderBody (cyclomatic 21): Viewer.Viewer::renderBody 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":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a5f72bf212905398c620f228587633dccc29616202200fb48ccf403b4e9d1a"}},{"ruleId":"D1","level":"warning","message":{"text":"ModelSelectorContext.ModelSelectorProvider (cyclomatic 21): ModelSelectorContext.ModelSelectorProvider has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 128, 221, 103, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"73a42b43f5427e26246e89e3512976684045bf5b2e3fad7ebcc45e6df51c072f"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointItem.EndpointMenuContent (cyclomatic 21): EndpointItem.EndpointMenuContent has cyclomatic complexity 21 (threshold 15). Of this number, 17 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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a16bb0e5f0a098a14160d738ae6ba888bca1f86faba321b6a1932f829777d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityPhaseGroup.LivePhaseHeader (cyclomatic 21): ActivityPhaseGroup.LivePhaseHeader has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4993877ef55d6cf0f4f4f1eb2268ea6f7a79a4a155538988ad7793152e128438"}},{"ruleId":"D1","level":"warning","message":{"text":"PinnedSection.DraggablePinnedRow (cyclomatic 21): PinnedSection.DraggablePinnedRow has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (handleKeyDown, moveAtPointer, a function literal at line 182, \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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2e2f7d05dc0c2305e9bd41ab149c3cc4912cb5e111236777d1ece8f98eac54"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.buildCatalog (cyclomatic 21): catalog.buildCatalog 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":"client/src/components/SidePanel/Agents/Tools/items/catalog.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7694471e0f96322cb174cef40948d3fca65f8b85391155a834db6d78ca0ec6"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsDialog.SkillsDialog (cyclomatic 21): SkillsDialog.SkillsDialog has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 117, 74, 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":"client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25d6207ba6f14f72df008bce6f940d42933adf3e36160d1a7b51f725ce0b711"}},{"ruleId":"D1","level":"warning","message":{"text":"AssistantAvatar.Avatar (cyclomatic 21): AssistantAvatar.Avatar has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 127, handleFileChange, a function literal at line 64, \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":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4487c83c3830f3330dac65468f34cbaf5c945631d620b274f08ebd7ac64fc78"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryPanel.MemoryPanel (cyclomatic 21): MemoryPanel.MemoryPanel has cyclomatic complexity 21 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 10 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Memories/MemoryPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"567cab6b71ea8b02c6d05a7be5e67fbc0fec974a1edbd190fc52969c5c5a0897"}},{"ruleId":"D1","level":"warning","message":{"text":"mutations.useUploadFileMutation (cyclomatic 21): mutations.useUploadFileMutation has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 51, 34, 128, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2427878d3b9b8b479f497707a0b033e4c29faa209fcd2b44eca123f3fdf7ffa"}},{"ruleId":"D1","level":"warning","message":{"text":"drafts.captureComposerDraft (cyclomatic 21): drafts.captureComposerDraft has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 2 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 559, 592, 578, \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":"client/src/utils/drafts.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42546f1f9c5f04bfdb9dc50a15ecaa1a53a7dc4c731656d8cfd3cac06521414"}},{"ruleId":"D1","level":"warning","message":{"text":"submissions.getModelParameterWrapperFields (cyclomatic 21): submissions.getModelParameterWrapperFields 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":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0de25b5aae39337812ffaa935ea77303a814cd37682a5407a9edf54dc7903e"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createActivityLabelHook.\u003Creturned closure\u003E (cyclomatic 21): runtime.createActivityLabelHook.\u003Creturned closure\u003E has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 554, 566, 594). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6b0737516ab40527b3dd92349410d08a0b993488c3a9b97372117e77b1a59a"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.enqueueSteerWithReceipt (cyclomatic 21): InMemoryJobStore.enqueueSteerWithReceipt 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f03374d57bcf94e669c571fb04fa31a7280c07ace5683b391f9ee8c423ef55"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManager.isOAuthReplayEvent (cyclomatic 21): GenerationJobManager.isOAuthReplayEvent 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"db101b13c685008d650251bafa2c2f233e475c11b62a009a83b2256b99486611"}},{"ruleId":"D1","level":"warning","message":{"text":"client.createMultiAgentMapper.\u003Creturned closure\u003E (cyclomatic 21): client.createMultiAgentMapper.\u003Creturned closure\u003E has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb1bb035e0065c9b159d177d869df42bce57c78170b14a4fc633d70d7ef6f2b9"}},{"ruleId":"D1","level":"warning","message":{"text":"inference.customSchema (cyclomatic 21): inference.customSchema has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f072b30f1c927fb7ac18559ff5c33bfcb95c2655846472fec580d3b239e45dc"}},{"ruleId":"D1","level":"warning","message":{"text":"provenance.visitSemanticUserSubmittedPaths (cyclomatic 21): provenance.visitSemanticUserSubmittedPaths has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"faadbdcd66ab284fd7d057711093eccb35b508120bfdcda1436f9b34a12067d7"}},{"ruleId":"D1","level":"warning","message":{"text":"manifest.createRunFileManifest.publish (cyclomatic 21): manifest.createRunFileManifest.publish 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 2 function literals inside it that branch (lines 358, 361). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404ee6f194da401f243d9379cbd9e1c5e8b178a0b9023ff9df68c8237318126"}},{"ruleId":"D1","level":"warning","message":{"text":"reservation.reserveSkillBlob (cyclomatic 21): reservation.reserveSkillBlob 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":"packages/api/src/skills/reservation.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8f5d36d0fac37c70cdb0c5f2c4b6fa9d35ef5372abb4997dcdfe97444b15b9"}},{"ruleId":"D1","level":"warning","message":{"text":"host.parseSteerResult (cyclomatic 21): host.parseSteerResult 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"032597dc401ab019726130368813694313f3426736421ac984a6dbd77f040d91"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.discoverConnectedAgents (cyclomatic 21): discovery.discoverConnectedAgents has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 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":"packages/api/src/agents/discovery.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac59fe0a621c59f5acf9777b789f2e2f74abdc4e3f6c26bec8f6da0a659587e"}},{"ruleId":"D1","level":"warning","message":{"text":"legacy.mergeAgentOcrConversion (cyclomatic 21): legacy.mergeAgentOcrConversion has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/legacy.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edf1b2554e2be97221864a888b120b7559f338225e343426700111e0439549d"}},{"ruleId":"D1","level":"warning","message":{"text":"authority.createBackgroundResponseAuthority.\u003Creturned closure\u003E (cyclomatic 21): authority.createBackgroundResponseAuthority.\u003Creturned closure\u003E has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 50). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/authority.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a7ed68d8f85004842d8604f45779245283f81866126efd012e50bb3330fcef"}},{"ruleId":"D1","level":"warning","message":{"text":"view.createParentSubagentIndexHandler.\u003Creturned closure\u003E (cyclomatic 21): view.createParentSubagentIndexHandler.\u003Creturned closure\u003E has cyclomatic complexity 21 (threshold 15). Of this number, 12 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":"packages/api/src/agents/view.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"666f711edfc445ea3516bf776d4e48af07ebc420a0d9f66e59ce042a282ca226"}},{"ruleId":"D1","level":"warning","message":{"text":"metrics.createMetrics.metricsMiddleware (cyclomatic 21): metrics.createMetrics.metricsMiddleware has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to 4 function items inside it that branch (complete, markSSEStream, a function literal at line 979, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/metrics.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb6434c0f584ce52218f77915bf58381f1cf094fadee6050bba49b0d3667e08"}},{"ruleId":"D1","level":"warning","message":{"text":"ip.isPrivateIPv4 (cyclomatic 21): ip.isPrivateIPv4 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":"packages/api/src/auth/ip.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"554ca6bea28ba21d012fd48f2b13019ebc2db408609aab3f1a9d96d0ff2d5c3b"}},{"ruleId":"D1","level":"warning","message":{"text":"openidRoleSync.selectOpenIdRole (cyclomatic 21): openidRoleSync.selectOpenIdRole has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f6014619542a7211ce02da272fb369f005aa58de9ad74c8ca1d97735b100ba"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.rollbackSessionPublication (cyclomatic 21): session.createOpenIDSessionRefreshService.rollbackSessionPublication has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0554aab3d0b6fa35d16fa01616f383d0ac5b0f581c3092ed0604e9636dc7ca"}},{"ruleId":"D1","level":"warning","message":{"text":"responses.createChannelResponseRetirement.\u003Creturned closure\u003E (cyclomatic 21): responses.createChannelResponseRetirement.\u003Creturned closure\u003E 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":"packages/api/src/channels/responses.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91f01aac23bda8f718e6f0d204057a7c87121983e88dcab103058911d423909"}},{"ruleId":"D1","level":"warning","message":{"text":"runs.createChannelRunHandlers.review (cyclomatic 21): runs.createChannelRunHandlers.review 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":"packages/api/src/channels/runs.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb5dcd08092aa70659ff2ab66b2ccdff138f4e7875317b93fc6b591e7ef7c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"credentials.createChannelResponseCredentials.provision (cyclomatic 21): credentials.createChannelResponseCredentials.provision 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":"packages/api/src/channels/credentials.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"230b6d92d3c09ebd0572afa92d78425b9951554345494972ab2037dd5d65ff4f"}},{"ruleId":"D1","level":"warning","message":{"text":"auth.getUserMCPAuthMap (cyclomatic 21): auth.getUserMCPAuthMap 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":"packages/api/src/mcp/auth.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d01eefe2205035d1c53e2c7311190c27f481f7a050444932aff17fae9af9548"}},{"ruleId":"D1","level":"warning","message":{"text":"oidc.processOpenIDPlaceholders (cyclomatic 21): oidc.processOpenIDPlaceholders has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/oidc.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c9305d457f8034272d77b520d7a58bc1f13401f9af11620ff10efe63c159f4"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnection.fetchOrderedToolsSnapshot (cyclomatic 21): MCPConnection.fetchOrderedToolsSnapshot has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: MCPConnection.setupTransportErrorHandlers (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce691e52f046562fc13b10b8ab07927ce22e9c54aa38be700bce9da372bf3493"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPManager.discoverServerTools (cyclomatic 21): MCPManager.discoverServerTools has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"87078ba0e78f41e1b1b90bedb196dc3180cb0dceeb0efd81b10784b7cd15c521"}},{"ruleId":"D1","level":"warning","message":{"text":"key.loadServiceKey (cyclomatic 21): key.loadServiceKey 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":"packages/api/src/utils/key.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c130821b397c0b2340c8944444bc0ac0c30d95762b603aa001c128fe49dde034"}},{"ruleId":"D1","level":"warning","message":{"text":"error.ErrorController (cyclomatic 21): error.ErrorController 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":"packages/api/src/middleware/error.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"938fd0a3de941e5bd66d1f294b57ee1f2a47bcaeae7295c04899b7433e40deed"}},{"ruleId":"D1","level":"warning","message":{"text":"balance.buildBalanceUpdateFields (cyclomatic 21): balance.buildBalanceUpdateFields 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":"packages/api/src/middleware/balance.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"781d837e8914a724bece6dcb2bdf02ebeb1e22f286b97025072bb366fe5c5ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createScheduleMCPConsentService.view (cyclomatic 21): service.createScheduleMCPConsentService.view 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":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e43f412d5cd1993587ad366ef29d8f9f18ac3160ed1635d8c7f20ee7f5d9f3b"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createSkillsHandlers.patch (cyclomatic 21): handlers.createSkillsHandlers.patch 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":"packages/api/src/skills/handlers.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ab6c6e377444ef62a7dd7bf601b94c0277c2b5d6aa789c03c9ff0d984c80e2"}},{"ruleId":"D1","level":"warning","message":{"text":"reader.createLangfuseTraceReader.getRecord (cyclomatic 21): reader.createLangfuseTraceReader.getRecord 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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba1effeb84468ed4ef2b8398c6c7edbd649e97e0cdd7cf661222b23b1c5ef66"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.parseResolvedAskUserQuestions (cyclomatic 21): RedisJobStore.parseResolvedAskUserQuestions has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 6062). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":6049}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03b588d31b37c65d295ac0cebe54eaa29b492cf73177e3fbbd80bfe116a9a2a"}},{"ruleId":"D1","level":"warning","message":{"text":"events.normalizeEvent (cyclomatic 21): events.normalizeEvent 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":"packages/channel-gateway/src/events.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b56e749e6e2a8d40b5c77939b167313e66740d70c792b458273e4e6f3b0884d"}},{"ruleId":"D1","level":"warning","message":{"text":"failure.handleServedError (cyclomatic 21): failure.handleServedError 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":"packages/chat/src/core/resumable/failure.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0a72f54bffe716173ff8ea9658da13de53d9478f9ffafd98eb988480b192f5"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.restorePendingAction (cyclomatic 21): Chat.restorePendingAction 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27db3c97af2fcf68ed43f36485d9cd5811361eb9e5f684ba222289a8a7067ab"}},{"ruleId":"D1","level":"warning","message":{"text":"Command.CommandPopover (cyclomatic 21): Command.CommandPopover has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (handleKeyDown, cancelBlurClose). 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":"packages/chat/src/components/composer/popover/Command.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d87963cb3ef7c353a78f2c591089874d69943068290cf41abed7c468cd0f42"}},{"ruleId":"D1","level":"warning","message":{"text":"composer.useComposerTake (cyclomatic 21): composer.useComposerTake has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 52, 99, 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":"packages/chat/src/react/steering/composer.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c825e1871c679f7af3b2c829d3d11b223d374255e6875a811a62add3696d5128"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageRender.MessageRender (cyclomatic 21): MessageRender.MessageRender has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRender.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f6d5bde1f01c1c0a6df45d4f2eeecadd31478608245d50e61cb9475fb9cb26"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning.resolveSubmittedReasoning (cyclomatic 21): reasoning.resolveSubmittedReasoning 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":"packages/chat/src/react/chat/reasoning.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3181ddea1fe00d7775db8ac3ffc9e4814267a273fed3c41e55048bf1e4b2e79"}},{"ruleId":"D1","level":"warning","message":{"text":"Composer.Composer (cyclomatic 21): Composer.Composer has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 2 function items inside it that branch (handleKeyDown, handleKeyDown::defaultVerdict). 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":"packages/client/src/components/Composer.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d49d2b63348debd77f72add6317801d18bdf96251daa1e504817adf58d39916"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiSelect.MultiSelect (cyclomatic 21): MultiSelect.MultiSelect has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/MultiSelect.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81a07012b8947b41ff4bafc3c48d03ba59c186ff994dedfd1b039a44a33f9ec"}},{"ruleId":"D1","level":"warning","message":{"text":"parts.toUIPart (cyclomatic 21): parts.toUIPart has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a699cffeb2eb4f2c55a1b0603e623e2ca3b6f720376ff8bbc8f4e4f1a379bf6"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.findShapeIssues (cyclomatic 21): resolution.findShapeIssues has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f089f2d79c2a5a53a669f82691752beb6c29e7f4210f38cc8dc6f24a5e8e7a"}},{"ruleId":"D1","level":"warning","message":{"text":"response.createResponseStorage.finishTerminal (cyclomatic 21): response.createResponseStorage.finishTerminal has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 6 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 507). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea294069dd4c8a378e4a268ba818865d801c961018ee16a23521d6810a2498c"}},{"ruleId":"D1","level":"warning","message":{"text":"channelRun.createChannelRunStorage.observeThreadStop (cyclomatic 21): channelRun.createChannelRunStorage.observeThreadStop has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 1083). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a79dd2dc10c9fe963d995521f378727f4879674c4b8dc7b419e722554e72a6b"}},{"ruleId":"D1","level":"warning","message":{"text":"codeEnvironment.createCodeEnvironmentMethods.createCodeEnvironmentWithinOwnerLimit (cyclomatic 21): codeEnvironment.createCodeEnvironmentMethods.createCodeEnvironmentWithinOwnerLimit has cyclomatic complexity 21 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"57678de97e4158c760014f383b7ed60eb49f76c58b9fe175a6600a144fd8c1c4"}},{"ruleId":"D1","level":"warning","message":{"text":"userGroup.collectMemberIdsFromGroupUpdate (cyclomatic 21): userGroup.collectMemberIdsFromGroupUpdate has cyclomatic complexity 21 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8582ef8a2e9e2c0053d84a69620f0adf3bc1226b147689f5f7b0b05f143651b"}},{"ruleId":"D1","level":"warning","message":{"text":"share.anonymizeMessages.messages (cyclomatic 21): share.anonymizeMessages.messages has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"182dc4ffebd95afc1149b728cd267180850e97b33308649e0b5863fbd6f9241d"}},{"ruleId":"D1","level":"warning","message":{"text":"skill.extractAlwaysApplyFromBody (cyclomatic 21): skill.extractAlwaysApplyFromBody 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec641357583d4696eb0c3ee29210348b1a3ff884ae28b1e82143430212dac1"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.enqueueAgentTriggerDelivery (cyclomatic 21): triggerDelivery.createAgentTriggerDeliveryMethods.enqueueAgentTriggerDelivery 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7975cc301654453bb2bfef6e472cf50bab6f2e6f81f92910fc6888ceb36cd1"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.claimNextAgentTriggerDelivery (cyclomatic 21): triggerDelivery.createAgentTriggerDeliveryMethods.claimNextAgentTriggerDelivery 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e24092b963eeb1e695d0b62d8c978eaf55cd9cffea4c112505e5b2a1638639"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResults (cyclomatic 21): triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResults 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"0778d63261f581001aaaf9a2225d518d0c185e645d89d13a93fb06b4be97d149"}},{"ruleId":"D1","level":"warning","message":{"text":"processFileUpload (cyclomatic 21): processFileUpload has cyclomatic complexity 21 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 5 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":"api/server/services/Files/process.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f617da7c8e98f32e99ed8f8561688548ce338a89d1e671f23dacba236d08ba9"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 21): (anonymous) 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":"api/server/routes/files/files.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6fc70f585bd82883b973d594cf49aa9f2e764a361c0e13adb54de6717a0a8d6"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 21): (anonymous) has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c9e3b8dd98d7e8fbf5bc819fad68882d69f2086252af8148e48283eb8a8ba8"}},{"ruleId":"D1","level":"warning","message":{"text":"indexSync.ensureFilterableAttributes (cyclomatic 20): indexSync.ensureFilterableAttributes 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":"api/db/indexSync.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0361813c878d829f515d75ce5e8970f8d20b90821f5db9e6edf6b491e9d7ade9"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionsController.getResourcePermissions (cyclomatic 20): PermissionsController.getResourcePermissions has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PermissionsController.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0375ee0875940d45dce75a54cf3230e970aa033ae028a710f047a8c8e85ad7"}},{"ruleId":"D1","level":"warning","message":{"text":"memories.router.patch(\u0022/:key\u0022) (cyclomatic 20): memories.router.patch(\u0022/:key\u0022) 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":"api/server/routes/memories.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"306c48bae2585ee46a9b651596792fe4c4a200f1cef7970b8091634664b99a78"}},{"ruleId":"D1","level":"warning","message":{"text":"files.router.get(\u0022/download/:userId/:file_id\u0022) (cyclomatic 20): files.router.get(\u0022/download/:userId/:file_id\u0022) has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2be7062d05f68fe27c1b0b24bcd3ceadc321c8fa0cb68d3eac6c643f80037a"}},{"ruleId":"D1","level":"warning","message":{"text":"importers.processConversation (cyclomatic 20): importers.processConversation 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":"api/server/utils/import/importers.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f92ced138d2d4a8f572bfd906637d72a0ef442f3ba3c91aa6640efa31380db"}},{"ruleId":"D1","level":"warning","message":{"text":"socialLogin.socialLogin.\u003Creturned closure\u003E (cyclomatic 20): socialLogin.socialLogin.\u003Creturned closure\u003E has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ab4d912da2c945b359807e877e8011cfffeb97b7d22cdf624751d8721da001"}},{"ruleId":"D1","level":"warning","message":{"text":"AuthLayout.AuthLayout (cyclomatic 20): AuthLayout.AuthLayout has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/AuthLayout.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f740504409b2f3c9a9f3d77e6527f855629e9fc1da015e00b6276ad3943079"}},{"ruleId":"D1","level":"warning","message":{"text":"TwoFactorScreen.TwoFactorScreen (cyclomatic 20): TwoFactorScreen.TwoFactorScreen has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 69, 47, 55, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/TwoFactorScreen.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb27b58e7d8c35589a2192282735b18cd783451eb2bb78551870d86ba3248e57"}},{"ruleId":"D1","level":"warning","message":{"text":"Button.BackgroundTasksButton::jumpToTool (cyclomatic 20): Button.BackgroundTasksButton::jumpToTool 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. This shape REPEATS in the file: one other method here (Button.BackgroundTasksButton) 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":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5726ccccd4630c3b946dde80c9de9958ffaa2dce5a9ac72e5cb5f97a35ab112f"}},{"ruleId":"D1","level":"warning","message":{"text":"Presentation.Presentation (cyclomatic 20): Presentation.Presentation has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 110, 84, 104, \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":"client/src/components/Chat/Presentation.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"33fca504e798c5402c3bd18c0cbb6a43abf61e54edf2da13aabb7aab8ff7ab51"}},{"ruleId":"D1","level":"warning","message":{"text":"PresetItems.PresetItems (cyclomatic 20): PresetItems.PresetItems has cyclomatic complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Presets/PresetItems.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"234a93002c6988e83f174530c41288107a335d4ba26677920a5295cd83810d0e"}},{"ruleId":"D1","level":"warning","message":{"text":"HeaderMenu.HeaderMenu (cyclomatic 20): HeaderMenu.HeaderMenu has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/HeaderMenu.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2454b430850953eab5c03981c62990afa82f011d4052ea7b81b9095015cd693"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchResults.SearchResults (cyclomatic 20): SearchResults.SearchResults 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 2 function literals inside it that branch (lines 213, 180). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8b22381631554f0cbf7871c3a9842f02f15492c75bba974bb51934e27e319e"}},{"ruleId":"D1","level":"warning","message":{"text":"RetrievalCall.extractFileSources (cyclomatic 20): RetrievalCall.extractFileSources 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":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c3c7f98bf16c0680fd6f2e04379b5f991b909eba66fdd96db52f3f62edc1af"}},{"ruleId":"D1","level":"warning","message":{"text":"ShareButton.ShareButton (cyclomatic 20): ShareButton.ShareButton has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/ShareButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83fc9bb276549e8078bef9ee886839fc9a9516353c4c0bfd06c3f3ed251d8c2"}},{"ruleId":"D1","level":"warning","message":{"text":"LimitError.LimitError (cyclomatic 20): LimitError.LimitError 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":"client/src/components/Messages/Content/Error/LimitError.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"70dbb682145fcc6b23f164daa8ff68a1a4d0c8951c87f861fb5305f8d0507a1d"}},{"ruleId":"D1","level":"warning","message":{"text":"PasskeyItem.PasskeyItem (cyclomatic 20): PasskeyItem.PasskeyItem has cyclomatic complexity 20 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45c82d7b899ba9f1fd3f7adfdf347d9899a8391f31a7896a1b470856722d15a"}},{"ruleId":"D1","level":"warning","message":{"text":"OAuth.resolveBinding (cyclomatic 20): OAuth.resolveBinding has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/OAuth.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ac90e4a2805e992a9ea4af08f5f60eda6dbee21bef1b542050b867c1b9c5ce"}},{"ruleId":"D1","level":"warning","message":{"text":"OAuth.OAuth (cyclomatic 20): OAuth.OAuth has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 52, authorize). 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":"client/src/components/Responses/OAuth.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8800576c9314b954eeda4d41bc1e96cb3a35e9e40c16130953db7c2e403ceaf8"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalOption.ApprovalOption (cyclomatic 20): ApprovalOption.ApprovalOption has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ApprovalOption.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7285f116c80d9c134f1bc07780d56055a4ca7610bf02ce1fccd06952abf4551"}},{"ruleId":"D1","level":"warning","message":{"text":"MemoryCreateDialog.MemoryCreateDialog (cyclomatic 20): MemoryCreateDialog.MemoryCreateDialog has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd19547eb2d76b9d6d23fab92ffe1bc7b773e27cb4ca0222dcc67a0583c1770"}},{"ruleId":"D1","level":"warning","message":{"text":"CreateSkillForm.CreateSkillForm (cyclomatic 20): CreateSkillForm.CreateSkillForm has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 166, a function literal at line 85, 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":"client/src/components/Skills/forms/CreateSkillForm.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf768bb15c3d29a8b0c4adddc950dde6366c2b080151ebc2d4292f1202c9beb7"}},{"ruleId":"D1","level":"warning","message":{"text":"useAttachExisting.useAttachExisting (cyclomatic 20): useAttachExisting.useAttachExisting has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 74). 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":"client/src/hooks/Files/useAttachExisting.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6690612dacebf2986815e60d902077b5b751a656851653239ea7c6eeb7db26"}},{"ruleId":"D1","level":"warning","message":{"text":"useAttachItems.useAttachItems.entries::build (cyclomatic 20): useAttachItems.useAttachItems.entries::build 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":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"d407f3ee20d32ccad2813abf338e6b99d902d092b0e85d6ea1a8da2f82eed715"}},{"ruleId":"D1","level":"warning","message":{"text":"useMentions.useMentions.options (cyclomatic 20): useMentions.useMentions.options has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useMentions.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5e289e586b348e1fddcaef66b7eeca35dacb9ccb5c0c8db1370379bae4ed51"}},{"ruleId":"D1","level":"warning","message":{"text":"buildDefaultConvo.buildDefaultConvo (cyclomatic 20): buildDefaultConvo.buildDefaultConvo 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":"client/src/utils/buildDefaultConvo.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade5f199627e51c8980c23c8e6cb26cb33a696afbd4193ac37ed74872099ff9"}},{"ruleId":"D1","level":"warning","message":{"text":"groupToolCalls.groupSequentialToolCalls (cyclomatic 20): groupToolCalls.groupSequentialToolCalls has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/groupToolCalls.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed983f0d8e3ce6b64a2d180a0546afb0a28270fb81a14928eefc18fb9da6e23"}},{"ruleId":"D1","level":"warning","message":{"text":"latex.tokenizeMathSpan (cyclomatic 20): latex.tokenizeMathSpan 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 items inside it that branch (content, open, escape, \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":"client/src/utils/latex.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa39263f8b70799b1334d2bc807319de8850c9b4ccd69fa22d8da6b6313e5a"}},{"ruleId":"D1","level":"warning","message":{"text":"audit.runAuditedPermissionUpdate (cyclomatic 20): audit.runAuditedPermissionUpdate 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 3 function items inside it that branch (a function literal at line 275, recordFailures, flushDeferred). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/audit.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3465bc01328bef1930985b75dc1406cdf8eb515451a97f61fd606ee1415a05f7"}},{"ruleId":"D1","level":"warning","message":{"text":"config.readRenames (cyclomatic 20): config.readRenames 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":"packages/api/src/admin/config.ts"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90d710936c5f9ce1fda0c3e81649f405b6740efceb0ca86f1d49f6bf9451244"}},{"ruleId":"D1","level":"warning","message":{"text":"catalog.createAdminConfigCatalogHandlers.getConfigCatalog (cyclomatic 20): catalog.createAdminConfigCatalogHandlers.getConfigCatalog has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/catalog.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d9be9407f9409132cbf430df89825954dd7148effebc2b9dd7dc8d040cc816"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.partitionAt (cyclomatic 20): runtime.createActivityPhaseWiring.partitionAt has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab9bf3e16f6918f844659841969350e802bef67c348405f830a877cf1886096"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryEventTransport.subscribe (cyclomatic 20): InMemoryEventTransport.subscribe 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 6 function items inside it that branch (deliver, a function literal at line 109, a function literal at line 156, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"73eba839f71041a98fbe04c8aea43bf134befe2fde62de8615e61a94a7c10f91"}},{"ruleId":"D1","level":"warning","message":{"text":"view.parseDigestRequest (cyclomatic 20): view.parseDigestRequest 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":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fc49a5903817612eee741b2991067e27d77c8b2425e00344945b0bb1bcb09f"}},{"ruleId":"D1","level":"warning","message":{"text":"memory.createMemoryTool (cyclomatic 20): memory.createMemoryTool has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 179). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6deec7bb836622e8e32752795cbac1e3570f0de78240df8b808a066ad0a0fa"}},{"ruleId":"D1","level":"warning","message":{"text":"BackgroundTaskRegistryClass.create (cyclomatic 20): BackgroundTaskRegistryClass.create 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":"packages/api/src/agents/background.ts"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2fea7a6d12a0bc8fe0e6158644f26df094d3d9ac5a04e05ea77c243debdc83c"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createOpenAIToolCallStream.onRunStep (cyclomatic 20): handlers.createOpenAIToolCallStream.onRunStep 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f5291f237dbad06a2eff7d036a32c44da2c49a16f15afc3f2e7ff27a8d24d2"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.readBoundedJson (cyclomatic 20): workspace.readBoundedJson has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de776874f21210c47a80eda727b2540fb8f98911cd1a1ad2838c77ef7945a38"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.projectProviderMessage (cyclomatic 20): modelBoundContent.projectProviderMessage 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e25fbdfa534ecfabddf43d9d7f92a8a5a19e70b5eb8a614adace1823203ef5"}},{"ruleId":"D1","level":"warning","message":{"text":"run.buildSubagentConfigs (cyclomatic 20): run.buildSubagentConfigs has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff44e7df1571ff7376b36c26c4b599fa4ee4103286367fffb6eb018f400a2d49"}},{"ruleId":"D1","level":"warning","message":{"text":"processing.createHostEditProcessor.apply (cyclomatic 20): processing.createHostEditProcessor.apply has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 103, 153, 101). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/processing.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce32285ca50287370536a638d17357de9f3f4d9e603e6d466c59689ecc347136"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleCreateFileCall (cyclomatic 20): handlers.handleCreateFileCall 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa47950569035bcd56978050067cb2467d37f7bd80bbf8ea840a23bd659bcb5"}},{"ruleId":"D1","level":"warning","message":{"text":"host.steer (cyclomatic 20): host.steer 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27cb2b6d768f94cb98267289fbe57925255b84596ba96ed26df9c93c2925cc7"}},{"ruleId":"D1","level":"warning","message":{"text":"discovery.resolveSubagentGraphs (cyclomatic 20): discovery.resolveSubagentGraphs has cyclomatic complexity 20 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f9ef261d5b89743a0b3c5351698455a059a5eea52979b8f291346e018c7183a"}},{"ruleId":"D1","level":"warning","message":{"text":"compatibility.planPluginHooks (cyclomatic 20): compatibility.planPluginHooks 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":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fe9764907803a299a3e6508a6864b556e6bf096934f6fa713b2ea160465467"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.registerPluginHooks (cyclomatic 20): runtime.registerPluginHooks has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (runtime.registerPluginHooks::hook) 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. This is NOT this file\u0027s highest cyclomatic complexity: runtime.createPluginHookPayload (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce1c66d6b24f5d5a3ebd9d63ddfc570a14550000f9ae90dc9547a6ab6a6f5f4"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentExecutionEnrollment.settlePause (cyclomatic 20): AgentExecutionEnrollment.settlePause has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac9d8d02e7fdb77d5c236ec94c8334b34f77527e6e1efac00552f9f664af98"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createResponseExecutionRuntime.processRun (cyclomatic 20): runtime.createResponseExecutionRuntime.processRun has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b5f0a896a247d6e3cc42d94053a2dd7cff7c78ed1a73c666f88e82a960bd8d"}},{"ruleId":"D1","level":"warning","message":{"text":"email.createEmailChangeService.requestEmailChange (cyclomatic 20): email.createEmailChangeService.requestEmailChange 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":"packages/api/src/auth/email.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bda10d47672eb1506ac007fdbefb4607a56e72084d1e34c70fbf616bc52f83"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createPasskeyHandlers.authenticatePasskey (cyclomatic 20): handlers.createPasskeyHandlers.authenticatePasskey 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":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e95953f465911e5f789349bff35e222e201ed47f2326873187f9193ff51254"}},{"ruleId":"D1","level":"warning","message":{"text":"identity.createChannelIdentityService.updateReply (cyclomatic 20): identity.createChannelIdentityService.updateReply 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":"packages/api/src/channels/identity.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca87b83a3925c105a84c9da6aec8dfbc37298517f1d19f0373c39946be1a9430"}},{"ruleId":"D1","level":"warning","message":{"text":"feedbackHost.createChannelFeedbackHost (cyclomatic 20): feedbackHost.createChannelFeedbackHost 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 6 function items inside it that branch (matchesSource, a function literal at line 83, authorizedPolicy, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedbackHost.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f4804a7f0578f8f288b87635c9d8bf694c07f027f5f82a16ccc2d89e15d8a4"}},{"ruleId":"D1","level":"warning","message":{"text":"attachments.primeAgentAttachments (cyclomatic 20): attachments.primeAgentAttachments 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":"packages/api/src/code/attachments.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1ad8113cb9c54d8dd8b1856d48c692dae7a9b6e79b4b954aad8cc6eb0fe836"}},{"ruleId":"D1","level":"warning","message":{"text":"credentials.bootstrapCredentials (cyclomatic 20): credentials.bootstrapCredentials 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":"packages/api/src/credentials.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac24754c4b0741b7790ff8fb3114b4168e3f57d8c6b5484e04aa322aba100975"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.parseStored (cyclomatic 20): oauth.parseStored has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10f441954acde6e628b82bd3c8a9d5e15b4c3b77a08633ce88466578a898fc8"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTokenStorage.adoptRotatedTokens (cyclomatic 20): MCPTokenStorage.adoptRotatedTokens has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6aa122e76c4a278e9150db5ba1d6538da611051d19180203d1fe3879a9d735"}},{"ruleId":"D1","level":"warning","message":{"text":"previews.previewToolCall (cyclomatic 20): previews.previewToolCall 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":"packages/api/src/messages/previews.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52fe000b80b36fb65ce90ecac2c4b093d3c0ba0173834cfd1f32e19eb4e713b"}},{"ruleId":"D1","level":"warning","message":{"text":"bearer.createScheduledMCPBearerHeaderResolver (cyclomatic 20): bearer.createScheduledMCPBearerHeaderResolver has cyclomatic complexity 20 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 10 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7e98254827a3ac1b38cb733828ee845049a0dfcd27ce555dc3ce9aafef2c74"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.assertSkillFileContentAllowed (cyclomatic 20): protection.assertSkillFileContentAllowed 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":"packages/api/src/skills/protection.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0d2759bc2865cf611b214f05f0b725d8bdeccf2066702f8ac452f54532545e"}},{"ruleId":"D1","level":"warning","message":{"text":"github.syncSource::syncPreparedSkill (cyclomatic 20): github.syncSource::syncPreparedSkill has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (github.syncSource) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5d9fa88ce4826b8d8572df2d6cd01c5e71634cc11e50d2dd1c8d3ce2288474"}},{"ruleId":"D1","level":"warning","message":{"text":"classification.buildToolClassification (cyclomatic 20): classification.buildToolClassification 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":"packages/api/src/tools/classification.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"137ec12eb5904faa49de03c9151e92b0b68b9f3eda1f99ed53b096e1698a7354"}},{"ruleId":"D1","level":"warning","message":{"text":"conformance.helper.verifyAuthorizationFixture (cyclomatic 20): conformance.helper.verifyAuthorizationFixture 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":"packages/api/src/schedules/authorization/conformance.helper.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84b548267d4df2c5464b28359f0f16213ab121c8cad165424a886da01858dac"}},{"ruleId":"D1","level":"warning","message":{"text":"socket.connectSocket (cyclomatic 20): socket.connectSocket has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 219, a function literal at line 175, a function literal at line 200, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8181acf228a3d454271ad0c3b1a4ee5614cf4d735eaca41dc9e80ec5810bbe"}},{"ruleId":"D1","level":"warning","message":{"text":"placement.mergeResumeMessages (cyclomatic 20): placement.mergeResumeMessages 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":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50df65d12e75563df20182d8095a1a6dbca9625ca98b6022d2a47baaf413997"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.apply (cyclomatic 20): Chat.apply 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"638ed7c161706e2d80a3b3d949ba0fbf166ffa02faa03d22c9fe9abf59d13fd3"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.settle (cyclomatic 20): Chat.settle 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e43e8eb8f5fbc4e848cdfa033dd83bb9ff75c1cf3652b4378a3044ae656387e"}},{"ruleId":"D1","level":"warning","message":{"text":"Summary.Summary (cyclomatic 20): Summary.Summary has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 244, 257, 217, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/Summary.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd4a35ae3a5c0e2904d2aeea2258b736065ca27d95cc038161eda6e7613ecf9"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.useQueuedRecovery (cyclomatic 20): recovery.useQueuedRecovery 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 3 function literals inside it that branch (lines 46, 156, 136). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/recovery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"364623ccb5b1d836e1befae6e6facd00bb6931bc6f93dad6802c546e194d63a1"}},{"ruleId":"D1","level":"warning","message":{"text":"SteerPart.SteerPart (cyclomatic 20): SteerPart.SteerPart has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/SteerPart.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e2ebea55d833297dcae25405cbf8bcfe1b9c43b28ad4072a47ce0a8ac450d5"}},{"ruleId":"D1","level":"warning","message":{"text":"announcements.useResumeAnnouncements (cyclomatic 20): announcements.useResumeAnnouncements has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 80, 154). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/announcements.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"951799eb544779ff7d983ff859b718398638bceec0bf24500df68c7ec2155ac7"}},{"ruleId":"D1","level":"warning","message":{"text":"abort.useAbortHandlers.abortConversation (cyclomatic 20): abort.useAbortHandlers.abortConversation 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":"packages/chat/src/react/stream/events/abort.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a761c4612775528e897ebcee4d08168c3ba72278c8636634ed383fdb91e59866"}},{"ruleId":"D1","level":"warning","message":{"text":"Avatar.Avatar (cyclomatic 20): Avatar.Avatar has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 33, 37, 28). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Avatar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a95d7ee07a24a42e22480c15808c1f6084bbaafe5ea50cfa8640b101190250"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestExecutor.execute (cyclomatic 20): RequestExecutor.execute has cyclomatic complexity 20 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef50d27c8c3514342f1b52f3e551a66c6b89d949faac182903e9967c8a7909c"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.mapModelToAzureConfig (cyclomatic 20): azure.mapModelToAzureConfig 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":"packages/data-provider/src/azure.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfd5ee6df4f67b30bb0d8455a3f7718fa1e7f291783e84568ba9acf1631028e"}},{"ruleId":"D1","level":"warning","message":{"text":"parameterSettings.resolveReasoningSettingForTarget (cyclomatic 20): parameterSettings.resolveReasoningSettingForTarget has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"f239edb89631de31bb736349f0c84f1358c3c70cc606ad343c2cb350067d9cf8"}},{"ruleId":"D1","level":"warning","message":{"text":"object-traverse.isObject (cyclomatic 20): object-traverse.isObject 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":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94f0453e700260e35d77e3d74c4d96ab1a15ae0cbd693279f409cbd8e486a61"}},{"ruleId":"D1","level":"warning","message":{"text":"message.retainSubagentControlReceipts (cyclomatic 20): message.retainSubagentControlReceipts has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b073d2194cfca7a994071499840c8dcc92caf5a7b11e308705e478972d460c09"}},{"ruleId":"D1","level":"warning","message":{"text":"channelRun.createChannelRunStorage.responseBinding (cyclomatic 20): channelRun.createChannelRunStorage.responseBinding has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d3314b71b15fbf2b7ab6960843c9c1f601b8eef60c9361b511f1f5a12e386b"}},{"ruleId":"D1","level":"warning","message":{"text":"userGroup.createUserGroupMethods.getMemberGroupIds (cyclomatic 20): userGroup.createUserGroupMethods.getMemberGroupIds has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 279). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f651433b955090bed02c6a2d95c61e59c94237f6f349ba46330630d42faeae16"}},{"ruleId":"D1","level":"warning","message":{"text":"auditLog.buildFilter (cyclomatic 20): auditLog.buildFilter 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":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c767e9dc38850d51291d55ab5973b031c177ef83c942c99a1e6dd36f0ef6c3f"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.enqueueAgentQueuedTurn (cyclomatic 20): queuedTurn.createAgentQueuedTurnMethods.enqueueAgentQueuedTurn has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 1206). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5107b128d5b43b28dedb6cf37a0859e29034acc0d9d98d49d2a027789515ae09"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.getEffectiveAgentQueuedTurnPredecessor (cyclomatic 20): queuedTurn.createAgentQueuedTurnMethods.getEffectiveAgentQueuedTurnPredecessor has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"a406cf47781c778ab1ba9f4eb010f76c3e2ff8ffcee5c114c03de3c897576e99"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.settleAgentEventActorReceipt (cyclomatic 20): triggerDelivery.createAgentTriggerDeliveryMethods.settleAgentEventActorReceipt has cyclomatic complexity 20 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bc5cc01a32a9fa8ddea82feb11e0c52cdedba2d2946287beb08ddc9423a48c"}},{"ruleId":"D1","level":"warning","message":{"text":"insights.createInsightsMethods.getInsights (cyclomatic 20): insights.createInsightsMethods.getInsights 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"605cafc5304934df2521aa3ffbbc2f53f359a8d5451c513a649cd9d453c431a6"}},{"ruleId":"D1","level":"warning","message":{"text":"generateActivityLabelViaRun (cyclomatic 20): generateActivityLabelViaRun has cyclomatic complexity 20 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b06bba11e251b89ad6d98cb6edf50839027af5c646863e8b9080857513e826"}},{"ruleId":"D1","level":"warning","message":{"text":"getEventActorContext (cyclomatic 20): getEventActorContext 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":"api/server/controllers/agents/client.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aa080e276e7838d5d1d214e51062385cd6ce7944554ec7ec80976ae7a9428d"}},{"ruleId":"D1","level":"warning","message":{"text":"blockFilteredActionContent (cyclomatic 20): blockFilteredActionContent has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 9 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 131, 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ad873bb10c2e0123121bc68c09538bae334cfdd50a1e62331148a42c93b66b"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 20): (anonymous) 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":"api/server/routes/memories.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"57420181cfcedb0aa64852eaec0bb65097d85003164cc0423dc110150cb209df"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiImageGen.createGeminiImageTool.geminiImageGenTool (cyclomatic 19): GeminiImageGen.createGeminiImageTool.geminiImageGenTool 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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e50a8f945cfcc9ca9ab33d690ae973b460bdd45ac1f531290fa93bda79fbdad"}},{"ruleId":"D1","level":"warning","message":{"text":"v1.blockFilteredAgentContent (cyclomatic 19): v1.blockFilteredAgentContent has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3995b4d519bff8ddfc70f1e31b571e6219968a6d54faf9ac2c7f805f613851e"}},{"ruleId":"D1","level":"warning","message":{"text":"images.router.post(\u0022/\u0022) (cyclomatic 19): images.router.post(\u0022/\u0022) has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/images.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0805ca3ddbaecd3aa804200d60724eefb4ef4f4a910d8f70c9f371063a8cac"}},{"ruleId":"D1","level":"warning","message":{"text":"fork.getMessagesUpToTargetLevel (cyclomatic 19): fork.getMessagesUpToTargetLevel 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":"api/server/utils/import/fork.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7ff86cda726b844e693626f9da64827ab2cd9e71e670e7d046990c9042e091"}},{"ruleId":"D1","level":"warning","message":{"text":"useToolToggle.useToolToggle (cyclomatic 19): useToolToggle.useToolToggle has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 128, 114, 51, \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":"client/src/hooks/Plugins/useToolToggle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5b5ebb9bbb7371f13edc61ccf1107fcad83450644d93389678ec760d357050"}},{"ruleId":"D1","level":"warning","message":{"text":"SocialLoginRender.SocialLoginRender (cyclomatic 19): SocialLoginRender.SocialLoginRender 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":"client/src/components/Auth/SocialLoginRender.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"657df1c003ac4cbf4d224615ed27e0021b05fee35bb2e850a8e0ca6e4d9674d2"}},{"ruleId":"D1","level":"warning","message":{"text":"LoginForm.LoginForm (cyclomatic 19): LoginForm.LoginForm has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a4064a3705e4cc2121b274a1c6abc5747b1fc9d101592d148a1bdb0c4b0c96"}},{"ruleId":"D1","level":"warning","message":{"text":"Registration.Registration (cyclomatic 19): Registration.Registration has cyclomatic complexity 19 (threshold 15). Of this number, 15 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":"client/src/components/Auth/Registration.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"99723d019e55daba2347b445a7e64b3c63e18bee3e9012930a94b14a2c72437e"}},{"ruleId":"D1","level":"warning","message":{"text":"PromptsCommand.PromptsCommand (cyclomatic 19): PromptsCommand.PromptsCommand 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 3 function literals inside it that branch (lines 88, 156, 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":"client/src/components/Chat/Input/PromptsCommand.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e90605814e7bd57dde7f99e319896a63234820ecac6a01777f157f1eb909a2"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillsCommand.SkillsCommandContent (cyclomatic 19): SkillsCommand.SkillsCommandContent has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 104, 142, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/SkillsCommand.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dcc4ca80dbafcfce5c8226713bbb6bee7c7401c4dd3be41713abd223a573f9"}},{"ruleId":"D1","level":"warning","message":{"text":"Files.FileGrid (cyclomatic 19): Files.FileGrid has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 268, a function literal at line 228, a function literal at line 262, \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":"client/src/components/Chat/Input/Composer/Files.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b8788ffc0824dab7b565d790b614e818fcb9da55ad1e017c84076dc0e1fbf7"}},{"ruleId":"D1","level":"warning","message":{"text":"Attachment.AttachmentGroup (cyclomatic 19): Attachment.AttachmentGroup has cyclomatic complexity 19 (threshold 15). 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d719a0bfb505baff24ffac4f4678412100816aa9c339d30a72a7e1e065fd61a"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillCall.SkillCall (cyclomatic 19): SkillCall.SkillCall 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":"client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4a9eea2d5a9c36013cc0264f01067059524580e5f5ac989ef8695540055214"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentHandoff.AgentHandoff (cyclomatic 19): AgentHandoff.AgentHandoff has cyclomatic complexity 19 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56a18ffaaeb8aa37c453cc5644af9fea9d99dae90e2aab2e50faa0a8a74fe42"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpServerUtils.shouldShowActionButton (cyclomatic 19): mcpServerUtils.shouldShowActionButton 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":"client/src/components/MCP/mcpServerUtils.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"64850603ff01ec2ffef6e63d405ec9907981b6a10fed654248e588f1973448af"}},{"ruleId":"D1","level":"warning","message":{"text":"SharedLinks.SharedLinks (cyclomatic 19): SharedLinks.SharedLinks has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 98, 137, 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":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b03f3b938b0650c980a3909170f75f6109f384b6b21f37cbc7ae424067b4189"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentConfig.AgentConfig (cyclomatic 19): AgentConfig.AgentConfig has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 202, 235, 93). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentConfig.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c536ad0983f1d1d5ef33a64309c74df802504861a668cf0adc9cb9453e9ea95"}},{"ruleId":"D1","level":"warning","message":{"text":"Panel.Parameters (cyclomatic 19): Panel.Parameters has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 102, 53, 93, \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":"client/src/components/SidePanel/Parameters/Panel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c731e6d2e6c032fdc5afeea2ae63a1edb0f229053880d7f06b3c735315dcb4"}},{"ruleId":"D1","level":"warning","message":{"text":"SkillTextEditor.SkillTextEditor (cyclomatic 19): SkillTextEditor.SkillTextEditor has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 3 function items inside it that branch (save, a function literal at line 82, a function literal at line 50). 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":"client/src/components/Skills/display/SkillTextEditor.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"4853a819239394054e7a575a72d308e32fa096fb8f7f09e240b3b0a8d6910fe0"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.processTree (cyclomatic 19): plugin.processTree has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 100). 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":"client/src/components/Web/plugin.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc99fcdf95299195f96e14f068193f44389265d91e096f676af9ea322b7b80e5"}},{"ruleId":"D1","level":"warning","message":{"text":"mutations.useDeleteFilesMutation (cyclomatic 19): mutations.useDeleteFilesMutation 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 3 function literals inside it that branch (lines 207, 195, 238). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b5db7f2ff8f38d4fbc7609a42b7d3209c7406588bba3a3467516504329cce0"}},{"ruleId":"D1","level":"warning","message":{"text":"useAskAnswerMode.useAskAnswerMode.handleComposerKeyDown (cyclomatic 19): useAskAnswerMode.useAskAnswerMode.handleComposerKeyDown 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":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f56cde932ddf23f7b2ae541c3cf5ef13b017a27c1829b10ce81c6c7b4bea2f"}},{"ruleId":"D1","level":"warning","message":{"text":"bootstrap.installRumBootstrap (cyclomatic 19): bootstrap.installRumBootstrap has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 8 function items inside it that branch (enqueueRumEvent, persistRumQueue, a function literal at line 130, \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":"client/src/lib/rum/bootstrap.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ab391162d4313fe8a637462f1f8f077a89571eafc904d426d8ee4c8ef27b2d"}},{"ruleId":"D1","level":"warning","message":{"text":"artifacts.getArtifactDownloadFilename (cyclomatic 19): artifacts.getArtifactDownloadFilename 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":"client/src/utils/artifacts.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5101a4478c9c4e15fbc15d48de1764b50b743c5e5741abeff0cc479bf66728"}},{"ruleId":"D1","level":"warning","message":{"text":"files.isProviderAttachType (cyclomatic 19): files.isProviderAttachType 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":"client/src/utils/files.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b66d70201b3d7a5d0c7c956ca461f18e26338979f294c2bd938d799b27b2c3"}},{"ruleId":"D1","level":"warning","message":{"text":"drafts.registerComposerDraft (cyclomatic 19): drafts.registerComposerDraft 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":"client/src/utils/drafts.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61b3127916fdb56ed94a54d1ada223c632ded3f47b9405199a35dd068b32036"}},{"ruleId":"D1","level":"warning","message":{"text":"pattern.readCustomPattern (cyclomatic 19): pattern.readCustomPattern 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":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee20356f50a9d732b2179f8009beeed9ab5baaa7b7e5315c68e46342b7884fc"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.preserveConfigSecrets (cyclomatic 19): secrets.preserveConfigSecrets 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbc39f759927ddc50caeb50889d2a506a44ff67a5101f2426744bb712ef4caf"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.drainSteers (cyclomatic 19): InMemoryJobStore.drainSteers 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6cf6cba063000edce257d849eb91db75ef9bf98f3e9dff98853e68d11c8a8a"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.isValidParkedSteer (cyclomatic 19): InMemoryJobStore.isValidParkedSteer 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3ed966529f82cc1ca53728e5c7ad3413cd4837c329577752d202b7571dda16"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.continueEarlyEventBootstrap (cyclomatic 19): GenerationJobManagerClass.continueEarlyEventBootstrap 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 one function literal inside it that branches (line 6158). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b151aea66ff6c7db273fdf7acb7a63a7a49547f49d09049de9376ec657adfe52"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.finishFencedRuntimeRetirement (cyclomatic 19): GenerationJobManagerClass.finishFencedRuntimeRetirement 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45b5f140093dc9e78f41009199b9b15ffcd4d03dd85447974db7435a4307871"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityRecorder.record (cyclomatic 19): ActivityRecorder.record 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":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc83c857bf27361ee0deff99e5d4062868788b08f5d8f74b44a2804c89d1442d"}},{"ruleId":"D1","level":"warning","message":{"text":"background.serializeSubagentSnapshot (cyclomatic 19): background.serializeSubagentSnapshot 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":"packages/api/src/agents/background.ts"},"region":{"startLine":2372}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b14e5a845a962011f3d891bb253091b26b182a9c7f5529560f2f24ea43aa21"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.injectSkillCatalog (cyclomatic 19): skills.injectSkillCatalog 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ecf90bd62318f7f846101671f3d8ca8f561664cb399f94cf76c5b2403ffc8c"}},{"ruleId":"D1","level":"warning","message":{"text":"provenance.getUserSubmittedMessageFieldPathState (cyclomatic 19): provenance.getUserSubmittedMessageFieldPathState 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":"packages/api/src/protection/provenance.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fe4a79b1127f19c93b00d3f1d68db094f0178b2899fc43f2e95d757f0d448f"}},{"ruleId":"D1","level":"warning","message":{"text":"run.resolveSummarizationProvider (cyclomatic 19): run.resolveSummarizationProvider 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":"packages/api/src/agents/run.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd89411f9015255731b317b159316c229a22bcb7bfc61097208c3e6bc86a9b"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.handleWorkspaceFileRead (cyclomatic 19): handlers.handleWorkspaceFileRead 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"67b5da312f2179882d64792c8ac28bcb9c8888300d06ed233c1bead43305e683"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.loadSkillFileTextForAuthoring (cyclomatic 19): handlers.loadSkillFileTextForAuthoring 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"224af0b51f55b6fb72bb5591f440f5df5c2bf718b97c317b02dfb7ac08c4feae"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.controlResultFromReceipt (cyclomatic 19): SubagentThreadTaskStore.controlResultFromReceipt 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"c090356b2beab7099a39820f11e36ca73726117687b3d25e0ce33cd3b324a757"}},{"ruleId":"D1","level":"warning","message":{"text":"segments.combineResponseSegments (cyclomatic 19): segments.combineResponseSegments 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":"packages/api/src/agents/responses/segments.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e3d98fe0767522429740c325f30e41c7592ee9e2832e4d40dc80263f385a86"}},{"ruleId":"D1","level":"warning","message":{"text":"request.handleSteerArmInternal (cyclomatic 19): request.handleSteerArmInternal has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb839ab11681359ebfb09c52d060866b415848e0a1643ae5141ba6148a4fa666"}},{"ruleId":"D1","level":"warning","message":{"text":"host.generateReasoningLabelRevision (cyclomatic 19): host.generateReasoningLabelRevision has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/host.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe3cc95bff1f2d9631bb77595b241325eb4fd0a032b1fbc053b265f2dfe5dc0"}},{"ruleId":"D1","level":"warning","message":{"text":"domain.isDomainAllowedCore (cyclomatic 19): domain.isDomainAllowedCore 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":"packages/api/src/auth/domain.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"180ff8567175547b09f285401e5cf4a6bf83ab4bd6ca04260fc43583f3545503"}},{"ruleId":"D1","level":"warning","message":{"text":"openid.findOpenIDUser (cyclomatic 19): openid.findOpenIDUser has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bc484100c5122dc17bb36b86be8e1bef33650312d36abaedd81089fa8baca5"}},{"ruleId":"D1","level":"warning","message":{"text":"identity.createChannelIdentityService.issue (cyclomatic 19): identity.createChannelIdentityService.issue 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":"packages/api/src/channels/identity.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"31045bf49fe3fabea24e0aa09a0fa8e0406b33af784273897e30d171ca9c92ef"}},{"ruleId":"D1","level":"warning","message":{"text":"credentials.createChannelResponseCredentials.authorizeRequest (cyclomatic 19): credentials.createChannelResponseCredentials.authorizeRequest 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":"packages/api/src/channels/credentials.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5ca0731ac7c54ccf579893dc141b3e6a262c2afe911cccb560b36237197064"}},{"ruleId":"D1","level":"warning","message":{"text":"slackDispatch.createSlackDispatchHandlers.resolve (cyclomatic 19): slackDispatch.createSlackDispatchHandlers.resolve has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 172). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/slackDispatch.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ea958d0801feb75a90265d902955b792262fcf95b34b61419ba07dd0edf495"}},{"ruleId":"D1","level":"warning","message":{"text":"rename.createRenameConversationHandler.\u003Creturned closure\u003E (cyclomatic 19): rename.createRenameConversationHandler.\u003Creturned closure\u003E 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":"packages/api/src/conversations/rename.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"62509599be786de581713849c5aedb7a576bc90743a3887ae37c04bb6b6914b4"}},{"ruleId":"D1","level":"warning","message":{"text":"image.readWindowedSandboxImage (cyclomatic 19): image.readWindowedSandboxImage 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":"packages/api/src/files/code/image.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c10ab1cfcae90e061725b8679ae68124530f87b7e0955cd9ebc17e566b606dd"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createProvisionService.checkSessionsAlive (cyclomatic 19): service.createProvisionService.checkSessionsAlive has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1fa581e3d1ffd44018c79ae971096449493ddfa3170bc5835e9bc860a2df46f"}},{"ruleId":"D1","level":"warning","message":{"text":"mime.sniffImageMimeType (cyclomatic 19): mime.sniffImageMimeType 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":"packages/api/src/files/mime.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3716380971aea74201f100e6ca4520fe0ebdee424da3d1f8fd4ba21f45d657ba"}},{"ruleId":"D1","level":"warning","message":{"text":"FlowStateManager.acquireLease (cyclomatic 19): FlowStateManager.acquireLease has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d463f3757aa4e471d34b6632249e0576e88251df668018553cf5b43b68e631eb"}},{"ruleId":"D1","level":"warning","message":{"text":"zod.dropSchemaFields (cyclomatic 19): zod.dropSchemaFields 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"96280f2269eb905031c1b6a6d3b194f4dcb9bb2e866b5cff6e73ddd9bddfb620"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.decodeEncodedText (cyclomatic 19): protection.decodeEncodedText 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"53831df9078229cc7943fa21aff9f85612b8ee6041b4f08530717aca88634398"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createMemoryManagementHandlers.updateById (cyclomatic 19): handlers.createMemoryManagementHandlers.updateById 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":"packages/api/src/memory/handlers.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"5097cfa2d930879d94cb63d35559ab2bfb796a97c7ce4e83f9e2c7633fb13c09"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.isScheduleLive (cyclomatic 19): service.createSchedulesService.isScheduleLive 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a841e05dd19259b772493b83b51d35d6499ee8aa4d8d647b41239cea47cbbc"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createSchedulesService.claimScheduleResume (cyclomatic 19): service.createSchedulesService.claimScheduleResume has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1881, 1912). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"73125053fc42456d5c6935f0d37a5c41dd93b48aee19a26c00c7afdf143d8b2b"}},{"ruleId":"D1","level":"warning","message":{"text":"github.syncSkillFiles (cyclomatic 19): github.syncSkillFiles has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3708a8d9dfea3fa69d41ed7f788200dad9a637f651710b313d8680b1599c51b"}},{"ruleId":"D1","level":"warning","message":{"text":"deletionService.createSkillDeletionService.deleteWithClaim (cyclomatic 19): deletionService.createSkillDeletionService.deleteWithClaim has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5154159d70083a30d124de6e05e183b696f21b19693c260a1dd1e6275ec897e4"}},{"ruleId":"D1","level":"warning","message":{"text":"crud.parseS3KeyParts (cyclomatic 19): crud.parseS3KeyParts 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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a96ecd31c5719288aceeffd73c6a9eb8921fe3bacdb642afbb94656a0ab408"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelClient.response (cyclomatic 19): ChannelClient.response 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":"packages/channel-gateway/src/client.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb3b376ebca9d30fec132ff52be1ec18d42fba5c40b72a7ff5700627992e838"}},{"ruleId":"D1","level":"warning","message":{"text":"frames.handleFinal (cyclomatic 19): frames.handleFinal has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cd1270dc2b5933ff34d2ba3583b7c87d21e821554804bae5a8de34420c68a7"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.endStopped (cyclomatic 19): Chat.endStopped has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"a876ff4e80ba7a23152dee147aefae6311f3849fc8ada7f352df334d9a592499"}},{"ruleId":"D1","level":"warning","message":{"text":"content.preserveStreamedContentIdentity (cyclomatic 19): content.preserveStreamedContentIdentity 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":"packages/chat/src/core/content.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ca725141e5afba9bca1f998eb59a6e191dc7fb4910d54a287c3d9e1e93362c"}},{"ruleId":"D1","level":"warning","message":{"text":"handle.parseSubagentBackgroundHandle (cyclomatic 19): handle.parseSubagentBackgroundHandle 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":"packages/chat/src/core/parts/handle.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"76657d4cb18efc2e69f68aea28003b7e618f9014e9eb857d11aebfd7fc06cc85"}},{"ruleId":"D1","level":"warning","message":{"text":"approval.buildApprovalPreview (cyclomatic 19): approval.buildApprovalPreview 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":"packages/chat/src/core/parts/approval.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8fa4c76565eb05cd18abbbf6759e7b5bfe7d02d90cedf662a1c888f47e8bfa"}},{"ruleId":"D1","level":"warning","message":{"text":"questions.parseAskUserQuestionsArgs (cyclomatic 19): questions.parseAskUserQuestionsArgs 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":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e861d57bd561482e5589d328600cb633281721f2978caff52285a3e54f2b2e18"}},{"ruleId":"D1","level":"warning","message":{"text":"routing.resolveReachableCodeWorkspaceInheritance (cyclomatic 19): routing.resolveReachableCodeWorkspaceInheritance has cyclomatic complexity 19 (threshold 15). Of this number, 14 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":"packages/chat/src/core/code/routing.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"440a0277a066d6be6f1dd21a69034b87e3e20ac3f3b9a5e12b0f4e4f14870aab"}},{"ruleId":"D1","level":"warning","message":{"text":"Queue.Queue (cyclomatic 19): Queue.Queue has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a33eb8293f576bb2225e08d9932b54d4daccba726a4673e1ea386951482ea5d"}},{"ruleId":"D1","level":"warning","message":{"text":"parents.ParentSubagentsProvider (cyclomatic 19): parents.ParentSubagentsProvider has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 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":"packages/chat/src/react/subagents/parents.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c75c2533daa6f4738f994cf158a9cc1d240cde4392c25804a992f87201b761"}},{"ruleId":"D1","level":"warning","message":{"text":"rail.traceTo (cyclomatic 19): rail.traceTo has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f92396a932f6af7898d628d67803d8b117da789d3d396a9c492bdbaafd34271"}},{"ruleId":"D1","level":"warning","message":{"text":"Reasoning.ReasoningControl (cyclomatic 19): Reasoning.ReasoningControl has cyclomatic complexity 19 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Reasoning.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a191445c96d4aaf94216157b680d7ea31f9fcb150fea15761883a06581788d3"}},{"ruleId":"D1","level":"warning","message":{"text":"receipt.visitPhaseStamps (cyclomatic 19): receipt.visitPhaseStamps has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/receipt.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"38105ee6c6e2ec3e221c1c93edc244beddcd0c89096decab5a0e5f4e8939b884"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.recoverTaskContent (cyclomatic 19): recovery.recoverTaskContent has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ccf4e1d9b5418e4eb377fc3520c6b48b3bfda3b66676610fe2765523ecd3159"}},{"ruleId":"D1","level":"warning","message":{"text":"theme.collectModeIssues (cyclomatic 19): theme.collectModeIssues has cyclomatic complexity 19 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/theme.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"158088175e6031af5cced7294cdcb66e7f265eff752048af9d1ff5e15b2e1fb7"}},{"ruleId":"D1","level":"warning","message":{"text":"react-query-service.invalidateUserKey (cyclomatic 19): react-query-service.invalidateUserKey has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (credentialsReady, a function literal at line 139). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/react-query/react-query-service.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"513ba7ad9d9f80beb385d0310e534e9c8209bea9b40c986405f141d9819d5a1a"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.getConfigOverrideIssues (cyclomatic 19): resolution.getConfigOverrideIssues has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"16f4332251888c747db4387fa058b299e11e272bb8eab78ecc9e349c9b21dfad"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.withHiddenAzureGroups (cyclomatic 19): resolution.withHiddenAzureGroups 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e8fca1b8cba5c06a75559f2f2a32767de3bcf7711c0575db6be94368b51a66"}},{"ruleId":"D1","level":"warning","message":{"text":"conformance.describeConfigStoreConformance (cyclomatic 19): conformance.describeConfigStoreConformance 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 13 function literals inside it that branch (lines 817, 839, 864, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"3596d284c657dc9101d11dd8c3bd76e82a90ce013ba18a842f10dfaf81e5f0f7"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.parseBackgroundToolResults (cyclomatic 19): message.createMessageMethods.parseBackgroundToolResults 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"9847a671a152cee9e425a8b68164e8caa1d52b532481fa59edb8b935d87e7ec4"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.getMessagesForSubagentThreadView (cyclomatic 19): message.createMessageMethods.getMessagesForSubagentThreadView has cyclomatic complexity 19 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec27e365a9f462eeb6476d2a38f6403cc9d4195074ef5458426ade74d01b32a2"}},{"ruleId":"D1","level":"warning","message":{"text":"response.createResponseStorage.stageTerminal (cyclomatic 19): response.createResponseStorage.stageTerminal has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 445). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c81a76bbb60c96ec9775a452d667ad265fb2cd2cf8c5fdff6d7eb3ef456c83"}},{"ruleId":"D1","level":"warning","message":{"text":"skill.validateSkillFrontmatter (cyclomatic 19): skill.validateSkillFrontmatter 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ace4a71e2d18e22435b0fa15f536a9175c240a5f46cccd99b26e3b3eb3f8b97"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.releaseAgentBackgroundToolResultClaims (cyclomatic 19): triggerDelivery.createAgentTriggerDeliveryMethods.releaseAgentBackgroundToolResultClaims has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"47405db5680c8d8b4faf3108130f20bcb6434fd74e53fda953224d7ebad22317"}},{"ruleId":"D1","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.deadLetterAgentTriggerDelivery (cyclomatic 19): triggerDelivery.createAgentTriggerDeliveryMethods.deadLetterAgentTriggerDelivery has cyclomatic complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4475}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5ebb7f48708ff0e7ca9c1013b69b819c3a94b4850c4485f6346470f0c64566"}},{"ruleId":"D1","level":"warning","message":{"text":"ResumableAgentController::persistDisconnectSnapshot (cyclomatic 19): ResumableAgentController::persistDisconnectSnapshot 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":"api/server/controllers/agents/request.js"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"8907e71f36635ed3cda439837084d73e7837d4eb3386f6861c9e2a2b54777057"}},{"ruleId":"D1","level":"warning","message":{"text":"createAgentHandler (cyclomatic 19): createAgentHandler has cyclomatic complexity 19 (threshold 15). 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, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"866254a5873e87ec8e8c051e43190b4714699807c9cccfa5e96f3b3f71fb4882"}},{"ruleId":"D1","level":"warning","message":{"text":"filterFile (cyclomatic 19): filterFile 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":"api/server/services/Files/process.js"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e68f5d44a2f2b40e3f021f66e2fb66bde8f21299c0d465899290c58de83b458"}},{"ruleId":"D1","level":"warning","message":{"text":"callTool (cyclomatic 19): callTool 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":"api/server/controllers/tools.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8db38ae24107bdb8201dcbe144fbcd858073a849845c3be7cb8d13e9148e444"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 19): (anonymous) has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"api/server/routes/files/images.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b2f598371e6f9f404c8c85a216abf17928b08960619ee39edea01a779bb636"}},{"ruleId":"D1","level":"warning","message":{"text":"GeminiImageGen.convertImagesToInlineData (cyclomatic 18): GeminiImageGen.convertImagesToInlineData 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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"715aa6b82a422be6d283332e1eb3b9cb808faf02a652bc1c871a6e9c014b273b"}},{"ruleId":"D1","level":"warning","message":{"text":"process.retrieveAndProcessFile (cyclomatic 18): process.retrieveAndProcessFile 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":"api/server/services/Files/process.js"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd74fea6ffd19590f58365191a5552695a04aad5732ad5bb55d57834dbc7bf4"}},{"ruleId":"D1","level":"warning","message":{"text":"requireJwtAuth.requireJwtAuth (cyclomatic 18): requireJwtAuth.requireJwtAuth 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 4 function items inside it that branch (a function literal at line 179, logAuthenticationFailure, logFallbackSuccess, \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":"api/server/middleware/requireJwtAuth.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e39b3ac32fd87266d19c37de9006d2abba0745877b0406d6f5ff35dc8b48a7"}},{"ruleId":"D1","level":"warning","message":{"text":"files.router.get(\u0022/code/download/:session_id/:fileId\u0022) (cyclomatic 18): files.router.get(\u0022/code/download/:session_id/:fileId\u0022) 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":"api/server/routes/files/files.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ad5a1a84d6411bd2f9f527382c124ec91c17a3cf7bbfbae3a69248058dd2b0"}},{"ruleId":"D1","level":"warning","message":{"text":"files.handleFileUpload (cyclomatic 18): files.handleFileUpload has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a07ed71e00fe7f584e17c60fd8738183a4d839001e290e2f76d5ce856cd13cf"}},{"ruleId":"D1","level":"warning","message":{"text":"StreamRunManager.createToolCallStream::deltaHandler (cyclomatic 18): StreamRunManager.createToolCallStream::deltaHandler 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":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"96926803ff30a96b69e7ae106ae6be8c53fc30a8666315c25f779633337187d1"}},{"ruleId":"D1","level":"warning","message":{"text":"useUnseenBadge.useUnseenBadge (cyclomatic 18): useUnseenBadge.useUnseenBadge has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 84, 106, 138, \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":"client/src/hooks/Conversations/useUnseenBadge.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e186fe38675f9a186d063dab82ad1c5a077437b026f1ac230f424f974146f247"}},{"ruleId":"D1","level":"warning","message":{"text":"useQueryParams.useQueryParams.processSubmission (cyclomatic 18): useQueryParams.useQueryParams.processSubmission has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec05607f4cbd5fd53cdafa04a4793a4bb476a9cc09bccdb4ac88fb43148a3ebb"}},{"ruleId":"D1","level":"warning","message":{"text":"useHandleKeyUp.useHandleKeyUp (cyclomatic 18): useHandleKeyUp.useHandleKeyUp has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 118, 100, 109, \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":"client/src/hooks/Input/useHandleKeyUp.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"500360dbc8bc57663dbf08975f9fcdb4c3ecf9329f163b06ec9a92a8eefadedc"}},{"ruleId":"D1","level":"warning","message":{"text":"CopyLink.CopyLink (cyclomatic 18): CopyLink.CopyLink has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 3 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/CopyLink.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e323d20b8e848acfd6406b8345e0b98fe8e3bc298016e7419b1b8e04146ce09"}},{"ruleId":"D1","level":"warning","message":{"text":"useTasks.useBackgroundTasks (cyclomatic 18): useTasks.useBackgroundTasks has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 109, 107, 136, \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":"client/src/components/Chat/BackgroundTasks/useTasks.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3c60857a3bda115efceed84bca5721a40b81d0c72d08a255d0e1be0cbea8ce"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalContext.useResumeSubmit.submitAskAnswer (cyclomatic 18): ApprovalContext.useResumeSubmit.submitAskAnswer has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"275503d4ff338f40ee8dc6971d3f9b8f589fa32f8d3a3c309bf6f6b735508cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"index.TokenUsageIndicator (cyclomatic 18): index.TokenUsageIndicator has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/TokenUsage/index.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91233310e5473ea1173536558f86309019c7464a6a98986f6868743d70104f0"}},{"ruleId":"D1","level":"warning","message":{"text":"EditPresetDialog.EditPresetDialog (cyclomatic 18): EditPresetDialog.EditPresetDialog has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 70, a function literal at line 103, handleOpenChange). 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":"client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537b90422aeb73db96127bf39292481ffed78ad9c5e7e1491b421ffa1732d9b"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.getDisplayValue (cyclomatic 18): utils.getDisplayValue 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":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4038eff4e8630998ef5b043114aa2dbfe082c8caa7eabf8781542bc79d3e11"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualizedModelList.VirtualizedModelList (cyclomatic 18): VirtualizedModelList.VirtualizedModelList has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 76, 70, 66, \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":"client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"30be7261c3e934d2f8b197758223c0539a2fad5497244b7e8de2c691d5ac6b66"}},{"ruleId":"D1","level":"warning","message":{"text":"ToolArtifactCard.ToolArtifactCard (cyclomatic 18): ToolArtifactCard.ToolArtifactCard has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 99, a function literal at line 119, a function literal at line 95, \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":"client/src/components/Chat/Messages/Content/Parts/ToolArtifactCard.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c01847e07f6684efe23e155042f41fa2b0a1c38d4b0810eded36bc3de5d4d72"}},{"ruleId":"D1","level":"warning","message":{"text":"hydration.PreviewedToolCallPart (cyclomatic 18): hydration.PreviewedToolCallPart 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":"client/src/components/Chat/Messages/Content/hydration.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5f35a337b26db269644a689cab558beb81be2a07e07d9b1830472443769c5f"}},{"ruleId":"D1","level":"warning","message":{"text":"body.drawFeet (cyclomatic 18): body.drawFeet 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":"client/src/components/Lia/engine/body.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68b8711d8ab1cced8d35fffc21a4822fb57a6237b5a25bbb12de8abcd92c038"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchBar.SearchBar (cyclomatic 18): SearchBar.SearchBar has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 113, a function literal at line 154, a function literal at line 42, \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":"client/src/components/Nav/SearchBar.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a359d5df9dcdc1fc544c682949ff39b6e029d1c87a395cdcb78507073fd4dd2"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.Message (cyclomatic 18): Message.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":"client/src/components/Share/Message.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2356208ef421bbb2ee191422554e5afd14c635f92a7af9fa5c5c454af1ae6034"}},{"ruleId":"D1","level":"warning","message":{"text":"SchedulePanel.SchedulePanel (cyclomatic 18): SchedulePanel.SchedulePanel 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":"client/src/components/SidePanel/Schedules/SchedulePanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd0cb4935b726c491a7f032c9787e922ada6e6cc2458384220d3d0757df94df"}},{"ruleId":"D1","level":"warning","message":{"text":"queries.useTitleGeneration (cyclomatic 18): queries.useTitleGeneration 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 5 function literals inside it that branch (lines 167, 122, 142, \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":"client/src/data-provider/SSE/queries.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0d1211c67c499c9bf6d5995724c7c35cef0b1b057172aad581ee4ae2e2d768"}},{"ruleId":"D1","level":"warning","message":{"text":"privacy.sanitizeReplayEvent (cyclomatic 18): privacy.sanitizeReplayEvent 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":"client/src/lib/rum/privacy.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1867e8e00a706f67158af994663a2dd8481f3fa00de8182589703974b2f9bb"}},{"ruleId":"D1","level":"warning","message":{"text":"timestamps.cleanupTimestampedStorage (cyclomatic 18): timestamps.cleanupTimestampedStorage 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/timestamps.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6dd911e0dab8b06c94e42060f1ade66203d0dc092ae495c726ae7687b6570e"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessControlService.grantPermission (cyclomatic 18): AccessControlService.grantPermission has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2a4504bbf49da3f76ead29dcf03e031fc4ada0906b25724ed337ad027178e8"}},{"ruleId":"D1","level":"warning","message":{"text":"contentFilter.createContentFilter.contentFilter (cyclomatic 18): contentFilter.createContentFilter.contentFilter 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":"packages/api/src/middleware/contentFilter.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"5039b8e4b813efd319e2d50cbe1092a5bff89a72760a7f2e5a0b95f48e73ba1a"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.preserveArraySecrets (cyclomatic 18): secrets.preserveArraySecrets 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cdaaaf92077e04094662d1262f36e91c1082aa642cea003b843061bae347d1"}},{"ruleId":"D1","level":"warning","message":{"text":"roles.createAdminRolesHandlers.removeRoleMember (cyclomatic 18): roles.createAdminRolesHandlers.removeRoleMember has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b87d75c1ad7bdf241f9f81b0e3ea36a73d3b239e61774905245e2b951901019"}},{"ruleId":"D1","level":"warning","message":{"text":"wiring.captureActivityBlockContext (cyclomatic 18): wiring.captureActivityBlockContext 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":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acbd14b88a3b11ca9d6ce810af0c1d44ebfd5f5732314b1c5d63505b09a9daf"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.createActivityPhaseWiring (cyclomatic 18): runtime.createActivityPhaseWiring has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 898, 849, 834, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba6e3a507123d7219de4653190cc545c4abe49462032dcf660375e76e923b53"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.takeoverGeneration (cyclomatic 18): GenerationJobManagerClass.takeoverGeneration 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f34a4c992bd9f7ae2c6332a34faeb116f55bcf8db701c3d555e9b3d7bb58154"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.beginProviderExecution (cyclomatic 18): GenerationJobManagerClass.beginProviderExecution 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8568}}}],"partialFingerprints":{"codehealthFindingId/v1":"7435a0a2e7f24c56cd65e5aa2e31e6d4e17567dbd8cd09f4d81de0098df0312d"}},{"ruleId":"D1","level":"warning","message":{"text":"settled.waitForGenerationSettled (cyclomatic 18): settled.waitForGenerationSettled has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 60, 41, 51, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/settled.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ba0a894e9a4848ceed7fe92dd88ddfbcd4fb33bc90e2d9f327080868c9c19d"}},{"ruleId":"D1","level":"warning","message":{"text":"execution.isCodeExecutionApprovalBinding (cyclomatic 18): execution.isCodeExecutionApprovalBinding 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":"packages/api/src/agents/execution.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d42c70eee5b25965a58889abe2d43343264619a31ad59e72b24fca78d81aa5a"}},{"ruleId":"D1","level":"warning","message":{"text":"view.expandNodes (cyclomatic 18): view.expandNodes 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":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b41ac4397d97e247f40006b59945130a06b957db546ef5ab6c7de7731bb6130"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.registerFileAuthoringTools (cyclomatic 18): tools.registerFileAuthoringTools 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":"packages/api/src/agents/tools.ts"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e2f83c1e2116b5050dad11b0fc86e3c68637a9ebfd51b3b351391067d5ba02"}},{"ruleId":"D1","level":"warning","message":{"text":"skills.resolveAlwaysApplySkills (cyclomatic 18): skills.resolveAlwaysApplySkills 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58b86d88bbe1a794dab5684e20ef0591279a2cf0fcc3b8d7fd99228d9607568"}},{"ruleId":"D1","level":"warning","message":{"text":"edits.parseEditConflict (cyclomatic 18): edits.parseEditConflict 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":"packages/api/src/code/edits.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc690b5497ab6d6e9b56ffbd31763ec34fd0ff72661b361f43ca357c71ecc6ac"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.classifyProviderPart (cyclomatic 18): messages.classifyProviderPart has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd26738149e08fb2bef8f99e87011484c04520f9903aeb2b39a4968721c45fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.getStoredProviderContributionState (cyclomatic 18): modelBoundContent.getStoredProviderContributionState 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f395c0147573b7381ca8ec4045f6a4acffe60c2810b0f066eae211e756c4796c"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.detectToolInputSchemaKind (cyclomatic 18): handlers.detectToolInputSchemaKind has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"669eac14999ea3e8f5f37b1f9b402ec6a6a21b604832604c002f5c55bd55c8cb"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.formatReadFileText (cyclomatic 18): handlers.formatReadFileText 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9a017a4ac182b9427767fd0b44baa4419800b65f24821799b3921f4c6667e9"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.writeSandboxTextForAuthoring (cyclomatic 18): handlers.writeSandboxTextForAuthoring has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9c64fb844c4e012b132b9fb28f0f0a7b969ad2ee0145218dfd13ff1aa46f90"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.resolveAskUserQuestionResume (cyclomatic 18): resume.resolveAskUserQuestionResume 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6005028857f54ce8171e52cdc25cbbd36d96c31b68f0b4a8475f69cca243586f"}},{"ruleId":"D1","level":"warning","message":{"text":"hookLoader.loadToolApprovalHooks (cyclomatic 18): hookLoader.loadToolApprovalHooks 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":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a71eeb55dd123a1a8127c04bc66264b71623c6d1b62b060e3c7d9a4b529443"}},{"ruleId":"D1","level":"warning","message":{"text":"envelope.parseAgentTriggerEnvelope (cyclomatic 18): envelope.parseAgentTriggerEnvelope has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5801006c6710ca2c353121c89f4160cda587103459f3007508af8eda779690d"}},{"ruleId":"D1","level":"warning","message":{"text":"delivery.prepareAgentTriggerDelivery (cyclomatic 18): delivery.prepareAgentTriggerDelivery 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":"packages/api/src/agents/triggers/delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"124161cb250135d35f11533719446293f2be4b99d358ac434efd5b13af65c9c6"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.controlResultReceipt (cyclomatic 18): SubagentThreadTaskStore.controlResultReceipt has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8064b24bc607be21ec6126b23dfb9da3b8b45bcec1f0f77d46615062caca6e"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.destroyTaskControlTransport (cyclomatic 18): SubagentThreadTaskStore.destroyTaskControlTransport 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"07352db666963b386fd24cf267b42def247be91f7eb7930113e6a939d39c9e77"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.dropDeletedControlReceiptWork (cyclomatic 18): SubagentThreadTaskStore.dropDeletedControlReceiptWork has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2887}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f7f2fa47567cc59b40c02a3c4da0c1e60d9f6ddc96d4770aa4371fe1dfa4a2"}},{"ruleId":"D1","level":"warning","message":{"text":"AgentExecutionEnrollment.pauseForReview (cyclomatic 18): AgentExecutionEnrollment.pauseForReview has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b39ed26f1b85e33d9c9c2e6d6019ea177cb427124cc53ee9b812539f18a7f0"}},{"ruleId":"D1","level":"warning","message":{"text":"service.validateInputToolExchanges (cyclomatic 18): service.validateInputToolExchanges 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe0048558187de9f3e47e726900a57ca7d5093dd1c2d90834bf0e08b2fca499"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.assertThreadMessagePage (cyclomatic 18): protection.assertThreadMessagePage 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":"packages/api/src/assistants/protection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"523f544fed550fbba1dc0106497205a0ddc0c3011c0e7da9f5c86dc2ee7bb197"}},{"ruleId":"D1","level":"warning","message":{"text":"flight.createOpenIDRefreshFlightService.withOpenIDRefreshFlightLease (cyclomatic 18): flight.createOpenIDRefreshFlightService.withOpenIDRefreshFlightLease has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a48161ab489e061442c628ed8146207a02077b2f33c325fad0aa360bf594aa"}},{"ruleId":"D1","level":"warning","message":{"text":"delivery.createOpenIDResponseDelivery.withOpenIDResponseDelivery (cyclomatic 18): delivery.createOpenIDResponseDelivery.withOpenIDResponseDelivery has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (releaseDelivery, sendAuthorized). 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":"packages/api/src/auth/openid/delivery.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"29efd225a323e1ccce575c7b5f7129b74ce1d8955aa6e9bde776ec693f6d9b1b"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.publishResolvedSessionTokens (cyclomatic 18): session.createOpenIDSessionRefreshService.publishResolvedSessionTokens 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"447cc2b942a1f71698c82ad92e9706c054526696f3323e054d88b4ffcb63de18"}},{"ruleId":"D1","level":"warning","message":{"text":"environments.createCodeEnvironmentRegistry.listAccessibleConfigurations (cyclomatic 18): environments.createCodeEnvironmentRegistry.listAccessibleConfigurations has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 537, 590, 599, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/environments.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a64b457b8ed8226c349d3eced4bd68d19a9c6d7fce565ace94b2581f0279421"}},{"ruleId":"D1","level":"warning","message":{"text":"decision.resolveConversationCodeEnvironmentDecision (cyclomatic 18): decision.resolveConversationCodeEnvironmentDecision 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":"packages/api/src/code/decision.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"df0f6e894630704aeca1ac1ac0e7db112c9eb31fefc7d6b59ff02f4499bcc152"}},{"ruleId":"D1","level":"warning","message":{"text":"lane.createLaneGitRecorder (cyclomatic 18): lane.createLaneGitRecorder has cyclomatic complexity 18 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea471310ff8d820e9bbc3ba689e115c4a5317f06a520380927a843f07d40a59"}},{"ruleId":"D1","level":"warning","message":{"text":"audio.encodeAndFormatAudios (cyclomatic 18): audio.encodeAndFormatAudios 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":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3b3cb103b42ea8803b7b4ee7b02e053016d745fa262e8618482d6e35279e34"}},{"ruleId":"D1","level":"warning","message":{"text":"speech.createSpeechChunkProcessor.processChunks (cyclomatic 18): speech.createSpeechChunkProcessor.processChunks has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/speech.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"039811569ca2f93c956ca0c48827bdd736362266a7c6ad007133da40c2c1c467"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth.createPullRequestOAuth.refresh (cyclomatic 18): oauth.createPullRequestOAuth.refresh 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":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3fe5a3e8628f76bb45096c666f2c59eab5d2fc9f9e23c47c1a6d6bb40f8ea1"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerConfigsDB.update (cyclomatic 18): ServerConfigsDB.update 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":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"4570a1a471764445125c544f776b9b8912d3c1c0e6911452b43bec01e365f33e"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPTokenStorage.hasStoredAuthorization (cyclomatic 18): MCPTokenStorage.hasStoredAuthorization 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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"98075b8158703d4ca34c73fb63d7022908e6ef882474c41a0a96a517151cfd5f"}},{"ruleId":"D1","level":"warning","message":{"text":"utils.normalizeAgentToolKeys (cyclomatic 18): utils.normalizeAgentToolKeys has cyclomatic complexity 18 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/utils.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc18db7f0736a023833d9e75e599b46724303b3cfb52eac893ea5607ba056ad9"}},{"ruleId":"D1","level":"warning","message":{"text":"zod.resolveJsonSchemaRefs (cyclomatic 18): zod.resolveJsonSchemaRefs 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"23fb723d2cbbf2af13bf636e43904bc9dd3987c132f5eabcda92c879a13f054f"}},{"ruleId":"D1","level":"warning","message":{"text":"axios.logAxiosError (cyclomatic 18): axios.logAxiosError has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/axios.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e00923add6006cb7ab09480b5e6287de36a25a4613895fe86b82a8afd3e881"}},{"ruleId":"D1","level":"warning","message":{"text":"submission.saveAbortedUserMessage (cyclomatic 18): submission.saveAbortedUserMessage 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":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed7a19755d2cd599b45a56364a4fddaeed26cf77379b476649ad9058276a460"}},{"ruleId":"D1","level":"warning","message":{"text":"github.discoverSkills (cyclomatic 18): github.discoverSkills has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 697, 699). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd4cdc76a2232d7edc675fbb9ca1bddf545e43bb7681b0a4dc8a828b11969d0"}},{"ruleId":"D1","level":"warning","message":{"text":"management.createSkillManagementHandlers.wrap.\u003Creturned closure\u003E (cyclomatic 18): management.createSkillManagementHandlers.wrap.\u003Creturned closure\u003E 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":"packages/api/src/skills/management.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3ce4e5b6829227b6d38b79324f31599f6cf46280eda1188ba721f1d5077490"}},{"ruleId":"D1","level":"warning","message":{"text":"web.isCredentialUsable (cyclomatic 18): web.isCredentialUsable 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":"packages/api/src/web/web.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b183e587bce34f783675bbb28013fdc5d61f1c30c188dd762d78aeab2c2e7f9e"}},{"ruleId":"D1","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords::probe (cyclomatic 18): reader.createLangfuseTraceReader.listRecords::probe 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: 2 other methods here (reader.createLangfuseTraceReader.listRecords, reader.createLangfuseTraceReader.listRecords::nameToolRounds) 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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"6adcd9e1a703b69ea99dd983151e7413768852e275133f9ae7b1f6b5268dfc26"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.cleanup (cyclomatic 18): RedisJobStore.cleanup has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 3768). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3751}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bba984e9a0b5970406935116ce56666a2cd7e5be118ab1526558f765989976"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelWorker.process (cyclomatic 18): ChannelWorker.process has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 193, check). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"907b887839a846c2ea65b3663bfaf871112c8546c2915058db4a09e6c862a539"}},{"ruleId":"D1","level":"warning","message":{"text":"ChannelWorker.execute::syncProgress (cyclomatic 18): ChannelWorker.execute::syncProgress 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 (ChannelWorker.execute) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5ee9ecf688ba1b7f4e61b88defcfe8c91945c48913e902da85ad6323d8496b"}},{"ruleId":"D1","level":"warning","message":{"text":"timing.applyRunStepDelta (cyclomatic 18): timing.applyRunStepDelta has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d841a0c78f3f6e8e71c1735105caed0b8cf53a51bf7250e9118038dc95ca538d"}},{"ruleId":"D1","level":"warning","message":{"text":"settled.settleStart (cyclomatic 18): settled.settleStart has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/settled.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acaec09c985803a96660b628c402f79f598bc72c1c2f46e94dc5c5e643ab28e"}},{"ruleId":"D1","level":"warning","message":{"text":"Chat.stop (cyclomatic 18): Chat.stop 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f737951a53093114919cc9c27dde5b29e0bdc6c95a4d88f4c43486078a82e3a8"}},{"ruleId":"D1","level":"warning","message":{"text":"background.parseDigestNode (cyclomatic 18): background.parseDigestNode has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb82798a8678640a7e57a0d1ef29086f95b02acbf902577a61988916ec7b3c77"}},{"ruleId":"D1","level":"warning","message":{"text":"Popover.QuestionPanel (cyclomatic 18): Popover.QuestionPanel has cyclomatic complexity 18 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/ask/Popover.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"581ac6cf48366c9d143584afbcf78d815f2d12b2ff27d007c0f9d2d1b184b136"}},{"ruleId":"D1","level":"warning","message":{"text":"useProgressiveRowMount.useProgressiveRowMount (cyclomatic 18): useProgressiveRowMount.useProgressiveRowMount has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 128, 153, 111, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useProgressiveRowMount.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a07f26cacc9dffde7bdf678a1809337b6acfbe602046e16e1d867215f034806"}},{"ruleId":"D1","level":"warning","message":{"text":"transcript.SubagentActivityContent (cyclomatic 18): transcript.SubagentActivityContent has cyclomatic complexity 18 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"189279c13c14ed0de1d3ba3266f33054627bc3f056a415e66647a152b8f246b5"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.ChildMessage (cyclomatic 18): conversation.ChildMessage has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9867db9075b07c5a5f6f0fd47abbe66f666f3806bbc13559e59340ce67ff5e9"}},{"ruleId":"D1","level":"warning","message":{"text":"finished.settleFinishedRun (cyclomatic 18): finished.settleFinishedRun has cyclomatic complexity 18 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/finished.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b166cbd20fceb5c4e9dbe0df622b579279c7f295028b10cf1d55843d582ec72"}},{"ruleId":"D1","level":"warning","message":{"text":"useSteerRecovery.useSteerRecovery.retry (cyclomatic 18): useSteerRecovery.useSteerRecovery.retry has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 263, 194, 195, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerRecovery.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f3f8210aee7e071c615f66669306957587dbace2dc495adcd88e5419d914ff"}},{"ruleId":"D1","level":"warning","message":{"text":"RetryableError.RetryableError (cyclomatic 18): RetryableError.RetryableError 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":"packages/client/src/components/RetryableError.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a327017e1afcb2c1d6dd742170f9e543d0073dce06f9e2e1f9e2e28b7645f3"}},{"ruleId":"D1","level":"warning","message":{"text":"file-config.buildMimeAccept (cyclomatic 18): file-config.buildMimeAccept has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"9536a878d61fe861643840acfd4bc7e743d435da52c6fa0393252ab48ad776a8"}},{"ruleId":"D1","level":"warning","message":{"text":"bedrock.bedrockOutputParser (cyclomatic 18): bedrock.bedrockOutputParser has cyclomatic complexity 18 (threshold 15). Of this number, 13 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":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24d7932a7ec2b60d437a4586cae092c21d9bff1b9b65c3f2cf0d152b24c8ca8"}},{"ruleId":"D1","level":"warning","message":{"text":"azure.validateAzureGroups (cyclomatic 18): azure.validateAzureGroups 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":"packages/data-provider/src/azure.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ae0ab998ceafd1c3f2178dfcfc8a8eed93dfacd961c85ef05328ddfba412b6"}},{"ruleId":"D1","level":"warning","message":{"text":"resolve-llm-delivery-path.resolveUploadDestination (cyclomatic 18): resolve-llm-delivery-path.resolveUploadDestination has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"688b6c9ed349a54ef5ed00e7c924ed8be1a8fa43f7b24c2e4bc8127eb25b7da4"}},{"ruleId":"D1","level":"warning","message":{"text":"tenantIsolation.applyTenantIsolation (cyclomatic 18): tenantIsolation.applyTenantIsolation has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 194, updateGuard, replaceGuard, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/tenantIsolation.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"758cbc8db40e4a05076faaabbe67babad50454901156f1d344b5258bdaad95f0"}},{"ruleId":"D1","level":"warning","message":{"text":"appSnapshots.fitBoundAppSnapshots (cyclomatic 18): appSnapshots.fitBoundAppSnapshots 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":"packages/data-schemas/src/methods/appSnapshots.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b296fb46817499a4a1677c49cda99b665986908b004239e90b84b70bdde5ad"}},{"ruleId":"D1","level":"warning","message":{"text":"chatProject.createChatProjectMethods.addChatProjectFile (cyclomatic 18): chatProject.createChatProjectMethods.addChatProjectFile has cyclomatic complexity 18 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb680e597cbc1b05be8ee199aead6b37cbf558ef8c251228d4846993ae234ea"}},{"ruleId":"D1","level":"warning","message":{"text":"file.createFileMethods.publishRunArtifactFile (cyclomatic 18): file.createFileMethods.publishRunArtifactFile 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":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35677dd35d1eb4370eee069221884c624efa321b20ae58ad0d7c378993374fc"}},{"ruleId":"D1","level":"warning","message":{"text":"share.advanceTargetToBranchTail (cyclomatic 18): share.advanceTargetToBranchTail has cyclomatic complexity 18 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a98596def7c0332224e106e9a89d060a6d8a7806166cbdaa7ea9a365a7b2ab"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.normalizeFiles (cyclomatic 18): queuedTurn.normalizeFiles 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e728efc41f2bc3fb9b6f40136cdc5ca4db184cbe8619e68c7f4b7fdca54134"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.ensureEffectiveAdmissionBoundary (cyclomatic 18): queuedTurn.createAgentQueuedTurnMethods.ensureEffectiveAdmissionBoundary 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ad5a8605fc3dccac688ee9068a1275158ebc3877d8fcd2f4d02476f6411d76"}},{"ruleId":"D1","level":"warning","message":{"text":"agent.createAgentMethods.revertAgentVersion (cyclomatic 18): agent.createAgentMethods.revertAgentVersion 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff820239d24481837202a4eec1fe25cecee035da98d57177f04eb809f5742a90"}},{"ruleId":"D1","level":"warning","message":{"text":"gateway.handleMediaCreate (cyclomatic 18): gateway.handleMediaCreate 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":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b5ef61390ade5a0742bf93093448e4c8d38df34d9af77c8dd5d271b67008f2"}},{"ruleId":"D1","level":"warning","message":{"text":"publishStagedApproval (cyclomatic 18): publishStagedApproval 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c792a0d36232ee6f2ea7366a1b2058a48850fcead5a101a36d8ad117758a6f15"}},{"ruleId":"D1","level":"warning","message":{"text":"createSamlCallback (cyclomatic 18): createSamlCallback 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 one function literal inside it that branches (line 192). 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":"api/strategies/samlStrategy.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b590fc9bec43c4b31be29fe6b30455215f602e69349e6f0689747205b5644e6c"}},{"ruleId":"D1","level":"warning","message":{"text":"processAddedConvo (cyclomatic 18): processAddedConvo 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":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aff592f02ee8250f7d4375f1d32574eeef8816ff8b6fc57e01eafd4a85f9112"}},{"ruleId":"D1","level":"warning","message":{"text":"PermissionService.grantPermission (cyclomatic 17): PermissionService.grantPermission 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":"api/server/services/PermissionService.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"38163af16ffecd42e211850e115d0290966575aef8c2c439c9fb518aa6b9d19d"}},{"ruleId":"D1","level":"warning","message":{"text":"memories.router.post(\u0022/\u0022) (cyclomatic 17): memories.router.post(\u0022/\u0022) has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"066419519f508d6efdbcab8264ecca074f1874cd1b59ef67dc609803861a1a76"}},{"ruleId":"D1","level":"warning","message":{"text":"initialize.initializeClient (cyclomatic 17): initialize.initializeClient 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":"api/server/services/Endpoints/azureAssistants/initialize.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"25806dec51d1aee52a38a3378eddb77b629156f341815ddcbb146f84dcf1e0bc"}},{"ruleId":"D1","level":"warning","message":{"text":"GraphApiService.getEntraGroupDetailsBatch (cyclomatic 17): GraphApiService.getEntraGroupDetailsBatch 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 item inside it that branches (processBatch). 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":"api/server/services/GraphApiService.js"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb082cb17a6007a1a76628bb8dfcd655be309bdaf2eccbcff57e6d86a4acedc"}},{"ruleId":"D1","level":"warning","message":{"text":"getFileStrategy.getFileStrategy (cyclomatic 17): getFileStrategy.getFileStrategy 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":"api/server/utils/getFileStrategy.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"142030c4a5c0db70c9d4dc30d1c9c2f3391fd3c57f148134f602d433e0249fbf"}},{"ruleId":"D1","level":"warning","message":{"text":"samlStrategy.createSamlCallback.\u003Creturned closure\u003E (cyclomatic 17): samlStrategy.createSamlCallback.\u003Creturned closure\u003E 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":"api/strategies/samlStrategy.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1124de07f40569de262c37ba2bf0bc254d44c5e504371534eedf4822a4d58309"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp-sandbox.html.findDocumentInjectionPoint (cyclomatic 17): mcp-sandbox.html.findDocumentInjectionPoint 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":"client/public/mcp-sandbox.html"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bac099f94dbd2823a4fb57f2fdd81f9cb7614c8b3a537ba7b9dc1c3ca2fb480"}},{"ruleId":"D1","level":"warning","message":{"text":"useTextarea.useTextarea.handleKeyDown (cyclomatic 17): useTextarea.useTextarea.handleKeyDown 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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fba58120bbc25e35c86fec3579304a8851a36c989bc79ff9b9f9cb71ea4483e"}},{"ruleId":"D1","level":"warning","message":{"text":"useTextarea.useTextarea.routeClipboardFiles (cyclomatic 17): useTextarea.useTextarea.routeClipboardFiles has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a3631fb68e9165d1d585e2fb84db2d1725b46dda8591699b504f5e0b87924a"}},{"ruleId":"D1","level":"warning","message":{"text":"BookmarkForm.BookmarkForm (cyclomatic 17): BookmarkForm.BookmarkForm has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 103, onSubmit, isTagTaken). 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":"client/src/components/Bookmarks/BookmarkForm.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa487f8858561548c2adbe2daae3522575063cf5b5ae296fda8591ecada1424e"}},{"ruleId":"D1","level":"warning","message":{"text":"Links.OwnedLinks (cyclomatic 17): Links.OwnedLinks has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Links.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3be4399cad9ae93360b8d45e5914aceb8f70137bf935d000900a01eebfeb8a"}},{"ruleId":"D1","level":"warning","message":{"text":"useTasks.useBackgroundTasks.stopRows (cyclomatic 17): useTasks.useBackgroundTasks.stopRows has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/useTasks.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfa4c493204187a9de6639554b999209cdbe2a7626e8b8a0ff12c62d36bca1f"}},{"ruleId":"D1","level":"warning","message":{"text":"DataTable.DataTable (cyclomatic 17): DataTable.DataTable has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/DataTable.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee770d5aa2db0205f177b50c4b5eec0bc53c01f45a597b86972dcd7f4761285"}},{"ruleId":"D1","level":"warning","message":{"text":"StackedToolIcons.StackedToolIcons (cyclomatic 17): StackedToolIcons.StackedToolIcons has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 39, 83). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2942f9b4d8995072e14e18e4a6b2d04c4361036434b28cb82bef15625b54f8d9"}},{"ruleId":"D1","level":"warning","message":{"text":"useToolCallState.useToolCallState (cyclomatic 17): useToolCallState.useToolCallState 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":"client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d86c5ac9a38c2d164d778315fbd410927903ebb5ff22aabf2c41302671ec0b"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivityPhaseGroup.PhaseLabel (cyclomatic 17): ActivityPhaseGroup.PhaseLabel has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a1aa6ce19c63d9241459d1dbbfa7d2d039b9035e8116681d0296c0ca8c1d2b"}},{"ruleId":"D1","level":"warning","message":{"text":"SiblingHeader.SiblingHeader (cyclomatic 17): SiblingHeader.SiblingHeader has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 63, handleBranch). 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":"client/src/components/Chat/Messages/Content/SiblingHeader.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8170fc1ef60aa03fc44cbd96a360ea8081ee50cc7168668a40442690b88f712"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchContent.SearchContent (cyclomatic 17): SearchContent.SearchContent has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). 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":"client/src/components/Chat/Messages/Content/SearchContent.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ad84849eb073db4cde14c9c3760f998d207b26182ac6b6b0754c9f023ab14f"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointIcon.EndpointIcon (cyclomatic 17): EndpointIcon.EndpointIcon 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":"client/src/components/Endpoints/EndpointIcon.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe43a1777a0d8373cdcd4dae15ad3468656448e15a3832a33dd0dc247441cc07"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConfigDialog.MCPConfigDialog (cyclomatic 17): MCPConfigDialog.MCPConfigDialog 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 2 function items inside it that branch (a function literal at line 49, renderStatusBadge). 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":"client/src/components/MCP/MCPConfigDialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7924f60abb445f5b93d5eb264b87669f7427b2ec79db613e456040ec4b3b8972"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeBlock.CodeBlock (cyclomatic 17): CodeBlock.CodeBlock has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 6 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/CodeBlock.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f46effb436c3b416674443cf94ba809e82989d3a41719d83010a1153e708db"}},{"ruleId":"D1","level":"warning","message":{"text":"recovery.RecoveryActions (cyclomatic 17): recovery.RecoveryActions has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 102, a function literal at line 125, a function literal at line 146, \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":"client/src/components/Messages/Content/Error/recovery.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c2e83f0e9141ccf12cd4f2fae5dddffbc9ab9a70fc86c594870295ed9d695f"}},{"ruleId":"D1","level":"warning","message":{"text":"Export.MermaidExport (cyclomatic 17): Export.MermaidExport 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 8 function literals inside it that branch (lines 190, 100, 183, \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":"client/src/components/Messages/Content/Mermaid/Export.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1f87ce49156acd91d8a6afacabd4d39789efad533a2a48dff872e5fb574826"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialog.SettingsDialog (cyclomatic 17): Dialog.SettingsDialog has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/Dialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2669c84a2f2a2e7f3df54f56fba156890231bb566e5e0de56607734075e35e9b"}},{"ruleId":"D1","level":"warning","message":{"text":"SelectedPrincipalsList.SelectedPrincipalsList (cyclomatic 17): SelectedPrincipalsList.SelectedPrincipalsList has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 57, getPrincipalDisplayInfo). 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":"client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9585bca28f99332860122c79608cf6a066cf9bfbd504b0de3a7b7eacb372f0"}},{"ruleId":"D1","level":"warning","message":{"text":"selectors.matchesMcpServer (cyclomatic 17): selectors.matchesMcpServer 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":"client/src/components/SidePanel/Agents/Tools/items/selectors.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b178e4211934f3e0fb30bb97cdf9572116ed33774b2cf84534cc139e37af17"}},{"ruleId":"D1","level":"warning","message":{"text":"plugin.findNextMatch (cyclomatic 17): plugin.findNextMatch 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":"client/src/components/Web/plugin.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec7a54be5188b8626bdc9ad1f344a0e0d986f21602021e6e87e62198ddc61535"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.findManualConvoTitleInAllQueries (cyclomatic 17): convos.findManualConvoTitleInAllQueries has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, 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":"client/src/utils/convos.ts"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c3d54ab40564edd4dddabb145f1bed9313d4e561e278b257af465872934780"}},{"ruleId":"D1","level":"warning","message":{"text":"migrate-agent-permissions.migrateAgentPermissionsEnhanced (cyclomatic 17): migrate-agent-permissions.migrateAgentPermissionsEnhanced has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-agent-permissions.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32d0f4ff34da3c5bfa62bac4a43b51e7c59c04648d38f875ff2b16f13c7a8f8"}},{"ruleId":"D1","level":"warning","message":{"text":"config.prepareEntryChange (cyclomatic 17): config.prepareEntryChange 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":"packages/api/src/admin/config.ts"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c16dd906afd95c13ba86ce202a74d5b9fa61ca656c58e5423caddac6625c44"}},{"ruleId":"D1","level":"warning","message":{"text":"langfuse.createAdminLangfuseHandlers.testConnection (cyclomatic 17): langfuse.createAdminLangfuseHandlers.testConnection 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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"11da10dea11c3845e5f6fe507f2a71f2e0b8cd32a06215ee4b0d5b5cc340d77f"}},{"ruleId":"D1","level":"warning","message":{"text":"aggregation.feedSubagentAggregator (cyclomatic 17): aggregation.feedSubagentAggregator 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":"packages/api/src/agents/aggregation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cac9413c5c70e8eae7b7a89bc0f34a12523e0321cc522cd9891a170e1fb4b7c"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.restoreClaimedSteers (cyclomatic 17): InMemoryJobStore.restoreClaimedSteers has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: InMemoryJobStore.queuedReceiptForMutation (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc9878734b1f210e845b8d55464538c8dd9cfda35d9c1505aec5f719072010d"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.removeSteer (cyclomatic 17): InMemoryJobStore.removeSteer has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: InMemoryJobStore.queuedReceiptForMutation (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06d61dd9fe819420e49ab11f76a7a7da2fddd7b63713d87530be8825aa339cd"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryJobStore.parkLeftovers (cyclomatic 17): InMemoryJobStore.parkLeftovers has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: InMemoryJobStore.queuedReceiptForMutation (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6040fcbb332f20c0b87012f8c4ec470ea79d4d60ef4afada054b089fd9845c"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.getOrCreateRuntimeState (cyclomatic 17): GenerationJobManagerClass.getOrCreateRuntimeState 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8cafafd46e4f4f101aad6e4912845f1d669dbbf8f29c2f667a931c3fc0a746"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.resumeClaimedGeneration (cyclomatic 17): GenerationJobManagerClass.resumeClaimedGeneration 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3857}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5df261a3f49a4f4cadb836372986ebe3e58823aaff4dc508baa6e38240feb2e"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.overflowEarlyEventBuffer (cyclomatic 17): GenerationJobManagerClass.overflowEarlyEventBuffer 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6024}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a22927f4e0db5d77c8ce1081172e0ff1812e0c75f5acd96e6ac13da60fd77e"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManager.getPublishedProvenance (cyclomatic 17): GenerationJobManager.getPublishedProvenance has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"34988bce97c975feb82d5f930261f6740c22b1cccdfbc1623e218aa929f45141"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManager.getReplayStepId (cyclomatic 17): GenerationJobManager.getReplayStepId 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"c742b92803dcd0c2764edfa15e76e18b0322d3643a99b7eb973b8d0f6d45cc4f"}},{"ruleId":"D1","level":"warning","message":{"text":"harvest.createBackgroundCodeResultHandler.\u003Creturned closure\u003E (cyclomatic 17): harvest.createBackgroundCodeResultHandler.\u003Creturned closure\u003E 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":"packages/api/src/agents/harvest.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e494f753d98ae4c5b1c15c2742dc02883c1cb75fee5fc9f226654cdd90250e"}},{"ruleId":"D1","level":"warning","message":{"text":"tree.boundLeaf (cyclomatic 17): tree.boundLeaf 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":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b472ee5d3cf71e7df35b906b718e989a3f7cde27cbdb50dd67bc580505674ec3"}},{"ruleId":"D1","level":"warning","message":{"text":"validationFeedback.declaredTypes (cyclomatic 17): validationFeedback.declaredTypes 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":"packages/api/src/agents/validationFeedback.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0180243cc1b1d5e1974f86c10b2200a2cc161e9bbf21a193b825347f69e680f7"}},{"ruleId":"D1","level":"warning","message":{"text":"matching.applyTextEdits (cyclomatic 17): matching.applyTextEdits 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":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf45382d50ea0176648718e877b4c8e86dadd2b05f2e47a491bb1636d791e80"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.createUnresolvedReviewMatcher (cyclomatic 17): admission.createUnresolvedReviewMatcher has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (visitParts, a function literal at line 285, a function literal at line 241, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"952030a8430d85019449f24c5b8e361421fc568bd943fb81a84809a0d1f0f2ae"}},{"ruleId":"D1","level":"warning","message":{"text":"resume.buildResolvedAskUserQuestion (cyclomatic 17): resume.buildResolvedAskUserQuestion 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c6d2ad4053401ff46935c6e831b891618993a41da44c084c301f617c48f2c1"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentThreadTaskStore.persistResult (cyclomatic 17): SubagentThreadTaskStore.persistResult 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3660}}}],"partialFingerprints":{"codehealthFindingId/v1":"6192a1fe573d4cc8b1e69cdaff538c18029f0c0136f15bb62d76e04cb17fc49c"}},{"ruleId":"D1","level":"warning","message":{"text":"backgroundClaims.claimBackgroundToolResult (cyclomatic 17): backgroundClaims.claimBackgroundToolResult has cyclomatic complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundClaims.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb9224180af30c357c733c45516cef5b1bcc3f069a26bf6a191c0c848be2b8c"}},{"ruleId":"D1","level":"warning","message":{"text":"tracker.createModelErrorTracker::getUpstreamModelError (cyclomatic 17): tracker.createModelErrorTracker::getUpstreamModelError 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":"packages/api/src/agents/failures/tracker.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b01f820a49b1dc63858d4a7ce1e68224728fa9a78c2b968a44a41714e0511b"}},{"ruleId":"D1","level":"warning","message":{"text":"clientTools.validateClientTools (cyclomatic 17): clientTools.validateClientTools 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":"packages/api/src/agents/responses/clientTools.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"74735009482e07946b097f134dc9a3a06fa9860d2b9ca1a7a506d124fd63fd17"}},{"ruleId":"D1","level":"warning","message":{"text":"completion.createResponseCompletion.prepare (cyclomatic 17): completion.createResponseCompletion.prepare has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: completion.assertReceipt (cyclomatic 21) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"49161e7dce18f89220b3281a1cb3cdf50fc8b69aed263f60394d4872aff9024a"}},{"ruleId":"D1","level":"warning","message":{"text":"runtime.drainAndBuildInjections (cyclomatic 17): runtime.drainAndBuildInjections 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":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c4f2a557484b441b9f2336ee8a2a7de455e691bed1fd9c5d23e761a3e72467"}},{"ruleId":"D1","level":"warning","message":{"text":"promotion.promoteOne (cyclomatic 17): promotion.promoteOne 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":"packages/api/src/agents/steering/promotion.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"072eef6343abfb95b68f91a963ecb54e176afc77d8ee8b2ee4de20c5e3e7dc8e"}},{"ruleId":"D1","level":"warning","message":{"text":"outcome.toolEvidence (cyclomatic 17): outcome.toolEvidence has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 86). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"591b2874c64451a958e93c3b0d76b3c46162ebc6a31924fe65818924d11424b5"}},{"ruleId":"D1","level":"warning","message":{"text":"localRefresh.createLocalRefreshHandler.\u003Creturned closure\u003E (cyclomatic 17): localRefresh.createLocalRefreshHandler.\u003Creturned closure\u003E 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":"packages/api/src/auth/localRefresh.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ece7ad5d68d79d3f05c706856ace9121bbdadba1429c78d1ddede0e7994932c"}},{"ruleId":"D1","level":"warning","message":{"text":"cloudfront.initializeCloudFront (cyclomatic 17): cloudfront.initializeCloudFront 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":"packages/api/src/cdn/cloudfront.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f859c48b3fd4d73097dbcf3f05324774b2af2bf61bf8ca56be0b147c2ce8b7"}},{"ruleId":"D1","level":"warning","message":{"text":"responses.getResponsesApiRouting (cyclomatic 17): responses.getResponsesApiRouting has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/responses.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d1bf205375083e0708c9faa55b6800a3b287c9e9e6150628226e7308ebdd32"}},{"ruleId":"D1","level":"warning","message":{"text":"video.encodeAndFormatVideos (cyclomatic 17): video.encodeAndFormatVideos 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":"packages/api/src/files/encode/video.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dabdadd09cbcdcaa376226a8a3e16e5f000d21dccdfb761bcb64bcd370f8d0c"}},{"ruleId":"D1","level":"warning","message":{"text":"oidc.extractOpenIDTokenInfo (cyclomatic 17): oidc.extractOpenIDTokenInfo 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":"packages/api/src/utils/oidc.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"5752cfd519a4baae7aaae31f65270580a3cee155e9ecd8f4dba7955995fe96be"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnectionFactory.createConnection (cyclomatic 17): MCPConnectionFactory.createConnection 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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c4f22d0ce6b75184c58571c96eedfd481f84281a68dc88d8e9603505dd26f6"}},{"ruleId":"D1","level":"warning","message":{"text":"loading.loadMCPTools (cyclomatic 17): loading.loadMCPTools has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e5fafb137c058d526b0dcf6e785544f4663d4582af354a1a98e70d6a5aab0c"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.extractLocatorAliasFragments (cyclomatic 17): protection.extractLocatorAliasFragments 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"909057877002137fc96887a41ce1c84f615629e9a0a68efdc179341df67abcb8"}},{"ruleId":"D1","level":"warning","message":{"text":"protection.sanitizeInspectableEncodedValues (cyclomatic 17): protection.sanitizeInspectableEncodedValues 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e47f060ad9ceba31867173b9adf34b5ef15ead95397908d99985f7222b626a7"}},{"ruleId":"D1","level":"warning","message":{"text":"trigger.readScheduleFireContext (cyclomatic 17): trigger.readScheduleFireContext 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":"packages/api/src/schedules/trigger.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b8e80ea028a54405c8e705404c866b2aa35c34483912ca7ef4fecd371e3337"}},{"ruleId":"D1","level":"warning","message":{"text":"bearer.prepareScheduledMCPBearer (cyclomatic 17): bearer.prepareScheduledMCPBearer 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb059fe83b732d0768ff8cd070c342417b83511cc3ea893399bea50e18ad9571"}},{"ruleId":"D1","level":"warning","message":{"text":"erasure.settleStrandedRuns (cyclomatic 17): erasure.settleStrandedRuns 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":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c119805e0b8c9f401accd80711d469ede30c55c146494860d628c507170e2f"}},{"ruleId":"D1","level":"warning","message":{"text":"deployment.createDeploymentSkillMethods (cyclomatic 17): deployment.createDeploymentSkillMethods 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 8 function literals inside it that branch (lines 593, 500, 507, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"627e4566900fe5742c2d36aed26f3ef7c77541204ab09d5764d2421d8eb3bb1a"}},{"ruleId":"D1","level":"warning","message":{"text":"deletionService.createSkillDeletionService.startSkillDeletionSweep.sweepAbandonedIntents (cyclomatic 17): deletionService.createSkillDeletionService.startSkillDeletionSweep.sweepAbandonedIntents 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 2 function literals inside it that branch (lines 278, 287). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"442b593323244b5dcec7f27bb7f0c0692043bec3a0c92e081d2bd7ef902e6f17"}},{"ruleId":"D1","level":"warning","message":{"text":"access.createSharedLinkAccessMiddleware.canAccessSharedLink (cyclomatic 17): access.createSharedLinkAccessMiddleware.canAccessSharedLink has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 93, runWithTenant). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/access.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d209604730b2055dabbb9215f934415b53efcce541fc93675ac3b226931ca7b"}},{"ruleId":"D1","level":"warning","message":{"text":"admission.getPredecessorMismatchState (cyclomatic 17): admission.getPredecessorMismatchState 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":"packages/api/src/stream/admission.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb3a3a785c4abe274458022e437337f5a598c7a3bb8d94267c2aa8d646c2e2c"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJobStore.hasScheduleCleanupObligation (cyclomatic 17): RedisJobStore.hasScheduleCleanupObligation has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbf571a883bb4c922274509507de3aa78b0074e8dbde662e8f5237f19c14711"}},{"ruleId":"D1","level":"warning","message":{"text":"proxy.proxyRumRequest (cyclomatic 17): proxy.proxyRumRequest 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":"packages/api/src/rum/proxy.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d32e7d5cd7c9ca929901b8dd030d12678f834b21b49d24c71b2f4a9fd495cbe"}},{"ruleId":"D1","level":"warning","message":{"text":"SlackHTTPServer.http (cyclomatic 17): SlackHTTPServer.http 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":"packages/channel-gateway/src/http.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a0d4d188e6b922df959d4ea862f51859d4624ccf9e323b2e092066248c3a3e"}},{"ruleId":"D1","level":"warning","message":{"text":"BoundSocket.onWebSocketMessage (cyclomatic 17): BoundSocket.onWebSocketMessage 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":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c24f481c782d968896e293fa4f3a0df72c113be0807bc9d947f87fe6033f350"}},{"ruleId":"D1","level":"warning","message":{"text":"placement.getResumeMessageIndexes (cyclomatic 17): placement.getResumeMessageIndexes 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":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af416ed926a937df86e2c6e93118b56a01d07b930018cb8fb6114209eeaef5"}},{"ruleId":"D1","level":"warning","message":{"text":"dispatch.findSubagentDispatch (cyclomatic 17): dispatch.findSubagentDispatch 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":"packages/chat/src/core/subagents/dispatch.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd6bb77d3a47f5b87fc1119a5a93174e33c24c06026b939336f972f064cd97d"}},{"ruleId":"D1","level":"warning","message":{"text":"thread.indexMessages (cyclomatic 17): thread.indexMessages has cyclomatic complexity 17 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe1f6478c45d3c33f1f708b1c8180dc1406f294453dc4025b38bdaa7684d0df"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceMetadata (cyclomatic 17): workspace.resolveCodeWorkspaceMetadata 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1587bcc83d4ba9a2d588539a8e22d06eba97f17e99041a259d505a454f17a5"}},{"ruleId":"D1","level":"warning","message":{"text":"CollapsibleText.CollapsibleText (cyclomatic 17): CollapsibleText.CollapsibleText has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/CollapsibleText.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb204a0c007defcc7220369202d5522f3e4769fc98c9b24ee40e5178de498ea"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.RecoveredChildMessage (cyclomatic 17): conversation.RecoveredChildMessage has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd123b620de9f25ce4431b72d76a8ebb9a14487a66e6ffee4307e1807f17596"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeEnvironmentSelection (cyclomatic 17): workspace.resolveCodeEnvironmentSelection has cyclomatic complexity 17 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. This is NOT this file\u0027s highest cyclomatic complexity: workspace.isCodeWorkspaceSelection (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f30bd6bca691ad3b85b87cb43f707672c07cd8afd423b925402f77299aa9e6e"}},{"ruleId":"D1","level":"warning","message":{"text":"stripUIResourceMarkers.sanitizeUIResourceContent (cyclomatic 17): stripUIResourceMarkers.sanitizeUIResourceContent has cyclomatic complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8922ccbb986bf078880439116e7189d13274b659daabdc1359c5c477a0ff782d"}},{"ruleId":"D1","level":"warning","message":{"text":"eviction.evictAuthUserDocs (cyclomatic 17): eviction.evictAuthUserDocs 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":"packages/data-schemas/src/utils/eviction.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"75725d585f498616cb6e6b94c93322d9a1fbb3259e0f283277eca95b2006d015"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.redactErrorValue (cyclomatic 17): parsers.redactErrorValue 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 one function literal inside it that branches (line 243). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee44d10acdd7c780e24aaf828d43c76714b842204d64c539c1291a62a2b2a606"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentContent.createSubagentContentMethods.streamSubagentContentBatches (cyclomatic 17): subagentContent.createSubagentContentMethods.streamSubagentContentBatches has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/subagentContent.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c21279df53772ddc44a07e52708dc826948db09e54a4a6d117e557438608ca9"}},{"ruleId":"D1","level":"warning","message":{"text":"message.createMessageMethods.readBackgroundToolHandle (cyclomatic 17): message.createMessageMethods.readBackgroundToolHandle 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abe1412a7a0939a26cc5e64da15399149c4948472484bf477cfaa3ec0f762d3"}},{"ruleId":"D1","level":"warning","message":{"text":"file.normalizeProjectFileRecord (cyclomatic 17): file.normalizeProjectFileRecord 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":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce9c7ac2c1ea73d844c80dff9f6d27f4bfec59ebc8fe3029257e97e1acc0c8e"}},{"ruleId":"D1","level":"warning","message":{"text":"channelRun.createChannelRunStorage.checkpointUpload (cyclomatic 17): channelRun.createChannelRunStorage.checkpointUpload 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 2 function literals inside it that branch (lines 941, 961). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b79d1d5b58dce00d9d659df98ef94418288369ca4baab67a7214fd1064a2929"}},{"ruleId":"D1","level":"warning","message":{"text":"auditLog.createAuditLogMethods.verifyAuditChain (cyclomatic 17): auditLog.createAuditLogMethods.verifyAuditChain 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":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"9190aba6746f1666a11507497ca39df4c47a1b3d9f5b12cf09bc64dc846b25c8"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpAuthority.createMCPAuthorityConfigSourceRevision (cyclomatic 17): mcpAuthority.createMCPAuthorityConfigSourceRevision 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 2 function literals inside it that branch (lines 305, 314). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"e942d550e39f84226ea9ec8f6c4c2143d401f0ee35cf3c0eab23864a8a0a3bdf"}},{"ruleId":"D1","level":"warning","message":{"text":"browserSetup.createBrowserSetupStore.claimNonce (cyclomatic 17): browserSetup.createBrowserSetupStore.claimNonce 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":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c16f25cb61fb27c21d6115538ec6f1a3587fc4cc3eabb93e5d30673286650e"}},{"ruleId":"D1","level":"warning","message":{"text":"getPreparedCodeOutputBuffer (cyclomatic 17): getPreparedCodeOutputBuffer 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f301cac3d2f712f1998ed246b1cb6e1526fcc0ffc2e77c4628a148f96d4633ad"}},{"ruleId":"D1","level":"warning","message":{"text":"writeSandboxFile (cyclomatic 17): writeSandboxFile 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4169a95872573f54ce89f4380bf223590f0ae0c41c8d754be70190e9000132"}},{"ruleId":"D1","level":"warning","message":{"text":"confirmAgentGenerationsDrained (cyclomatic 17): confirmAgentGenerationsDrained 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 2 function literals inside it that branch (lines 391, 424). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a0a6e8b319c948b03860ab4d0010e99bda7b82028def3f7cfef898c68405c0"}},{"ruleId":"D1","level":"warning","message":{"text":"resolveShareFile (cyclomatic 17): resolveShareFile 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":"api/server/routes/share.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa5efbac2b265c3c7ae89890b922e92476304bb44dce73102a787e9e6c37554"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) 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":"api/server/routes/share.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0452f31c155c0c18af13408d17fe45aca5a567cc3d11c0496cd0b733b929cd"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 17): (anonymous) has cyclomatic complexity 17 (threshold 15). 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: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0d55e4a53c449a4a2850f4a61c35e57d747f51be9ca55302c47b29cc38b682"}},{"ruleId":"D1","level":"warning","message":{"text":"migrateSharedLinkPermissions::(anonymous)::processBatch (cyclomatic 17): migrateSharedLinkPermissions::(anonymous)::processBatch 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":"config/migrate-shared-link-permissions.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76fc7b8f7fff8f151c3ec968b77fe39e2dfc9ba544831565855e467ad933a38"}},{"ruleId":"D1","level":"warning","message":{"text":"client.normalizeEventActorContextMeta (cyclomatic 16): client.normalizeEventActorContextMeta 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":"api/server/controllers/agents/client.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa1999161403e40c4597831100e16e3c0f1fb3117e2a4a5deaf4e3bfa2b8d3c5"}},{"ruleId":"D1","level":"warning","message":{"text":"messages.router.post(\u0022/artifact/:messageId\u0022) (cyclomatic 16): messages.router.post(\u0022/artifact/:messageId\u0022) 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":"api/server/routes/messages.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0b32cf9d309eb5e8a7b79ba9af3dcc00d2145f6f9bf194d01d12071ea1e3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"canAccessResource.canAccessResource.\u003Creturned closure\u003E (cyclomatic 16): canAccessResource.canAccessResource.\u003Creturned closure\u003E 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":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfbf8b3e1ae9ec87bf36d00e4d26fdb56b5a2ca8b0274ed5f7521ee349acca4"}},{"ruleId":"D1","level":"warning","message":{"text":"share.router.patch(\u0022/:shareId\u0022) (cyclomatic 16): share.router.patch(\u0022/:shareId\u0022) 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":"api/server/routes/share.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aad7ca6e4eb422c026ffba1c98bec450ffe5ef71989f1b31a5d8503b8472571"}},{"ruleId":"D1","level":"warning","message":{"text":"importers.importClaudeConvo (cyclomatic 16): importers.importClaudeConvo 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":"api/server/utils/import/importers.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79fb8dd73299d007ffa624c6429fca3a765fdaef76f2ad18fd9ba0d921e357b"}},{"ruleId":"D1","level":"warning","message":{"text":"openidStrategy.hasOpenIdAdminRole (cyclomatic 16): openidStrategy.hasOpenIdAdminRole 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":"api/strategies/openidStrategy.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f4a06c24b0064f5f822038fc8237862c1dd61ca06bb63348d78891a5ed280"}},{"ruleId":"D1","level":"warning","message":{"text":"usePresets.usePresets (cyclomatic 16): usePresets.usePresets has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 51, 111, 81). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4564f9ec74c9728e887294d619c213366fa4087b5c9cd8bd7f064d288b671d"}},{"ruleId":"D1","level":"warning","message":{"text":"useUnseenConversations.readReplyState (cyclomatic 16): useUnseenConversations.readReplyState has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4c4c6f036a66cd4a229c3831c445d452e6ef376e5198b7e5ace9fd01375d1a"}},{"ruleId":"D1","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore.handleFiles (cyclomatic 16): useFileHandling.useFileHandlingCore.handleFiles has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"877c946f5a592266cedf37604e4544c1f86037787da85450dbed76937d5ea8e3"}},{"ruleId":"D1","level":"warning","message":{"text":"DeploymentTheme.useThemeCache (cyclomatic 16): DeploymentTheme.useThemeCache has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 167, 184, 145, \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":"client/src/Providers/DeploymentTheme.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4665cd8f3e66a90a5cc5b0e3493f6c7e455db64cf313ff06e7d158ff807c8d37"}},{"ruleId":"D1","level":"warning","message":{"text":"Login.Login (cyclomatic 16): Login.Login has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/Login.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6d431fdaf3665c5a528242e6845b5c79dff5442f157f51412cb1e4716306a4"}},{"ruleId":"D1","level":"warning","message":{"text":"ApprovalContext.ApprovalStateProvider (cyclomatic 16): ApprovalContext.ApprovalStateProvider has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 245, 333, 208, \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":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac59723d6788d093cc961d30054b08f0a0e6f3146f7ba651421adab69e27c80"}},{"ruleId":"D1","level":"warning","message":{"text":"CodeWorkspaceMenu.EnvironmentWorkspaces (cyclomatic 16): CodeWorkspaceMenu.EnvironmentWorkspaces has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 209, 187, 245, \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":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"13181f85c5ecbf917c72c49fda8520c0695ece127068b30f33c8778f0892e8b4"}},{"ruleId":"D1","level":"warning","message":{"text":"Thinking.Thinking (cyclomatic 16): Thinking.Thinking has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 39, 59, 72). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Thinking.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"360e37c8d7844d0e00ec732d8104004614c442d2b3c89bcf25ce7fab5f4b9eb4"}},{"ruleId":"D1","level":"warning","message":{"text":"Inspector.RecordContent (cyclomatic 16): Inspector.RecordContent 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":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b4f090ace42efe9d7ee5ddf52cc45983973590f609cc068b6d18df85d8ef62"}},{"ruleId":"D1","level":"warning","message":{"text":"CustomMenu.CustomMenu (cyclomatic 16): CustomMenu.CustomMenu 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":"client/src/components/Chat/Menus/Endpoints/CustomMenu.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"14632e791ae35d22ee61c0cb9c17ae824fd48e96c0018a1d72d828efd7bfb7ea"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointItem.EndpointItem (cyclomatic 16): EndpointItem.EndpointItem has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14d0774fbb5880f84b87b984882dffae38b028c2aa88b7ae413ab5a7fb55e9d"}},{"ruleId":"D1","level":"warning","message":{"text":"SearchResults.prepareSearchResults (cyclomatic 16): SearchResults.prepareSearchResults has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 42, 63). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d480b790c59b99ddf895c6a7e4e62e11b2ef0bc438a4efa7dd4fe9f8e6ce4618"}},{"ruleId":"D1","level":"warning","message":{"text":"SortFilterHeader.SortFilterHeader (cyclomatic 16): SortFilterHeader.SortFilterHeader has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8afe770ff8db585f623d8878177366dd5a97e7d6535bb9ebc605666656f7e4"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePreviewDialog.getDisplayType (cyclomatic 16): FilePreviewDialog.getDisplayType 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":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6e41c1db743967b77f2de655a4acb4e5e5301bd888c7ee574222b3d6e1a7a2"}},{"ruleId":"D1","level":"warning","message":{"text":"Image.Image (cyclomatic 16): Image.Image has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Image.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5279625502cdcb1f570dc39c3a86619e9bd5f0765d3f0e774b6e8fc8031a0976"}},{"ruleId":"D1","level":"warning","message":{"text":"Wakeup.Wakeup (cyclomatic 16): Wakeup.Wakeup has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 148, 129, 211). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Wakeup.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bc56c86b06d69b91d9a20daaa9b75014c796ed2d65f144cc14cbf0038963c4"}},{"ruleId":"D1","level":"warning","message":{"text":"Google.GoogleSettings (cyclomatic 16): Google.GoogleSettings has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 57, renderComponent, a function literal at line 22). 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":"client/src/components/Endpoints/Settings/Google.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f352eb4470ad5fd3f1d95bc641f275c20d447bbbd071cbea9f8eb7417a829160"}},{"ruleId":"D1","level":"warning","message":{"text":"Mermaid.Mermaid (cyclomatic 16): Mermaid.Mermaid 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 6 function literals inside it that branch (lines 107, 159, 82, \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":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"519dc8f1287446648c95b1a02cf36602111fe8069436afc90513a14efcd654c7"}},{"ruleId":"D1","level":"warning","message":{"text":"ProjectInstructionsDialog.ProjectInstructionsDialog (cyclomatic 16): ProjectInstructionsDialog.ProjectInstructionsDialog 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 8 function items inside it that branch (a function literal at line 62, handleOpenChange, 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":"client/src/components/Projects/ProjectInstructionsDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eae2eea98ffca3a8bb22b491ddbba5d74d4ecd953a3781f35c2dd21746cdc9"}},{"ruleId":"D1","level":"warning","message":{"text":"CategorySelector.CategorySelector (cyclomatic 16): CategorySelector.CategorySelector has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 52, 70, 63, \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":"client/src/components/Prompts/fields/CategorySelector.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86ef3eda95ddead8e7e2dad1e3bd40faa1f073f797584dd4e64b5a1dc95e14b"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPCardActions.MCPCardActions (cyclomatic 16): MCPCardActions.MCPCardActions 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":"client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"152412ef366bc3dc1022e095e6df234e2c620af02d61b6b598384db1430be5d5"}},{"ruleId":"D1","level":"warning","message":{"text":"ScheduleDialog.ScheduleDialog::onSubmit (cyclomatic 16): ScheduleDialog.ScheduleDialog::onSubmit 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 (ScheduleDialog.ScheduleDialog) 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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e989477f6c573f40f1f6ea88c4b2825adf3e018bf1620b9fc14c170d6b10ae"}},{"ruleId":"D1","level":"warning","message":{"text":"UploadSkillDialog.UploadSkillDialog (cyclomatic 16): UploadSkillDialog.UploadSkillDialog has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 129, 156, 120, \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":"client/src/components/Skills/dialogs/UploadSkillDialog.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7a724a93e63088becc4d06d909856d6bf7bb7033912f1abfdf3dc481232ac06"}},{"ruleId":"D1","level":"warning","message":{"text":"Citation.Citation (cyclomatic 16): Citation.Citation has cyclomatic complexity 16 (threshold 15). Of this number, 9 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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf48e7284c2ef9e3d6e355e1c87830fdda762d4d49484d55257d2cde4e288d4"}},{"ruleId":"D1","level":"warning","message":{"text":"queries.useMarketplaceAgentsInfiniteQuery (cyclomatic 16): queries.useMarketplaceAgentsInfiniteQuery 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 3 function items inside it that branch (a function literal at line 400, onError, a function literal at line 378). 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":"client/src/data-provider/Agents/queries.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"0973f402f5c2c0f8590a7dc0076501cba1c04f6a2f232d5fb28c4a5e6f9dfa73"}},{"ruleId":"D1","level":"warning","message":{"text":"mutations.useConversationTagMutation (cyclomatic 16): mutations.useConversationTagMutation has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 4 function items inside it that branch (onMutationSuccess, a function literal at line 1195, a function literal at line 1237, \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":"client/src/data-provider/mutations.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4ca930af24c819996df85bb21b87d51ce80e9d6f345298b69893e6fd6e126b"}},{"ruleId":"D1","level":"warning","message":{"text":"mutations.useDeleteConversationMutation (cyclomatic 16): mutations.useDeleteConversationMutation has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1389, 1453). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e80046289293e11883ce4a3c43b5c3b43c0a129c305448f26aafd14635130e"}},{"ruleId":"D1","level":"warning","message":{"text":"files.validateFiles (cyclomatic 16): files.validateFiles 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":"client/src/utils/files.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2500f7a1dbab3d4a98fbdb33abc415841245969cf7a66daf8f3323c2ab33d4"}},{"ruleId":"D1","level":"warning","message":{"text":"drafts.removeTabAttachmentPresence (cyclomatic 16): drafts.removeTabAttachmentPresence 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":"client/src/utils/drafts.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ab59ee4116c3f947a2cd28cc4a3f09eda4ef74e23cc7a08cdc4c53bd704fc3"}},{"ruleId":"D1","level":"warning","message":{"text":"endpoints.getDefaultModelSpec (cyclomatic 16): endpoints.getDefaultModelSpec 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":"client/src/utils/endpoints.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2dd875acc7b66ba92f61df7eb1ce85423c5a02d6015baf23013e67c18f7172"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.groupConversations (cyclomatic 16): convos.groupConversations has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 155, 192, 191, \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":"client/src/utils/convos.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"75bcfece6c8417dc3cb2c66c65ec021cfadfa1bdb869a1b6ebec81aa8beeb0d9"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.conversationInsertVerdict (cyclomatic 16): convos.conversationInsertVerdict 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":"client/src/utils/convos.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"380f7718108aeab1c5eb8a2e26b5cd121e03aa3b824afd2642a075e607ff26a2"}},{"ruleId":"D1","level":"warning","message":{"text":"convos.trackConvoQueryAuthority (cyclomatic 16): convos.trackConvoQueryAuthority 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 one function literal inside it that branches (line 759). 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":"client/src/utils/convos.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"acfe4b73c4e568df64f06595ab5110a9425782e3a6894876126c23fe189c7cb0"}},{"ruleId":"D1","level":"warning","message":{"text":"presets.getPresetTitle (cyclomatic 16): presets.getPresetTitle has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/presets.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3bddebfdc22d423d9cde30300f1f3b160e21f7320e1cd7fa8ab6d63717efab"}},{"ruleId":"D1","level":"warning","message":{"text":"memory.handleMemoryArtifact (cyclomatic 16): memory.handleMemoryArtifact has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/memory.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fad9f01a497a07a1769ed95088e361aa4aeb8aee695add6cd0e4d4799abd51"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.encryptConfigSecretFields (cyclomatic 16): secrets.encryptConfigSecretFields has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8b890fc058279149841a0700f3f1aa2886a64b017bac58b6303d14eab92df9"}},{"ruleId":"D1","level":"warning","message":{"text":"secrets.encryptConfigSecrets (cyclomatic 16): secrets.encryptConfigSecrets has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7d3382f03dcf84e818730d222612114ce5e6971b4f45c56c433c9692fc3f2e"}},{"ruleId":"D1","level":"warning","message":{"text":"config.createAdminConfigHandlers.toggleConfig (cyclomatic 16): config.createAdminConfigHandlers.toggleConfig 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":"packages/api/src/admin/config.ts"},"region":{"startLine":5009}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d4e01bfe3615423a6f6875a63cec3be7eed0586ab6574bccd4e3a7cecb4d5"}},{"ruleId":"D1","level":"warning","message":{"text":"SubagentActivityStream.subscribe (cyclomatic 16): SubagentActivityStream.subscribe 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 6 function items inside it that branch (a function literal at line 354, a function literal at line 365, a function literal at line 295, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7a528684cb8785458d0617e07f3c31f6e580028e18fe732f9f362474e96242"}},{"ruleId":"D1","level":"warning","message":{"text":"InMemoryEventTransport.retainReplay (cyclomatic 16): InMemoryEventTransport.retainReplay has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b1f910a18ee0b64993bf3bb93e81d8e7e348b9d6b957b5432572050ca7343c"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.completeJob (cyclomatic 16): GenerationJobManagerClass.completeJob has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a76aae8f1e3bd465ff3f76bbb3c27f7552248af3b28c6ba8217b2652151014c"}},{"ruleId":"D1","level":"warning","message":{"text":"GenerationJobManagerClass.emitChunk (cyclomatic 16): GenerationJobManagerClass.emitChunk has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7108}}}],"partialFingerprints":{"codehealthFindingId/v1":"862c31377d20318d0413958dd5e87cc3913a3d9eaa33e269b1faedd12a9d9cc0"}},{"ruleId":"D1","level":"warning","message":{"text":"execution.resolveCodeExecutionContext (cyclomatic 16): execution.resolveCodeExecutionContext 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":"packages/api/src/agents/execution.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9f400e1978f6ebe48f5fe3a79279445b9652a2687feb11de7521f35343bfff"}},{"ruleId":"D1","level":"warning","message":{"text":"view.renderDigest (cyclomatic 16): view.renderDigest has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"a945e93b0bf45d6d744f5e44c3cec74ea708f49aadbe42807ae58cf54a3b17df"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisSubagentTaskControlTransport.cancelScope (cyclomatic 16): RedisSubagentTaskControlTransport.cancelScope has cyclomatic complexity 16 (threshold 15). 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, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b517f0c329cbbaa3262f7e2f93750e005fd8c675b69adfbcbebd130bcc4944"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createOpenAIToolCallStream.finish (cyclomatic 16): handlers.createOpenAIToolCallStream.finish 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"885dc4f47da5f8eb2f39e1d80850fdfe067fcbcea038f3b7c5fd61aa1200c6d8"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.isLegacyArtifactProjectionHuman (cyclomatic 16): modelBoundContent.isLegacyArtifactProjectionHuman has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4aad13090493e964db3d6bedcf296b76bab019f39df57460a4c5f08f0fc0053"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.snapshotModelBoundPartProperty (cyclomatic 16): modelBoundContent.snapshotModelBoundPartProperty 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, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f49913ff144e67b43728868fcfebe5c4b819dd947de2211221eda67cdf8ba0"}},{"ruleId":"D1","level":"warning","message":{"text":"modelBoundContent.getSelectedRawStoredMessageFileIds (cyclomatic 16): modelBoundContent.getSelectedRawStoredMessageFileIds has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eef76e27f4ef5f978fd6c4cc740a74dade236133b8fc53964649c6db409de8d"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createRunFileSession.prepare (cyclomatic 16): session.createRunFileSession.prepare has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/session.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb06d190c497e655a81f25521a852d4edcff21f081a5546697f4808850cbffb"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.normalizeSkillMdContent (cyclomatic 16): handlers.normalizeSkillMdContent has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5ecaebf8cde20411316f67604c11687bfeede342d7ed377ab56d6af5cdd792"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.mergeSandboxSessionArtifact (cyclomatic 16): handlers.mergeSandboxSessionArtifact has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a1ff0fe0a0e8b6477207d844097c67c8e9aaa073375cc3390e5a3e18aef155"}},{"ruleId":"D1","level":"warning","message":{"text":"answers.applyRetainedAnswers (cyclomatic 16): answers.applyRetainedAnswers has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the 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":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40b6c65a5d5a7145d9dd5f82f6e90e44c7cf8b3b240a0d6984788295e43f95d"}},{"ruleId":"D1","level":"warning","message":{"text":"subagentCompletionWakeup.candidateFromMessage (cyclomatic 16): subagentCompletionWakeup.candidateFromMessage has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3f7e924d5b55f20864224a20416a7d35b73e98aafd198ffebcd84bd56e450"}},{"ruleId":"D1","level":"warning","message":{"text":"deletion.createCheckpointDeletionReclaimer.\u003Creturned closure\u003E (cyclomatic 16): deletion.createCheckpointDeletionReclaimer.\u003Creturned closure\u003E has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 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":"packages/api/src/agents/checkpoints/deletion.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e0f90b0a9deef2dd088668e98804ce83641ef1a3325ecd90c7900dd1137cb8d"}},{"ruleId":"D1","level":"warning","message":{"text":"guard.isBoundEventContinuation (cyclomatic 16): guard.isBoundEventContinuation 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":"packages/api/src/agents/guard.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc75a429a29e69afcb5eaa5439b9bce45b788d067e8f76e8062f8ae7d751f1b"}},{"ruleId":"D1","level":"warning","message":{"text":"mcpIdentity.stampMcpServerIdentities (cyclomatic 16): mcpIdentity.stampMcpServerIdentities has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/mcpIdentity.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"295543219e189a91d0f61cdb8f135aafb357dda1fabfca222f04f77cd48b177f"}},{"ruleId":"D1","level":"warning","message":{"text":"service.convertInputToMessages (cyclomatic 16): service.convertInputToMessages has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b0c0aa2d70f36aae0dd41d33dc21caaa52da9257e347be8f07bd9442e0b08"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createAgentTriggerService (cyclomatic 16): service.createAgentTriggerService 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"d831c767a6bd6383af8ff814e799a85d079ee305a349f7c232ff0fc5fd7d0334"}},{"ruleId":"D1","level":"warning","message":{"text":"queuedTurnHttp.resolveFiles (cyclomatic 16): queuedTurnHttp.resolveFiles 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":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"705f5da3986fbf250f6fee53cf5ec6d31375c52c79525ad0b3be03e0214a044a"}},{"ruleId":"D1","level":"warning","message":{"text":"view.publicStatus (cyclomatic 16): view.publicStatus has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b97730513d4e09e837df76098ba0ce909819c11a9611c5625eafe6abe0c818"}},{"ruleId":"D1","level":"warning","message":{"text":"report.getEndpointOverrideReport (cyclomatic 16): report.getEndpointOverrideReport has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df4d65b460f44bc00a90f60ea8a2f77908bdbd59e5164b93e5d886154406ed3"}},{"ruleId":"D1","level":"warning","message":{"text":"postgres.runPostgresCommand::execute (cyclomatic 16): postgres.runPostgresCommand::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":"packages/api/src/app/postgres.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e61355382416862dc42c74294c8e1edf4d3d33639b2468700949e09fbb9695"}},{"ruleId":"D1","level":"warning","message":{"text":"ip.hasPrivateEmbeddedIPv4 (cyclomatic 16): ip.hasPrivateEmbeddedIPv4 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36bde825f3f19275a0a13e12924ed1b6aa03b4f30b55d9641b1b797b8322159"}},{"ruleId":"D1","level":"warning","message":{"text":"enrollment.createOptInTwoFactorConfirmation.\u003Creturned closure\u003E (cyclomatic 16): enrollment.createOptInTwoFactorConfirmation.\u003Creturned closure\u003E 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":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4119d3cc5fa062cb8522478301b1c7ae4204b7bdacb0d5c3f6f34a6e55165cd"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createPasskeyHandlers.registerPasskeyVerify (cyclomatic 16): handlers.createPasskeyHandlers.registerPasskeyVerify has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac1a0e18df73d4619f97dfd8fa3a425790d63d868babba82737774334646f07"}},{"ruleId":"D1","level":"warning","message":{"text":"openidRoleSync.getOpenIdRolesForOpenIdSync (cyclomatic 16): openidRoleSync.getOpenIdRolesForOpenIdSync 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":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fcb62ef0175d0bef0c0c7baab61b895ab8c0e9f3ca35b20133d13bf8bb9c27"}},{"ruleId":"D1","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.canBindLegacyOpenIDSession (cyclomatic 16): session.createOpenIDSessionRefreshService.canBindLegacyOpenIDSession has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e4e3b30e08811c8a247e52c2cf72e32c144196647f95417becc7ae85ee9e4d"}},{"ruleId":"D1","level":"warning","message":{"text":"limiter.createTwoFactorLimiter (cyclomatic 16): limiter.createTwoFactorLimiter has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function items inside it that branch (a function literal at line 79, getUserLimiterKey, getTempTokenUserId, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/limiter.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb4924e93e7ad3f061d47ea29388d2906edd9c172a7b72e546f98752726d024"}},{"ruleId":"D1","level":"warning","message":{"text":"credentials.createChannelResponseCredentials.current (cyclomatic 16): credentials.createChannelResponseCredentials.current has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/credentials.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8b5a9254dbb156ae90bc443753863dbf3dfbf735e6492ffb7e5b35a88f8f65"}},{"ruleId":"D1","level":"warning","message":{"text":"artifactStorage.createChannelArtifactReader.readFile (cyclomatic 16): artifactStorage.createChannelArtifactReader.readFile has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/artifactStorage.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fb05a7c94d53a31e925e3389c9cf45a77d2f2c7631f189d612a5d37030f9790"}},{"ruleId":"D1","level":"warning","message":{"text":"service.createChannelHandlers.update (cyclomatic 16): service.createChannelHandlers.update 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":"packages/api/src/channels/service.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58dd26863d5848abce96ebe7ca236c552bff380e5a655ba3f4b51e5f89d71df"}},{"ruleId":"D1","level":"warning","message":{"text":"workspaceHttp.createSlackWorkspaceHandlers.callback (cyclomatic 16): workspaceHttp.createSlackWorkspaceHandlers.callback has cyclomatic complexity 16 (threshold 15). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceHttp.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50b692a3dc0d73b720a97ce2c3276533551da06856df00fd47807e63b5a6aa4"}},{"ruleId":"D1","level":"warning","message":{"text":"attachments.importOne (cyclomatic 16): attachments.importOne has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bde8ba42ed250ad392d30d0e4c6336afcbacf6eae4cf29ac078f846cf55d20"}},{"ruleId":"D1","level":"warning","message":{"text":"capabilities.readAuthorizedAttachedWorkerStatus (cyclomatic 16): capabilities.readAuthorizedAttachedWorkerStatus has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0709563b0ab08f682d013a76f74509e5a59594cc66a1c059adb85ba296871cea"}},{"ruleId":"D1","level":"warning","message":{"text":"reasoning.readCatalog (cyclomatic 16): reasoning.readCatalog has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/reasoning.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86fbad62da24fbbd385f2fdce76d1624ab6842b4f7c4f50f3661f0f6a2991bb"}},{"ruleId":"D1","level":"warning","message":{"text":"zipSafety.assertSafeZipSize (cyclomatic 16): zipSafety.assertSafeZipSize has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 80, 101, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/zipSafety.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"554aa1d09d87947039d4e7470a9943535cdd3035980588597a67c6684e1f7816"}},{"ruleId":"D1","level":"warning","message":{"text":"pdf.helper.main (cyclomatic 16): pdf.helper.main has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/pdf.helper.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb94129bf3fc36578205b78a65d7208ff18ad0d406856fa4119919053657c382"}},{"ruleId":"D1","level":"warning","message":{"text":"orphan.createStoredUploadDelete.\u003Creturned closure\u003E (cyclomatic 16): orphan.createStoredUploadDelete.\u003Creturned closure\u003E has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 137). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/orphan.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0951d9de3a3c84b71cc0e848ab58cfc3be045b41bc5655adc4377dbd9562a1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"search.executeFileSearchQuery (cyclomatic 16): search.executeFileSearchQuery has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function items inside it that branch. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/rag/search.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"327664798b80e95eca2d6f49239c0fbfb4bc68f182dd51fb70cb5c58deaf70e3"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPServersRegistry.deepEqual (cyclomatic 16): MCPServersRegistry.deepEqual has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c7e6dc51dc769bbbe7f3bc43188b7304219c89a4f2289293c1b511de45ea4a"}},{"ruleId":"D1","level":"warning","message":{"text":"obo.resolveOboToken (cyclomatic 16): obo.resolveOboToken has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"474bbd9ad3c71a1558805d42e12a3ad1b40e81bb8aedb52a65bd16460f08f60d"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPOAuthHandler.createOAuthFetch (cyclomatic 16): MCPOAuthHandler.createOAuthFetch has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 82). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f05d3a3d19862f84801e13a3fa23f5ea1c594bc98040f5afc327704c0a653ca"}},{"ruleId":"D1","level":"warning","message":{"text":"cleanup.cleanupDeletedMCPServerOAuthUsers (cyclomatic 16): cleanup.cleanupDeletedMCPServerOAuthUsers has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ed562309ada09c91c721c1e822bb18c58aa0a72c51091875d4bf4c8aaa725e"}},{"ruleId":"D1","level":"warning","message":{"text":"MCPConnection.isConnected (cyclomatic 16): MCPConnection.isConnected has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: MCPConnection.setupTransportErrorHandlers (cyclomatic 24) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b8623bb760a3ece023a95eb9973813db8bf21c9eeffbd95430461e9c2443d4"}},{"ruleId":"D1","level":"warning","message":{"text":"defer.shouldDeferMCPOAuthSignIn (cyclomatic 16): defer.shouldDeferMCPOAuthSignIn has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/defer.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4d570c35109ba15d69d30af4f1e58be1a333769ea14a6f79151f74025b1efa"}},{"ruleId":"D1","level":"warning","message":{"text":"tools.createMCPToolCacheService.updateMCPServerTools (cyclomatic 16): tools.createMCPToolCacheService.updateMCPServerTools has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9585f250a0e5d896008b7eb6200f056a00deebabfced9f8e45e1c183d00168"}},{"ruleId":"D1","level":"warning","message":{"text":"transform.createPiiTextTransformer.createSession.transform (cyclomatic 16): transform.createPiiTextTransformer.createSession.transform has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/transform.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e1bb568cae9dd06b8fb7eb4fd8e5d9de81b8b875ea8bb7cc463da527509b71"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createProjectHandlers.updateProject (cyclomatic 16): handlers.createProjectHandlers.updateProject has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b8d0a976a3f7263600e3be8069e10220f62f569077695cd0fb392aaced4e34"}},{"ruleId":"D1","level":"warning","message":{"text":"handlers.createSchedulesHandlers.runScheduleNow (cyclomatic 16): handlers.createSchedulesHandlers.runScheduleNow 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b95cfa7246499e94c2a342be6336792923853d79739ae7989023ed9b9ce27eb"}},{"ruleId":"D1","level":"warning","message":{"text":"mcp.readStdioServer (cyclomatic 16): mcp.readStdioServer 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":"packages/api/src/plugins/mcp.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f3cf7f30f02b82f01040e05a35db57e22c7668670a8ffe06c151ad53d351cf"}},{"ruleId":"D1","level":"warning","message":{"text":"crud.extractKeyFromS3Url (cyclomatic 16): crud.extractKeyFromS3Url has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d9cdfec0b1d4937094bc0de9fef761a4cb07db73ff19afc72c39d814a9fb0"}},{"ruleId":"D1","level":"warning","message":{"text":"crud.deleteFileFromS3 (cyclomatic 16): crud.deleteFileFromS3 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db12c58ec00ac96b4f8ca22386fa359f219e2b137de3b94b26ba81f7f075c0e"}},{"ruleId":"D1","level":"warning","message":{"text":"feedback.sendFeedbackScore (cyclomatic 16): feedback.sendFeedbackScore has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 188, 167, 180). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/feedback.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fbe40bdb3eb7487df2fbf568cc54f63591183883917253025386e86b86ac72"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisEventTransport.subscribe (cyclomatic 16): RedisEventTransport.subscribe 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 3 function literals inside it that branch (lines 1426, 1442, 1411). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e0a7c391700c23bb446659fd3af43f8fe7dc829a9b680bbd87b02cdecb5fee"}},{"ruleId":"D1","level":"warning","message":{"text":"ReviewFlow.submit (cyclomatic 16): ReviewFlow.submit has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13ca13472a7348cebd4aa24ea6e02c9f768f1c02764a95c4f99415f9cdff96"}},{"ruleId":"D1","level":"warning","message":{"text":"timing.applyToolPreparation (cyclomatic 16): timing.applyToolPreparation has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ec3e649fcaf51913fb827cb29bb6ba7511ff71879629a8e3fd315436496adc"}},{"ruleId":"D1","level":"warning","message":{"text":"terminal.authorizeTerminalTeardown (cyclomatic 16): terminal.authorizeTerminalTeardown has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/terminal.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd28338f31dddd395a8caee89f8db7413c24e7c4bf7d4366babc1a96bf67f96"}},{"ruleId":"D1","level":"warning","message":{"text":"files.partitionComposerFiles (cyclomatic 16): files.partitionComposerFiles has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/files.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0173edf263c51c99e20e77a758fe1c602c8c33f471ab7765c7f7a4e30f6111ca"}},{"ruleId":"D1","level":"warning","message":{"text":"outcomes.handoffStartToReplacement (cyclomatic 16): outcomes.handoffStartToReplacement has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b610e05827733a539bb628e299b3fe4e755291373f0401c34b093d5076fbddf"}},{"ruleId":"D1","level":"warning","message":{"text":"background.parseBackgroundTaskOutput (cyclomatic 16): background.parseBackgroundTaskOutput 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":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bc35c9276e479eae52371a187517ae535d751beb3a4135fa43abba955fc869"}},{"ruleId":"D1","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceRequirement (cyclomatic 16): workspace.resolveCodeWorkspaceRequirement has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a6f885543b5d29ebc91393d588da7c2ea269181a9da9da78cccd835cb49f03"}},{"ruleId":"D1","level":"warning","message":{"text":"chips.useSteerChips (cyclomatic 16): chips.useSteerChips has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 217, 164, 207, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/chips.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74e6b3c21d9bae215ef001d57d0eec4d6054b1623b42074dc22c18cf47fffd5"}},{"ruleId":"D1","level":"warning","message":{"text":"steer.useSteerState (cyclomatic 16): steer.useSteerState has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 93, 297, 175, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/steer.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6298f812bccfe023f9334f23e81b15023064b90acac1327a68c77fe889ab60"}},{"ruleId":"D1","level":"warning","message":{"text":"content.useContentHandler.contentHandler (cyclomatic 16): content.useContentHandler.contentHandler 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":"packages/chat/src/react/stream/content.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"39533e8b413e15e664f79c8a06ad4499f13c0fb7c1bbebd391cb45eec1263241"}},{"ruleId":"D1","level":"warning","message":{"text":"useSteerEscalate.useSteerEscalate (cyclomatic 16): useSteerEscalate.useSteerEscalate has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 88, 71, 96, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerEscalate.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bcf9eed6fa2dad9f9267214ac20b0a62e4624a0e8bfe4c2875ce9360dbf3f93"}},{"ruleId":"D1","level":"warning","message":{"text":"ThemeProvider.syncControlledTheme (cyclomatic 16): ThemeProvider.syncControlledTheme has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b549dff335b38ff6d7f78d95869d7d2182ed5a6433d3176912d0e192c010082"}},{"ruleId":"D1","level":"warning","message":{"text":"parsers.parseTextParts (cyclomatic 16): parsers.parseTextParts has cyclomatic complexity 16 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2f3d02fa757c707f55d8f693270db4e54113f31901b90cb2bbecd4d22381b0"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.attributeIssue (cyclomatic 16): resolution.attributeIssue has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: resolution.getConfigIssueParams (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"1146b626e4fdbc3c4258529e53df6f3eead668153518b2547d0877ff666b227a"}},{"ruleId":"D1","level":"warning","message":{"text":"resolution.filterMCPServerOverrides (cyclomatic 16): resolution.filterMCPServerOverrides has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: resolution.getConfigIssueParams (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"c985622f87ba743d89101f16db35e88a61b6786c4b2367715e2a57c06d19ecd3"}},{"ruleId":"D1","level":"warning","message":{"text":"changes.getConfigChangeWrittenPaths (cyclomatic 16): changes.getConfigChangeWrittenPaths has cyclomatic complexity 16 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/changes.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ba204c272526a40f843ce2565c160213c9f06527aa4aa319c517248a55ab5bd"}},{"ruleId":"D1","level":"warning","message":{"text":"aclEntry.createAclEntryMethods.grantPermission (cyclomatic 16): aclEntry.createAclEntryMethods.grantPermission 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":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bddb40dac91bbd3a3ecf016bf4e0b7454e7afd1427f083d0a87980007a462ee1"}},{"ruleId":"D1","level":"warning","message":{"text":"chatProject.createChatProjectMethods.updateChatProject (cyclomatic 16): chatProject.createChatProjectMethods.updateChatProject has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e99166a9973103e8cd1c91de00c8ec0364d5901ac79ab407e847e536fc338d"}},{"ruleId":"D1","level":"warning","message":{"text":"conversation.createConversationMethods.archiveAllConvos (cyclomatic 16): conversation.createConversationMethods.archiveAllConvos has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: conversation.validateAgentEventActorSuspension (cyclomatic 27) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":4354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbee4d9b89f5c8fc7028188ab166bb81cdfcfd8ae420bd045aea89b033c1e9d"}},{"ruleId":"D1","level":"warning","message":{"text":"role.createRoleMethods.initializeRoles (cyclomatic 16): role.createRoleMethods.initializeRoles has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 157). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2489485d98869f6e751288bf7dfb300a9c2ad86cb5175284cad5178327ec86"}},{"ruleId":"D1","level":"warning","message":{"text":"auditLog.createAuditLogMethods.recordAuditEntry (cyclomatic 16): auditLog.createAuditLogMethods.recordAuditEntry has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb00aa7414e56e6f124b1c96abc14de33d07af3217fef9977055a333a421b8e"}},{"ruleId":"D1","level":"warning","message":{"text":"share.createShareMethods.getSharedLinks (cyclomatic 16): share.createShareMethods.getSharedLinks has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da5d772b959a59fa2629407fd5b5b256066e6411ead6e91fd56e4ad5cf5e89"}},{"ruleId":"D1","level":"warning","message":{"text":"gateway.handle (cyclomatic 16): gateway.handle 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, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db9e78aec0b73feb7b7c86fc562dc359c0cce0786d373a704cf7d387bb1afa2"}},{"ruleId":"D1","level":"warning","message":{"text":"prepareEventActorContext (cyclomatic 16): prepareEventActorContext 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":"api/server/controllers/agents/client.js"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"05580e904e2439dbe689a674d8689c7157b8709d9f31afd3e58d2990acc92404"}},{"ruleId":"D1","level":"warning","message":{"text":"getMessagesForConversation (cyclomatic 16): getMessagesForConversation 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"df67d0aebe117916d1003d5002758b947274bc2ce57b70bdd2d2829a3b173865"}},{"ruleId":"D1","level":"warning","message":{"text":"getDefaultHandlers::handle (cyclomatic 16): getDefaultHandlers::handle 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"9948dc28a9d27ecb426e0ada5ce473e3d1ed7e3b53fd6552fc7079c633ee56f8"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) 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":"api/server/routes/messages.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88145a6ca121ad5ecd80e3c784298335070d33bde2655ab4c52ad46ad10877a"}},{"ruleId":"D1","level":"warning","message":{"text":"(anonymous) (cyclomatic 16): (anonymous) 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":"api/server/routes/share.js"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece33003d13d81e27582cbd49cd10edaa28b65b0c2725989cdd880c81a8287fe"}},{"ruleId":"D1","level":"warning","message":{"text":"abortMessage (cyclomatic 16): abortMessage 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":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"684bd989173df5fefc17fb53f1cff49312c5902d978cb7cdccac917a822f2dd3"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createToolExecuteHandler (cognitive 579): handlers.createToolExecuteHandler has cognitive complexity 579 (threshold 15). Drivers by points: if/else 145 (288 pts), ternaries 56 (127 pts), boolean chains 94, error handling 22 (53 pts), loops 7 (17 pts) (nesting depth added 255). None of this is in the body itself: all 579 points belong to 35 function literals inside it that branch (lines 7369, 7072, 5777, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42d589b64cbb6b13044d0b883b55f605eb1cfa9a788371ca94234c264137e72"}},{"ruleId":"D2","level":"warning","message":{"text":"background.runCheckBackgroundTask (cognitive 375): background.runCheckBackgroundTask has cognitive complexity 375 (threshold 15). Drivers by points: if/else 64 (244 pts), ternaries 20 (67 pts), error handling 9 (33 pts), boolean chains 31 (nesting depth added 251). Of this number, 371 points are the body\u0027s own statements and 4 belong to 5 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edf1e0b187389cc865cca85bb49c25b1c17367315e05246da87e0c4b4cfbcd3"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumeAgentController (cognitive 368): ResumeAgentController has cognitive complexity 368 (threshold 15). Drivers by points: if/else 92 (157 pts), error handling 37 (89 pts), boolean chains 54, ternaries 20 (44 pts), other 24 (nesting depth added 141). Of this number, 335 points are the body\u0027s own statements and 33 belong to 37 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":"api/server/controllers/agents/resume.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"002e55977b4e09e4dc8147c3e4f2c6cd109a238601abec6cebd957cc4d54e2a2"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableAgentController (cognitive 344): ResumableAgentController has cognitive complexity 344 (threshold 15). Drivers by points: if/else 174 (317 pts), boolean chains 143, ternaries 59 (92 pts), error handling 38 (90 pts), other 36 (nesting depth added 228). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f8ec43870b098b6b0a2a59266ec71f09183fe9c655d83f444016f3d3bf7442"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.extractMessageContent (cognitive 294): messages.extractMessageContent has cognitive complexity 294 (threshold 15). Drivers by points: if/else 71 (219 pts), ternaries 10 (26 pts), loops 7 (19 pts), boolean chains 18, error handling 5 (12 pts) (nesting depth added 183). Of this number, 251 points are the body\u0027s own statements and 43 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c736e623b5edb199c8e003e42419b1de13fc1077c5c6a058d5f8097e43299a2"}},{"ruleId":"D2","level":"warning","message":{"text":"panel.SubagentThreadPanel (cognitive 291): panel.SubagentThreadPanel has cognitive complexity 291 (threshold 15). Drivers by points: boolean chains 110, if/else 92 (102 pts), ternaries 60 (77 pts), error handling 2 (nesting depth added 27). Of this number, 89 points are the body\u0027s own statements and 202 belong to 51 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":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7916baf0e3f4527920fc64fa2bbbd154dca3137aaeef1f8fb73442f61fca77a7"}},{"ruleId":"D2","level":"warning","message":{"text":"outcome.createAgentEventTerminalHandler.\u003Creturned closure\u003E (cognitive 290): outcome.createAgentEventTerminalHandler.\u003Creturned closure\u003E has cognitive complexity 290 (threshold 15). Drivers by points: if/else 82 (168 pts), ternaries 30 (75 pts), boolean chains 47 (nesting depth added 131). Of this number, 286 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b1ed716abdfb1a80f5043b90ef9041e235dccfd218760fb80274a8aa278f4e"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeAgent (cognitive 278): initialize.initializeAgent has cognitive complexity 278 (threshold 15). Drivers by points: if/else 94 (131 pts), boolean chains 69, ternaries 44 (65 pts), loops 6 (11 pts), error handling 2 (nesting depth added 63). Of this number, 256 points are the body\u0027s own statements and 22 belong to 16 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"de685f4ade2a74dc9c8461b54a0c36b7fb13e5ee553e87127308fd1a28bfccda"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPManager.callTool (cognitive 263): MCPManager.callTool has cognitive complexity 263 (threshold 15). Drivers by points: if/else 62 (174 pts), boolean chains 43, error handling 8 (22 pts), ternaries 10 (21 pts), loops 2 (3 pts) (nesting depth added 138). Of this number, 213 points are the body\u0027s own statements and 50 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"2589fa9d599e8dac1afe47110c033f8094433c05b3760f62d2747c3b17f5cff0"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageNav.MessageNav (cognitive 263): MessageNav.MessageNav has cognitive complexity 263 (threshold 15). Drivers by points: if/else 141 (187 pts), boolean chains 33, loops 21 (27 pts), ternaries 15 (16 pts) (nesting depth added 53). Most of this is not in the body itself: 13 of the 263 points are its own statements and the rest belongs to 62 function literals inside it that branch (lines 1140, 1249, 1433, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad73f192b6bce24d4978a78c261760e56bf5390e62001b7eaf0f765bbca84bd"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.getOpenAILLMConfig (cognitive 262): llm.getOpenAILLMConfig has cognitive complexity 262 (threshold 15). Drivers by points: if/else 88 (192 pts), boolean chains 60, loops 4 (8 pts), ternaries 1 (2 pts) (nesting depth added 109). Of this number, 258 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":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"e375894473826a8e0642966722d7b54275c282824d3d061b06f46518323d32f1"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableAgentController::startGeneration (cognitive 233): ResumableAgentController::startGeneration has cognitive complexity 233 (threshold 15). Drivers by points: if/else 63 (117 pts), error handling 15 (41 pts), boolean chains 33, ternaries 20 (29 pts), other 13 (nesting depth added 89). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e81889550bbdbd1d6fe619dce056efe50db9021abb08698623b44a23a882b2"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.inspectModelBoundContent (cognitive 209): modelBoundContent.inspectModelBoundContent has cognitive complexity 209 (threshold 15). Drivers by points: if/else 45 (137 pts), boolean chains 31, loops 14 (28 pts), ternaries 6 (8 pts), error handling 3 (5 pts) (nesting depth added 110). Of this number, 177 points are the body\u0027s own statements and 32 belong to 8 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f400c93ce805450adb5ce8bc544570ed502b96cd858ce811c9b843ee4a4a05ff"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.foldConfigLayers (cognitive 206): resolution.foldConfigLayers has cognitive complexity 206 (threshold 15). Drivers by points: if/else 37 (127 pts), loops 11 (46 pts), boolean chains 20, ternaries 3 (13 pts) (nesting depth added 135). 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"beba7104b74f85515dc71ffeb7bdb5f2e1e4e15c74a0b3cf9d7802656d5d270f"}},{"ruleId":"D2","level":"warning","message":{"text":"actor.executeAgentEventActor (cognitive 200): actor.executeAgentEventActor has cognitive complexity 200 (threshold 15). Drivers by points: ternaries 47 (86 pts), if/else 53 (83 pts), boolean chains 26, error handling 4 (5 pts) (nesting depth added 70). Of this number, 198 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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8786a716d3a8c36cc3e53fbfd546fe512972e8f1a73a6bceea5be26f8a7245b9"}},{"ruleId":"D2","level":"warning","message":{"text":"permissions.updateInterfacePermissions (cognitive 193): permissions.updateInterfacePermissions has cognitive complexity 193 (threshold 15). Drivers by points: ternaries 41 (86 pts), boolean chains 53, if/else 23 (45 pts), loops 4 (8 pts), error handling 1 (nesting depth added 71). Of this number, 161 points are the body\u0027s own statements and 32 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":"packages/api/src/app/permissions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0b61e43b58c538d6fe728ce4e63787417e57e048fc6148d7d6fa7a5ac07a5c"}},{"ruleId":"D2","level":"warning","message":{"text":"initializeClientWithProvider (cognitive 193): initializeClientWithProvider has cognitive complexity 193 (threshold 15). Drivers by points: if/else 67 (78 pts), boolean chains 36, other 30, ternaries 27 (29 pts), loops 9 (11 pts), error handling 6 (9 pts) (nesting depth added 18). Of this number, 70 points are the body\u0027s own statements and 123 belong to 97 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":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c3f8094ff05fe09b8fd5551fd5aa46edb668d8239b2d6b4d4471061083607e"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.subscribeWithResume (cognitive 187): GenerationJobManagerClass.subscribeWithResume has cognitive complexity 187 (threshold 15). Drivers by points: if/else 73 (136 pts), boolean chains 30, loops 4 (11 pts), ternaries 6 (9 pts), error handling 1 (nesting depth added 73). Of this number, 164 points are the body\u0027s own statements and 23 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6336}}}],"partialFingerprints":{"codehealthFindingId/v1":"684b48c39d90fdc3cddb4533220fe10eb86a75713b1d0316d09220d60589566d"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentPublicRecorder.recordEvent (cognitive 173): SubagentPublicRecorder.recordEvent has cognitive complexity 173 (threshold 15). Drivers by points: if/else 40 (98 pts), ternaries 19 (44 pts), boolean chains 19, loops 5 (12 pts) (nesting depth added 90). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc98414236a8dde086ca6147bba73db8637fdebfba6a4546d040165b5b298f6a"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.validateSettingDefinitions (cognitive 170): generate.validateSettingDefinitions has cognitive complexity 170 (threshold 15). Drivers by points: if/else 50 (124 pts), boolean chains 38, loops 4 (7 pts), ternaries 1 (nesting depth added 77). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedc495ccd3fb24971e491153f16f4ab36ea3364fae30780262ece79047ae1ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Palette.Palette (cognitive 164): Palette.Palette has cognitive complexity 164 (threshold 15). Drivers by points: if/else 56 (71 pts), boolean chains 48, ternaries 23 (30 pts), loops 9 (15 pts) (nesting depth added 28). Of this number, 29 points are the body\u0027s own statements and 135 belong to 28 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":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d56d98b1e09c250333e76acf8f5f7cc4caab437c72c8a454f563d32fc28fd6d"}},{"ruleId":"D2","level":"warning","message":{"text":"sendReservedMessage (cognitive 149): sendReservedMessage has cognitive complexity 149 (threshold 15). Drivers by points: if/else 51 (94 pts), boolean chains 25, other 9, error handling 4 (8 pts), ternaries 6 (7 pts), loops 2 (6 pts) (nesting depth added 52). Of this number, 134 points are the body\u0027s own statements and 15 belong to 15 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":"api/app/clients/BaseClient.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f52a22a03329ae7d42e64457483ed1e76f405e3b008eea64b5f20c43f2fae59"}},{"ruleId":"D2","level":"warning","message":{"text":"index.router.post(\u0022/chat/abort\u0022) (cognitive 147): index.router.post(\u0022/chat/abort\u0022) has cognitive complexity 147 (threshold 15). Drivers by points: if/else 34 (75 pts), boolean chains 39, ternaries 10 (19 pts), error handling 4 (11 pts), loops 2 (3 pts) (nesting depth added 58). Of this number, 96 points are the body\u0027s own statements and 51 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1c83cb4a7190e41867dbd5db1a15eac40e7549ebf8691d437899212993ee18"}},{"ruleId":"D2","level":"warning","message":{"text":"backgroundCompletionWakeup.createBackgroundToolCompletionWakeupResolver.resolve (cognitive 143): backgroundCompletionWakeup.createBackgroundToolCompletionWakeupResolver.resolve has cognitive complexity 143 (threshold 15). Drivers by points: if/else 47 (100 pts), boolean chains 28, ternaries 7 (10 pts), loops 1 (3 pts), error handling 2 (nesting depth added 58). Of this number, 114 points are the body\u0027s own statements and 29 belong to 7 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aff19b7086783600713bde70c25dda0b6ced5cfb78b1d2ce09989e0a1d7a08"}},{"ruleId":"D2","level":"warning","message":{"text":"content.foldSubagentEvent (cognitive 138): content.foldSubagentEvent has cognitive complexity 138 (threshold 15). Drivers by points: if/else 30 (59 pts), ternaries 21 (56 pts), boolean chains 19, loops 2 (4 pts) (nesting depth added 66). 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":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8354f187907eb4afd9f2a57b5ba141d231d1aa9751aa5648b3170465b43a2244"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.saveConvo (cognitive 137): conversation.createConversationMethods.saveConvo has cognitive complexity 137 (threshold 15). Drivers by points: if/else 49 (75 pts), boolean chains 33, error handling 7 (15 pts), ternaries 8 (12 pts), loops 1 (2 pts) (nesting depth added 39). Of this number, 119 points are the body\u0027s own statements and 18 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8148874340570925b976d3d57495354730a63b5abc5c083c88c8ebd5cffc1fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.snapshotExternalMessages (cognitive 136): messages.snapshotExternalMessages has cognitive complexity 136 (threshold 15). Drivers by points: if/else 25 (77 pts), ternaries 6 (23 pts), error handling 6 (16 pts), boolean chains 11, loops 3 (9 pts) (nesting depth added 85). Of this number, 130 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"271046cf8d93da21373c32e29c9dc319bf97c2ca31481118d1ed767aa251119b"}},{"ruleId":"D2","level":"warning","message":{"text":"updateAgentHandler (cognitive 131): updateAgentHandler has cognitive complexity 131 (threshold 15). Drivers by points: if/else 42 (80 pts), boolean chains 20, other 14, loops 2 (8 pts), ternaries 5 (8 pts), error handling 1 (nesting depth added 47). Of this number, 128 points are the body\u0027s own statements and 3 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca6bd877fa8369de148ba866e98d9728b45b6479ae26f3075e7a0ac78b58d80"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.executeWorkspaceTool (cognitive 128): workspace.executeWorkspaceTool has cognitive complexity 128 (threshold 15). Drivers by points: if/else 30 (68 pts), boolean chains 29, ternaries 14 (27 pts), error handling 2 (3 pts), loops 1 (nesting depth added 52). Of this number, 117 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5649a572df15302cc0ea0f6d6b66f9f4bdcaa22f7d6190f2990fcfddab5c954"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.extractNestedSerializedPayloadFragments (cognitive 128): protection.extractNestedSerializedPayloadFragments has cognitive complexity 128 (threshold 15). Drivers by points: if/else 20 (62 pts), loops 15 (55 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 84). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a75234e5e1ddfb95a6f6b02af14da8927e094003d779447abc407917708fdef"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessControlService.bulkUpdateResourcePermissions (cognitive 127): AccessControlService.bulkUpdateResourcePermissions has cognitive complexity 127 (threshold 15). Drivers by points: if/else 42 (62 pts), boolean chains 24, ternaries 13 (24 pts), error handling 5 (10 pts), loops 6 (7 pts) (nesting depth added 37). Of this number, 111 points are the body\u0027s own statements and 16 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db5efacfe26658e5d59f7fd45935426f422687e41278b3573ae9d0e0184fdc6"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.startScheduleEngine (cognitive 127): engine.startScheduleEngine has cognitive complexity 127 (threshold 15). Drivers by points: if/else 34 (74 pts), ternaries 8 (17 pts), error handling 8 (16 pts), boolean chains 13, loops 6 (7 pts) (nesting depth added 58). None of this is in the body itself: all 127 points belong to 16 function items inside it that branch (a function literal at line 69, a function literal at line 500, a function literal at line 334, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"55400d69b93e0f53b4513e7df02692f8f9c667755d12e14ef0ac8fd04f0deb40"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.getGoogleConfig (cognitive 126): llm.getGoogleConfig has cognitive complexity 126 (threshold 15). Drivers by points: if/else 47 (87 pts), boolean chains 27, ternaries 4 (6 pts), loops 2 (4 pts), error handling 1 (2 pts) (nesting depth added 45). Of this number, 118 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d155c516378591e37db1142dcb5e3516a24b9c4c1207f49661ce9bedc820119"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.deserializeJob (cognitive 125): RedisJobStore.deserializeJob has cognitive complexity 125 (threshold 15). Drivers by points: boolean chains 48, ternaries 43 (45 pts), if/else 14 (27 pts), error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 17). Of this number, 121 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"85299a4c24257a6cff29b63cdd3e0d4e52da61ab8856db5bb422b445a101a7ad"}},{"ruleId":"D2","level":"warning","message":{"text":"useAutoSave.useAutoSave (cognitive 121): useAutoSave.useAutoSave has cognitive complexity 121 (threshold 15). Drivers by points: if/else 45 (66 pts), boolean chains 40, ternaries 5 (9 pts), loops 3 (5 pts), error handling 1 (nesting depth added 27). Most of this is not in the body itself: 2 of the 121 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 409, 648, 105, \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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8407911bdb5b63dfa4600be1bce05749d5338676f3af73c03f954aa3c5693b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentParts.ContentPartsBody (cognitive 121): ContentParts.ContentPartsBody has cognitive complexity 121 (threshold 15). Drivers by points: if/else 29 (46 pts), boolean chains 37, ternaries 18 (22 pts), loops 11 (16 pts) (nesting depth added 26). Of this number, 46 points are the body\u0027s own statements and 75 belong to 26 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20244f127b61962be97367aeeadf468cbf9456ab26feee26e27594b138fb995"}},{"ruleId":"D2","level":"warning","message":{"text":"loadTools (cognitive 121): loadTools has cognitive complexity 121 (threshold 15). Drivers by points: if/else 30 (71 pts), boolean chains 18, other 12, ternaries 5 (11 pts), error handling 2 (7 pts), loops 2 (nesting depth added 52). Of this number, 95 points are the body\u0027s own statements and 26 belong to 16 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f25091a3fad50f74943ed9bfbeb5fbbed1169f67b1173441643170cb25fa266"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.getContentParts (cognitive 120): RedisJobStore.getContentParts has cognitive complexity 120 (threshold 15). Drivers by points: if/else 38 (85 pts), ternaries 7 (18 pts), boolean chains 14, loops 3 (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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4428}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bccb1ab17939a996b14407de66443c7511fb56aaafe322408877ab0a5bced1"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.getLLMConfig (cognitive 117): llm.getLLMConfig has cognitive complexity 117 (threshold 15). Drivers by points: if/else 49 (84 pts), boolean chains 27, loops 2 (4 pts), ternaries 2 (nesting depth added 37). Of this number, 110 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9021d6617bdd2082be245ab33b6187a998bf020ae3cf6f744b15b929b8224fa"}},{"ruleId":"D2","level":"warning","message":{"text":"process.processAgentFileUpload (cognitive 115): process.processAgentFileUpload has cognitive complexity 115 (threshold 15). Drivers by points: if/else 36 (63 pts), boolean chains 20, ternaries 12 (18 pts), error handling 5 (14 pts) (nesting depth added 42). Of this number, 82 points are the body\u0027s own statements and 33 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":"api/server/services/Files/process.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8845a57aff9bac38a33d23aa601c96e4a5e9e2e01011ef33543a303932a976b"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.createJob (cognitive 114): GenerationJobManagerClass.createJob has cognitive complexity 114 (threshold 15). Drivers by points: if/else 39 (63 pts), boolean chains 29, error handling 8 (16 pts), ternaries 4 (5 pts), loops 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"86913a5e54df59ee5b5adec87471b82e241cc16c602db3b4fba55453a7bedc11"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.projectModelBoundProviderContent (cognitive 114): modelBoundContent.projectModelBoundProviderContent has cognitive complexity 114 (threshold 15). Drivers by points: if/else 27 (75 pts), boolean chains 15, loops 7 (15 pts), ternaries 2 (8 pts), error handling 1 (nesting depth added 62). Of this number, 111 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17cbfa4db3596fc89d6aa39255fdbdee875e1d5270f0a58f8fe9e4cfef98d51"}},{"ruleId":"D2","level":"warning","message":{"text":"resumeCompletion (cognitive 113): resumeCompletion has cognitive complexity 113 (threshold 15). Drivers by points: if/else 23 (37 pts), other 27, ternaries 14 (17 pts), loops 8 (16 pts), boolean chains 12, error handling 3 (4 pts) (nesting depth added 26). Of this number, 68 points are the body\u0027s own statements and 45 belong to 18 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5442}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb7be875a7582923c6e320d958c24120f63110356ece6bac4e6bd313c9acac4"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.recordScheduleOutcome (cognitive 112): service.createSchedulesService.recordScheduleOutcome has cognitive complexity 112 (threshold 15). Drivers by points: if/else 27 (48 pts), boolean chains 29, error handling 8 (18 pts), ternaries 10 (16 pts), loops 1 (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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d54179af69248d3ccf239f6ba248b26cc3e202b4b5b81a23b24bf395adb3c2"}},{"ruleId":"D2","level":"warning","message":{"text":"request.handleSteerRequestInternal (cognitive 111): request.handleSteerRequestInternal has cognitive complexity 111 (threshold 15). Drivers by points: if/else 49 (73 pts), boolean chains 33, ternaries 3 (5 pts) (nesting depth added 26). Of this number, 109 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfe237d890af85c516b6fc4c9d2c9ad3fd101bd38547919b36c77238d5f07ea"}},{"ruleId":"D2","level":"warning","message":{"text":"buildMessages (cognitive 110): buildMessages has cognitive complexity 110 (threshold 15). Drivers by points: if/else 50 (85 pts), loops 24 (53 pts), other 41, boolean chains 34, ternaries 20 (29 pts), error handling 3 (nesting depth added 73). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0f288c93b87c4db66070cda87ed453148aadc84b234ebf945dbfeb9fe71259"}},{"ruleId":"D2","level":"warning","message":{"text":"chatV1 (cognitive 110): chatV1 has cognitive complexity 110 (threshold 15). Drivers by points: if/else 47 (62 pts), boolean chains 15, ternaries 10 (11 pts), error handling 8 (9 pts), other 9, loops 2 (4 pts) (nesting depth added 19). Of this number, 37 points are the body\u0027s own statements and 73 belong to 17 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"63403d3fcfb4031651ba5d20eabf731176aba7d7e9c0e11a676b278ead86af45"}},{"ruleId":"D2","level":"warning","message":{"text":"refreshController (cognitive 109): refreshController has cognitive complexity 109 (threshold 15). Drivers by points: if/else 20 (58 pts), ternaries 8 (22 pts), error handling 5 (18 pts), boolean chains 9, other 2 (nesting depth added 65). Of this number, 64 points are the body\u0027s own statements and 45 belong to 11 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":"api/server/controllers/AuthController.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"205e966beff3053fea1fedd75e3366cdf6aadec2ca67f0122066592a09c20471"}},{"ruleId":"D2","level":"warning","message":{"text":"cleanup.disposeClient (cognitive 108): cleanup.disposeClient has cognitive complexity 108 (threshold 15). Drivers by points: if/else 87 (107 pts), error handling 1 (nesting depth added 20). Of this number, 100 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"api/server/cleanup.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b725ee1234728b1e8830a36a130f992f26f5b5cbf7be2e2797c7411acb1af5"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createResponseExecutionRuntime (cognitive 108): runtime.createResponseExecutionRuntime has cognitive complexity 108 (threshold 15). Drivers by points: if/else 31 (71 pts), boolean chains 27, ternaries 7 (10 pts) (nesting depth added 43). Of this number, 19 points are the body\u0027s own statements and 89 belong to 6 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"666b89d9bc719577e2a20fd7adf00ee8a5ffe5986ab6847460e75df686f2e100"}},{"ruleId":"D2","level":"warning","message":{"text":"zod.convertJsonSchemaToZod (cognitive 108): zod.convertJsonSchemaToZod has cognitive complexity 108 (threshold 15). Drivers by points: if/else 34 (82 pts), boolean chains 21, ternaries 1 (3 pts), loops 1 (2 pts) (nesting depth added 51). Of this number, 104 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c5bc99cd08404b6ba2acc12c90b2b3acf98544660cb9f4b177762d33dc9a98"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.emitChunkNow (cognitive 107): GenerationJobManagerClass.emitChunkNow has cognitive complexity 107 (threshold 15). Drivers by points: if/else 37 (76 pts), boolean chains 14, ternaries 4 (9 pts), error handling 2 (6 pts), loops 1 (2 pts) (nesting depth added 49). Of this number, 90 points are the body\u0027s own statements and 17 belong to 6 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7193}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e5ede8b9f6df893e29fe58cda21985faaca8c8ebd4db41e9be683fd3d36ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeWorkspaceMenu.CodeWorkspaceMenu (cognitive 105): CodeWorkspaceMenu.CodeWorkspaceMenu has cognitive complexity 105 (threshold 15). Drivers by points: boolean chains 56, ternaries 26 (31 pts), if/else 17 (18 pts) (nesting depth added 6). Of this number, 74 points are the body\u0027s own statements and 31 belong to 17 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3e3e966a823eccc5d3a5f872d46044431aed315b1a5559d04309472b8ad54e"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.claimBackgroundToolResults (cognitive 105): message.createMessageMethods.claimBackgroundToolResults has cognitive complexity 105 (threshold 15). Drivers by points: if/else 24 (44 pts), boolean chains 32, ternaries 17 (28 pts), loops 1 (nesting depth added 31). Of this number, 99 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d899a391097581e2fb83ccef308055dae77f6c56cfe36c2ee60cc4be2d11abc9"}},{"ruleId":"D2","level":"warning","message":{"text":"openai.executeOpenAIChatCompletion (cognitive 104): openai.executeOpenAIChatCompletion has cognitive complexity 104 (threshold 15). Drivers by points: if/else 37 (50 pts), boolean chains 19, loops 10 (17 pts), ternaries 9 (13 pts), error handling 3 (5 pts) (nesting depth added 26). Of this number, 16 points are the body\u0027s own statements and 88 belong to 11 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"89544658b6cabb1c52b9ee957f210982ead278ef0dfa8437363c2fda9f193b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"fire.fireSchedule (cognitive 103): fire.fireSchedule has cognitive complexity 103 (threshold 15). Drivers by points: if/else 45 (61 pts), ternaries 14 (22 pts), boolean chains 10, error handling 7 (10 pts) (nesting depth added 27). Most of this is not in the body itself: 2 of the 103 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 249, a function literal at line 532, advance, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"c741d8a32e0370e721d18ef9d263383bc7acc82b13a6b8acccc4898a5f8a8f1b"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.createAgentMethods.getListAgentsByAccess (cognitive 103): agent.createAgentMethods.getListAgentsByAccess has cognitive complexity 103 (threshold 15). Drivers by points: if/else 27 (44 pts), ternaries 18 (32 pts), boolean chains 19, loops 4 (8 pts) (nesting depth added 35). Of this number, 82 points are the body\u0027s own statements and 21 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02707a07d14bcacc14825451c76caccc888761d20291560073b3e1217edf552"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 103): (anonymous) has cognitive complexity 103 (threshold 15). Drivers by points: if/else 34 (75 pts), boolean chains 44, ternaries 10 (18 pts), error handling 4 (11 pts), other 5, loops 2 (3 pts) (nesting depth added 57). 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":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"b511a550572643d59fe5c5bb065ca5e2914d43b83d261bb25ba4a53e8aad010b"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleReadFileCall (cognitive 102): handlers.handleReadFileCall has cognitive complexity 102 (threshold 15). Drivers by points: if/else 50 (76 pts), boolean chains 17, ternaries 4 (5 pts), loops 2 (3 pts), error handling 1 (nesting depth added 28). Of this number, 101 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"05168b564f0cb8b1dd78964c14125dd4c9140796b1e1fef429a165e93869f77b"}},{"ruleId":"D2","level":"warning","message":{"text":"Artifacts.Artifacts (cognitive 101): Artifacts.Artifacts has cognitive complexity 101 (threshold 15). Drivers by points: if/else 40 (41 pts), boolean chains 33, ternaries 20 (24 pts), error handling 2 (3 pts) (nesting depth added 6). Of this number, 51 points are the body\u0027s own statements and 50 belong to 17 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6d13ee2fbfa947275e6fef41504b1a89bc7965167b9a0284fc9cd62ab0d108"}},{"ruleId":"D2","level":"warning","message":{"text":"requests.executeDurableWorkspaceRequest (cognitive 101): requests.executeDurableWorkspaceRequest has cognitive complexity 101 (threshold 15). Drivers by points: if/else 33 (79 pts), boolean chains 11, ternaries 5 (6 pts), error handling 2 (4 pts), loops 1 (nesting depth added 49). Of this number, 88 points are the body\u0027s own statements and 13 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/requests.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90e6a2665be1a7ef35b1cae65d50baf274c3ff481ab808ec9d5135d976c8e05"}},{"ruleId":"D2","level":"warning","message":{"text":"web.loadWebSearchAuth::checkAuth (cognitive 100): web.loadWebSearchAuth::checkAuth has cognitive complexity 100 (threshold 15). Drivers by points: if/else 36 (65 pts), boolean chains 23, loops 4 (7 pts), ternaries 2 (3 pts), error handling 1 (2 pts) (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4d2e2be0de38346b1a61dfec6c165c43a2f5652668911042613bfccd584743"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.getConvosByCursor (cognitive 99): conversation.createConversationMethods.getConvosByCursor has cognitive complexity 99 (threshold 15). Drivers by points: if/else 33 (53 pts), ternaries 14 (25 pts), boolean chains 9, loops 4 (7 pts), error handling 3 (5 pts) (nesting depth added 36). Of this number, 96 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d696bc7047690e63ea9cd3690ed002be03f95e772f37825bf5ba5e2c29d1f1b2"}},{"ruleId":"D2","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore.processFiles (cognitive 98): useFileHandling.useFileHandlingCore.processFiles has cognitive complexity 98 (threshold 15). Drivers by points: if/else 29 (55 pts), boolean chains 19, ternaries 8 (11 pts), error handling 4 (7 pts), loops 6 (nesting depth added 32). Of this number, 83 points are the body\u0027s own statements and 15 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9052408f387183a8aa3609f895071ab95ff6ab8a9c6b8b5fd9208a951b8d8068"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelWorker.execute (cognitive 98): ChannelWorker.execute has cognitive complexity 98 (threshold 15). Drivers by points: if/else 37 (75 pts), boolean chains 25, error handling 4 (11 pts), ternaries 3 (7 pts), loops 2 (nesting depth added 49). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function. This shape REPEATS in the file: one other method here (ChannelWorker.execute::syncProgress) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8648c07f6dfc865d645af152c33f2d70a3f1b8387f2623532efaed2ec5bd2d3"}},{"ruleId":"D2","level":"warning","message":{"text":"reducer.reduceStep (cognitive 98): reducer.reduceStep has cognitive complexity 98 (threshold 15). Drivers by points: if/else 37 (62 pts), ternaries 7 (18 pts), boolean chains 15, loops 1 (3 pts) (nesting depth added 38). Of this number, 95 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":"packages/chat/src/core/reducer.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da4e6eb0a4bb7eb8544039246f37555ec46989f6e5915ed72f7b96e145153cb"}},{"ruleId":"D2","level":"warning","message":{"text":"useMCPServerManager.useMCPServerManager (cognitive 97): useMCPServerManager.useMCPServerManager has cognitive complexity 97 (threshold 15). Drivers by points: if/else 44 (57 pts), boolean chains 26, ternaries 5 (7 pts), error handling 3 (4 pts), loops 2 (3 pts) (nesting depth added 17). Most of this is not in the body itself: 3 of the 97 points are its own statements and the rest belongs to 22 function literals inside it that branch (lines 338, 133, 511, \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":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d7bd5f5905e2f06fda3d673269ed31554fa87bc1c46e91e5245b84bc2b9ff8"}},{"ruleId":"D2","level":"warning","message":{"text":"resources.primeResources (cognitive 96): resources.primeResources has cognitive complexity 96 (threshold 15). Drivers by points: if/else 24 (50 pts), loops 9 (16 pts), boolean chains 15, ternaries 8 (11 pts), error handling 2 (4 pts) (nesting depth added 38). Of this number, 93 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecc3e6398556a9b414ecf89b7ff2439bdef6eaa5ae528174734a845738cbe46"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.createJob (cognitive 96): RedisJobStore.createJob has cognitive complexity 96 (threshold 15). Drivers by points: boolean chains 46, if/else 24 (26 pts), ternaries 19 (22 pts), match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a98b48e77280541bab31292f1f52f71c2714048b462cd6d35e6b489f4d7a57b"}},{"ruleId":"D2","level":"warning","message":{"text":"chatCompletion (cognitive 95): chatCompletion has cognitive complexity 95 (threshold 15). Drivers by points: if/else 34 (42 pts), other 28, ternaries 26 (28 pts), boolean chains 20, loops 4 (6 pts), error handling 2 (nesting depth added 12). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4563}}}],"partialFingerprints":{"codehealthFindingId/v1":"445fa74f5d43f4de9e32ff4370d2bce863d47bea8f1cf7603eb0a1d49b181da8"}},{"ruleId":"D2","level":"warning","message":{"text":"activity.projectSubagentActivity (cognitive 93): activity.projectSubagentActivity has cognitive complexity 93 (threshold 15). Drivers by points: if/else 18 (39 pts), ternaries 12 (39 pts), boolean chains 11, loops 2 (3 pts), error handling 1 (nesting depth added 49). Of this number, 90 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c87bd62ccde3d718d4a38a932ce9a7c0882277283a0e5a1b97cc38683b6c14"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse (cognitive 93): recovery.createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse has cognitive complexity 93 (threshold 15). Drivers by points: if/else 27 (46 pts), boolean chains 19, error handling 7 (19 pts), ternaries 4 (9 pts) (nesting depth added 36). Of this number, 66 points are the body\u0027s own statements and 27 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":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"452693c508b663c716c432a03ed6ce15bd6284eb5433b57568d0859a234586ae"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.settleToolCallResult (cognitive 93): message.createMessageMethods.settleToolCallResult has cognitive complexity 93 (threshold 15). Drivers by points: if/else 26 (50 pts), ternaries 14 (22 pts), boolean chains 19, error handling 1, loops 1 (nesting depth added 32). Of this number, 55 points are the body\u0027s own statements and 38 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fcc6944a2ebb682b6dd1474cd9d45cd8c0e78247f9bed8cd76f2eee4b8bec5"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPanel.AgentPanel (cognitive 92): AgentPanel.AgentPanel has cognitive complexity 92 (threshold 15). Drivers by points: boolean chains 40, if/else 29 (33 pts), ternaries 10 (12 pts), error handling 4 (6 pts), loops 1 (nesting depth added 8). Of this number, 31 points are the body\u0027s own statements and 61 belong to 17 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5022b2c2500706231c4252964f9524a01c4a556d99466d38d3f09b76e0d0da"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.projectStoredMessageForProvider (cognitive 91): modelBoundContent.projectStoredMessageForProvider has cognitive complexity 91 (threshold 15). Drivers by points: if/else 29 (59 pts), boolean chains 16, loops 4 (8 pts), error handling 4 (7 pts), ternaries 1 (nesting depth added 37). Of this number, 84 points are the body\u0027s own statements and 7 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b04e824ca09421da4f3ba59ac03bf12086b2a03be0c874eae67ac3945ad643e"}},{"ruleId":"D2","level":"warning","message":{"text":"skillFiles.primeInvokedSkills (cognitive 91): skillFiles.primeInvokedSkills has cognitive complexity 91 (threshold 15). Drivers by points: if/else 17 (43 pts), loops 7 (19 pts), ternaries 4 (14 pts), boolean chains 11, error handling 1 (4 pts) (nesting depth added 51). Of this number, 76 points are the body\u0027s own statements and 15 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53e350456161fe71ce335f3de6910c68f76358ebdae802671f6140c6091057b"}},{"ruleId":"D2","level":"warning","message":{"text":"models.createLoadConfigModels.loadConfigModels (cognitive 91): models.createLoadConfigModels.loadConfigModels has cognitive complexity 91 (threshold 15). Drivers by points: if/else 23 (46 pts), boolean chains 17, ternaries 6 (16 pts), loops 7 (12 pts) (nesting depth added 38). Of this number, 88 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":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6801980265e1b9074e9320d53889171470767af3e3c21817a0b641d4a22550e"}},{"ruleId":"D2","level":"warning","message":{"text":"render.inlineDocument (cognitive 91): render.inlineDocument has cognitive complexity 91 (threshold 15). Drivers by points: if/else 18 (41 pts), ternaries 10 (30 pts), boolean chains 11, loops 4 (9 pts) (nesting depth added 48). Of this number, 90 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd420750a57e2f1ceadc6dc8d957d7a360e4d0fce291f4332a5cd34a392c7b8"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 91): (anonymous) has cognitive complexity 91 (threshold 15). Drivers by points: if/else 31 (53 pts), error handling 7 (14 pts), boolean chains 13, ternaries 4 (7 pts), other 3, loops 1 (nesting depth added 32). Of this number, 49 points are the body\u0027s own statements and 42 belong to 14 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":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"952fb2e121b285359019f0a9839e9430a23f33206e73fa67256c29de338c7d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCall.ToolCall (cognitive 89): ToolCall.ToolCall has cognitive complexity 89 (threshold 15). Drivers by points: boolean chains 39, if/else 33 (36 pts), ternaries 9 (12 pts), error handling 2 (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 62 belong to 17 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"601e6954321fbe7a379fa78b0188492b0048a1782b2f0eb08e60827f02f94d58"}},{"ruleId":"D2","level":"warning","message":{"text":"usePaletteEntries.usePaletteEntries (cognitive 89): usePaletteEntries.usePaletteEntries has cognitive complexity 89 (threshold 15). Drivers by points: if/else 23 (41 pts), boolean chains 24, ternaries 9 (16 pts), loops 4 (8 pts) (nesting depth added 29). Most of this is not in the body itself: 3 of the 89 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 266, 221, 521, \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":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"100208adc73d0529b1123518aa6822eb4861312d67bb0424da35a111a0576eb5"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionFactory.handleOAuthEvents::handleOAuthEvent (cognitive 89): MCPConnectionFactory.handleOAuthEvents::handleOAuthEvent has cognitive complexity 89 (threshold 15). Drivers by points: if/else 29 (62 pts), boolean chains 10, ternaries 4 (9 pts), error handling 4 (8 pts) (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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4cf4a8cbfb11ee0c2a9175f83e45ca7ded2b8df8fc334aed08f98aa36f01f2"}},{"ruleId":"D2","level":"warning","message":{"text":"submissions.extractStoredMessageContentWithBudget (cognitive 88): submissions.extractStoredMessageContentWithBudget has cognitive complexity 88 (threshold 15). Drivers by points: if/else 37 (57 pts), boolean chains 10, ternaries 9 (10 pts), loops 6, error handling 4 (5 pts) (nesting depth added 22). Of this number, 28 points are the body\u0027s own statements and 60 belong to 13 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"c438c44f2f0074d2572b9071ac844ed63b7a7c456f25c7df1932178a0d94cfa8"}},{"ruleId":"D2","level":"warning","message":{"text":"sync.handleSync (cognitive 88): sync.handleSync has cognitive complexity 88 (threshold 15). Drivers by points: if/else 36 (58 pts), ternaries 6 (16 pts), boolean chains 7, loops 4 (7 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/sync.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9fbd47fd5b039703f08df5a507e21d10fd52e787ab1be4398e4ae4f83ea422"}},{"ruleId":"D2","level":"warning","message":{"text":"Queue.QueueRow (cognitive 88): Queue.QueueRow has cognitive complexity 88 (threshold 15). Drivers by points: boolean chains 46, if/else 24 (28 pts), ternaries 13, loops 1 (nesting depth added 4). Of this number, 59 points are the body\u0027s own statements and 29 belong to 10 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dd1e6c5eb9441abd02683eb6dfe55f8c32889627212e7c235baf9f4a85a395"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.router.get(\u0022/:serverName/oauth/callback\u0022) (cognitive 87): mcp.router.get(\u0022/:serverName/oauth/callback\u0022) has cognitive complexity 87 (threshold 15). Drivers by points: if/else 31 (53 pts), error handling 7 (14 pts), boolean chains 13, ternaries 3 (6 pts), loops 1 (nesting depth added 32). Of this number, 49 points are the body\u0027s own statements and 38 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"966b24806f9a77ddae804ce31c8d5a665df90eace01a9710c5abca660575d7df"}},{"ruleId":"D2","level":"warning","message":{"text":"Stage.Stage (cognitive 87): Stage.Stage has cognitive complexity 87 (threshold 15). Drivers by points: if/else 51 (58 pts), boolean chains 19, ternaries 6 (8 pts), loops 2 (nesting depth added 9). Most of this is not in the body itself: 1 of the 87 points is its own statement and the rest belongs to 26 function literals inside it that branch (lines 299, 124, 158, \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":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c725ffd5c2ff54269a223812d72ac5facf0ed690c998485b102648d129a34e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"activityLabels.groupActivityPhases (cognitive 87): activityLabels.groupActivityPhases has cognitive complexity 87 (threshold 15). Drivers by points: if/else 26 (57 pts), loops 7 (18 pts), boolean chains 8, ternaries 3 (4 pts) (nesting depth added 43). Of this number, 83 points are the body\u0027s own statements and 4 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":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2eaf52e9a124b0c9d58f6c1151dae72dec36efe2623d8cc34e8576b3997abbd"}},{"ruleId":"D2","level":"warning","message":{"text":"responses.executeResponse (cognitive 86): responses.executeResponse has cognitive complexity 86 (threshold 15). Drivers by points: if/else 27 (41 pts), boolean chains 17, ternaries 10 (16 pts), loops 5 (7 pts), error handling 3 (5 pts) (nesting depth added 24). Of this number, 17 points are the body\u0027s own statements and 69 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"edcf8aa48368faf342df3f647349b9768a756d626c600e7dfb679aef9651dc1f"}},{"ruleId":"D2","level":"warning","message":{"text":"SetKeyDialog.SetKeyDialog (cognitive 86): SetKeyDialog.SetKeyDialog has cognitive complexity 86 (threshold 15). Drivers by points: ternaries 12 (36 pts), if/else 19 (32 pts), boolean chains 17, error handling 1 (nesting depth added 37). Most of this is not in the body itself: 3 of the 86 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 231, a function literal at line 242, submit, \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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f1db1c7386b6d2e77b9d8fb35212dbfd3dbdd79eef0b924d737e5fc59c3bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"files.getCanonicalFileReferenceIds (cognitive 86): files.getCanonicalFileReferenceIds has cognitive complexity 86 (threshold 15). Drivers by points: if/else 15 (43 pts), error handling 3 (15 pts), boolean chains 12, loops 5 (12 pts), ternaries 1 (4 pts) (nesting depth added 50). Of this number, 85 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1fe5d3721d8d747cf2fc5cfa0b53fc0c83f31fa1b1e2e62dbb8d4827f97d2"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentContent.readSubagentContent (cognitive 86): subagentContent.readSubagentContent has cognitive complexity 86 (threshold 15). Drivers by points: if/else 19 (55 pts), boolean chains 14, ternaries 4 (14 pts), loops 2 (3 pts) (nesting depth added 47). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"022b76aa12d064515bdd5b9d658ffc2d688c1a5a60a3245e5a0129565956053c"}},{"ruleId":"D2","level":"warning","message":{"text":"WorkspaceChannel.WorkspaceChannel (cognitive 85): WorkspaceChannel.WorkspaceChannel has cognitive complexity 85 (threshold 15). Drivers by points: boolean chains 60, if/else 16 (19 pts), ternaries 6 (nesting depth added 3). Of this number, 63 points are the body\u0027s own statements and 22 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac21a904c16a62ee3e310adb9d4e75c1b85617cd1a63268d86dbb3779c7f685e"}},{"ruleId":"D2","level":"warning","message":{"text":"McpSection.McpSection (cognitive 84): McpSection.McpSection has cognitive complexity 84 (threshold 15). Drivers by points: boolean chains 43, if/else 20 (24 pts), ternaries 14, loops 2, error handling 1 (nesting depth added 4). Of this number, 41 points are the body\u0027s own statements and 43 belong to 12 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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbda377adb5fa01f873b319624f237efb290046f014528bf00d532f74c6959a4"}},{"ruleId":"D2","level":"warning","message":{"text":"useDrawerSwipe.useDrawerSwipe (cognitive 84): useDrawerSwipe.useDrawerSwipe has cognitive complexity 84 (threshold 15). Drivers by points: if/else 38 (49 pts), boolean chains 20, ternaries 8 (15 pts) (nesting depth added 18). None of this is in the body itself: all 84 points belong to 12 function literals inside it that branch (lines 510, 306, 577, \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":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"868683a0029fc05178d45eb4de296d47b83d8cf2be5068be0d8df7d98d5ce6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.attachSubscription (cognitive 84): GenerationJobManagerClass.attachSubscription has cognitive complexity 84 (threshold 15). Drivers by points: if/else 82 (107 pts), boolean chains 46, loops 4 (13 pts), error handling 5 (8 pts), ternaries 4 (6 pts) (nesting depth added 39). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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 (GenerationJobManagerClass.attachSubscription::deliverStoredTerminal) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5216}}}],"partialFingerprints":{"codehealthFindingId/v1":"644f1f65a2643b64ae45be842e5bb3f2c033e20777c6a979de865e3471f68dc1"}},{"ruleId":"D2","level":"warning","message":{"text":"mongoMeili.createMeiliMongooseModel (cognitive 84): mongoMeili.createMeiliMongooseModel has cognitive complexity 84 (threshold 15). Drivers by points: if/else 33 (56 pts), boolean chains 8, error handling 7 (8 pts), ternaries 5 (8 pts), loops 4 (nesting depth added 27). Of this number, 55 points are the body\u0027s own statements and 29 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1564e90e8b4b3ad4bb6da2dfb37ef11a8845151f3c210b04fad8075c1fb727a"}},{"ruleId":"D2","level":"warning","message":{"text":"Workspaces.OwnedWorkspaces (cognitive 83): Workspaces.OwnedWorkspaces has cognitive complexity 83 (threshold 15). Drivers by points: if/else 35 (37 pts), boolean chains 31, ternaries 11 (13 pts), error handling 2 (nesting depth added 4). Of this number, 28 points are the body\u0027s own statements and 55 belong to 16 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d06c55052f36d916739a0e03724b8197bb371a10900ac40b104ee4baaa7e64"}},{"ruleId":"D2","level":"warning","message":{"text":"launch.startGeneration (cognitive 83): launch.startGeneration has cognitive complexity 83 (threshold 15). Drivers by points: if/else 21 (49 pts), ternaries 4 (16 pts), boolean chains 12, error handling 2 (5 pts), loops 1 (nesting depth added 43). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/launch.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cbfe31177e836e357912ea1a47036adf1f69c98d1258514a007e33b93354416"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTable.DataTable (cognitive 83): DataTable.DataTable has cognitive complexity 83 (threshold 15). Drivers by points: if/else 39 (40 pts), boolean chains 34, ternaries 9 (nesting depth added 1). Of this number, 22 points are the body\u0027s own statements and 61 belong to 27 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":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e40bac61c848aa88075a5b41a03723eef0596d37d23ea91dfa5f614860bee8"}},{"ruleId":"D2","level":"warning","message":{"text":"WebSearch.WebSearch (cognitive 82): WebSearch.WebSearch has cognitive complexity 82 (threshold 15). Drivers by points: boolean chains 42, if/else 15 (19 pts), ternaries 9 (17 pts), loops 3 (4 pts) (nesting depth added 13). Of this number, 47 points are the body\u0027s own statements and 35 belong to 9 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/WebSearch.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"070bef03b7fe1b785a0e7ab02f6e3385024ad58d3f0ea041540ced5c84749546"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.abortJob (cognitive 82): GenerationJobManagerClass.abortJob has cognitive complexity 82 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 30, ternaries 9 (13 pts), error handling 4 (5 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4740}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b00166e54cedd119477a197447b4df8f2aaf7072c6be15ea7130f9f7260b2f5"}},{"ruleId":"D2","level":"warning","message":{"text":"run.createRun (cognitive 82): run.createRun has cognitive complexity 82 (threshold 15). Drivers by points: if/else 44 (67 pts), boolean chains 38, loops 10 (19 pts), ternaries 12 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (run.createRun::buildAgentInput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ee55aa1218f7ed6d1ee52735a95bcf48826d74a248517e17aef0a0b9e91db6"}},{"ruleId":"D2","level":"warning","message":{"text":"actor.resumeAgentEventActor (cognitive 82): actor.resumeAgentEventActor has cognitive complexity 82 (threshold 15). Drivers by points: ternaries 24 (38 pts), if/else 28 (33 pts), boolean chains 8, error handling 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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2d72f280fcee6292d4506123d0d38d4940f51a4838478c28129025ecbe4844"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTokenStorage.storeTokensUnderLease (cognitive 82): MCPTokenStorage.storeTokensUnderLease has cognitive complexity 82 (threshold 15). Drivers by points: if/else 29 (38 pts), ternaries 12 (17 pts), boolean chains 16, error handling 3 (6 pts), loops 3 (5 pts) (nesting depth added 19). Of this number, 78 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f7ffab1009cfec860026b65578305b3999c338dd9cb816754be975a1d13d4f"}},{"ruleId":"D2","level":"warning","message":{"text":"zod.sanitizeGeminiSchema (cognitive 82): zod.sanitizeGeminiSchema has cognitive complexity 82 (threshold 15). Drivers by points: if/else 27 (56 pts), boolean chains 17, ternaries 2 (5 pts), loops 2 (4 pts) (nesting depth added 34). Of this number, 78 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc09ddee45d895242077ef763c1a3283f854a4ac067ac1303b0c40241cd64749"}},{"ruleId":"D2","level":"warning","message":{"text":"definitions.loadToolDefinitions (cognitive 82): definitions.loadToolDefinitions has cognitive complexity 82 (threshold 15). Drivers by points: if/else 23 (54 pts), loops 7 (12 pts), boolean chains 10, ternaries 4 (6 pts) (nesting depth added 38). Of this number, 69 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f811c813bac0bceaba0dfad128d0d0c9d96a94eafe8452049b6dd77b40ad0562"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch (cognitive 82): triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch has cognitive complexity 82 (threshold 15). Drivers by points: if/else 30 (49 pts), boolean chains 16, ternaries 7 (15 pts), loops 1 (2 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"09910ca2c2e23f52db8f0b69bf972f8ddbf191dfd6135332877b4989254ba61d"}},{"ruleId":"D2","level":"warning","message":{"text":"reinitMCPServer (cognitive 82): reinitMCPServer has cognitive complexity 82 (threshold 15). Drivers by points: if/else 28 (42 pts), boolean chains 16, error handling 5 (11 pts), other 7, ternaries 4 (6 pts) (nesting depth added 22). Of this number, 74 points are the body\u0027s own statements and 8 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360f8e9de8b10d912f8daf97ad8a329acdf706c283a81c390d819126b5cc482"}},{"ruleId":"D2","level":"warning","message":{"text":"Breakdown.Breakdown (cognitive 80): Breakdown.Breakdown has cognitive complexity 80 (threshold 15). Drivers by points: boolean chains 35, ternaries 26 (31 pts), if/else 10 (12 pts), loops 2 (nesting depth added 7). Of this number, 59 points are the body\u0027s own statements and 21 belong to 4 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"70729cc500cf05cfeb74ab1d77994805a4ed50ca77c6146726735f2d3a9f3a8f"}},{"ruleId":"D2","level":"warning","message":{"text":"executeResponse::execute (cognitive 79): executeResponse::execute has cognitive complexity 79 (threshold 15). Drivers by points: if/else 18 (28 pts), boolean chains 16, error handling 5 (11 pts), ternaries 7 (11 pts), other 7, loops 4 (6 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b0ce5ebfe2c3473e2d11d89cd5dd63a1d36049d860c10a4eb811cea8398843"}},{"ruleId":"D2","level":"warning","message":{"text":"ArtifactCodeEditor.ArtifactCodeEditor (cognitive 78): ArtifactCodeEditor.ArtifactCodeEditor has cognitive complexity 78 (threshold 15). Drivers by points: if/else 43 (49 pts), boolean chains 18, ternaries 11 (nesting depth added 6). Most of this is not in the body itself: 5 of the 78 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 509, 384, 589, \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":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cff1079e8a3afe036fe91a4d8075cd308d9bdfa8ae24d629d79429f6ee675d"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.deleteScheduleForOwner (cognitive 77): service.createSchedulesService.deleteScheduleForOwner has cognitive complexity 77 (threshold 15). Drivers by points: if/else 16 (34 pts), ternaries 8 (19 pts), boolean chains 14, loops 4 (10 pts) (nesting depth added 35). Of this number, 76 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc111d47a4a106fed4231a5d1e8427184df966c0df03495c766c70d3772ee417"}},{"ruleId":"D2","level":"warning","message":{"text":"useCopyToClipboard.createCitationProcessor.process (cognitive 76): useCopyToClipboard.createCitationProcessor.process has cognitive complexity 76 (threshold 15). Drivers by points: if/else 14 (49 pts), loops 7 (16 pts), boolean chains 11 (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":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"2196a57aba3a92e4554583ea73a2f6d236edc79b2930fa85116cefd67fa429ae"}},{"ruleId":"D2","level":"warning","message":{"text":"model.groupSteps (cognitive 76): model.groupSteps has cognitive complexity 76 (threshold 15). Drivers by points: if/else 15 (36 pts), loops 10 (18 pts), ternaries 5 (12 pts), boolean chains 10 (nesting depth added 36). Of this number, 29 points are the body\u0027s own statements and 47 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f2cfb1c8a4d241810f5a54b16efa7c17d4a9439ed240053387b5ae43b2eb23"}},{"ruleId":"D2","level":"warning","message":{"text":"skillFiles.executePrimeSkillFiles (cognitive 76): skillFiles.executePrimeSkillFiles has cognitive complexity 76 (threshold 15). Drivers by points: if/else 20 (45 pts), ternaries 4 (10 pts), error handling 4 (9 pts), loops 3 (9 pts), boolean chains 3 (nesting depth added 42). Of this number, 56 points are the body\u0027s own statements and 20 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":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93b0755ae39cb9bc168398d00b0440badfa7e2b41c7e973641f514e0edf4cce"}},{"ruleId":"D2","level":"warning","message":{"text":"UserConnectionManager.getUserConnectionForTarget (cognitive 76): UserConnectionManager.getUserConnectionForTarget has cognitive complexity 76 (threshold 15). Drivers by points: if/else 21 (50 pts), ternaries 6 (10 pts), boolean chains 7, error handling 2 (5 pts), loops 1 (4 pts) (nesting depth added 39). Of this number, 70 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c29fb121c3ab0adc113bca172afd3f949dd13db5da19635e03b3c6c304bda3e"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.finishTerminalJobInternal (cognitive 75): GenerationJobManagerClass.finishTerminalJobInternal has cognitive complexity 75 (threshold 15). Drivers by points: if/else 23 (39 pts), boolean chains 14, error handling 3 (9 pts), ternaries 5 (8 pts), loops 1 (5 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4421}}}],"partialFingerprints":{"codehealthFindingId/v1":"0176d744c329c0b774b8263fb2164bc3bd1eca71dcafdb0eac6e8c8884bb0bf9"}},{"ruleId":"D2","level":"warning","message":{"text":"UserConnectionManager.createUserConnectionInternal (cognitive 75): UserConnectionManager.createUserConnectionInternal has cognitive complexity 75 (threshold 15). Drivers by points: if/else 30 (45 pts), boolean chains 17, ternaries 7, error handling 2 (3 pts), loops 1 (3 pts) (nesting depth added 18). Of this number, 69 points are the body\u0027s own statements and 6 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":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"62daae2d5c9b92b44880a59fc9ed88510689d5265d97c66fb001dc5ef025b014"}},{"ruleId":"D2","level":"warning","message":{"text":"final.useFinalHandler.finalHandler (cognitive 75): final.useFinalHandler.finalHandler has cognitive complexity 75 (threshold 15). Drivers by points: if/else 26 (41 pts), boolean chains 22, ternaries 4 (10 pts), loops 1 (2 pts) (nesting depth added 22). Of this number, 64 points are the body\u0027s own statements and 11 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":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05a614846e63e69ccb8aad3339e25f68b6a84d0640b8f6e10b5894e3278ba0d"}},{"ruleId":"D2","level":"warning","message":{"text":"executeOpenAIChatCompletion::execute (cognitive 75): executeOpenAIChatCompletion::execute has cognitive complexity 75 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 14, loops 7 (12 pts), other 9, ternaries 7 (9 pts), error handling 3 (7 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":"api/server/controllers/agents/openai.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a78fa67ff1e96f33904d165d8503652ccecf50bc4372e6957f514ca72f3a1e7"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatRoute.ChatRoute (cognitive 74): ChatRoute.ChatRoute has cognitive complexity 74 (threshold 15). Drivers by points: boolean chains 37, if/else 23, ternaries 12 (14 pts) (nesting depth added 2). Of this number, 26 points are the body\u0027s own statements and 48 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":"client/src/routes/ChatRoute.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc73a0109cd9a6791abbd5642486a5a12d5fbdc8c12252aeb0cdb29ab9a8c21"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallGroup.ToolCallGroup (cognitive 74): ToolCallGroup.ToolCallGroup has cognitive complexity 74 (threshold 15). Drivers by points: boolean chains 74, if/else 46 (64 pts), ternaries 26 (44 pts), loops 1 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ToolCallGroup.ToolCallGroup::resolveGroupLabel) 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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1efe75e3aeb57205ef03601b6bb552d4d6d5a09bd9a0465196cb02046d01b9f"}},{"ruleId":"D2","level":"warning","message":{"text":"files.getOpaqueFields (cognitive 74): files.getOpaqueFields has cognitive complexity 74 (threshold 15). Drivers by points: if/else 27 (42 pts), boolean chains 25, error handling 2 (4 pts), ternaries 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":"packages/api/src/protection/files.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"202390d8bb79dd578753c4fd587bc774efd288c75952ee7d8b6d558afc863b38"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPOAuthHandler.initiateOAuthFlow (cognitive 74): MCPOAuthHandler.initiateOAuthFlow has cognitive complexity 74 (threshold 15). Drivers by points: if/else 27 (38 pts), boolean chains 19, ternaries 4 (11 pts), error handling 4 (6 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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"04708704f24d2b251babcad81ffd8240543aba68126882905518aed08172f87a"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.applyRecoveredContent (cognitive 74): recovery.applyRecoveredContent has cognitive complexity 74 (threshold 15). Drivers by points: if/else 21 (49 pts), boolean chains 12, loops 3 (7 pts), ternaries 3 (6 pts) (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7db65462e2dc7afee5eedb8763ed4984ebebe1e98006519e6e15b51f00119ba"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.commitAgentEventActorState (cognitive 74): conversation.createConversationMethods.commitAgentEventActorState has cognitive complexity 74 (threshold 15). Drivers by points: ternaries 24 (38 pts), if/else 15 (22 pts), boolean chains 14 (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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9966ed859b9f0540ea84d3cd30f8008fdebda0eabf0d8bad0f438d52f1df3020"}},{"ruleId":"D2","level":"warning","message":{"text":"loadAgentTools (cognitive 74): loadAgentTools has cognitive complexity 74 (threshold 15). Drivers by points: if/else 32 (46 pts), boolean chains 17, ternaries 3 (4 pts), loops 3, error handling 1 (2 pts), other 2 (nesting depth added 16). Of this number, 59 points are the body\u0027s own statements and 15 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24c94daef916c597b8e796062f988bbf03cdfa2407f040c4b2b141cb56c2b8c"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.canAgentGraphPause (cognitive 73): admission.canAgentGraphPause has cognitive complexity 73 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 21, ternaries 6 (13 pts), loops 7 (12 pts) (nesting depth added 24). Of this number, 44 points are the body\u0027s own statements and 29 belong to 11 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad11ac97f421c3c3040e3a06890f8492c926bef63088fb116055a6a2e8fb7d"}},{"ruleId":"D2","level":"warning","message":{"text":"loadToolsForExecution (cognitive 73): loadToolsForExecution has cognitive complexity 73 (threshold 15). Drivers by points: boolean chains 24, if/else 17 (20 pts), ternaries 8 (11 pts), other 9, loops 3 (5 pts), error handling 2 (4 pts) (nesting depth added 10). Of this number, 65 points are the body\u0027s own statements and 8 belong to 14 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"969f6b738c086bb8eb86369cf0254377d9524659c28592e09e153b1263610303"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentCall.SubagentCall (cognitive 72): SubagentCall.SubagentCall has cognitive complexity 72 (threshold 15). Drivers by points: boolean chains 31, ternaries 25 (29 pts), if/else 12 (nesting depth added 4). Of this number, 36 points are the body\u0027s own statements and 36 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":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"372ca2a17b52ec1930e20dd3afe50bf71c99afece914422cc742dc16c04b5193"}},{"ruleId":"D2","level":"warning","message":{"text":"LangfuseConnection.LangfuseConnection (cognitive 72): LangfuseConnection.LangfuseConnection has cognitive complexity 72 (threshold 15). Drivers by points: boolean chains 40, if/else 20, ternaries 11 (12 pts) (nesting depth added 1). Of this number, 38 points are the body\u0027s own statements and 34 belong to 16 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":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a8377a330b809c63a2c4ac7de44fa2eba8b7dc3bac03823213b0da1f21282d"}},{"ruleId":"D2","level":"warning","message":{"text":"host.startRun (cognitive 71): host.startRun has cognitive complexity 71 (threshold 15). Drivers by points: boolean chains 31, ternaries 11 (21 pts), if/else 9 (11 pts), error handling 5 (8 pts) (nesting depth added 15). Of this number, 69 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe81b13ddcece8dea3acd7de8ec43b6ee04fcdc7e90fa789acbcd4d37d4715"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentGrid.AgentGrid (cognitive 70): AgentGrid.AgentGrid has cognitive complexity 70 (threshold 15). Drivers by points: if/else 27 (31 pts), boolean chains 29, ternaries 5 (7 pts), loops 2 (3 pts) (nesting depth added 7). Of this number, 27 points are the body\u0027s own statements and 43 belong to 11 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":"client/src/components/Agents/AgentGrid.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5c99837a8876e1eb05cfad97524d38b7822e9bd7e865b857d05ed106bd966e"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPOAuthHandler.refreshOAuthTokens (cognitive 70): MCPOAuthHandler.refreshOAuthTokens has cognitive complexity 70 (threshold 15). Drivers by points: if/else 37 (59 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1 (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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff486f2bb66462b42e1077f4f6349be25c772a15e75d897cb628a8c3df0bbb1f"}},{"ruleId":"D2","level":"warning","message":{"text":"previews.nestedAttachmentCalls (cognitive 70): previews.nestedAttachmentCalls has cognitive complexity 70 (threshold 15). Drivers by points: if/else 12 (42 pts), ternaries 4 (18 pts), loops 5 (7 pts), boolean chains 3 (nesting depth added 46). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b38d95b48dd864071cf5ab6bc1924428a77fc1dc07c5fd07d9ea868e649868"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.isDuplicateVersion (cognitive 70): agent.isDuplicateVersion has cognitive complexity 70 (threshold 15). Drivers by points: if/else 24 (52 pts), boolean chains 11, ternaries 2 (4 pts), loops 2 (3 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"170c8690d15f9f890139bf02bfae3780d293ed2cf84ee573aafb07e7bec83c31"}},{"ruleId":"D2","level":"warning","message":{"text":"activity.projectPersistedMessageActivity (cognitive 69): activity.projectPersistedMessageActivity has cognitive complexity 69 (threshold 15). Drivers by points: ternaries 27 (44 pts), if/else 12 (15 pts), boolean chains 10 (nesting depth added 20). Most of this is not in the body itself: 1 of the 69 points is its own statement and the rest belongs to one function literal inside it that branches (line 174). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9185de43a6efb977403722279080b3458c82e97a4967457d543b38e139af5790"}},{"ruleId":"D2","level":"warning","message":{"text":"resources.computeProvisionState (cognitive 69): resources.computeProvisionState has cognitive complexity 69 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 24, ternaries 6 (8 pts), error handling 1 (2 pts), loops 2 (nesting depth added 16). Of this number, 61 points are the body\u0027s own statements and 8 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":"packages/api/src/agents/resources.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac7c433c72276d7125e55ad75dd22b6c1adfcc64b2747c0f56feec0517d6e10"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeBedrock (cognitive 69): initialize.initializeBedrock has cognitive complexity 69 (threshold 15). Drivers by points: if/else 22 (33 pts), ternaries 11 (19 pts), boolean chains 15, error handling 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":"packages/api/src/endpoints/bedrock/initialize.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc18d4c0327002b9c16a48ad1d282cee54fbc53a4723dd9c6ea5f87835619e5"}},{"ruleId":"D2","level":"warning","message":{"text":"Apps.Apps (cognitive 68): Apps.Apps has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 53, if/else 8, ternaries 7. Of this number, 35 points are the body\u0027s own statements and 33 belong to 13 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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4fedb6b05bce804773110dd1989aa3fcf5565e6955b1e792812269ca666173"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatForm.ChatForm (cognitive 68): ChatForm.ChatForm has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 38, if/else 12 (15 pts), ternaries 11 (13 pts), loops 2 (nesting depth added 5). Of this number, 38 points are the body\u0027s own statements and 30 belong to 14 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":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"94289ded7a0dde9bcd5f36d5f30a383ded96313f7e59e3b5c78accafa5746a01"}},{"ruleId":"D2","level":"warning","message":{"text":"model.buildTraceModel (cognitive 68): model.buildTraceModel has cognitive complexity 68 (threshold 15). Drivers by points: if/else 22 (43 pts), loops 8 (13 pts), boolean chains 6, ternaries 2 (6 pts) (nesting depth added 30). Of this number, 66 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":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f1bd0f0bce510d8d170c1e9709ca0bbb35e8d11842e804db1de3798906b34b"}},{"ruleId":"D2","level":"warning","message":{"text":"Convo.Conversation (cognitive 68): Convo.Conversation has cognitive complexity 68 (threshold 15). Drivers by points: boolean chains 35, if/else 21 (23 pts), ternaries 9, error handling 1 (nesting depth added 2). Of this number, 38 points are the body\u0027s own statements and 30 belong to 11 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":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c348452a938c3cc33c5d1563686f4d0533d6dbb4572f3423716ec2302e9904"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackClient.call (cognitive 68): SlackClient.call has cognitive complexity 68 (threshold 15). Drivers by points: if/else 10 (27 pts), boolean chains 18, ternaries 5 (13 pts), error handling 3 (7 pts), loops 2 (3 pts) (nesting depth added 30). Of this number, 54 points are the body\u0027s own statements and 14 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60569054b78f3a3a5222ce1a5026318a46670d0ee8235dc89833eddd91553fa"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayApp.dispatch (cognitive 68): GatewayApp.dispatch has cognitive complexity 68 (threshold 15). Drivers by points: if/else 26 (44 pts), ternaries 5 (11 pts), boolean chains 7, error handling 4 (6 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0715d277aa6adaa07d2d66170cab85579d3085f6978c9a281fe1c79efab5f8e1"}},{"ruleId":"D2","level":"warning","message":{"text":"BadgeRowContext.BadgeRowProvider (cognitive 67): BadgeRowContext.BadgeRowProvider has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (35 pts), error handling 7 (21 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (2 pts) (nesting depth added 34). Most of this is not in the body itself: 2 of the 67 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 85, 182, 65). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da3611a24c5b2fcb0bf82faf22034407b6d031b788525dc9e73e45a1cd4c931"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualizedAgentGrid.VirtualizedAgentGrid (cognitive 67): VirtualizedAgentGrid.VirtualizedAgentGrid has cognitive complexity 67 (threshold 15). Drivers by points: if/else 28 (31 pts), boolean chains 22, ternaries 12, loops 2 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 48 belong to 17 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eea67f13a8005cbdfa9a0a9e3c485f4ede5c1befc5bff6cf8e65ce54118b071"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolApproval.ToolApproval (cognitive 67): ToolApproval.ToolApproval has cognitive complexity 67 (threshold 15). Drivers by points: boolean chains 32, if/else 21, ternaries 9 (11 pts), error handling 2 (3 pts) (nesting depth added 3). Of this number, 27 points are the body\u0027s own statements and 40 belong to 10 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":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3682882b9ba89b44b12a966f05950141f62c1b62a9ab0fbcfb9a425341a7e903"}},{"ruleId":"D2","level":"warning","message":{"text":"import.handleZip (cognitive 67): import.handleZip has cognitive complexity 67 (threshold 15). Drivers by points: if/else 31 (51 pts), boolean chains 11, loops 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 21). Of this number, 65 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":"packages/api/src/skills/import.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"20bfaf16681a59eee039d2e02aa7eb542c7684cf37022f8f8c3fe555b5b5ee7e"}},{"ruleId":"D2","level":"warning","message":{"text":"transform.transformToOpenAIConfig (cognitive 67): transform.transformToOpenAIConfig has cognitive complexity 67 (threshold 15). Drivers by points: if/else 27 (41 pts), boolean chains 20, loops 3 (5 pts), ternaries 1 (nesting depth added 16). Of this number, 52 points are the body\u0027s own statements and 15 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/transform.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a1d046a1a1502579bed71fa9bc8e1433a85c65816acfd7b39806dfe6aa8aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTokenStorage.executeTokenRefresh (cognitive 67): MCPTokenStorage.executeTokenRefresh has cognitive complexity 67 (threshold 15). Drivers by points: if/else 23 (48 pts), boolean chains 7, error handling 4, loops 1 (4 pts), ternaries 2 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea80505e11b8d0df3a456730d3ff4433d2e842cfc5f5c56288cbb7ce5ac4159d"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPManager.runAppOperation (cognitive 67): MCPManager.runAppOperation has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (47 pts), boolean chains 9, error handling 3 (6 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 33). Of this number, 42 points are the body\u0027s own statements and 25 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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"396e23e8c870b3e5095c217dc1e93ba6acc9c1e7c7b648a7608582c2bb490601"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.saveMessage (cognitive 67): message.createMessageMethods.saveMessage has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (35 pts), boolean chains 15, error handling 6 (14 pts), ternaries 2 (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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0524c1e366b9aeef161646bf8b8fc4a6ca5a0950880c1fe0cfd4d030595aec82"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpAuthority.createMCPAuthorityMethods.loadCurrentProof (cognitive 67): mcpAuthority.createMCPAuthorityMethods.loadCurrentProof has cognitive complexity 67 (threshold 15). Drivers by points: if/else 25 (32 pts), boolean chains 14, ternaries 9 (11 pts), loops 8 (10 pts) (nesting depth added 11). Of this number, 48 points are the body\u0027s own statements and 19 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":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"99acaa8d5b77649d284b8d718bb938df9f982116a7bdb258b82f4c9006d6a9be"}},{"ruleId":"D2","level":"warning","message":{"text":"processRequiredActions (cognitive 67): processRequiredActions has cognitive complexity 67 (threshold 15). Drivers by points: if/else 17 (45 pts), loops 4 (8 pts), boolean chains 6, error handling 2 (4 pts), other 4 (nesting depth added 34). Of this number, 50 points are the body\u0027s own statements and 17 belong to 7 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af18de1fb32b66ec96c373ede74e122d4fa6380779744d1c7a6d02f5f968bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"logoutController (cognitive 67): logoutController has cognitive complexity 67 (threshold 15). Drivers by points: if/else 19 (47 pts), boolean chains 8, other 5, error handling 2 (3 pts), ternaries 3, loops 1 (nesting depth added 29). 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":"api/server/controllers/auth/LogoutController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18b24d3fa96bfda0e506cd1cb5d68dfe499b7b302e22d6a1b1874b61990ac4"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.getResumeState (cognitive 66): GenerationJobManagerClass.getResumeState has cognitive complexity 66 (threshold 15). Drivers by points: if/else 20 (29 pts), boolean chains 14, ternaries 10 (14 pts), error handling 4 (8 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9085}}}],"partialFingerprints":{"codehealthFindingId/v1":"b928a1fa030348a1d60ab9ceb6ca4b9b3dce01e5d71bfe29d96c51bd6d314d24"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.formatToolContent (cognitive 66): parsers.formatToolContent has cognitive complexity 66 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 20, ternaries 4 (6 pts), loops 1 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 38 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18d0237ac59c34a0f2bf048144cd120bfa652548b090e330196275fae079ac2"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnection.constructTransport (cognitive 66): MCPConnection.constructTransport has cognitive complexity 66 (threshold 15). Drivers by points: if/else 19 (35 pts), ternaries 8 (17 pts), boolean chains 9, loops 1 (3 pts), error handling 1, match/switch 1 (nesting depth added 27). Of this number, 27 points are the body\u0027s own statements and 39 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"47591fe14b12c47f4838b4047e0960d9b90535c4784119822be71ef503737cd8"}},{"ruleId":"D2","level":"warning","message":{"text":"nested.visitNestedStrings (cognitive 65): nested.visitNestedStrings has cognitive complexity 65 (threshold 15). Drivers by points: if/else 17 (40 pts), loops 4 (9 pts), boolean chains 8, error handling 3 (8 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":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f50fc05e7b8de1bf6bb823a1227b07a370f7c19e45d319c4072c1f5706115a"}},{"ruleId":"D2","level":"warning","message":{"text":"missing.recoverMissingStream (cognitive 65): missing.recoverMissingStream has cognitive complexity 65 (threshold 15). Drivers by points: if/else 24 (43 pts), boolean chains 13, error handling 3 (5 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 22). Of this number, 61 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":"packages/chat/src/core/resumable/missing.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8434011eb95396651a9fac60919f48082dfe2c22f6463700d5f1b02384d70a"}},{"ruleId":"D2","level":"warning","message":{"text":"stripUIResourceMarkers.applyCitationTextBoundaries (cognitive 65): stripUIResourceMarkers.applyCitationTextBoundaries has cognitive complexity 65 (threshold 15). Drivers by points: if/else 19 (33 pts), loops 9 (14 pts), boolean chains 10, ternaries 3 (8 pts) (nesting depth added 24). Of this number, 34 points are the body\u0027s own statements and 31 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":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b06047ad4182171d17660daef06a2df14572073caa5c3b7a3e9d09d9b53c2561"}},{"ruleId":"D2","level":"warning","message":{"text":"callbacks.getDefaultHandlers (cognitive 64): callbacks.getDefaultHandlers has cognitive complexity 64 (threshold 15). Drivers by points: if/else 32 (40 pts), boolean chains 13, ternaries 5 (8 pts), error handling 1 (2 pts), loops 1 (nesting depth added 12). Most of this is not in the body itself: 13 of the 64 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 596, a function literal at line 484, a function literal at line 537, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"994d25b162927d87c955bdf40c9a0ba0bae0e3349a0acf38775c898577f88921"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectResources.ProjectResources (cognitive 64): ProjectResources.ProjectResources has cognitive complexity 64 (threshold 15). Drivers by points: boolean chains 24, if/else 18 (21 pts), ternaries 8 (14 pts), error handling 3, loops 2 (nesting depth added 9). Of this number, 31 points are the body\u0027s own statements and 33 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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"85733ed23828686f25ed09017c20d9e6b9b1fcc803d4eeebff9363787622a7c9"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.cleanup (cognitive 64): InMemoryJobStore.cleanup has cognitive complexity 64 (threshold 15). Drivers by points: if/else 20 (46 pts), loops 7 (8 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62f5eb2f75da07366161764ad92cb5ffd79daea42de54dfe5e559640e03a84e"}},{"ruleId":"D2","level":"warning","message":{"text":"run.shapeSummarizationConfig (cognitive 64): run.shapeSummarizationConfig has cognitive complexity 64 (threshold 15). Drivers by points: ternaries 20 (37 pts), boolean chains 21, if/else 4 (6 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":"packages/api/src/agents/run.ts"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"3983ce0940af5722abf6d6f17105904a7ae8840cbd8547b0a38f61d033f2e7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"matching.findLineWindowMatch (cognitive 64): matching.findLineWindowMatch has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (40 pts), loops 8 (19 pts), boolean chains 4, ternaries 1 (nesting depth added 34). Of this number, 61 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff665ad9f99cf2fccffe56053ad525defc02b60f5d5409d86936a675fc5e3d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.createAgentTriggerDeliveryEngine.processDelivery (cognitive 64): engine.createAgentTriggerDeliveryEngine.processDelivery has cognitive complexity 64 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 13, ternaries 5 (12 pts), error handling 4 (7 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":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d16fa5729dd8ff223af763b256f9c5899c6d833c32dfdad96701b22dc64617"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.request (cognitive 64): Chat.request has cognitive complexity 64 (threshold 15). Drivers by points: if/else 32 (46 pts), boolean chains 10, ternaries 2 (5 pts), loops 1 (2 pts), error handling 1 (nesting depth added 18). Of this number, 55 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a68e1539bd48315fa9a99ae635fe3c0f43d8cb02f8d8a207e58ffd71be49a5"}},{"ruleId":"D2","level":"warning","message":{"text":"build.buildTurn (cognitive 64): build.buildTurn has cognitive complexity 64 (threshold 15). Drivers by points: if/else 17 (23 pts), ternaries 19 (20 pts), boolean chains 19, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/build.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd45f59805a3846f566702b502f8770acd28b0f24e0cc17e0744254e45a4472"}},{"ruleId":"D2","level":"warning","message":{"text":"ThemeProvider.ThemeProvider (cognitive 64): ThemeProvider.ThemeProvider has cognitive complexity 64 (threshold 15). Drivers by points: if/else 28 (31 pts), boolean chains 17, ternaries 12 (15 pts), error handling 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 48 belong to 12 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365784a24533c3dceb9c2efbb1a1058b468fbcbc0aff73b5d6d6221704865ce"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptForm.PromptForm (cognitive 63): PromptForm.PromptForm has cognitive complexity 63 (threshold 15). Drivers by points: boolean chains 25, if/else 19 (22 pts), ternaries 14 (16 pts) (nesting depth added 5). Of this number, 39 points are the body\u0027s own statements and 24 belong to 12 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"a580aad02c62fdb82b8e8379d16f94e8c74e998257cb5145033a0a406fdec8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"inference.resolveAgentInferenceParameters (cognitive 63): inference.resolveAgentInferenceParameters has cognitive complexity 63 (threshold 15). Drivers by points: if/else 19 (36 pts), boolean chains 22, ternaries 2 (4 pts), loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b2fdba9adbd38661f5623a5b75bf39a0f5adbd64c0f1845671255f26a518d5"}},{"ruleId":"D2","level":"warning","message":{"text":"host.createRunFileHost (cognitive 63): host.createRunFileHost has cognitive complexity 63 (threshold 15). Drivers by points: if/else 20 (34 pts), loops 10 (20 pts), boolean chains 4, error handling 3, ternaries 2 (nesting depth added 24). Most of this is not in the body itself: 1 of the 63 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 186, 360, 393, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/host.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a4087d761749c9b4d5696dc0fe05ee3cb7d1c13be43c53d21f702338f0f5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"useQueueDrain.useQueueDrain (cognitive 63): useQueueDrain.useQueueDrain has cognitive complexity 63 (threshold 15). Drivers by points: if/else 28 (33 pts), boolean chains 20, ternaries 6 (7 pts), loops 2 (3 pts) (nesting depth added 7). Most of this is not in the body itself: 2 of the 63 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 169, 345, 226, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b1d06d98a63d08c01c4dfd06242423c4efb292c4ed378e1a06709bfb578155"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.upsertConfigOverrides (cognitive 62): config.createAdminConfigHandlers.upsertConfigOverrides has cognitive complexity 62 (threshold 15). Drivers by points: if/else 29 (39 pts), boolean chains 11, ternaries 7 (8 pts), error handling 2, loops 2 (nesting depth added 11). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"665af27b0f8c91ce3f88e827f9e4b272a1c924d533c9dab9b396a57a55459519"}},{"ruleId":"D2","level":"warning","message":{"text":"view.createSubagentThreadViewHandler.\u003Creturned closure\u003E (cognitive 62): view.createSubagentThreadViewHandler.\u003Creturned closure\u003E has cognitive complexity 62 (threshold 15). Drivers by points: if/else 13 (21 pts), ternaries 21, boolean chains 16, loops 3, error handling 1 (nesting depth added 8). Of this number, 59 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dfd38017c2772b29f47a0872947e60cbbf5177f77fe1521f52835f2a12beda"}},{"ruleId":"D2","level":"warning","message":{"text":"finalizeResumedTurn (cognitive 62): finalizeResumedTurn has cognitive complexity 62 (threshold 15). Drivers by points: boolean chains 15, other 15, if/else 12 (14 pts), ternaries 10 (12 pts), error handling 3 (6 pts) (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e27292577ac127569eaef65d489975f813b1908d74aeea41f019cd3da3e0dc"}},{"ruleId":"D2","level":"warning","message":{"text":"EditContentParts.EditContentParts (cognitive 61): EditContentParts.EditContentParts has cognitive complexity 61 (threshold 15). Drivers by points: if/else 26 (29 pts), boolean chains 21, ternaries 7 (9 pts), error handling 1, loops 1 (nesting depth added 5). Most of this is not in the body itself: 8 of the 61 points are its own statements and the rest belongs to 10 function items inside it that branch (a function literal at line 208, a function literal at line 330, a function literal at line 377, \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":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbee15dc6949b8632f6db5185648e3a91b6c999069f3a15aaf1f1225567c570"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.createJob (cognitive 61): InMemoryJobStore.createJob has cognitive complexity 61 (threshold 15). Drivers by points: if/else 41 (50 pts), boolean chains 37, ternaries 8 (11 pts), error handling 2 (3 pts), loops 1 (nesting depth added 13). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (InMemoryJobStore.createJob::assertOwnerCompatible) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e0b60123367c3e27b8fd999f14e0da06531c055bfa7fb33857f4ebf721ed94"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createAgentChatCompletion (cognitive 61): service.createAgentChatCompletion has cognitive complexity 61 (threshold 15). Drivers by points: ternaries 18 (29 pts), if/else 13 (16 pts), boolean chains 14, error handling 1, loops 1 (nesting depth added 14). Of this number, 55 points are the body\u0027s own statements and 6 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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20f69b737158e9cf90ddd87c0ca5f91efd93266b9d0ad0ca16af60b337380d0"}},{"ruleId":"D2","level":"warning","message":{"text":"mongoMeili.mongoMeili (cognitive 61): mongoMeili.mongoMeili has cognitive complexity 61 (threshold 15). Drivers by points: if/else 30 (42 pts), boolean chains 10, error handling 4 (6 pts), ternaries 3 (nesting depth added 14). Most of this is not in the body itself: 7 of the 61 points are its own statements and the rest belongs to 11 function literals inside it that branch (lines 1050, 1269, 1212, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"89755b47f28d0e3fa9986397ee1fafb7ecfa5d81e30cf9aa8fa64b1ce60b73dc"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 61): (anonymous) has cognitive complexity 61 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 17, loops 1 (4 pts), ternaries 2 (4 pts), error handling 1 (2 pts), other 2 (nesting depth added 14). Of this number, 48 points are the body\u0027s own statements and 13 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":"api/server/routes/agents/index.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1c3b54ccdb4aaecbce02384aa9a1afd9e5f8d96bb36b32b297bbad768ad014"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCallGroup.ToolCallGroup::resolveGroupLabel (cognitive 60): ToolCallGroup.ToolCallGroup::resolveGroupLabel has cognitive complexity 60 (threshold 15). Drivers by points: ternaries 13 (30 pts), if/else 15 (25 pts), boolean chains 5 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ToolCallGroup.ToolCallGroup) 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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0e101d7d6edda7c7e8391084cb1c6e9a2036de81451d58c0809fa41e15ee46"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.isValidResult (cognitive 60): workspace.isValidResult has cognitive complexity 60 (threshold 15). Drivers by points: boolean chains 29, if/else 12 (17 pts), ternaries 6 (12 pts), loops 1 (2 pts) (nesting depth added 12). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"343580a6ddd6b02f1f37637eece88222d802445b126322d79efdd331e67d680a"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.getProviderMessageProvenanceState (cognitive 60): modelBoundContent.getProviderMessageProvenanceState has cognitive complexity 60 (threshold 15). Drivers by points: if/else 19 (41 pts), boolean chains 9, loops 3 (6 pts), error handling 2 (4 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7c2844b61104de5dfefe1123b76f40bd31f2afd151f1bcbed14ec4e04f3cad"}},{"ruleId":"D2","level":"warning","message":{"text":"models.fetchModels (cognitive 60): models.fetchModels has cognitive complexity 60 (threshold 15). Drivers by points: if/else 22 (33 pts), boolean chains 18, ternaries 5 (6 pts), error handling 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":"packages/api/src/endpoints/models.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c39c506e2b26dcc43c9e44c006671ffa2d5e716775ca81599d0a66a866f3b6"}},{"ruleId":"D2","level":"warning","message":{"text":"chat.extractChatContent (cognitive 60): chat.extractChatContent has cognitive complexity 60 (threshold 15). Drivers by points: if/else 30 (33 pts), boolean chains 20, ternaries 3, error handling 2, loops 1 (2 pts) (nesting depth added 4). Of this number, 44 points are the body\u0027s own statements and 16 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":"packages/api/src/protection/adapters/chat.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ccd6d5bb666603cd6a5f45568436631eff56abe67004fc9a4184bf8bff0366"}},{"ruleId":"D2","level":"warning","message":{"text":"useConversationSeen.useConversationSeen (cognitive 60): useConversationSeen.useConversationSeen has cognitive complexity 60 (threshold 15). Drivers by points: if/else 31 (38 pts), boolean chains 20, ternaries 1 (2 pts) (nesting depth added 8). None of this is in the body itself: all 60 points belong to 10 function literals inside it that branch (lines 121, 280, 80, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useConversationSeen.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"646b7f52bdff503252ab870607c482f1f00eeb0e0c13bf9ebc6226aa464d20db"}},{"ruleId":"D2","level":"warning","message":{"text":"state.reduceSubagentProgress (cognitive 60): state.reduceSubagentProgress has cognitive complexity 60 (threshold 15). Drivers by points: if/else 18 (37 pts), ternaries 9 (11 pts), boolean chains 9, loops 3 (nesting depth added 21). Of this number, 52 points are the body\u0027s own statements and 8 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa09021b21cc8b971b2ed09203298d4db2346e4227934d949654e877e724891"}},{"ruleId":"D2","level":"warning","message":{"text":"createOpenAIImageTools (cognitive 60): createOpenAIImageTools has cognitive complexity 60 (threshold 15). Drivers by points: if/else 29 (35 pts), boolean chains 14, loops 3 (4 pts), other 4, error handling 2, ternaries 1 (nesting depth added 7). Most of this is not in the body itself: 11 of the 60 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 231, a function literal at line 115, getApiKey, \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":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"099fbef337fcf316dbf1faf4d63c46024335013975aa1ae5ec8e78d2610c502b"}},{"ruleId":"D2","level":"warning","message":{"text":"Mermaid.MermaidRenderer (cognitive 59): Mermaid.MermaidRenderer has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 16 (29 pts), boolean chains 18, if/else 10 (12 pts) (nesting depth added 15). Of this number, 51 points are the body\u0027s own statements and 8 belong to 6 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a16afeeeb83d54bf0b2602ed74099b64054883a37ed40c8310c43902496572b"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.patchConfigField (cognitive 59): config.createAdminConfigHandlers.patchConfigField has cognitive complexity 59 (threshold 15). Drivers by points: if/else 27 (40 pts), ternaries 4 (7 pts), boolean chains 6, loops 4, error handling 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":"packages/api/src/admin/config.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5d77c99e37e3cf1aba6b298c83490a570ac94ad0ed5351798ceeea1ce077e0"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.validateGraphSubagentTopology (cognitive 59): validation.validateGraphSubagentTopology has cognitive complexity 59 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 12, loops 7 (12 pts), ternaries 2 (4 pts) (nesting depth added 22). Of this number, 57 points are the body\u0027s own statements and 2 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":"packages/api/src/agents/validation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e782440c3a3f5c1b3cb4872562aa51726ff51a566e3f293ffddd433d20fdeb"}},{"ruleId":"D2","level":"warning","message":{"text":"loader.createCustomConfigLoader.loadCustomConfig (cognitive 59): loader.createCustomConfigLoader.loadCustomConfig has cognitive complexity 59 (threshold 15). Drivers by points: if/else 27 (41 pts), boolean chains 12, error handling 3 (5 pts), loops 1 (nesting depth added 16). Of this number, 45 points are the body\u0027s own statements and 14 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecce4810989a851473f3fcf5498d86007fecbf34ef54a1435c66d06a311360a"}},{"ruleId":"D2","level":"warning","message":{"text":"lifecycle.reconcileCodeEnvironmentLifecycle (cognitive 59): lifecycle.reconcileCodeEnvironmentLifecycle has cognitive complexity 59 (threshold 15). Drivers by points: if/else 14 (26 pts), ternaries 7 (13 pts), boolean chains 8, error handling 3 (7 pts), loops 5 (nesting depth added 22). None of this is in the body itself: all 59 points belong to 2 function literals inside it that branch (lines 35, 273). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58c256d264397e940296749e9d2d83938ea0719d54fc83a5ad706c1d31400f3"}},{"ruleId":"D2","level":"warning","message":{"text":"callback.createProvisionFilesCallback.provisionFiles (cognitive 59): callback.createProvisionFilesCallback.provisionFiles has cognitive complexity 59 (threshold 15). Drivers by points: if/else 23 (35 pts), boolean chains 11, ternaries 8 (11 pts), loops 1 (2 pts) (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 34 belong to 10 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/callback.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4644810df2b6129566a314d296f5c13437fe71ee52e537725c89ee57a94e97b5"}},{"ruleId":"D2","level":"warning","message":{"text":"successor.useOwedSuccessor (cognitive 59): successor.useOwedSuccessor has cognitive complexity 59 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 18, ternaries 8, loops 4 (6 pts) (nesting depth added 12). Most of this is not in the body itself: 10 of the 59 points are its own statements and the rest belongs to 15 function literals inside it that branch (lines 315, 265, 356, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/successor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8938ae4b24c5453e5d49999f279ffe39ac80eee1f36c2d72540c23cdf075234"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.resolveTheme (cognitive 59): registry.resolveTheme has cognitive complexity 59 (threshold 15). Drivers by points: ternaries 35, boolean chains 23, if/else 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ac070a1d07dd52eb4dadb254fec05e818191c84fbf583ef9652bc3b1787d28"}},{"ruleId":"D2","level":"warning","message":{"text":"loadToolDefinitionsWrapper (cognitive 59): loadToolDefinitionsWrapper has cognitive complexity 59 (threshold 15). Drivers by points: if/else 55 (84 pts), boolean chains 24, ternaries 5 (10 pts), error handling 4 (7 pts), loops 3 (4 pts), other 4 (nesting depth added 38). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86982f14852bca828b1c9df75cad8c0ba66c8018e3aee6cdc80693052d00c6a"}},{"ruleId":"D2","level":"warning","message":{"text":"createActionTool._call (cognitive 59): createActionTool._call has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (43 pts), error handling 4 (10 pts), boolean chains 4, other 2 (nesting depth added 31). Of this number, 39 points are the body\u0027s own statements and 20 belong to 3 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f41ab3adba3c4441004f9f7383469bc6cdf29597753404b62638103830a028"}},{"ruleId":"D2","level":"warning","message":{"text":"index.router.get(\u0022/chat/stream/:streamId\u0022) (cognitive 58): index.router.get(\u0022/chat/stream/:streamId\u0022) has cognitive complexity 58 (threshold 15). Drivers by points: if/else 24 (32 pts), boolean chains 16, loops 1 (4 pts), ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 14). Of this number, 46 points are the body\u0027s own statements and 12 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":"api/server/routes/agents/index.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"593ac3c518cbf1d3c973558dd0d519b6dfcb83e9a4ae96e72d5260bc08c5ac38"}},{"ruleId":"D2","level":"warning","message":{"text":"modes.createAgentToolApprovalSession.validateExecution (cognitive 58): modes.createAgentToolApprovalSession.validateExecution has cognitive complexity 58 (threshold 15). Drivers by points: boolean chains 30, if/else 21 (26 pts), ternaries 2 (nesting depth added 5). Of this number, 56 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db502438cc59a313cc138ffb7c4fcf4fef63df3edf3abcbda207a1f11a3427a"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionService.createActionTool._call (cognitive 57): ActionService.createActionTool._call has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (43 pts), error handling 4 (10 pts), boolean chains 4 (nesting depth added 31). Of this number, 38 points are the body\u0027s own statements and 19 belong to 2 function items inside it that branch. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecc157832bd6ca4530c3d0e46afef017ae105a7d02f23bfd31a4877fa6c65d8"}},{"ruleId":"D2","level":"warning","message":{"text":"useNewConvo.useNewConvo.newConversation (cognitive 57): useNewConvo.useNewConvo.newConversation has cognitive complexity 57 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 17, ternaries 6 (11 pts), loops 1 (4 pts) (nesting depth added 21). Of this number, 33 points are the body\u0027s own statements and 24 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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b4974c8705ef5a6b327cd2b9aa9baa34612c03b1864bdfbbe0cb8dad977abb"}},{"ruleId":"D2","level":"warning","message":{"text":"files.getBlockedOpaqueFileField (cognitive 57): files.getBlockedOpaqueFileField has cognitive complexity 57 (threshold 15). Drivers by points: if/else 16 (38 pts), error handling 3 (8 pts), loops 3 (6 pts), boolean chains 5 (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":"packages/api/src/protection/files.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"9206cb281d3a97afe1e3e4b711ac150ec0a22a2b8418722bc63e1de1a9c3dd65"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.loadThreadUserMessages (cognitive 57): protection.loadThreadUserMessages has cognitive complexity 57 (threshold 15). Drivers by points: if/else 17 (41 pts), boolean chains 10, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/protection.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d209619b63ffd7239cae461c60ab1e802c853593ee4bd18b9e671723a675acf"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthContext.AuthContextProvider (cognitive 56): AuthContext.AuthContextProvider has cognitive complexity 56 (threshold 15). Drivers by points: if/else 31 (35 pts), boolean chains 13, ternaries 5 (8 pts) (nesting depth added 7). None of this is in the body itself: all 56 points belong to 11 function literals inside it that branch (lines 343, 417, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2ee3c6e94132e93acc03f632f980097e8333b5804c072d39e519d702e39b8e"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserQuestions.AskUserQuestions (cognitive 56): AskUserQuestions.AskUserQuestions has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 25, if/else 20 (23 pts), ternaries 6 (7 pts), loops 1 (nesting depth added 4). Of this number, 23 points are the body\u0027s own statements and 33 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":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ac0deecd2a4d899f6628f69d0c13a4b045df7cc6609864acbf8e8e5e68ae82"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedSection.PinnedSection (cognitive 56): PinnedSection.PinnedSection has cognitive complexity 56 (threshold 15). Drivers by points: if/else 25 (31 pts), boolean chains 16, ternaries 4 (5 pts), loops 4 (nesting depth added 7). Most of this is not in the body itself: 10 of the 56 points are its own statements and the rest belongs to 14 function literals inside it that branch (lines 403, 435, 565, \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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad2e30d29d0220a332c764bd0b0e3e1b005c53c84b95f2f82e97f3ccdcfcdbc"}},{"ruleId":"D2","level":"warning","message":{"text":"target.useTarget (cognitive 56): target.useTarget has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 40, if/else 9, ternaries 7. Of this number, 44 points are the body\u0027s own statements and 12 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/target.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5511e6d4ca0450f8a7f849b6f92da00b93cb68d985e6f83c318e4574ba46f345"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionFactory.handleOAuthRequired (cognitive 56): MCPConnectionFactory.handleOAuthRequired has cognitive complexity 56 (threshold 15). Drivers by points: if/else 17 (41 pts), ternaries 3 (7 pts), boolean chains 5, error handling 2 (3 pts) (nesting depth added 29). Of this number, 55 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"724407a8afabd6d3788e6d4ae24b5c82e4c8c996755974c9a8048bc0d8b98d87"}},{"ruleId":"D2","level":"warning","message":{"text":"review.reviewModal (cognitive 56): review.reviewModal has cognitive complexity 56 (threshold 15). Drivers by points: if/else 14 (32 pts), ternaries 4 (13 pts), boolean chains 7, loops 2 (4 pts) (nesting depth added 29). Of this number, 52 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6c7a7f2062924e10d23da86ee11918b90fa9372c1d94c98efd7c1511ac1355"}},{"ruleId":"D2","level":"warning","message":{"text":"Effort.Effort (cognitive 56): Effort.Effort has cognitive complexity 56 (threshold 15). Drivers by points: boolean chains 21, ternaries 21, if/else 12, error handling 2. Of this number, 36 points are the body\u0027s own statements and 20 belong to 14 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":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce631f2a11325dbe027361b6a156a0ecae01bd6c9ce7f895fb647cbbf7fd8499"}},{"ruleId":"D2","level":"warning","message":{"text":"PixelCard.PixelCard (cognitive 56): PixelCard.PixelCard has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (29 pts), boolean chains 10, ternaries 8 (10 pts), loops 4 (7 pts) (nesting depth added 13). Most of this is not in the body itself: 9 of the 56 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 235, a function literal at line 293, a function literal at line 220, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee8c5d3ad76333031c6bdd051a7dd8daed43c8c9379fc1a18561c33f2d22b4"}},{"ruleId":"D2","level":"warning","message":{"text":"generate.generateDynamicSchema (cognitive 56): generate.generateDynamicSchema has cognitive complexity 56 (threshold 15). Drivers by points: if/else 21 (50 pts), boolean chains 5, loops 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":"packages/data-provider/src/generate.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cdbdb5dd2dfe9b13ceada683d2d49c9c9a16b179fc416fe4fd3b537f0e60e"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.redactFormat (cognitive 56): parsers.redactFormat has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 8, error handling 5 (8 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 22). Of this number, 55 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73245b8021b03f73a118284111ca6b0dd41dadd5539c449a89b5e575851a44f"}},{"ruleId":"D2","level":"warning","message":{"text":"useQueryParams.useQueryParams (cognitive 55): useQueryParams.useQueryParams has cognitive complexity 55 (threshold 15). Drivers by points: if/else 28 (32 pts), boolean chains 23 (nesting depth added 4). Most of this is not in the body itself: 4 of the 55 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 647, 263, 767, \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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d0c65a95c5b942c1b6e8c55076d435245a27546b0adfdaaed050584ac58bd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Conversations.Conversations (cognitive 55): Conversations.Conversations has cognitive complexity 55 (threshold 15). Drivers by points: if/else 27 (28 pts), boolean chains 18, ternaries 6 (9 pts) (nesting depth added 4). Of this number, 18 points are the body\u0027s own statements and 37 belong to 16 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1b5ec2021c66bdbe948362ae18e446c03b8b6fa584e91eb9b34eacd95fbe87"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.applyConfigChanges (cognitive 55): config.createAdminConfigHandlers.applyConfigChanges has cognitive complexity 55 (threshold 15). Drivers by points: if/else 36 (50 pts), boolean chains 16, loops 8 (13 pts), ternaries 9 (11 pts), error handling 3 (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. This shape REPEATS in the file: one other method here (config.createAdminConfigHandlers.applyConfigChanges::plan) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"7074d390e40a7ffd5a89cc77c177716b68cde12f876a8cf8f0632dcac2ade6c1"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.overlayHostSteerParts (cognitive 55): RedisJobStore.overlayHostSteerParts has cognitive complexity 55 (threshold 15). Drivers by points: if/else 18 (39 pts), boolean chains 9, ternaries 1 (4 pts), loops 3 (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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69abbadd8eb26cf5d3e621f0e380d36bb76cd8c72a81756d4877bc9f636aa26"}},{"ruleId":"D2","level":"warning","message":{"text":"stream.useSubagentActivityStream (cognitive 55): stream.useSubagentActivityStream has cognitive complexity 55 (threshold 15). Drivers by points: if/else 26 (31 pts), boolean chains 18, ternaries 3 (6 pts) (nesting depth added 8). None of this is in the body itself: all 55 points belong to 12 function literals inside it that branch (lines 177, 234, 289, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/stream.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd248ff651b410d18ba9d88013cb3ccfef4fe0dd8b0cf6a23879cd51b79a3cbf"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.createAgentMethods.updateAgent (cognitive 55): agent.createAgentMethods.updateAgent has cognitive complexity 55 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 12, ternaries 4 (6 pts), error handling 1 (4 pts), loops 2 (4 pts) (nesting depth added 21). Of this number, 51 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6102c8df41897cc5df1020ac8a06044c500ae227a29312be0b4ff37531948d"}},{"ruleId":"D2","level":"warning","message":{"text":"updateUserPluginsController (cognitive 55): updateUserPluginsController has cognitive complexity 55 (threshold 15). Drivers by points: if/else 16 (32 pts), ternaries 4 (7 pts), boolean chains 5, error handling 3 (5 pts), loops 2 (5 pts), other 1 (nesting depth added 24). Of this number, 53 points are the body\u0027s own statements and 2 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":"api/server/controllers/UserController.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cb1f1464527180860b171985561afc341670d2a45c1ea2e240b35bbf8a7879"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentClient.rebaseActivityPhaseBounds (cognitive 54): AgentClient.rebaseActivityPhaseBounds has cognitive complexity 54 (threshold 15). Drivers by points: if/else 15 (35 pts), boolean chains 9, loops 5 (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":"api/server/controllers/agents/client.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2417f9efeb192e7f3691ce2fe3431d27c04b21a8abf2098092a0918fc60bd9"}},{"ruleId":"D2","level":"warning","message":{"text":"useAppBridge.useAppBridge (cognitive 54): useAppBridge.useAppBridge has cognitive complexity 54 (threshold 15). Drivers by points: if/else 31 (34 pts), boolean chains 18, error handling 1, ternaries 1 (nesting depth added 3). None of this is in the body itself: all 54 points belong to 20 function literals inside it that branch (lines 201, 530, 627, \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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d871749ebc8432f58363f093a2b9d32e1073be3bea019b3b31729f23133d2b5"}},{"ruleId":"D2","level":"warning","message":{"text":"client.estimateDocumentBlockTokens (cognitive 54): client.estimateDocumentBlockTokens has cognitive complexity 54 (threshold 15). Drivers by points: if/else 13 (30 pts), ternaries 5 (13 pts), boolean chains 8, loops 1 (3 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4b2822c2382ab28003374c595bea8947f5628d56b41da196cb7323dc6768d8"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createResponsesEventHandlers (cognitive 54): service.createResponsesEventHandlers has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (35 pts), loops 5 (9 pts), boolean chains 7, ternaries 1 (3 pts) (nesting depth added 24). None of this is in the body itself: all 54 points belong to 7 function literals inside it that branch (lines 963, 1050, 1004, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"713410ea860d8b19965739643a92abdc937b4170d47dc09701f883327967e6f4"}},{"ruleId":"D2","level":"warning","message":{"text":"queued.planCodeFileUploads (cognitive 54): queued.planCodeFileUploads has cognitive complexity 54 (threshold 15). Drivers by points: if/else 17 (30 pts), loops 10 (14 pts), boolean chains 5, ternaries 4 (5 pts) (nesting depth added 18). Of this number, 36 points are the body\u0027s own statements and 18 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/queued.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4b094a2a696bf1cf19d04e4e90cd0ec6e8073b502e78cb17023926ce1f4023"}},{"ruleId":"D2","level":"warning","message":{"text":"github.createGitHubPullRequestSource.find (cognitive 54): github.createGitHubPullRequestSource.find has cognitive complexity 54 (threshold 15). Drivers by points: if/else 25 (31 pts), boolean chains 15, ternaries 4 (6 pts), loops 2 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 32 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/github.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e4fdd6bf28524d8fd6a48cda21efdb864c3c53fffcd39a760381275ee8a179b"}},{"ruleId":"D2","level":"warning","message":{"text":"bitbucket.createBitbucketPullRequestSource.find (cognitive 54): bitbucket.createBitbucketPullRequestSource.find has cognitive complexity 54 (threshold 15). Drivers by points: if/else 21 (30 pts), boolean chains 13, ternaries 4 (6 pts), loops 5 (nesting depth added 11). Of this number, 21 points are the body\u0027s own statements and 33 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":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a464fd66d3df8e06a6998d3bfa175a14c3701453331383e32ec50bc273803c53"}},{"ruleId":"D2","level":"warning","message":{"text":"cleanup.cleanupMCPServerOAuthWithFenceHeld (cognitive 54): cleanup.cleanupMCPServerOAuthWithFenceHeld has cognitive complexity 54 (threshold 15). Drivers by points: if/else 16 (25 pts), boolean chains 10, ternaries 6 (8 pts), error handling 3 (7 pts), loops 4 (nesting depth added 15). Of this number, 49 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6a10f9b6a31ecec3edc46661ad6e0f46193998bfad55532389d26dc97437bd"}},{"ruleId":"D2","level":"warning","message":{"text":"reconcile.reconcileGenerationLifecycle (cognitive 54): reconcile.reconcileGenerationLifecycle has cognitive complexity 54 (threshold 15). Drivers by points: if/else 26 (35 pts), boolean chains 10, error handling 3, loops 2 (3 pts), ternaries 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":"packages/chat/src/core/resumable/reconcile.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c39e8eade36dd6a6e8764c0cccab9def797aee23123b337ad502b9997e95152"}},{"ruleId":"D2","level":"warning","message":{"text":"createResponsesToolEndCallback (cognitive 54): createResponsesToolEndCallback has cognitive complexity 54 (threshold 15). Drivers by points: if/else 21 (34 pts), error handling 5 (11 pts), boolean chains 5, loops 1 (2 pts), other 1, ternaries 1 (nesting depth added 20). None of this is in the body itself: all 54 points belong to 13 function items inside it that branch (a function literal at line 1297, a function literal at line 1309, a function literal at line 1408, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae71aed1158a750c0fd6379b75843bae02f552ef1cb191af6d898c3606f9feed"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicSlider.DynamicSlider (cognitive 53): DynamicSlider.DynamicSlider has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (26 pts), ternaries 11 (14 pts), boolean chains 13 (nesting depth added 10). Of this number, 20 points are the body\u0027s own statements and 33 belong to 10 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdcb943214ef93c131e5598579fbc9f77ac13343f24b6e4ebcbe7f0144401ed"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.updateConvoInAllQueries (cognitive 53): convos.updateConvoInAllQueries has cognitive complexity 53 (threshold 15). Drivers by points: if/else 13 (24 pts), ternaries 8 (17 pts), boolean chains 9, loops 2 (3 pts) (nesting depth added 21). Most of this is not in the body itself: 13 of the 53 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1713, 1775, 1694, \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":"client/src/utils/convos.ts"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee6ee442bc8586efcdc6d715f87073574e3e281fddf02c7b2501a719442863f"}},{"ruleId":"D2","level":"warning","message":{"text":"run.createRun::buildAgentInput (cognitive 53): run.createRun::buildAgentInput has cognitive complexity 53 (threshold 15). Drivers by points: if/else 19 (29 pts), boolean chains 16, loops 2 (4 pts), ternaries 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (run.createRun) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"be08db64f72e073bbf5d6534abf0d7fde235a59bf56906cadee400eda5fd0af4"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.resolveSubagentGraphs (cognitive 53): discovery.resolveSubagentGraphs has cognitive complexity 53 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 6 (13 pts), error handling 1 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 34). Of this number, 36 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":"packages/api/src/agents/discovery.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57c6c67313ad99ecb8193c81bb027c6c0aee9572b5a8e458866a24fdab6913e"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createAggregatorEventHandlers (cognitive 53): service.createAggregatorEventHandlers has cognitive complexity 53 (threshold 15). Drivers by points: if/else 15 (29 pts), loops 5 (9 pts), boolean chains 8, ternaries 2 (7 pts) (nesting depth added 23). None of this is in the body itself: all 53 points belong to 7 function literals inside it that branch (lines 1357, 1391, 1324, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dcc660f6d73fccd63d51a239909ee042e7467996fc8b27eb288efcff9b31787"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createSchedulesHandlers.updateSchedule (cognitive 53): handlers.createSchedulesHandlers.updateSchedule has cognitive complexity 53 (threshold 15). Drivers by points: if/else 27 (33 pts), boolean chains 19, ternaries 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"11557ddefebdc7f0115c67c0ececa77ff766df8ec1c17f8a1bb431d1a79e4a9f"}},{"ruleId":"D2","level":"warning","message":{"text":"deletion.runSkillDeletion (cognitive 53): deletion.runSkillDeletion has cognitive complexity 53 (threshold 15). Drivers by points: if/else 18 (31 pts), error handling 6 (14 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 22). Of this number, 29 points are the body\u0027s own statements and 24 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":"packages/api/src/skills/deletion.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93ad4b1dd344292545edd0572f00c98a5a733a990c2a4710f6ce188c11a6739"}},{"ruleId":"D2","level":"warning","message":{"text":"createToolEndCallback (cognitive 53): createToolEndCallback has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (33 pts), error handling 5 (11 pts), boolean chains 5, loops 1 (2 pts), other 1, ternaries 1 (nesting depth added 20). None of this is in the body itself: all 53 points belong to 13 function items inside it that branch (a function literal at line 924, a function literal at line 936, a function literal at line 1042, \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f3a3182287dc791eb218c125af28e69b1c751e4879b8548b93e8f42ee5a9c2"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 53): (anonymous) has cognitive complexity 53 (threshold 15). Drivers by points: if/else 21 (30 pts), error handling 7 (12 pts), ternaries 3 (6 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 19). Of this number, 52 points are the body\u0027s own statements and 1 belongs to 41 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":"config/delete-user.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d96ba8c6eab99a684ed180009a98221010e64fca3e59c876ea136ba5409bb72"}},{"ruleId":"D2","level":"warning","message":{"text":"openIdJwtLogin (cognitive 53): openIdJwtLogin has cognitive complexity 53 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 9 (13 pts), boolean chains 10, error handling 1 (nesting depth added 17). Most of this is not in the body itself: 2 of the 53 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 218, a function literal at line 158, a function literal at line 193, \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":"api/strategies/openIdJwtStrategy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ff3401d51e8e9c06a17b1b551c09834b24feb5d951f7f8d328eae846c9114b"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate-shared-link-permissions.migrateSharedLinkPermissions (cognitive 52): migrate-shared-link-permissions.migrateSharedLinkPermissions has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (31 pts), loops 4 (10 pts), boolean chains 9, error handling 1 (2 pts) (nesting depth added 20). None of this is in the body itself: all 52 points belong to 2 function literals inside it that branch (lines 154, 28). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-shared-link-permissions.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"83040e7b972dff7bd9a6f2429e9cd850be6fcf5080bd53c339eeb3aa335cab16"}},{"ruleId":"D2","level":"warning","message":{"text":"toolTiming.createToolTimingTracker (cognitive 52): toolTiming.createToolTimingTracker has cognitive complexity 52 (threshold 15). Drivers by points: if/else 18 (27 pts), boolean chains 14, ternaries 5 (8 pts), loops 3 (nesting depth added 12). Of this number, 43 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/toolTiming.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0663e2e6b5adbf7fad1ff488aa24d09709db485c1a5004decf1749d4f2b180"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.prepareThread (cognitive 52): SubagentThreadTaskStore.prepareThread has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (24 pts), ternaries 10 (17 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94f343c788d736e6091c8e5e0a1083b1542847b0cbd18ce6492cd9c5a7b2fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"completion.createResponseCompletion.finish (cognitive 52): completion.createResponseCompletion.finish has cognitive complexity 52 (threshold 15). Drivers by points: if/else 21 (40 pts), ternaries 2 (7 pts), boolean chains 4, error handling 1 (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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63143c11b71cad870f9d2120f50ae6ffb211fcf81ad882d6eb1ee4de285f901"}},{"ruleId":"D2","level":"warning","message":{"text":"submit.useSubmitSteer (cognitive 52): submit.useSubmitSteer has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 25, ternaries 1 (nesting depth added 6). None of this is in the body itself: all 52 points belong to 9 function literals inside it that branch (lines 252, 347, 129, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21e37c4ed61be219f9a46d7ebe19afcffb68e82ce2706258775d84093ee66d3"}},{"ruleId":"D2","level":"warning","message":{"text":"hint.composeHint (cognitive 52): hint.composeHint has cognitive complexity 52 (threshold 15). Drivers by points: if/else 16 (23 pts), ternaries 9 (21 pts), boolean chains 8 (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":"packages/chat/src/components/composer/bar/hint.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fa3b4fbdc602e771740456b0787780fc286564f120c3b3a795397c830cfc07"}},{"ruleId":"D2","level":"warning","message":{"text":"turns.useTurns.ask (cognitive 52): turns.useTurns.ask has cognitive complexity 52 (threshold 15). Drivers by points: if/else 24 (31 pts), boolean chains 15, ternaries 4, loops 1 (2 pts) (nesting depth added 8). Of this number, 50 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d34d0a2b7240d02e177b67f01a0fe3b03bf7427ee77b98360f7a7fabcc772b"}},{"ruleId":"D2","level":"warning","message":{"text":"file-config.buildMergedFileConfig (cognitive 52): file-config.buildMergedFileConfig has cognitive complexity 52 (threshold 15). Drivers by points: if/else 35 (48 pts), boolean chains 3, loops 1 (nesting depth added 13). Of this number, 50 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"2030d89b616653aac486d340ffc3d84b3d7b3ba64965585916362e493aa4266c"}},{"ruleId":"D2","level":"warning","message":{"text":"saveErrorTurn (cognitive 52): saveErrorTurn has cognitive complexity 52 (threshold 15). Drivers by points: boolean chains 22, if/else 11 (14 pts), ternaries 6 (9 pts), other 6, 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":"api/server/controllers/agents/request.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cc9a4c58beb118e0c22e9ef43aa02a329bed916427a5fd7751a9affd351dad"}},{"ruleId":"D2","level":"warning","message":{"text":"processOpenIDAuth (cognitive 52): processOpenIDAuth has cognitive complexity 52 (threshold 15). Drivers by points: if/else 20 (28 pts), ternaries 6 (12 pts), boolean chains 11, other 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"3139915bd7f0bf4bdd979a504c09130db85fed3507526e16ecd520c0365eecd0"}},{"ruleId":"D2","level":"warning","message":{"text":"createInProgressHandler::in_progress (cognitive 52): createInProgressHandler::in_progress has cognitive complexity 52 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 2 (6 pts), boolean chains 5, ternaries 1 (4 pts) (nesting depth added 30). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AssistantService.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d82a6204106106d9b4c987008bb18259a557a691a60b09912ccf2c2129a92ab"}},{"ruleId":"D2","level":"warning","message":{"text":"live.newestLine (cognitive 51): live.newestLine has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (29 pts), ternaries 5 (15 pts), boolean chains 6, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb71c64c7d3bc0a4469757fb91fc012022a6b74dce478a119c95b298322b7d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenAIImageGen.OpenAIImageGen (cognitive 51): OpenAIImageGen.OpenAIImageGen has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (25 pts), boolean chains 21, ternaries 3, error handling 2 (nesting depth added 5). Of this number, 30 points are the body\u0027s own statements and 21 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8805b2d04b50660a0d3de709e3332ad5c0b75a3602097c188c7f5228198a45"}},{"ruleId":"D2","level":"warning","message":{"text":"image.encodeAndFormatImages (cognitive 51): image.encodeAndFormatImages has cognitive complexity 51 (threshold 15). Drivers by points: if/else 20 (39 pts), boolean chains 5, error handling 1 (3 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 22). Of this number, 41 points are the body\u0027s own statements and 10 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/image.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eacb5f968537828a1d05c65db31064472375edb4df0195d941f49f0014fd5f6"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnection.createFetchFunction::customFetch (cognitive 51): MCPConnection.createFetchFunction::customFetch has cognitive complexity 51 (threshold 15). Drivers by points: if/else 12 (25 pts), boolean chains 12, ternaries 4 (9 pts), loops 2 (5 pts) (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5439daf58677167ea32b08e3f4fbbaa25f50fee97353b3c0c38eb92a31bc9a4"}},{"ruleId":"D2","level":"warning","message":{"text":"requirements.resolveScheduledMCPRequirements (cognitive 51): requirements.resolveScheduledMCPRequirements has cognitive complexity 51 (threshold 15). Drivers by points: if/else 37 (64 pts), loops 17 (25 pts), boolean chains 21, ternaries 2 (4 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. This shape REPEATS in the file: one other method here (requirements.resolveScheduledMCPRequirements::visitDirectTree) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ba3e8010fc2a4253ccbe025358916ed487a330b04484061b5a0713aaf9eae4"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createSchedulesHandlers.createSchedule (cognitive 51): handlers.createSchedulesHandlers.createSchedule has cognitive complexity 51 (threshold 15). Drivers by points: if/else 30 (41 pts), error handling 2 (5 pts), boolean chains 4, ternaries 1 (nesting depth added 14). Of this number, 40 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcfffad5d1db5c30056b6d981367e3e0ca77c7df3faa0aee2ef93bbc47423bf"}},{"ruleId":"D2","level":"warning","message":{"text":"service.recordScheduledMCPToolAuthFailure (cognitive 51): service.recordScheduledMCPToolAuthFailure has cognitive complexity 51 (threshold 15). Drivers by points: if/else 15 (31 pts), boolean chains 9, error handling 3 (5 pts), ternaries 4 (5 pts), loops 1 (nesting depth added 19). Of this number, 16 points are the body\u0027s own statements and 35 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1720778a7cd84114e2ed434b15ae75fbbdbd7ff187b678e5ac2d7d2b4e5821"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords (cognitive 51): reader.createLangfuseTraceReader.listRecords has cognitive complexity 51 (threshold 15). Drivers by points: if/else 46 (93 pts), ternaries 21 (33 pts), boolean chains 32, loops 15 (21 pts), error handling 5 (8 pts) (nesting depth added 68). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (reader.createLangfuseTraceReader.listRecords::probe, reader.createLangfuseTraceReader.listRecords::segmentOf, reader.createLangfuseTraceReader.listRecords::nameToolRounds) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"9947dc9afb4255b01dca53ab469fb6a1f5ea65a4aae2fd73ace4175ab53f91ca"}},{"ruleId":"D2","level":"warning","message":{"text":"Link.OwnedLink (cognitive 50): Link.OwnedLink has cognitive complexity 50 (threshold 15). Drivers by points: boolean chains 37, if/else 10, ternaries 3. Of this number, 39 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Link.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1f2998c881369da83df34ae3fceaccdb291a4ffe1afb3e26e2867a83d66149"}},{"ruleId":"D2","level":"warning","message":{"text":"client.countFormattedMessageTokens::processValue (cognitive 50): client.countFormattedMessageTokens::processValue has cognitive complexity 50 (threshold 15). Drivers by points: if/else 15 (40 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3912c5c590a510f4715bd7211d590bdaf56691aca22f3ff5bf9855bb4099b38"}},{"ruleId":"D2","level":"warning","message":{"text":"destinations.planCodeSnapshotMounts (cognitive 50): destinations.planCodeSnapshotMounts has cognitive complexity 50 (threshold 15). Drivers by points: if/else 14 (32 pts), loops 6 (10 pts), boolean chains 7, ternaries 1 (nesting depth added 22). Of this number, 44 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/destinations.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0bdaebc24947beb1933d66d002897dd0de426d81a4c8a19d99a1a7048ed39dd"}},{"ruleId":"D2","level":"warning","message":{"text":"connection.guardMCPStreamableHTTPResponse (cognitive 50): connection.guardMCPStreamableHTTPResponse has cognitive complexity 50 (threshold 15). Drivers by points: if/else 21 (33 pts), boolean chains 10, ternaries 3, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 16 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9587ca824e20bbc973120efe7f26ee56271969d327fe88edbcc2da30afaaa7"}},{"ruleId":"D2","level":"warning","message":{"text":"processMessages (cognitive 50): processMessages has cognitive complexity 50 (threshold 15). Drivers by points: if/else 10 (28 pts), error handling 2 (7 pts), loops 3 (6 pts), boolean chains 4, ternaries 2 (3 pts), other 2 (nesting depth added 27). Of this number, 20 points are the body\u0027s own statements and 30 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"48255591c39c2b458c5754c6585d021477e3588d80d5dd8bd237f529a1ca67ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Channels.Channel (cognitive 49): Channels.Channel has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 25, if/else 13 (15 pts), ternaries 8 (9 pts) (nesting depth added 3). Of this number, 26 points are the body\u0027s own statements and 23 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22d5a6f34305f4194a9db4bd80e1d346c4f47048073dc56592aad4636d77004"}},{"ruleId":"D2","level":"warning","message":{"text":"Channels.OwnedChannels (cognitive 49): Channels.OwnedChannels has cognitive complexity 49 (threshold 15). Drivers by points: boolean chains 36, if/else 6 (7 pts), ternaries 6 (nesting depth added 1). Of this number, 33 points are the body\u0027s own statements and 16 belong to 12 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"4018d986b5f46960bdca3377435f697e324d845554663309e5048711a53506df"}},{"ruleId":"D2","level":"warning","message":{"text":"import.blockFilteredImportContent (cognitive 49): import.blockFilteredImportContent has cognitive complexity 49 (threshold 15). Drivers by points: ternaries 14 (33 pts), if/else 6 (9 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 24). Of this number, 43 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"823ce6f8b201726fd121579fc758e5abb19d286ffe4e1665f036e1486aea49f5"}},{"ruleId":"D2","level":"warning","message":{"text":"decision.createResponseDecisionSubmission.\u003Creturned closure\u003E (cognitive 49): decision.createResponseDecisionSubmission.\u003Creturned closure\u003E has cognitive complexity 49 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 17, ternaries 4 (6 pts), error handling 2 (3 pts) (nesting depth added 7). Of this number, 44 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07b1d1b9e200e30f45520a41f16e894d370778001070a8198c5ca5b8a975bfd"}},{"ruleId":"D2","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.pair (cognitive 49): http.createCodeEnvironmentHttpHandlers.pair has cognitive complexity 49 (threshold 15). Drivers by points: if/else 15 (22 pts), error handling 11 (15 pts), ternaries 6 (8 pts), boolean chains 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1684357ce81664dfab43d50ace225fdafcf45a76f8736bd60430809ba2ff25d7"}},{"ruleId":"D2","level":"warning","message":{"text":"preflight.assertUploadContentAllowed (cognitive 49): preflight.assertUploadContentAllowed has cognitive complexity 49 (threshold 15). Drivers by points: if/else 16 (35 pts), boolean chains 9, ternaries 2 (5 pts) (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":"packages/api/src/files/preflight.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94d97f769bd22c7f25189e03f118f3ed550f3af63a813855d53ae466ea9cbb4"}},{"ruleId":"D2","level":"warning","message":{"text":"imports.inspectConversationImportContent (cognitive 49): imports.inspectConversationImportContent has cognitive complexity 49 (threshold 15). Drivers by points: if/else 14 (33 pts), boolean chains 11, error handling 2 (4 pts), loops 1 (nesting depth added 21). Of this number, 46 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/imports.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fe218cce0e33358b88c9b4c31bd9e9fec55c91e04a9d26e628449548cd7217"}},{"ruleId":"D2","level":"warning","message":{"text":"duplicateAgentHandler (cognitive 49): duplicateAgentHandler has cognitive complexity 49 (threshold 15). Drivers by points: if/else 17 (27 pts), boolean chains 7, error handling 5 (6 pts), other 5, loops 2 (4 pts) (nesting depth added 13). Of this number, 45 points are the body\u0027s own statements and 4 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"b478a0537f4f4b7fa73dc7f546b7b7e9fcf7626cf24d41ff91c5bf2532d75e75"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantService.createInProgressHandler.in_progress (cognitive 48): AssistantService.createInProgressHandler.in_progress has cognitive complexity 48 (threshold 15). Drivers by points: if/else 14 (37 pts), loops 2 (6 pts), boolean chains 5 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AssistantService.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b8743ac32a17ea15a80f484445d2f9ef6ba0825bb8ee4c79379e1b649ff0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericGrantAccessDialog.GenericGrantAccessDialog (cognitive 48): GenericGrantAccessDialog.GenericGrantAccessDialog has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 26, ternaries 10 (11 pts), if/else 10, error handling 1 (nesting depth added 1). Of this number, 27 points are the body\u0027s own statements and 21 belong to 10 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":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"122c4f3aaf529b3194de5528e730ace8f2e5da62e78c7c81ae56834e4ab64d5a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.claimTerminalJob (cognitive 48): GenerationJobManagerClass.claimTerminalJob has cognitive complexity 48 (threshold 15). Drivers by points: boolean chains 26, if/else 13 (17 pts), ternaries 3, error handling 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4060}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f09bbeda2f70c78b0ffc5fba9a72f3957832f5994ba05fc0b84f62542adbe5"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.cleanup (cognitive 48): GenerationJobManagerClass.cleanup has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 7, loops 3 (4 pts), error handling 1 (3 pts) (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9726}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c41168f61d94f8bcdd8cb79b318a64078bd400bf6991b5e67569225126ed594"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.performIdpRefresh (cognitive 48): session.createOpenIDSessionRefreshService.performIdpRefresh has cognitive complexity 48 (threshold 15). Drivers by points: if/else 15 (26 pts), error handling 6 (11 pts), ternaries 4 (7 pts), boolean chains 4 (nesting depth added 19). Most of this is not in the body itself: 10 of the 48 points are its own statements and the rest belongs to one function literal inside it that branches (line 1593). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4194c966041197743649b1820ee013e13806c5010c83b74be92dda49bad266b"}},{"ruleId":"D2","level":"warning","message":{"text":"workbook.workbookToText (cognitive 48): workbook.workbookToText has cognitive complexity 48 (threshold 15). Drivers by points: if/else 10 (26 pts), boolean chains 6, error handling 1 (6 pts), loops 3 (6 pts), ternaries 1 (4 pts) (nesting depth added 27). Of this number, 47 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/workbook.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"448c996cd65efdc303c61c02fba0445c4e7905856c657a613f576d2bc48dd82e"}},{"ruleId":"D2","level":"warning","message":{"text":"retention.computeRetentionExpiry (cognitive 48): retention.computeRetentionExpiry has cognitive complexity 48 (threshold 15). Drivers by points: if/else 13 (29 pts), boolean chains 10, ternaries 2 (7 pts), error handling 1 (2 pts) (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":"packages/api/src/files/retention.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51ad3f7ced3ebb49474840e7c991077c9b9ab86551c4251d6252e845f4170c"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.openapiToFunction (cognitive 48): actions.openapiToFunction has cognitive complexity 48 (threshold 15). Drivers by points: if/else 8 (31 pts), loops 4 (12 pts), boolean chains 5 (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":"packages/data-provider/src/actions.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4031e75f2ced790bc7cc75ca4fd4668ad0f2638a1f93cb9adfe6975253c3761"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.deleteConvos (cognitive 48): conversation.createConversationMethods.deleteConvos has cognitive complexity 48 (threshold 15). Drivers by points: if/else 11 (18 pts), error handling 7 (12 pts), loops 9 (12 pts), boolean chains 4, ternaries 1 (2 pts) (nesting depth added 16). Of this number, 30 points are the body\u0027s own statements and 18 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":4078}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3e3528de912a4054ad306d91eb15622630dcce8a5d11f9ec19be9113e1d965"}},{"ruleId":"D2","level":"warning","message":{"text":"performSync (cognitive 48): performSync has cognitive complexity 48 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 10, ternaries 2 (6 pts), other 4, error handling 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":"api/db/indexSync.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"fecd3f6c5f447833848239d600381981592792218d70353a68b1be5cfcaab8f1"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentDetailContent.AgentDetailContent (cognitive 47): AgentDetailContent.AgentDetailContent has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 23, ternaries 14 (15 pts), if/else 6 (8 pts), loops 1 (nesting depth added 3). Of this number, 36 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":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"58848fdd36947c14752f997982e7fcff20381640f6a69d227e1055a5b7d4c3ba"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserQuestion.AskUserQuestionSingle (cognitive 47): AskUserQuestion.AskUserQuestionSingle has cognitive complexity 47 (threshold 15). Drivers by points: boolean chains 21, if/else 19 (20 pts), ternaries 6 (nesting depth added 1). Of this number, 19 points are the body\u0027s own statements and 28 belong to 11 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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"909169273b4aae8ed40851fdded890420160f67e57df67a99ed31afe5956d456"}},{"ruleId":"D2","level":"warning","message":{"text":"metadata.sanitizeJobMetadata (cognitive 47): metadata.sanitizeJobMetadata has cognitive complexity 47 (threshold 15). Drivers by points: if/else 44 (45 pts), boolean chains 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/metadata.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"930e800f54a7f3c878560032f482b4c29aaf21df75e979fece36dd2529e0e094"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.refreshOpenIDSession (cognitive 47): session.createOpenIDSessionRefreshService.refreshOpenIDSession has cognitive complexity 47 (threshold 15). Drivers by points: if/else 16 (38 pts), boolean chains 5, error handling 1 (2 pts), ternaries 2 (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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc83c649bdecb71aeeaa11267c3f8ce06a2204c1ea0a1acc309b6e492365a12e"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSetupService.advance (cognitive 47): service.createSetupService.advance has cognitive complexity 47 (threshold 15). Drivers by points: if/else 23 (33 pts), boolean chains 8, ternaries 2 (4 pts), error handling 2 (nesting depth added 12). Of this number, 39 points are the body\u0027s own statements and 8 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":"packages/api/src/code/setup/service.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ce1222141fc0bfc7b6ecc915089f77973ae8d8425894ed41c26ecddd8a09b8"}},{"ruleId":"D2","level":"warning","message":{"text":"preflight.preflightCodeOutputBatch (cognitive 47): preflight.preflightCodeOutputBatch has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (32 pts), boolean chains 9, error handling 1 (2 pts), loops 2, 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":"packages/api/src/files/code/preflight.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23cd629e56dbd6be4119f5a803be64ae55e2e7963eb5af25f2154349372eb24"}},{"ruleId":"D2","level":"warning","message":{"text":"role.createRoleMethods.updateAccessPermissions (cognitive 47): role.createRoleMethods.updateAccessPermissions has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (28 pts), boolean chains 7, loops 6 (7 pts), error handling 2 (4 pts), ternaries 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":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"628a5295b4c47499214ef6b91d8abfdc0c5d11c6e529c6d3226e980d30f7d36c"}},{"ruleId":"D2","level":"warning","message":{"text":"createMCPToolImpl (cognitive 47): createMCPToolImpl has cognitive complexity 47 (threshold 15). Drivers by points: if/else 14 (23 pts), ternaries 9 (10 pts), boolean chains 8, other 5, loops 1 (nesting depth added 10). Of this number, 41 points are the body\u0027s own statements and 6 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6a90f95242aece81443b69aae4c99b123e2bf31de902515ff142288db17084"}},{"ruleId":"D2","level":"warning","message":{"text":"useReplyWatcher.mergeTimestamps (cognitive 46): useReplyWatcher.mergeTimestamps has cognitive complexity 46 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 13, ternaries 5 (9 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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3058fa83b019ab9180a9a7b14ed6bc7ac506a30ee619298f4612f3a5a2de5b06"}},{"ruleId":"D2","level":"warning","message":{"text":"useNewConvo.useNewConvo.switchToConversation.\u003Creturned closure\u003E (cognitive 46): useNewConvo.useNewConvo.switchToConversation.\u003Creturned closure\u003E has cognitive complexity 46 (threshold 15). Drivers by points: if/else 19 (27 pts), boolean chains 17, ternaries 2 (nesting depth added 8). Of this number, 43 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3cb120d4c4a046597483034373cc178bc7aeac4b79380cfa3a022f48bd53266"}},{"ruleId":"D2","level":"warning","message":{"text":"Reasoning.useComposerReasoning (cognitive 46): Reasoning.useComposerReasoning has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 25, if/else 14, ternaries 6 (7 pts) (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 26 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0844ecff02f100d04651a14016f834b5145ee6681868b02310959a95e0ef395"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePreviewDialog.FilePreviewDialog (cognitive 46): FilePreviewDialog.FilePreviewDialog has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 22, if/else 16 (18 pts), ternaries 4, error handling 2 (nesting depth added 2). Of this number, 26 points are the body\u0027s own statements and 20 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"5712d2a7f363ac32b93025791c40bef81393d8d179725c23c42711dbe39a33e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityPhaseGroup.ActivityPhaseGroup (cognitive 46): ActivityPhaseGroup.ActivityPhaseGroup has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 24, ternaries 10 (15 pts), if/else 7 (nesting depth added 5). Of this number, 33 points are the body\u0027s own statements and 13 belong to 8 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bafad84a627c15161c4690c30e0fd6d13e165a6913302e1273860d7e63eb72e"}},{"ruleId":"D2","level":"warning","message":{"text":"files.omitResolvedFileLocators (cognitive 46): files.omitResolvedFileLocators has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 9, loops 3 (6 pts), ternaries 2 (3 pts), error handling 1 (nesting depth added 16). Of this number, 43 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49ece477d5cfb8a8f78f0fc6d1044f428f2e3cf03b6790847f6b4ddb5a0964f"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeOpenAI (cognitive 46): initialize.initializeOpenAI has cognitive complexity 46 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 14, ternaries 5 (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":"packages/api/src/endpoints/openai/initialize.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c88de3dd62c56e89880de6bdd806bbb9ff4853e5916eb02953175798d16b532"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventTransport.deliverMessage (cognitive 46): RedisEventTransport.deliverMessage has cognitive complexity 46 (threshold 15). Drivers by points: if/else 15 (27 pts), boolean chains 6, error handling 2 (6 pts), loops 3 (5 pts), match/switch 1 (2 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"088828c4bc348018613d1e3af4f152f7c81ff41de390bf96869c2a0ac20fce40"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.applyMembershipSnapshot (cognitive 46): RedisJobStore.applyMembershipSnapshot has cognitive complexity 46 (threshold 15). Drivers by points: if/else 22 (30 pts), ternaries 7 (9 pts), boolean chains 4, 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e23019d9ac969c60dd311481b1ec14c0357169ee6f2c65cd2c40d56730be8d"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.getResponseSender (cognitive 46): parsers.getResponseSender has cognitive complexity 46 (threshold 15). Drivers by points: if/else 24 (27 pts), boolean chains 19 (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":"packages/data-provider/src/parsers.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"49739d193dc298b9f34757dcd2dd4362e9421218dfd8e68f7a6d58f7257e9b53"}},{"ruleId":"D2","level":"warning","message":{"text":"provisioning.createPermissionPrincipalMethods.persistPermissionPrincipals (cognitive 46): provisioning.createPermissionPrincipalMethods.persistPermissionPrincipals has cognitive complexity 46 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 4 (9 pts), ternaries 3 (6 pts), error handling 2 (5 pts), boolean chains 3 (nesting depth added 23). Of this number, 37 points are the body\u0027s own statements and 9 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":"packages/data-schemas/src/methods/provisioning.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46021d40a2a6fc078185a49081be5cc264a96152924ae951965274cdf43c84b"}},{"ruleId":"D2","level":"warning","message":{"text":"role.createRoleMethods.initializeRoles (cognitive 46): role.createRoleMethods.initializeRoles has cognitive complexity 46 (threshold 15). Drivers by points: if/else 10 (33 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 30). None of this is in the body itself: all 46 points belong to one function literal inside it that branches (line 157). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1f7428c9a844d2321ffe5e9acccae7be01b2756bc35b2249ed0230903e5a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"browserSetup.createBrowserSetupStore.update (cognitive 46): browserSetup.createBrowserSetupStore.update has cognitive complexity 46 (threshold 15). Drivers by points: boolean chains 22, if/else 16 (19 pts), ternaries 3, loops 2 (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":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16283a4e48c018dc04acf7ba0ec5142575fca6ae4e51c8fcaaf97cf0519c6a5"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectedAccounts.ConnectedAccounts (cognitive 45): ConnectedAccounts.ConnectedAccounts has cognitive complexity 45 (threshold 15). Drivers by points: if/else 21 (22 pts), boolean chains 17, ternaries 6 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 25 belong to 11 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":"client/src/components/Nav/Settings/ConnectedAccounts.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24db0f6d8e7e88aa5b585c069edf3dd0013a821661785043547f34c71b55ee0"}},{"ruleId":"D2","level":"warning","message":{"text":"useDictation.useDictation (cognitive 45): useDictation.useDictation has cognitive complexity 45 (threshold 15). Drivers by points: if/else 25 (26 pts), boolean chains 17, ternaries 2 (nesting depth added 1). None of this is in the body itself: all 45 points belong to 10 function literals inside it that branch (lines 145, 106, 184, \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":"client/src/hooks/Input/useDictation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0ca4e385b64da58da0b66145f1666ee20e9429235e43fb69bed64daf3c3c70"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleAttachedWorkspaceEditFileCall (cognitive 45): handlers.handleAttachedWorkspaceEditFileCall has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (29 pts), ternaries 5 (7 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 15). Of this number, 44 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4081}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0090d6028e449839baa175f6a8b684b6263203c43ed278cdf5bbfdadc07133"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentExecutionEnrollment.settleInternal (cognitive 45): AgentExecutionEnrollment.settleInternal has cognitive complexity 45 (threshold 15). Drivers by points: if/else 16 (22 pts), boolean chains 10, error handling 6 (10 pts), ternaries 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":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3c3e2c8b22eec8796dda149e7a0c47d921ed0106b6a8756447c7eeea569f2c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewFlow.control (cognitive 45): ReviewFlow.control has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 8, error handling 3 (5 pts) (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b2b73a731bd928807e43f5c87309fca4f6086b820784decb484b75e67a5612"}},{"ruleId":"D2","level":"warning","message":{"text":"content.reconcileSubagentMessagePhases (cognitive 45): content.reconcileSubagentMessagePhases has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 7, loops 5, ternaries 4 (5 pts) (nesting depth added 14). Of this number, 43 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":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"448ac5eff2a5574a1b852e43ac115cdbfc6fdcb1734f87d60a7e37b25e8bdbf9"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.validateAzureGroups (cognitive 45): azure.validateAzureGroups has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (34 pts), boolean chains 6, loops 2 (5 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/azure.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"048c374823d605a7c22d076b9ac782c3f2e3b2830c88f4860b09c3b5618fa91e"}},{"ruleId":"D2","level":"warning","message":{"text":"skill.createSkillMethods.upsertSkillFile (cognitive 45): skill.createSkillMethods.upsertSkillFile has cognitive complexity 45 (threshold 15). Drivers by points: if/else 12 (23 pts), ternaries 5 (10 pts), boolean chains 7, error handling 2 (5 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c392e835bb41807f396f78fadeafc4f7a4d77569572a750906db266aff785a"}},{"ruleId":"D2","level":"warning","message":{"text":"preview.buildMessagePreview (cognitive 44): preview.buildMessagePreview has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 10, ternaries 3 (9 pts), loops 1 (nesting depth added 19). Of this number, 42 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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd4914b7a2f879bf54a156c42ab6c0875b293876bbea223021a11ee9c29c5f1"}},{"ruleId":"D2","level":"warning","message":{"text":"preview.buildPreviewIndex (cognitive 44): preview.buildPreviewIndex has cognitive complexity 44 (threshold 15). Drivers by points: if/else 11 (29 pts), loops 4 (7 pts), boolean chains 6, ternaries 1 (2 pts) (nesting depth added 22). Of this number, 42 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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"414c0235d970032b6c39805b06013128fad0d1c4139b8124c3f91a445b835ee2"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentSelect.AgentSelect (cognitive 44): AgentSelect.AgentSelect has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23, boolean chains 17, ternaries 4. Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 9 function literals inside it that branch (lines 166, 99, 80, \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":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b68d0f007e88836151a99ce68c2196be5ea723532a82b9031a1636aec1eab8"}},{"ruleId":"D2","level":"warning","message":{"text":"useTextToSpeechExternal.useTextToSpeechExternal (cognitive 44): useTextToSpeechExternal.useTextToSpeechExternal has cognitive complexity 44 (threshold 15). Drivers by points: if/else 23 (30 pts), boolean chains 9, ternaries 3, error handling 1, loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 44 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 89, 81, 108, \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":"client/src/hooks/Input/useTextToSpeechExternal.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa72cc8114fa49de9d0bbd83cdf72e38ceef6aa080825fa55e27fa25fc1bb48"}},{"ruleId":"D2","level":"warning","message":{"text":"useKeyboardShortcuts.useShortcutActions (cognitive 44): useKeyboardShortcuts.useShortcutActions has cognitive complexity 44 (threshold 15). Drivers by points: if/else 30 (32 pts), boolean chains 10, loops 1, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 44 points belong to 17 function literals inside it that branch (lines 709, 550, 760, \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":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb502f54222dda745bb76f727074397293b818dfe8131aaedac8a92e958b9c4f"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.assertResumeRuntimeContentAllowed (cognitive 44): protection.assertResumeRuntimeContentAllowed has cognitive complexity 44 (threshold 15). Drivers by points: if/else 10 (20 pts), loops 5 (10 pts), boolean chains 9, ternaries 5 (nesting depth added 15). Of this number, 38 points are the body\u0027s own statements and 6 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cfc914e301712d2e889d186147224a80e9fcf0b2432fd1caee6dc28af7951b9"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurns.createAgentQueuedTurnResolver.\u003Creturned closure\u003E (cognitive 44): queuedTurns.createAgentQueuedTurnResolver.\u003Creturned closure\u003E has cognitive complexity 44 (threshold 15). Drivers by points: boolean chains 18, if/else 11, ternaries 5 (11 pts), error handling 3 (4 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b900465761af1aad1f3c03451ed73a9f48e130adbf00975fda780bf434b39e71"}},{"ruleId":"D2","level":"warning","message":{"text":"content.writeContent (cognitive 44): content.writeContent has cognitive complexity 44 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 18, 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":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b54ef33e6e21ad354d50a4427e40cfa1dac705e2d38eab980d8ec5d68aa1b27"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.claimNextAgentTriggerDelivery (cognitive 44): triggerDelivery.createAgentTriggerDeliveryMethods.claimNextAgentTriggerDelivery has cognitive complexity 44 (threshold 15). Drivers by points: ternaries 10 (28 pts), if/else 4 (9 pts), boolean chains 4, loops 2 (3 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb6225ae0cecd68059aeffe657d08f05dcd1d0d82a862e7394bce1301c3ac77"}},{"ruleId":"D2","level":"warning","message":{"text":"updateAssistant (cognitive 44): updateAssistant has cognitive complexity 44 (threshold 15). Drivers by points: if/else 16 (29 pts), ternaries 2 (5 pts), boolean chains 4, loops 2 (4 pts), other 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":"api/server/controllers/assistants/v2.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90e8762aae7c42992ab589ebdcf074bbc25bba050d336f26eb0fe105efe37af"}},{"ruleId":"D2","level":"warning","message":{"text":"FavoritesController.updateFavoritesController (cognitive 43): FavoritesController.updateFavoritesController has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 13, error handling 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":"api/server/controllers/FavoritesController.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f8d81d59d5756a51695e873e343c817525ca4717031f626ddd13a9638c75d8"}},{"ruleId":"D2","level":"warning","message":{"text":"useAutoSave.useAutoSave.restoreFiles (cognitive 43): useAutoSave.useAutoSave.restoreFiles has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 7, loops 2 (4 pts), ternaries 2 (3 pts) (nesting depth added 17). Most of this is not in the body itself: 8 of the 43 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 155, 195). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a17037346fa0ad8fdb0b6277ad5da340a3508cbbfaa82d560d1b8a9ff25b46"}},{"ruleId":"D2","level":"warning","message":{"text":"ParallelContent.groupParallelContent (cognitive 43): ParallelContent.groupParallelContent has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (26 pts), loops 4 (9 pts), boolean chains 6, ternaries 2 (nesting depth added 18). Of this number, 22 points are the body\u0027s own statements and 21 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ParallelContent.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac54cab48d821905db69ceee926ef2d436602f11680758cebdb6d274c8a5c12"}},{"ruleId":"D2","level":"warning","message":{"text":"edges.resolveReachableGraph (cognitive 43): edges.resolveReachableGraph has cognitive complexity 43 (threshold 15). Drivers by points: if/else 6 (16 pts), loops 7 (11 pts), ternaries 5 (11 pts), boolean chains 5 (nesting depth added 20). Of this number, 38 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/edges.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb076e55f988969b6b8429055a60ce02dc934ee019f13947ab3f1ff1ea22681"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService (cognitive 43): service.createSchedulesService has cognitive complexity 43 (threshold 15). Drivers by points: if/else 24 (29 pts), boolean chains 11, ternaries 2, loops 1 (nesting depth added 5). Most of this is not in the body itself: 3 of the 43 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 712, 864, 833, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53c74dd34439afa1c13c7a98285b352dd51dc5da8856f1fa013c38e6b3edda2"}},{"ruleId":"D2","level":"warning","message":{"text":"render.renderSlackDocument (cognitive 43): render.renderSlackDocument has cognitive complexity 43 (threshold 15). Drivers by points: if/else 15 (30 pts), loops 4 (7 pts), boolean chains 4, ternaries 2 (nesting depth added 18). Of this number, 29 points are the body\u0027s own statements and 14 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":"packages/channel-gateway/src/render.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f11a8ad4fd45dbf7181e23d5db61284a5849f58e8fb63c3d54ac074a261572"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.contentPartsToActivity (cognitive 43): adapters.contentPartsToActivity has cognitive complexity 43 (threshold 15). Drivers by points: ternaries 20 (32 pts), if/else 7, boolean chains 4 (nesting depth added 12). None of this is in the body itself: all 43 points belong to one function literal inside it that branches (line 107). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"034a7b54a0afb93aba70c5d8ada2a2cc9d1af197b0d4351b4382fe7f1a05bb99"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript.SubagentControlHistory (cognitive 43): transcript.SubagentControlHistory has cognitive complexity 43 (threshold 15). Drivers by points: if/else 14 (23 pts), boolean chains 16, loops 2, ternaries 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 20 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":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c839fcd6bd74403f034966db3c14164ffa8c7ec756d41e2ee287c420cc833b"}},{"ruleId":"D2","level":"warning","message":{"text":"describe.describeThemeColors (cognitive 43): describe.describeThemeColors has cognitive complexity 43 (threshold 15). Drivers by points: if/else 22, boolean chains 21. Of this number, 41 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/describe.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"db796c083b9f8d9b6112cbfaf16cac9618b7af921c4b75b61679d67529fd7459"}},{"ruleId":"D2","level":"warning","message":{"text":"skill.createSkillMethods.updateSkill (cognitive 43): skill.createSkillMethods.updateSkill has cognitive complexity 43 (threshold 15). Drivers by points: if/else 28 (32 pts), boolean chains 5, ternaries 4, loops 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdacc044f1302d15f10d40904453eae1342188c97c692880df05e5c0b89f8cb"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 43): (anonymous) has cognitive complexity 43 (threshold 15). Drivers by points: if/else 11 (19 pts), other 8, boolean chains 7, error handling 3 (5 pts), ternaries 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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6aa6e9b262a84aa8e6303e13cac40109d3d4a2990313398449339e24e334c2"}},{"ruleId":"D2","level":"warning","message":{"text":"callbacks.createResponsesToolEndCallback.\u003Creturned closure\u003E (cognitive 42): callbacks.createResponsesToolEndCallback.\u003Creturned closure\u003E has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (34 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (nesting depth added 14). Of this number, 17 points are the body\u0027s own statements and 25 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7644b63a445b7a7cb8313ee5ed48f6a378f93508e5190b8f9cdf2cb08e7c083b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentParts.ContentParts (cognitive 42): ContentParts.ContentParts has cognitive complexity 42 (threshold 15). Drivers by points: boolean chains 18, if/else 10 (11 pts), loops 6 (9 pts), ternaries 2 (4 pts) (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 21 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"016fbf754d3292d961593806094e5462d91cc8993223e57082564b93b0f2f772"}},{"ruleId":"D2","level":"warning","message":{"text":"added.loadAddedAgent (cognitive 42): added.loadAddedAgent has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 11, error handling 2 (5 pts), ternaries 5, loops 2 (nesting depth added 9). Of this number, 38 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":"packages/api/src/agents/added.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3484fdf2f7c5c6ab50509f148a3a53fcd8eec18b576cfca80c2cdf532c3f5b31"}},{"ruleId":"D2","level":"warning","message":{"text":"retrieve.createAssistantRetriever.\u003Creturned closure\u003E (cognitive 42): retrieve.createAssistantRetriever.\u003Creturned closure\u003E has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (18 pts), ternaries 5 (10 pts), boolean chains 7, loops 2 (5 pts), error handling 2 (nesting depth added 16). Of this number, 23 points are the body\u0027s own statements and 19 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/retrieve.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a960f2e83266f5382494acaba13fb2849da40e6905b50c3e5af44b8e1be496"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.createOpenIDRefreshRecoveryService.recoverOpenIDRefreshBridge (cognitive 42): recovery.createOpenIDRefreshRecoveryService.recoverOpenIDRefreshBridge has cognitive complexity 42 (threshold 15). Drivers by points: if/else 13 (20 pts), error handling 7 (13 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 15). Most of this is not in the body itself: 5 of the 42 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 550, 649). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1695aca87c1c00f038118a109e7f2025ccf70b442694e8877ae2145a49b27b1"}},{"ruleId":"D2","level":"warning","message":{"text":"document.encodeAndFormatDocuments (cognitive 42): document.encodeAndFormatDocuments has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (34 pts), boolean chains 7, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/document.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03db75ec35079db844f28b9d16fada59a6b211aa07b56b9e2e52cbd1e089ebc"}},{"ruleId":"D2","level":"warning","message":{"text":"gitlab.createGitLabPullRequestSource.find (cognitive 42): gitlab.createGitLabPullRequestSource.find has cognitive complexity 42 (threshold 15). Drivers by points: if/else 20 (26 pts), boolean chains 9, ternaries 3 (5 pts), loops 2 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 21 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":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef3afde7b1659ec2c1bd6d0649cc6c4617320fb76277dc60804ad3b23ae20b4"}},{"ruleId":"D2","level":"warning","message":{"text":"erasure.settleAbandonedRuns (cognitive 42): erasure.settleAbandonedRuns has cognitive complexity 42 (threshold 15). Drivers by points: if/else 10 (23 pts), boolean chains 8, ternaries 4 (8 pts), error handling 1 (2 pts), loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ca621d9d57aaaad43611ca6eb75af7c4fa22afb86d90205069982efa209b53"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.resume (cognitive 42): Chat.resume has cognitive complexity 42 (threshold 15). Drivers by points: if/else 15 (22 pts), ternaries 4 (10 pts), boolean chains 9, error handling 1 (nesting depth added 13). Of this number, 33 points are the body\u0027s own statements and 9 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7f2fe1a7ce7afdfd4460e4cd3c1a0b927650d04f5d20ba6aa791017681ff64"}},{"ruleId":"D2","level":"warning","message":{"text":"dispatch.findSubagentDispatch (cognitive 42): dispatch.findSubagentDispatch has cognitive complexity 42 (threshold 15). Drivers by points: if/else 9 (26 pts), ternaries 2 (8 pts), loops 2 (5 pts), boolean chains 3 (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":"packages/chat/src/core/subagents/dispatch.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e52c82957d3930fd51abd4f12b997e5cd8f9813005b5f1056016ab710535359"}},{"ruleId":"D2","level":"warning","message":{"text":"DialogImage.DialogImage (cognitive 42): DialogImage.DialogImage has cognitive complexity 42 (threshold 15). Drivers by points: if/else 22 (23 pts), boolean chains 12, ternaries 6, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 13 of the 42 points are its own statements and the rest belongs to 15 function items inside it that branch (a function literal at line 127, a function literal at line 207, a function literal at line 70, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb4fdabf0ac66cd4055f95cc9bb90d948ddcbb0adae25a0c822a39aaba08001"}},{"ruleId":"D2","level":"warning","message":{"text":"flushRedisCache (cognitive 42): flushRedisCache has cognitive complexity 42 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 5 (9 pts), boolean chains 8, error handling 3 (4 pts), loops 2 (3 pts) (nesting depth added 12). Of this number, 41 points are the body\u0027s own statements and 1 belongs 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":"config/flush-cache.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8a6ce51babcfb8b26cbeacfaee38153548e39966c4d5cd723f19820d9723b3"}},{"ruleId":"D2","level":"warning","message":{"text":"callbacks.createToolEndCallback.\u003Creturned closure\u003E (cognitive 41): callbacks.createToolEndCallback.\u003Creturned closure\u003E has cognitive complexity 41 (threshold 15). Drivers by points: if/else 20 (33 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (nesting depth added 14). Of this number, 17 points are the body\u0027s own statements and 24 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"c159b36ed2ecf30df48cd23cc4e57113f449c86acae471bdf5cf415e9db9353e"}},{"ruleId":"D2","level":"warning","message":{"text":"roles.createAdminRolesHandlers.deleteRole (cognitive 41): roles.createAdminRolesHandlers.deleteRole has cognitive complexity 41 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 8, ternaries 5 (6 pts), error handling 3, loops 1 (nesting depth added 9). Of this number, 27 points are the body\u0027s own statements and 14 belong to 6 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2646aaf0294deac9efecba2ac8359d1db0cdad470b74878124a678117058b21"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.transitionStatus (cognitive 41): InMemoryJobStore.transitionStatus has cognitive complexity 41 (threshold 15). Drivers by points: if/else 14 (21 pts), ternaries 4 (8 pts), boolean chains 6, loops 3 (6 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"657fe520dbdfa340967047a3d9264026f9074196727c3c062c015cf6ec6945e0"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleWorkspaceListCall (cognitive 41): handlers.handleWorkspaceListCall has cognitive complexity 41 (threshold 15). Drivers by points: ternaries 12 (16 pts), if/else 9 (13 pts), boolean chains 9, loops 2, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeff9897df1b08c5e329181b79cfb4390965c942dcabe9e4b673bc2c3ec4dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"discovery.discoverConnectedAgents (cognitive 41): discovery.discoverConnectedAgents has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 5 (8 pts), error handling 2 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 21). Of this number, 32 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b934050cfe7430bfb29195e942878aca7422987649d83950764c1bba39f3b94"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurns.createAgentQueuedTurnScheduler.recoverPass (cognitive 41): queuedTurns.createAgentQueuedTurnScheduler.recoverPass has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (20 pts), ternaries 4 (8 pts), boolean chains 7, error handling 2 (4 pts), loops 2 (nesting depth added 14). Most of this is not in the body itself: 1 of the 41 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 951, 989, 985, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4848811f582c2e3bb28ea14b325f41fe69a5dc43525aed761b2e2599659ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"config.getOpenAIConfig (cognitive 41): config.getOpenAIConfig has cognitive complexity 41 (threshold 15). Drivers by points: if/else 22 (27 pts), boolean chains 13, ternaries 1 (nesting depth added 5). Of this number, 38 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/config.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9580aba26fe21a61a522f9d85d5b6bae7bd1055b953a363e8ddd378c7758cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnection.readToolsSnapshot (cognitive 41): MCPConnection.readToolsSnapshot has cognitive complexity 41 (threshold 15). Drivers by points: if/else 10 (23 pts), error handling 2 (6 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 20). Of this number, 40 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2850}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fe98d5011f43978785e66aac1d57b5c26802699c0d470a1d7b288c4d9d58cd"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.recordMCPToolAuthFailure (cognitive 41): service.createSchedulesService.recordMCPToolAuthFailure has cognitive complexity 41 (threshold 15). Drivers by points: boolean chains 22, if/else 9 (11 pts), ternaries 6 (8 pts) (nesting depth added 4). Of this number, 37 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"64072c34070da140f0bda374a20fc05a0e2b9df8ae233d3d666bcbe48eb1efcc"}},{"ruleId":"D2","level":"warning","message":{"text":"ceiling.settleAfterRetryCeiling (cognitive 41): ceiling.settleAfterRetryCeiling has cognitive complexity 41 (threshold 15). Drivers by points: if/else 18 (24 pts), boolean chains 11, error handling 2, loops 1 (2 pts), ternaries 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8593f6b87c66a52d2212de6b7a59e8f0ccfca035b8bf993a33f6303e1fbe8b1"}},{"ruleId":"D2","level":"warning","message":{"text":"state.foldLegacyInvocations (cognitive 41): state.foldLegacyInvocations has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 7 (10 pts), ternaries 3 (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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6697c44a255b034d15c7f7c08ade7c9fe94383a1352fbe3d375bdadfc27bc92"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.validateAndParseOpenAPISpec (cognitive 41): actions.validateAndParseOpenAPISpec has cognitive complexity 41 (threshold 15). Drivers by points: if/else 7 (24 pts), boolean chains 8, loops 3 (7 pts), error handling 2 (nesting depth added 21). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd09d4280efb922facaeddce7d8ec5c034a86bd2f262d4f7023ebc42a58c976"}},{"ruleId":"D2","level":"warning","message":{"text":"assistant.createAssistantMethods.updateAssistantAvatar (cognitive 41): assistant.createAssistantMethods.updateAssistantAvatar has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 16, ternaries 3 (4 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":"packages/data-schemas/src/methods/assistant.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cab4d5d473be85d430049b26fd4cdfc652f72652923b255aa1acb7fa4ba4ba"}},{"ruleId":"D2","level":"warning","message":{"text":"filterAuthorizedTools (cognitive 41): filterAuthorizedTools has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (24 pts), ternaries 5 (7 pts), boolean chains 4, error handling 1 (3 pts), other 2, loops 1 (nesting depth added 16). Of this number, 40 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"03808714ae7c7ed2cf05ebba95ac87fa308baac1d8f143cee7d1acfc43c8aad3"}},{"ruleId":"D2","level":"warning","message":{"text":"moderateText.moderateText (cognitive 40): moderateText.moderateText has cognitive complexity 40 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 5, error handling 2 (5 pts), loops 2 (4 pts), ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/moderateText.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85b44b0377e24d66b4b32db28bb4b3fff53a2c94fc1e39c47714baea31a196b"}},{"ruleId":"D2","level":"warning","message":{"text":"useReplyWatcher.useReplyWatcher (cognitive 40): useReplyWatcher.useReplyWatcher has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (30 pts), boolean chains 5, loops 4, error handling 1 (nesting depth added 11). None of this is in the body itself: all 40 points belong to 7 function literals inside it that branch (lines 514, 443, 478, \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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"759a35abad0b98eb42a0260d81b152f51d2b262c2525d9d08b6be0d886b3b92b"}},{"ruleId":"D2","level":"warning","message":{"text":"BashCall.BashCall (cognitive 40): BashCall.BashCall has cognitive complexity 40 (threshold 15). Drivers by points: boolean chains 22, ternaries 8 (11 pts), if/else 7 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 15 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86938b28be47a21ad5851417b137ebce7ecc40548aa3ba0a8883f84cdf62f13"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSidebar.UnifiedSidebar (cognitive 40): UnifiedSidebar.UnifiedSidebar has cognitive complexity 40 (threshold 15). Drivers by points: ternaries 15 (27 pts), if/else 9, boolean chains 4 (nesting depth added 12). Of this number, 29 points are the body\u0027s own statements and 11 belong to 8 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":"client/src/components/UnifiedSidebar/UnifiedSidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fef9c2926358eb47ca167652fd5a3316f4453effbc40af0665c814724762ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"mutations.useMarkConversationUnreadMutation (cognitive 40): mutations.useMarkConversationUnreadMutation has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 14, ternaries 7 (nesting depth added 3). None of this is in the body itself: all 40 points belong to 6 function literals inside it that branch (lines 802, 899, 788, \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":"client/src/data-provider/mutations.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"c30e840943c6cefe2847efc713d4b74ec1a8350e26e7cfca63cabb9c9f7451d0"}},{"ruleId":"D2","level":"warning","message":{"text":"submissions.toBoundedJsonValue (cognitive 40): submissions.toBoundedJsonValue has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 8, error handling 3 (6 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"f639be5c8456995e928cafeee7b78806e10a0fcb1367cc1ebfc5c784df746b73"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.stringifyBounded::walk (cognitive 40): runtime.stringifyBounded::walk has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 6, ternaries 2 (5 pts), loops 2 (4 pts), error handling 1 (3 pts) (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8e2d2bb1cbf8ca5b7a78eeb893375f982f862bebcda86f9d0a1250f2aa0c48"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.buildRunToolSet (cognitive 40): tools.buildRunToolSet has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (25 pts), loops 7 (11 pts), boolean chains 2, 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":"packages/api/src/agents/tools.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"c052ecf5356007c816d8807b51d6e30ae1880e38c35229994984534bb0238af3"}},{"ruleId":"D2","level":"warning","message":{"text":"inspection.getResumeAgentSnapshot (cognitive 40): inspection.getResumeAgentSnapshot has cognitive complexity 40 (threshold 15). Drivers by points: if/else 5 (23 pts), loops 5 (11 pts), error handling 1 (4 pts), boolean chains 2 (nesting depth added 27). Of this number, 31 points are the body\u0027s own statements and 9 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a01cc8f649e63143770128d0554a9d439a77eecf1b8e6b62c4224e75f406caa"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createAppConfigService.getAppConfig (cognitive 40): service.createAppConfigService.getAppConfig has cognitive complexity 40 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 9, error handling 4 (6 pts), ternaries 3 (4 pts) (nesting depth added 9). Of this number, 35 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"148490c36909ba4484034fe6b1c7b2d04f1f29821887a971c7020d76694ace3d"}},{"ruleId":"D2","level":"warning","message":{"text":"pricing.buildTokenConfigMap (cognitive 40): pricing.buildTokenConfigMap has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (33 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/pricing.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"639419da9b5ca39b179456f07515b2090de7be9784543361ca68c98c71ccccff"}},{"ruleId":"D2","level":"warning","message":{"text":"zod.normalizeJsonSchema (cognitive 40): zod.normalizeJsonSchema has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 10, ternaries 2 (6 pts), loops 2 (4 pts) (nesting depth added 14). Of this number, 37 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b56ae00e1afd4cf39c52de6371a516aa16b1b816da78e26c49406b16c65a7"}},{"ruleId":"D2","level":"warning","message":{"text":"enrollment.createScheduleMCPEnrollmentResolver.\u003Creturned closure\u003E (cognitive 40): enrollment.createScheduleMCPEnrollmentResolver.\u003Creturned closure\u003E has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 10, ternaries 4 (7 pts), loops 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":"packages/api/src/schedules/authorization/enrollment.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3afe884d82555b732b54b1f957cecfc2c4295002bda9a33fcee88564afa5a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createSkillsHandlers.downloadFile (cognitive 40): handlers.createSkillsHandlers.downloadFile has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (30 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"13011d56ad292d74614510a626c460e08019c5897dd39c759e4013a7126d4cba"}},{"ruleId":"D2","level":"warning","message":{"text":"github.syncSource (cognitive 40): github.syncSource has cognitive complexity 40 (threshold 15). Drivers by points: if/else 30 (45 pts), ternaries 13 (21 pts), boolean chains 11, error handling 5 (8 pts), loops 6 (7 pts) (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (github.syncSource::syncPreparedSkill) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6fbf0c3f8fa90e28e9ebdf3e6aae3533cc8e68b9e9b1bdea1f430f24a3d1b9"}},{"ruleId":"D2","level":"warning","message":{"text":"state.prependSubagentReplay (cognitive 40): state.prependSubagentReplay has cognitive complexity 40 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 9 (15 pts), loops 2 (5 pts), boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04dbcc6718a17a1ecf953ef8836b766bd3e2b304f4ef2bd6204dade66cc705d"}},{"ruleId":"D2","level":"warning","message":{"text":"load.useResumeOnLoad (cognitive 40): load.useResumeOnLoad has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19, boolean chains 18, ternaries 2, loops 1. Most of this is not in the body itself: 9 of the 40 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 166, 323, 93, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2caa8254fa549d224b0432a57e62603732d7f684eb7af8ba7cb3909b98c59f"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.recoverLanePublisher (cognitive 40): triggerDelivery.createAgentTriggerDeliveryMethods.recoverLanePublisher has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 12 (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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafaec53a0376ae36bccf890ba32b845a14f56adf83b08907caec2ad32e129a1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.decodeAgentSortCursor (cognitive 40): agent.decodeAgentSortCursor has cognitive complexity 40 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 11, ternaries 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9cbc2e5312feb40b8b129c9fb63351e9571ab4571ac274d3d00dc62834f694"}},{"ruleId":"D2","level":"warning","message":{"text":"healMcpToolNames (cognitive 40): healMcpToolNames has cognitive complexity 40 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 6, ternaries 1 (4 pts), error handling 1 (2 pts), loops 1, other 1 (nesting depth added 19). Of this number, 39 points are the body\u0027s own statements and 1 belongs to 2 function literals inside it that branch. To reduce it, 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":"api/server/services/MCP.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82a08ba80bf3f2b680665bbb70d4bf038191dfe6ce4fa13ea9e3a0a5f4f401b"}},{"ruleId":"D2","level":"warning","message":{"text":"syncMessages (cognitive 40): syncMessages has cognitive complexity 40 (threshold 15). Drivers by points: if/else 12 (21 pts), ternaries 3 (9 pts), boolean chains 6, other 3, loops 1 (nesting depth added 15). Of this number, 35 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc37e00e5f5c6a89a69b06342170935ba7e50a9ea464fcad91a092b35c0887e1"}},{"ruleId":"D2","level":"warning","message":{"text":"getMCPTools (cognitive 40): getMCPTools has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (19 pts), boolean chains 9, loops 3 (5 pts), error handling 2 (3 pts), other 2, ternaries 1 (2 pts) (nesting depth added 13). Of this number, 37 points are the body\u0027s own statements and 3 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":"api/server/controllers/mcp.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d721af59fe40d9fb682c8840faf58c226b9e80d7410f936ed1eba4a905e530df"}},{"ruleId":"D2","level":"warning","message":{"text":"buildEndpointOption (cognitive 40): buildEndpointOption has cognitive complexity 40 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 8, error handling 5 (8 pts), ternaries 4 (8 pts), other 2 (nesting depth added 11). Of this number, 39 points are the body\u0027s own statements and 1 belongs 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":"api/server/middleware/buildEndpointOption.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc66573c5c7e527c597f984e520d2defd696a923f190373099ad43f7818a9e1"}},{"ruleId":"D2","level":"warning","message":{"text":"EditMessage.EditMessage (cognitive 39): EditMessage.EditMessage has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 19, if/else 13, ternaries 4 (6 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 14 of the 39 points are its own statements and the rest belongs to 7 function items inside it that branch (a function literal at line 192, getStatusMessage, updateMessage, \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":"client/src/components/Chat/Messages/Content/EditMessage.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9c152e2fa4ac46a7db1e16bd221ec326ef88df4052cf675397cf38f04e676f"}},{"ruleId":"D2","level":"warning","message":{"text":"Settings.CodeSettings (cognitive 39): Settings.CodeSettings has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 29, if/else 6, ternaries 4. Of this number, 31 points are the body\u0027s own statements and 8 belong to 11 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":"client/src/components/SidePanel/Agents/Code/Settings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3199f8e420f96ed36707c7959808c52d56c8cadfd4cd7351bee845663ac34afe"}},{"ruleId":"D2","level":"warning","message":{"text":"useProjectMenuItem.useProjectMenuItem (cognitive 39): useProjectMenuItem.useProjectMenuItem has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 10, ternaries 4 (7 pts), loops 1 (2 pts) (nesting depth added 10). Of this number, 31 points are the body\u0027s own statements and 8 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":"client/src/hooks/Chat/useProjectMenuItem.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0628a254bd3aa05c66327a7acc102b5a8ca2afb406e71d898f1a57f1feefdd03"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.upsertConvoInAllQueries (cognitive 39): convos.upsertConvoInAllQueries has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (25 pts), ternaries 3 (8 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 18). Most of this is not in the body itself: 7 of the 39 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 634, 698, 687, \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":"client/src/utils/convos.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d2bc23915ef08487d85125897944cb8e16b46a1b2498857db547ffae64cfa6"}},{"ruleId":"D2","level":"warning","message":{"text":"mermaid.fixSubgraphTitleContrast (cognitive 39): mermaid.fixSubgraphTitleContrast has cognitive complexity 39 (threshold 15). Drivers by points: if/else 11 (30 pts), boolean chains 6, loops 2 (3 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":"client/src/utils/mermaid.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc447b8c088fb8cb661e526f2b9d9a0fe3f806509b0e462c59ed0ebd6981826"}},{"ruleId":"D2","level":"warning","message":{"text":"files.resolveCanonicalReferences (cognitive 39): files.resolveCanonicalReferences has cognitive complexity 39 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 6, loops 4 (6 pts), error handling 2 (4 pts) (nesting depth added 14). Of this number, 37 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb03086b538d71c050d7a40191e373f6f9f7a45b4d704613485852020a44d78"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.applyConfigChanges::plan (cognitive 39): config.createAdminConfigHandlers.applyConfigChanges::plan has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (22 pts), loops 4 (8 pts), boolean chains 7, error handling 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. This shape REPEATS in the file: one other method here (config.createAdminConfigHandlers.applyConfigChanges) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4530}}}],"partialFingerprints":{"codehealthFindingId/v1":"056d401ab769df2a2fb5eb1ceb5b7831551cb73f67612f06867ece2c026cebb9"}},{"ruleId":"D2","level":"warning","message":{"text":"groups.createAdminGroupsHandlers.deleteGroup (cognitive 39): groups.createAdminGroupsHandlers.deleteGroup has cognitive complexity 39 (threshold 15). Drivers by points: if/else 17 (29 pts), error handling 4 (5 pts), ternaries 3, boolean chains 1, loops 1 (nesting depth added 13). Of this number, 24 points are the body\u0027s own statements and 15 belong to 5 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa1a4e49b95397715dfda0e59b4021186c5534026378a1fd2c1a50db2851580"}},{"ruleId":"D2","level":"warning","message":{"text":"langfuse.createAdminLangfuseHandlers.updateConnection (cognitive 39): langfuse.createAdminLangfuseHandlers.updateConnection has cognitive complexity 39 (threshold 15). Drivers by points: if/else 19 (24 pts), ternaries 7, boolean chains 4, error handling 3 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cb4ca23783b629c27873e515d8cd5125849b4f2dd3ff18f93fc787b4de6cd5b"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.expireStaleApprovals (cognitive 39): GenerationJobManagerClass.expireStaleApprovals has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (18 pts), error handling 4 (8 pts), loops 4 (7 pts), boolean chains 6 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9577}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fa345f62c44e44605742df5608c4ecd79767b13d8a4a4e686b1a79a012fe16"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.isValidRequest (cognitive 39): workspace.isValidRequest has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 28, if/else 10 (11 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":"packages/api/src/code/workspace.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"040926c6eaf777b8c5134633fbdd340713c9ad5419f62ae81c5d78878aa891b1"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.collectModelBoundHistoricalFileIdState (cognitive 39): modelBoundContent.collectModelBoundHistoricalFileIdState has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (30 pts), error handling 3 (4 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 16). Of this number, 30 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a726131b884d57919d23511914a673c145910914e659138e4a2689c3d595a96"}},{"ruleId":"D2","level":"warning","message":{"text":"validationFeedback.toolValidationFeedback (cognitive 39): validationFeedback.toolValidationFeedback has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 6, loops 2 (5 pts), ternaries 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validationFeedback.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a88836ad4654fd0f3ba70972e225392371f0e0b2f8b52f1a5e976a586d7588"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.writeSkillMd (cognitive 39): handlers.writeSkillMd has cognitive complexity 39 (threshold 15). Drivers by points: if/else 15 (25 pts), ternaries 6 (7 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 13). Of this number, 35 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e7ce0143312c55a457ab7674ff3c9d5118f4f120f432e535d8b659a3ceeaf2"}},{"ruleId":"D2","level":"warning","message":{"text":"resume.attachAskUserQuestionAnswers (cognitive 39): resume.attachAskUserQuestionAnswers has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8, ternaries 3 (6 pts), error handling 1 (3 pts), loops 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"11034a2b20591c5231c0321b2db429849977c333bf42820f710b6b3b2c9259cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.controlInvocationAndPersist (cognitive 39): SubagentThreadTaskStore.controlInvocationAndPersist has cognitive complexity 39 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 7, error handling 4 (7 pts), 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fe39222302d07ce75a99be8f83ef433f5503e328a69ceb7293ccd2f54c6241"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurnHttp.handleAgentQueuedTurnEnqueue (cognitive 39): queuedTurnHttp.handleAgentQueuedTurnEnqueue has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 11, error handling 3 (4 pts), ternaries 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":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"797cd8ae02d4c28191555bc4406beacc3a36c6d60eef45c9004d46352030a7c2"}},{"ruleId":"D2","level":"warning","message":{"text":"resume.projectPendingMCPOAuthPrompts (cognitive 39): resume.projectPendingMCPOAuthPrompts has cognitive complexity 39 (threshold 15). Drivers by points: if/else 10 (20 pts), ternaries 6 (12 pts), boolean chains 5, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/resume.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff5aac98b6515de4c9b6de671c5717d20f6889c42b788c24dcffb2d9cc1f934"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventTransport.syncReorderBuffer (cognitive 39): RedisEventTransport.syncReorderBuffer has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 3 (8 pts), boolean chains 4, ternaries 3, 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e741330941fd44069741ceb3679bab9b5f80516e315a1e26432befb82e99b32"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.getIndexedTerminalHostActionJobs (cognitive 39): RedisJobStore.getIndexedTerminalHostActionJobs has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b29f85e9386c66203ef7dbf2633ab4ae06c63b9653d4e50a9792cd168d2d2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ControlCombobox.ControlCombobox (cognitive 39): ControlCombobox.ControlCombobox has cognitive complexity 39 (threshold 15). Drivers by points: boolean chains 18, if/else 8 (11 pts), ternaries 10 (nesting depth added 3). Of this number, 19 points are the body\u0027s own statements and 20 belong to 7 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/ControlCombobox.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb048357158efb1b4265d4e1f8905b5d551bc095707a7c993eafa0c8db2b44b5"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerLanePublications (cognitive 39): triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerLanePublications has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8, ternaries 3 (6 pts), loops 3, error handling 1 (2 pts) (nesting depth added 12). Of this number, 36 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"47744a7aabafe36127e1a6470b4ef2b8a2c1880e0bc4b15e7361f955ee14f760"}},{"ruleId":"D2","level":"warning","message":{"text":"titleConvo (cognitive 39): titleConvo has cognitive complexity 39 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 11, error handling 3 (4 pts), other 3, ternaries 1 (nesting depth added 3). Of this number, 34 points are the body\u0027s own statements and 5 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":"api/server/controllers/agents/client.js"},"region":{"startLine":6145}}}],"partialFingerprints":{"codehealthFindingId/v1":"366d4b9827bb7430ee2984a5bd7b68dfe0856a73d25ff59de36d2144a6b229f7"}},{"ruleId":"D2","level":"warning","message":{"text":"primeFiles (cognitive 39): primeFiles has cognitive complexity 39 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 8 (13 pts), other 7, boolean chains 2, error handling 1 (2 pts), loops 2 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 19 belong to 9 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dcf91bd8989afb833d3173ec226caa93c0764e484c602732b9289d6bc70355"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 39): (anonymous) has cognitive complexity 39 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8, loops 3 (7 pts), ternaries 2, error handling 1, other 1 (nesting depth added 12). Of this number, 38 points are the body\u0027s own statements and 1 belongs to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da633911930bc7b51e46698507d851eefb93e113ec9fa2c3a81ac7d2176f0a7"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.router.post(\u0022/branch\u0022) (cognitive 38): messages.router.post(\u0022/branch\u0022) has cognitive complexity 38 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 8, loops 3 (7 pts), ternaries 2, error handling 1 (nesting depth added 12). Of this number, 37 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecc20100aff435f4d5fa0c78e3bf6d85b16bca9b8d6e1260f8479250198e6b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"InsightsView.InsightsView (cognitive 38): InsightsView.InsightsView has cognitive complexity 38 (threshold 15). Drivers by points: boolean chains 18, if/else 13, ternaries 4, loops 2 (3 pts) (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 21 belong to 15 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":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f45c3f728d5d6754a9d356832367bacdbeac4a86aa8816fa10afdf76981ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"LiaEngine.updateMotion (cognitive 38): LiaEngine.updateMotion has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (26 pts), ternaries 4 (8 pts), boolean chains 4 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e9fc1e94291b4dfc920e15ff7859d478cd097f8e391dcbdf1c3c126da5cad5"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.hook (cognitive 38): runtime.createActivityPhaseWiring.hook has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 10, ternaries 4 (7 pts), loops 3 (4 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc449838f6db64fa536663964e8d83e7ef671b243270c5a8c5420808dca14597"}},{"ruleId":"D2","level":"warning","message":{"text":"view.expandNodes (cognitive 38): view.expandNodes has cognitive complexity 38 (threshold 15). Drivers by points: if/else 10 (24 pts), ternaries 3 (10 pts), boolean chains 3, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b730bbf4910cb9627e31b7353c8752cf59a397ff081f342d75c3eaa08e5adaad"}},{"ruleId":"D2","level":"warning","message":{"text":"service.validateInputToolExchanges (cognitive 38): service.validateInputToolExchanges has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (34 pts), loops 3, boolean chains 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806e97b5a55407738ec92c1fc694fa6b296919281cb8875a3e3e71f0f746721"}},{"ruleId":"D2","level":"warning","message":{"text":"outbox.createResponseDispatchOutbox.recoverPending (cognitive 38): outbox.createResponseDispatchOutbox.recoverPending has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 7, ternaries 2 (4 pts), error handling 2 (3 pts), loops 1 (nesting depth added 15). Most of this is not in the body itself: 5 of the 38 points are its own statements and the rest belongs to one function literal inside it that branches (line 80). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/outbox.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6416b6042c9c6727b93546e00a143f28903a9ac5c8ce76ba60dd6c7527b7a1c7"}},{"ruleId":"D2","level":"warning","message":{"text":"delete.createCodeFileDeleter.\u003Creturned closure\u003E (cognitive 38): delete.createCodeFileDeleter.\u003Creturned closure\u003E has cognitive complexity 38 (threshold 15). Drivers by points: if/else 9 (21 pts), error handling 3 (7 pts), boolean chains 6, ternaries 2 (3 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/delete.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ffe7f4f604132ddcfd0c784d842418000443a67414c0e3820373f52e599702"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTokenStorage.forceRefreshTokens (cognitive 38): MCPTokenStorage.forceRefreshTokens has cognitive complexity 38 (threshold 15). Drivers by points: if/else 21 (28 pts), boolean chains 4, ternaries 3 (4 pts), error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 10 of the 38 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 1116, 1217, 1227, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74a80b14e72f792b9c0e941eb510fc3e2a0faa7312115c572a6879131725352"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionFactory.discoverToolsInternal (cognitive 38): MCPConnectionFactory.discoverToolsInternal has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (23 pts), boolean chains 7, error handling 3 (5 pts), ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9021d3291fecf7710ed6af7aaaf41275649696d7eec51318d55f13d63468823"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.reconcileRetainedJobs (cognitive 38): service.createSchedulesService.reconcileRetainedJobs has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (17 pts), error handling 3 (8 pts), ternaries 3 (8 pts), boolean chains 4, loops 1 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"da74e6aa7f477955104b57e971beeb08d92351fee2eb5340eb1fc5a6469a9dc2"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.transitionStatusInternal (cognitive 38): RedisJobStore.transitionStatusInternal has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 11, ternaries 10 (11 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89adbc9d92a02a6af5f33c45fd174823ebba2c84e7028133be40fad45c73333"}},{"ruleId":"D2","level":"warning","message":{"text":"render.makeSlackPlan (cognitive 38): render.makeSlackPlan has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 11, ternaries 3 (4 pts), loops 1 (2 pts) (nesting depth added 5). Of this number, 36 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":"packages/channel-gateway/src/render.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefc884912c1c4b567aee262f59cd6a133de719a4b08cadbc6b59442b26918c4"}},{"ruleId":"D2","level":"warning","message":{"text":"frames.handleFrame (cognitive 38): frames.handleFrame has cognitive complexity 38 (threshold 15). Drivers by points: if/else 22 (28 pts), boolean chains 7, ternaries 1 (2 pts), error handling 1 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d5b64633bb5e4d499f52196fd771fd5118e9edfef32487ccfbe4fff5b920fb"}},{"ruleId":"D2","level":"warning","message":{"text":"transcript.toContentPart (cognitive 38): transcript.toContentPart has cognitive complexity 38 (threshold 15). Drivers by points: ternaries 19 (31 pts), if/else 5 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0113c0c96457c7636f52f5c8f6a14c98a512b241db8c398fd8d4e53282aba083"}},{"ruleId":"D2","level":"warning","message":{"text":"slackWorkspace.createSlackWorkspaceStorage.completeInstall (cognitive 38): slackWorkspace.createSlackWorkspaceStorage.completeInstall has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 16, ternaries 2 (3 pts), error handling 2 (nesting depth added 5). Most of this is not in the body itself: 5 of the 38 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 393, 368). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f00a33ce3ed0e3beaff990f7068f8d34c813de1cd5433d003ce5ee8213c624"}},{"ruleId":"D2","level":"warning","message":{"text":"revertAgentVersionHandler (cognitive 38): revertAgentVersionHandler has cognitive complexity 38 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 7, other 4, ternaries 4, error handling 1 (nesting depth added 4). Of this number, 35 points are the body\u0027s own statements and 3 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab844092ad5b2534aa2cd74231e87a5457c3172fb9b5124cf3da8af0b9002119"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseClient.addPreviousAttachments (cognitive 37): BaseClient.addPreviousAttachments has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (32 pts), boolean chains 13, loops 7 (12 pts), ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (BaseClient.addPreviousAttachments::processMessage) 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a5c66d03b39d7e27d549ea8e5e1731a258d775f838639dfc09fbaaa25bbd0c"}},{"ruleId":"D2","level":"warning","message":{"text":"useNewChat.useNewChat (cognitive 37): useNewChat.useNewChat has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 8, loops 5, error handling 1, ternaries 1 (nesting depth added 7). None of this is in the body itself: all 37 points belong to 7 function literals inside it that branch (lines 219, 146, 204, \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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bfc44dd30cb295e795fde55fa100a01537117817f950ab67d5e6e4fa2965c1"}},{"ruleId":"D2","level":"warning","message":{"text":"useTextarea.useTextarea.handlePaste (cognitive 37): useTextarea.useTextarea.handlePaste has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 9, error handling 2 (3 pts), loops 2 (3 pts), ternaries 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 21 belong to 7 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6c651b9d1a5b6d220bcde98b3823a5892d188bd78fbd1c44d2869c6ca1869c"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicInput.DynamicInput (cognitive 37): DynamicInput.DynamicInput has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 17, if/else 11, ternaries 9. Most of this is not in the body itself: 14 of the 37 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 117, handleInputBlur, handleInputChange). 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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"212506380c2563a68c1ab65c56bd04bb269c9a33bce47ed7c98a6fd877c2a281"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.preserveArraySecrets (cognitive 37): secrets.preserveArraySecrets has cognitive complexity 37 (threshold 15). Drivers by points: if/else 9 (27 pts), boolean chains 5, loops 3 (5 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe346159cab00d1fd3633e49589030eb61e1813c279e2952d007bc30df47851b"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.getCodeBridgeWorkerStatus (cognitive 37): bridge.getCodeBridgeWorkerStatus has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 17, if/else 10 (14 pts), ternaries 5, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed93322fc988d741384c806dc5845b70224679c201484ea90cf774d5c382dd89"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.snapshotNestedSubmittedValue (cognitive 37): messages.snapshotNestedSubmittedValue has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (23 pts), error handling 3 (6 pts), loops 3 (4 pts), boolean chains 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":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd0a3463424b3c18b5c17e521ba57760a2e3e97da2f0768577450dc4e8d0635"}},{"ruleId":"D2","level":"warning","message":{"text":"provenance.getUserSubmittedPathState (cognitive 37): provenance.getUserSubmittedPathState has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (28 pts), error handling 3 (4 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 16). Of this number, 27 points are the body\u0027s own statements and 10 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":"packages/api/src/protection/provenance.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4ee877db009c54533aa1a767d01da44eeb8a1514c356aee95a00086939aa7f"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.projectModelBoundSourceFiles (cognitive 37): modelBoundContent.projectModelBoundSourceFiles has cognitive complexity 37 (threshold 15). Drivers by points: if/else 42 (68 pts), loops 7 (12 pts), boolean chains 5, error handling 5 (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. This shape REPEATS in the file: one other method here (modelBoundContent.projectModelBoundSourceFiles::appendResolvedFiles) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb80f6021c60ae0425b999849bda665c599268eba8cfea1bbc39ea0dea560fb2"}},{"ruleId":"D2","level":"warning","message":{"text":"service.validateRequest (cognitive 37): service.validateRequest has cognitive complexity 37 (threshold 15). Drivers by points: if/else 14 (24 pts), boolean chains 10, 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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a45ee40b63db5ea773149b62195bf88767cecd244ac70ac0a59bdb42a7c6f2"}},{"ruleId":"D2","level":"warning","message":{"text":"compatibility.planPluginHooks (cognitive 37): compatibility.planPluginHooks has cognitive complexity 37 (threshold 15). Drivers by points: if/else 4 (14 pts), boolean chains 9, ternaries 2 (8 pts), loops 3 (6 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":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27cbcc4afb6b1011d04c2a5dd05e23b4984784e0c8f63bca2267501bd6ca78b"}},{"ruleId":"D2","level":"warning","message":{"text":"request.handleSteerCancelInternal (cognitive 37): request.handleSteerCancelInternal has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23 (25 pts), boolean chains 10, ternaries 2 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 16 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d509f1a6a4981104631cac73c5647312dc17e60f96a0dded1b3292424ab2a0"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.getUserMCPAuthMap (cognitive 37): auth.getUserMCPAuthMap has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 3 (6 pts), boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/auth.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61c4802abfe46afdc0de74be9783840337371a7300ceed55eeec448f143ff8b"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createScheduleMCPConsentService (cognitive 37): service.createScheduleMCPConsentService has cognitive complexity 37 (threshold 15). Drivers by points: if/else 20 (24 pts), boolean chains 8, ternaries 2 (4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f50435b0f64e7de1347eccf3cd1a984bb3dde215d8f05f71cf5db257b414d4d"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords::nameToolRounds (cognitive 37): reader.createLangfuseTraceReader.listRecords::nameToolRounds has cognitive complexity 37 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 8, ternaries 3 (8 pts), loops 3 (4 pts), error handling 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (reader.createLangfuseTraceReader.listRecords, reader.createLangfuseTraceReader.listRecords::probe, reader.createLangfuseTraceReader.listRecords::segmentOf) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a7d4d94ca0dcf1ab64e33e53398e1c6855218f5c74a6b98a9b9b5cd6531873"}},{"ruleId":"D2","level":"warning","message":{"text":"content.foldSubagentEventIntoTicker (cognitive 37): content.foldSubagentEventIntoTicker has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (19 pts), ternaries 7 (14 pts), boolean chains 4 (nesting depth added 14). Of this number, 36 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397d79412bae7f417a632d0c5831531d36475607d2581b61f3c7bc705bfa4f3"}},{"ruleId":"D2","level":"warning","message":{"text":"enqueue.useQueueEnqueue (cognitive 37): enqueue.useQueueEnqueue has cognitive complexity 37 (threshold 15). Drivers by points: boolean chains 21, if/else 10 (12 pts), ternaries 2 (3 pts), loops 1 (nesting depth added 3). None of this is in the body itself: all 37 points belong to 6 function literals inside it that branch (lines 101, 80, 160, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/enqueue.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"055b7512abddcf078d9f75abe174d45a5433f3e86866679fba4c204e08981a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"stop.useStopGenerating (cognitive 37): stop.useStopGenerating has cognitive complexity 37 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 11, ternaries 1 (3 pts), error handling 1 (2 pts) (nesting depth added 13). None of this is in the body itself: all 37 points belong to 3 function literals inside it that branch (lines 88, 60, 45). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2da06e86638f7ba218c0bc6392f7c50a7ad4221f990c8c864944a963216c5d"}},{"ruleId":"D2","level":"warning","message":{"text":"object-traverse.forEach::walk (cognitive 37): object-traverse.forEach::walk has cognitive complexity 37 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 2 (6 pts), boolean chains 5, ternaries 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"588a76617b7b1c6c8d2d295951ad3a908bdabfeb29bfa8f52193ca949f8612d8"}},{"ruleId":"D2","level":"warning","message":{"text":"channelFeedback.createChannelFeedbackStorage (cognitive 37): channelFeedback.createChannelFeedbackStorage has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 11, error handling 2, ternaries 2 (nesting depth added 4). None of this is in the body itself: all 37 points belong to 12 function items inside it that branch (createStorage, createStorage::guard, a function literal at line 258, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelFeedback.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a74aea5666b81a06a0cab745a2e19149eb5511b9772b5a7505866ad9257ec7b"}},{"ruleId":"D2","level":"warning","message":{"text":"userGroup.createUserGroupMethods.getMemberGroupIds (cognitive 37): userGroup.createUserGroupMethods.getMemberGroupIds has cognitive complexity 37 (threshold 15). Drivers by points: if/else 12 (22 pts), error handling 4 (10 pts), loops 1 (3 pts), boolean chains 1, ternaries 1 (nesting depth added 18). Most of this is not in the body itself: 5 of the 37 points are its own statements and the rest belongs to one function literal inside it that branches (line 279). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef25782f6ed140dd3c0385c047914f27984d6d610e980c6a934d0f056d3d2134"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.settleBatchMembers (cognitive 37): triggerDelivery.createAgentTriggerDeliveryMethods.settleBatchMembers has cognitive complexity 37 (threshold 15). Drivers by points: ternaries 7 (15 pts), if/else 6 (12 pts), boolean chains 10 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09b3d3603880bb513b1e43f0eff2a8b3488ab80ed317dcd2381ecd0327a4c34"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpAuthority.assertProofIntegrity (cognitive 37): mcpAuthority.assertProofIntegrity has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 15, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df0f32b16bf99d937056c6682630895d05254d2fc2195801f9fc5def03977cf"}},{"ruleId":"D2","level":"warning","message":{"text":"chatV2 (cognitive 37): chatV2 has cognitive complexity 37 (threshold 15). Drivers by points: if/else 29 (44 pts), other 9, boolean chains 8, error handling 4 (5 pts), ternaries 4, 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":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec97c9250eb3ab6a4c477edf96e60f98e413ffac55292689d4ee1c9610921963"}},{"ruleId":"D2","level":"warning","message":{"text":"usePastedTextEdit.usePastedTextEdit.saveEdit (cognitive 36): usePastedTextEdit.usePastedTextEdit.saveEdit has cognitive complexity 36 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 10, loops 4 (5 pts), ternaries 1 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 11 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c7d98e59d97428406fbf1d4d163cd0c437be65ca8373c46b5d1fc0625f6b9b"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptionWords.DescriptionWords (cognitive 36): DescriptionWords.DescriptionWords has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (25 pts), loops 5 (6 pts), ternaries 3, boolean chains 2 (nesting depth added 12). None of this is in the body itself: all 36 points belong to 4 function literals inside it that branch (lines 59, 61, 92, \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":"client/src/components/Agents/DescriptionWords.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee45ecd2aa74f43ba26d990b8bbe6fbf1ae6ed67fec53ea5a2eaa877c01dbe6"}},{"ruleId":"D2","level":"warning","message":{"text":"Bar.Bar (cognitive 36): Bar.Bar has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 19, boolean chains 14, if/else 3. Of this number, 29 points are the body\u0027s own statements and 7 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Bar.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60f55ed8d362975d44fa0fffe68837b9bb9df651ec8feb5896e73f1534e78c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Landing.Landing (cognitive 36): Landing.Landing has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 15 (17 pts), boolean chains 12, if/else 7 (nesting depth added 2). Of this number, 25 points are the body\u0027s own statements and 11 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":"client/src/components/Chat/Landing.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"490db298625d06de15385bb9f1e6903b36c27f016f4c5e50addac8549239878a"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressText.ProgressText (cognitive 36): ProgressText.ProgressText has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 14, if/else 6 (nesting depth added 3). Of this number, 30 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"client/src/components/Chat/Messages/Content/ProgressText.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b63ce0d12bd21f6c1c0a3641236185df233936d30825d89b4cc44cfc81a86f"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryEditDialog.MemoryEditDialog (cognitive 36): MemoryEditDialog.MemoryEditDialog has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 20, if/else 7 (8 pts), ternaries 7 (8 pts) (nesting depth added 2). Of this number, 25 points are the body\u0027s own statements and 11 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":"client/src/components/SidePanel/Memories/MemoryEditDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"86498a438860ace25510645fd26a7cb9b54e4b19ec3bf29efa46e6ee75506001"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleDialog.ScheduleDialog (cognitive 36): ScheduleDialog.ScheduleDialog has cognitive complexity 36 (threshold 15). Drivers by points: ternaries 27 (43 pts), boolean chains 25, if/else 5 (6 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ScheduleDialog.ScheduleDialog::onSubmit) 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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"0406a3349ee8c4bb5498fc2d23946b34a8aa1b1cf98bcb913fa2e432e6681e03"}},{"ruleId":"D2","level":"warning","message":{"text":"modes.createAgentToolApprovalSession.hook (cognitive 36): modes.createAgentToolApprovalSession.hook has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 11, ternaries 5 (6 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":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bad4e222999d0a07eb7bbbbee70ea583658450b38cbd907ccef87813f76a70d"}},{"ruleId":"D2","level":"warning","message":{"text":"controller.createResetToolApprovalController.\u003Creturned closure\u003E (cognitive 36): controller.createResetToolApprovalController.\u003Creturned closure\u003E has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 6, loops 1 (4 pts), ternaries 2 (3 pts), error handling 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/controller.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f03679d51edab7ea5e32468bab20485998a8814e9f2402e90fd35722132516"}},{"ruleId":"D2","level":"warning","message":{"text":"compatibility.planMatcher (cognitive 36): compatibility.planMatcher has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 8 (12 pts), boolean chains 9, error handling 1 (nesting depth added 7). Of this number, 34 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcafcfe98a7917df3d1e9ba2a2a790b136510778b985161b7564d6151e144c5"}},{"ruleId":"D2","level":"warning","message":{"text":"env.processMCPEnv (cognitive 36): env.processMCPEnv has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 11, loops 5 (10 pts), ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"9803635ceb448da2d213287e095ccb7c9bc32e803641abf2c6c325974ef4b3b0"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceStatus (cognitive 36): workspace.resolveCodeWorkspaceStatus has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 16, if/else 9 (15 pts), ternaries 2 (5 pts) (nesting depth added 9). Of this number, 31 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"52834c193dfd3e9ec03f56262d00a3d34306ad3ca3592de068b653496817e3db"}},{"ruleId":"D2","level":"warning","message":{"text":"QuoteButton.QuoteButton (cognitive 36): QuoteButton.QuoteButton has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23, boolean chains 11, error handling 1, ternaries 1. None of this is in the body itself: all 36 points belong to 14 function literals inside it that branch (lines 396, 457, 480, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d68f32e8343aab1f2d19e2fb31b15d909afa2a199b8534b007d725b7185bfba"}},{"ruleId":"D2","level":"warning","message":{"text":"Dropdown.Dropdown (cognitive 36): Dropdown.Dropdown has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 16, ternaries 11 (12 pts), if/else 6 (8 pts) (nesting depth added 3). Of this number, 22 points are the body\u0027s own statements and 14 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Dropdown.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a829ab39845ff616668eafa562ecea84a01dfa72df04f4faceb248a3c6b978"}},{"ruleId":"D2","level":"warning","message":{"text":"parts.toUIMessage (cognitive 36): parts.toUIMessage has cognitive complexity 36 (threshold 15). Drivers by points: boolean chains 18, if/else 9 (14 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 6). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d01317f3ffdcc30c176fe15dc564b83a2195adedd43e1814b35630ac62fcdb"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.enqueueAgentQueuedTurn (cognitive 36): queuedTurn.createAgentQueuedTurnMethods.enqueueAgentQueuedTurn has cognitive complexity 36 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 3 (8 pts), boolean chains 3, error handling 1 (2 pts), loops 1 (nesting depth added 17). Most of this is not in the body itself: 9 of the 36 points are its own statements and the rest belongs to one function literal inside it that branches (line 1206). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8abdde7f2c57b94221cc7f6a231fe4b9b807911977b2a1d1f3761370e0bf3b1"}},{"ruleId":"D2","level":"warning","message":{"text":"handleRunInterrupt (cognitive 36): handleRunInterrupt has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, other 6, ternaries 3 (4 pts), error handling 2 (3 pts) (nesting depth added 6). Of this number, 35 points are the body\u0027s own statements and 1 belongs 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4355}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c01d9bca82fbd8106eba04597816e0b3bc492c9483061b85c29fc6dd0cde51"}},{"ruleId":"D2","level":"warning","message":{"text":"createToolCallStream::deltaHandler (cognitive 36): createToolCallStream::deltaHandler has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 3 (8 pts), boolean chains 6 (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":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f4ea7e64185602183a10267cd6ca4233da0aa63e994a75ccc4d154a8f293027"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseClient.getTokenCountForMessage::processValue (cognitive 35): BaseClient.getTokenCountForMessage::processValue has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (25 pts), boolean chains 8, 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b4b691861f37d13cee7b66a971da56e0a233e3aed1b57a0b3be50076c5d847"}},{"ruleId":"D2","level":"warning","message":{"text":"config.router.get(\u0022/\u0022) (cognitive 35): config.router.get(\u0022/\u0022) has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 7, error handling 3 (5 pts), ternaries 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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f089a4a6686b87b92feb894e914fa3005d63b7ffb066b5c011a3ae9003e6b112"}},{"ruleId":"D2","level":"warning","message":{"text":"useAskAnswerMode.useAskAnswerMode (cognitive 35): useAskAnswerMode.useAskAnswerMode has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 19, ternaries 10, if/else 6. Of this number, 20 points are the body\u0027s own statements and 15 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3810a139f0b7bcdbe794585c930d09aba77efc7d67b922c7319d51fdb5734761"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryEventTransport.subscribe (cognitive 35): InMemoryEventTransport.subscribe has cognitive complexity 35 (threshold 15). Drivers by points: if/else 17 (29 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 14). Most of this is not in the body itself: 4 of the 35 points are its own statements and the rest belongs to 6 function items inside it that branch (deliver, a function literal at line 109, a function literal at line 156, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"879eb06938e16dc4909741e61c5fe64f45ab2ab10c5051cfe6af522bf25d1a88"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.recoverCommittedCreate (cognitive 35): GenerationJobManagerClass.recoverCommittedCreate has cognitive complexity 35 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 5, error handling 2 (4 pts), ternaries 2 (4 pts), loops 1 (nesting depth added 13). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf53cfd740104f7f70413dfc3263ff6f73247949dbb191fd24ceebd5313abb45"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentCompletionWakeup.createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E (cognitive 35): subagentCompletionWakeup.createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E has cognitive complexity 35 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 7, ternaries 4 (6 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":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a1092e20f7cb9c6aabd08604729974485ea994e82dff2d30e04ea18821f935"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionsRepository.loadConnection (cognitive 35): ConnectionsRepository.loadConnection has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (26 pts), boolean chains 6, ternaries 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5c44bba3deb73e47b2f2200c533838f592e17789966dca2646bb7c6891dc32"}},{"ruleId":"D2","level":"warning","message":{"text":"loading.loadMCPTools (cognitive 35): loading.loadMCPTools has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 2 (7 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 18). Of this number, 33 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc6411f9a3f68d55917c2ab399a894d3bb1de781ed0189e54d7807fa67aff91"}},{"ruleId":"D2","level":"warning","message":{"text":"execution.createScheduleMCPExecution.resolve (cognitive 35): execution.createScheduleMCPExecution.resolve has cognitive complexity 35 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 8, error handling 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 5). Of this number, 30 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/execution.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dcba03c761b9e68259c50b769630444e96add0261627d1b15c52c982aa9127c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createScheduleMCPRuntimeHost.prepare (cognitive 35): runtime.createScheduleMCPRuntimeHost.prepare has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 11, ternaries 5 (8 pts) (nesting depth added 8). None of this is in the body itself: all 35 points belong to one function literal inside it that branches (line 130). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/runtime.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01b678c334830b2feea0cb40dfd58ad6ff1b15f9917f9fa26a172893697ea04"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.reattach (cognitive 35): Chat.reattach has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 17, if/else 13 (15 pts), ternaries 2, error handling 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca02c396e761c60f65e72f10b3044372bfcdd5f16459a8c6861975b67a3da32"}},{"ruleId":"D2","level":"warning","message":{"text":"useSteerConvert.useSteerConvert (cognitive 35): useSteerConvert.useSteerConvert has cognitive complexity 35 (threshold 15). Drivers by points: boolean chains 17, if/else 6 (8 pts), ternaries 7 (8 pts), loops 2 (nesting depth added 3). None of this is in the body itself: all 35 points belong to 11 function literals inside it that branch (lines 126, 164, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerConvert.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"534f19b26e0f4830c686d240fabda6261d6e79ed0d12b78396c8423f6a94ac27"}},{"ruleId":"D2","level":"warning","message":{"text":"state.foldReplaySegments (cognitive 35): state.foldReplaySegments has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 5 (6 pts), boolean chains 5, ternaries 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd372f11b7029f507e36843685fcd367c13d767248e67774af65ec4b438454b"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.mergePersistedAndLiveActivity (cognitive 35): adapters.mergePersistedAndLiveActivity has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 8, ternaries 1 (2 pts), loops 1 (nesting depth added 14). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b097ccc21b4094689f696c4ef1fa5780298bd48c187ef4dcad2fa81ddb8baaf"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.beginAgentQueuedTurnAdmission (cognitive 35): queuedTurn.createAgentQueuedTurnMethods.beginAgentQueuedTurnAdmission has cognitive complexity 35 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 9, ternaries 5 (9 pts), error handling 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 35 points is its own statement and the rest belongs to 2 function items inside it that branch (a function literal at line 2185, retireObsoleteClaim). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24484892bf549f30aec6f60b772560d0a7385541adb2e0154afd4f81a82b53a"}},{"ruleId":"D2","level":"warning","message":{"text":"startServer (cognitive 35): startServer has cognitive complexity 35 (threshold 15). Drivers by points: if/else 20 (21 pts), ternaries 4 (6 pts), error handling 4, boolean chains 3, other 1 (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 14 belong to 17 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308afa696752228b44d7e2bb553241f8da7261c04c927abcc2bd7d33d98c184"}},{"ruleId":"D2","level":"warning","message":{"text":"deleteUserController (cognitive 35): deleteUserController has cognitive complexity 35 (threshold 15). Drivers by points: error handling 7 (14 pts), if/else 10 (13 pts), boolean chains 4, other 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":"api/server/controllers/UserController.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd6d7499a3c06c03cf8f2ca1915f749ac9da8bf7c943de5909f3de6b1637513"}},{"ruleId":"D2","level":"warning","message":{"text":"migrateSharedLinkPermissions::(anonymous)::processBatch (cognitive 35): migrateSharedLinkPermissions::(anonymous)::processBatch has cognitive complexity 35 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 3 (9 pts), boolean chains 5, error handling 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":"config/migrate-shared-link-permissions.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0951609e0fab9ff73022eef6ea3169785274d30a95ae70f76821b435c25b2122"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.buildCatalog (cognitive 34): catalog.buildCatalog has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (16 pts), ternaries 4 (10 pts), loops 4 (6 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/items/catalog.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e106f7944fff0a2f3c908864ddfa52bc9f873646cfcd467692770269cdbf520"}},{"ruleId":"D2","level":"warning","message":{"text":"Sources.FileItem (cognitive 34): Sources.FileItem has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 13, ternaries 8 (11 pts), if/else 9, error handling 1 (nesting depth added 3). Of this number, 18 points are the body\u0027s own statements and 16 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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d691e06d2a7c49031d2cfbb246058f7066a2daa741d9c4fc2cac11285fd4f4b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Sources.SourcesComponent (cognitive 34): Sources.SourcesComponent has cognitive complexity 34 (threshold 15). Drivers by points: if/else 16 (24 pts), boolean chains 9, loops 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 34 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 601, 574, 664, \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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"8246ba6100ed2a7d5d68dbd9c110b69bc4fc2f5b3173c33df94bedabfd4fb03e"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.redactConfigSecrets (cognitive 34): secrets.redactConfigSecrets has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (25 pts), loops 4 (5 pts), boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c47255e6c48298c18a8b737c0a38545fe60d8eeda4d5cc1ca734e564bc3fd72"}},{"ruleId":"D2","level":"warning","message":{"text":"users.createAdminUsersHandlers.deleteUser (cognitive 34): users.createAdminUsersHandlers.deleteUser has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 5 (11 pts), boolean chains 3, loops 1, 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":"packages/api/src/admin/users.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"68b8fae80bb3ccc496ec38daf349398cf991a8827af662a218ff30ddd9553d07"}},{"ruleId":"D2","level":"warning","message":{"text":"toolTiming.applySubagentToolTiming (cognitive 34): toolTiming.applySubagentToolTiming has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (21 pts), boolean chains 10, loops 1 (2 pts), ternaries 1 (nesting depth added 9). Of this number, 22 points are the body\u0027s own statements and 12 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":"packages/api/src/agents/toolTiming.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1fe49ac48656b07887fa1a99cf2aef1c18fc3482d834f19a12ac7f8c77b786"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentContent.createSubagentTaskContentHandler.\u003Creturned closure\u003E (cognitive 34): subagentContent.createSubagentTaskContentHandler.\u003Creturned closure\u003E has cognitive complexity 34 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 12, ternaries 6, error handling 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"299ba6bdf57919fde850e37e6f0202f9d8323d5143fe2cd69191e8d32ffa009c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createReasoningLabelWiring.schedule (cognitive 34): runtime.createReasoningLabelWiring.schedule has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 9, error handling 4, ternaries 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 18 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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4f2651f975aa9c2e7c53630023e6a6e1a379b3f38bba9c57bc733b468006aae"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeCustom (cognitive 34): initialize.initializeCustom has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 10, ternaries 5 (6 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/custom/initialize.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8258ae21b3ddd4be2b0057444c0a2ad6706db7f627f23c0310b7dfdfec8a264f"}},{"ruleId":"D2","level":"warning","message":{"text":"FlowStateManager.acquireLease (cognitive 34): FlowStateManager.acquireLease has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (26 pts), ternaries 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 17). Of this number, 22 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":"packages/api/src/flow/manager.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e7984669775315813456655ed65883a8c1fe83f0e9f687c5cbe90a3e72016f"}},{"ruleId":"D2","level":"warning","message":{"text":"lookup.createPullRequestLookup.\u003Creturned closure\u003E (cognitive 34): lookup.createPullRequestLookup.\u003Creturned closure\u003E has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 6, ternaries 4 (5 pts), error handling 1 (nesting depth added 9). Most of this is not in the body itself: 11 of the 34 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 283, lifetimeOf). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"8526ea92ce52ff0026adc86ed3b9674ebfb638bb302a92ca694a9828b03ff2c9"}},{"ruleId":"D2","level":"warning","message":{"text":"placement.mergeResumeMessages (cognitive 34): placement.mergeResumeMessages has cognitive complexity 34 (threshold 15). Drivers by points: if/else 17 (29 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d98066b890a83c127904924783e044d742923bbf57982db0439ab636417bb8"}},{"ruleId":"D2","level":"warning","message":{"text":"receipts.reconcileServerQueuedTurns (cognitive 34): receipts.reconcileServerQueuedTurns has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 20, if/else 10, ternaries 3 (4 pts) (nesting depth added 1). None of this is in the body itself: all 34 points belong to 3 function literals inside it that branch (lines 146, 206, 141). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d1e9268e2d8bafe28614afbb8df6a22ad96a7b95e5bdc8c5b4d1de09a10c22"}},{"ruleId":"D2","level":"warning","message":{"text":"content.reconcileSubagentToolTimings (cognitive 34): content.reconcileSubagentToolTimings has cognitive complexity 34 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 7, loops 3 (5 pts), ternaries 1 (2 pts) (nesting depth added 11). Of this number, 26 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9daf81df749a93f4c521d63bea6bcdda70e95f61182f24e447aef5db606dfe31"}},{"ruleId":"D2","level":"warning","message":{"text":"shortcuts.resolveComposerKeyDown (cognitive 34): shortcuts.resolveComposerKeyDown has cognitive complexity 34 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 10, ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/shortcuts.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"363ef796051e7208801402fc863396ed04fccf7ecc3d2a97c55f9b9f146a90ea"}},{"ruleId":"D2","level":"warning","message":{"text":"state.foldAcceptedSubagentEvents (cognitive 34): state.foldAcceptedSubagentEvents has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 7 (11 pts), boolean chains 9, loops 2 (nesting depth added 9). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d6d6964c40d4e74232a0ab6904fa10d5813291641b244fe9fd0e0af1b507f4"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.buildTree (cognitive 34): messages.buildTree has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (20 pts), loops 6 (7 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 9). Of this number, 29 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/messages.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff325ba192719419abae36f577249fa7d060ee86c1f80a807fe248d1e1c79f8"}},{"ruleId":"D2","level":"warning","message":{"text":"parameterSettings.applyModelFamilyDefaults (cognitive 34): parameterSettings.applyModelFamilyDefaults has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 6, ternaries 3 (5 pts) (nesting depth added 10). Most of this is not in the body itself: 12 of the 34 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 1847, 1778, 1800, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8c0cf6b1c087022c07f5276cd467a7607d7754382cdbf8f76fc7c0f38843ae"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 34): (anonymous) has cognitive complexity 34 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (6 pts), ternaries 4 (6 pts), boolean chains 5, error handling 1, other 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb07cedb9fffefa77889036435701c962c7821c9f7f355aeb32048dae3948f5"}},{"ruleId":"D2","level":"warning","message":{"text":"useNewChat.useNewChat.startNewChat (cognitive 33): useNewChat.useNewChat.startNewChat has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (25 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 12). Most of this is not in the body itself: 11 of the 33 points are its own statements and the rest belongs to 4 function items inside it that branch (collectDiscardWork, a function literal at line 405, a function literal at line 458, \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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7ce06762c8640ba0fd886248a62f64b371eb8df2fb4357a2abba8bd0279b8a"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamAudio.StreamAudio (cognitive 33): StreamAudio.StreamAudio has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 6, ternaries 3, error handling 1, loops 1 (nesting depth added 7). 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 64, 59, 208). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/StreamAudio.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"419a21be1f106a6937a4e91b23aabbe9177ab6a2f063169fac2c93c1401d37a7"}},{"ruleId":"D2","level":"warning","message":{"text":"ProgressText.ProgressText::getText (cognitive 33): ProgressText.ProgressText::getText has cognitive complexity 33 (threshold 15). Drivers by points: if/else 20 (32 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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"74494bd87920260a7aedfa2d3ec8e702f49dbb989a1b2d8e173e4c5d0608330a"}},{"ruleId":"D2","level":"warning","message":{"text":"Setup.Review (cognitive 33): Setup.Review has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 24, if/else 8, ternaries 1. Of this number, 30 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Code/Setup.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"73acb5da0eb578276a48664e616105c5fa434c79e2ab477f625e29aed462c104"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionsPromptFields.InstructionsPromptFields (cognitive 33): InstructionsPromptFields.InstructionsPromptFields has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 11, ternaries 6 (nesting depth added 2). Most of this is not in the body itself: 2 of the 33 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 208, 340, 233, \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":"client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31a28ec33f9f6f35e1ddf050695633ea9b82869f274d8446ac0553f03a9d1d3"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsSection.SkillsSection (cognitive 33): SkillsSection.SkillsSection has cognitive complexity 33 (threshold 15). Drivers by points: boolean chains 16, if/else 10 (12 pts), loops 2 (3 pts), ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 15 of the 33 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 205, 166, 191, \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":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"364cd2fba794757be29f057a865c6713005da397d827142a95165042687a830c"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantPanel.AssistantPanel (cognitive 33): AssistantPanel.AssistantPanel has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 10, ternaries 8 (9 pts) (nesting depth added 2). Most of this is not in the body itself: 13 of the 33 points are its own statements and the rest belongs to 8 function items inside it that branch (onSubmit, a function literal at line 183, a function literal at line 91, \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":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d47ebe212de676dceae165b12a82fff9d6ec8781caf032e0b0ee91abd550ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"useArtifacts.useArtifacts (cognitive 33): useArtifacts.useArtifacts has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 9, loops 1, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 1 of the 33 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 276, 259, 171, \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":"client/src/hooks/Artifacts/useArtifacts.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d225177cc17f5a8104ad9532871093dc2e6043a99d73b971adb8abbe4c192d"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.close (cognitive 33): runtime.createActivityPhaseWiring.close has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 9, loops 2 (4 pts), error handling 3, ternaries 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 9 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a554b3ecb2691e50d13d18ffb5f90f2173cf9a64aaa1c6e975367e02557fdb"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.publishTerminalClaim (cognitive 33): GenerationJobManagerClass.publishTerminalClaim has cognitive complexity 33 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 9, error handling 3 (5 pts), ternaries 3 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d625521c4a1e049efbb662067cae7c18d8aea12c7f119110c16945179aa5739"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.saveRunStepFromEvent (cognitive 33): GenerationJobManagerClass.saveRunStepFromEvent has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 9 (17 pts), if/else 9 (11 pts), boolean chains 5 (nesting depth added 10). Of this number, 26 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7898}}}],"partialFingerprints":{"codehealthFindingId/v1":"5546e223df0fd4c66c0bc6b75163a4613485dc3d40653ab217483ac0b876285f"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.registerFileAuthoringTools (cognitive 33): tools.registerFileAuthoringTools has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (21 pts), ternaries 3 (8 pts), boolean chains 3, 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":"packages/api/src/agents/tools.ts"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"974f4dc6bf84e4aa0cd076c09c37ccaf3364068106f8827d3e310635e134deea"}},{"ruleId":"D2","level":"warning","message":{"text":"resume.createResponseResumeValidation.inspect (cognitive 33): resume.createResponseResumeValidation.inspect has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 10, ternaries 4, loops 2 (3 pts), error handling 1 (nesting depth added 3). Of this number, 31 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfbfd67557b02f5ad497cd005d6af6ceb87ef24eb790789e46f451d69b03bbf"}},{"ruleId":"D2","level":"warning","message":{"text":"bindings.createAgentEventBindingHandlers.register (cognitive 33): bindings.createAgentEventBindingHandlers.register has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 5 (7 pts), boolean chains 5, ternaries 4, loops 1 (nesting depth added 8). Of this number, 23 points are the body\u0027s own statements and 10 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"10179c1d3cf1095eff9489fe91bc9e97d730efe2259706a99691f66a555c501f"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.syncRefreshTokenCookie (cognitive 33): session.createOpenIDSessionRefreshService.syncRefreshTokenCookie has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (16 pts), error handling 3 (11 pts), ternaries 1 (5 pts), boolean chains 1 (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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"2724d2cffdcc87e99e105e31ec3017d433f1820706d76e393a82609d134d2465"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.extractLocatorAliasFragments (cognitive 33): protection.extractLocatorAliasFragments has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (24 pts), boolean chains 6, 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8496711fe55a2d2cc9457a715d071ec5546662660c9c50d44a35e0d38f870718"}},{"ruleId":"D2","level":"warning","message":{"text":"bearer.createScheduledMCPBearerHost.bind.resolve (cognitive 33): bearer.createScheduledMCPBearerHost.bind.resolve has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (23 pts), boolean chains 7, error handling 1, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a113356d8a84a1f25205ef3981e6a36086404124055280a153ec6941630c47"}},{"ruleId":"D2","level":"warning","message":{"text":"upload.createSkillUploadHandler.uploadFileHandler (cognitive 33): upload.createSkillUploadHandler.uploadFileHandler has cognitive complexity 33 (threshold 15). Drivers by points: if/else 16 (23 pts), boolean chains 8, error handling 1, ternaries 1 (nesting depth added 7). Of this number, 31 points are the body\u0027s own statements and 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":"packages/api/src/skills/upload.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"a438e47723bc9511fe39273cf37664635e706036a565cc20d8cd8a3838af47d5"}},{"ruleId":"D2","level":"warning","message":{"text":"view.deriveTokenUsageView (cognitive 33): view.deriveTokenUsageView has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 13 (18 pts), boolean chains 8, if/else 5 (7 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/view.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfb51b991877e6aedc4cbc902da7cb7f8aab47256e33b69525b4a106bf3a81e"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceInheritance (cognitive 33): workspace.resolveCodeWorkspaceInheritance has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 7 (9 pts), loops 4 (8 pts), boolean chains 5 (nesting depth added 12). Of this number, 20 points are the body\u0027s own statements and 13 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":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"40159f097c6720e5e8e1d14ffc22180cf26c4908b120c69f5bbafda5a1a37230"}},{"ruleId":"D2","level":"warning","message":{"text":"share.getMessagesUpToTarget (cognitive 33): share.getMessagesUpToTarget has cognitive complexity 33 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 7, loops 4 (7 pts), ternaries 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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"03589eff628c8f50f0bf12837a2cc5789744677d3a6df07e1037c1ebbc195413"}},{"ruleId":"D2","level":"warning","message":{"text":"schedule.createScheduleMethods.recordRunOutcome (cognitive 33): schedule.createScheduleMethods.recordRunOutcome has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 14 (18 pts), if/else 7 (9 pts), boolean chains 6 (nesting depth added 6). Of this number, 27 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0aa2cc252ccead4dcd866d0653796bfacb68f35c571ba46b194cb5772edfd8"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.deadLetterAgentQueuedTurn (cognitive 33): queuedTurn.createAgentQueuedTurnMethods.deadLetterAgentQueuedTurn has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 14, 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb899670210303a3fbc23ccd7449352c57c146f3b1771ff52344941bb0a682e"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.publishStagedDelivery (cognitive 33): triggerDelivery.createAgentTriggerDeliveryMethods.publishStagedDelivery has cognitive complexity 33 (threshold 15). Drivers by points: if/else 15 (28 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 14). Of this number, 29 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d517dda9dbf1dd5c511b5e9866c4536860829965feee3cd4046db0d308cc183"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous)::beforePublish (cognitive 33): (anonymous)::beforePublish has cognitive complexity 33 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 7, error handling 3 (7 pts), ternaries 2 (4 pts), other 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":"api/server/routes/agents/index.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0aba867864bf7dec4a9df5636e97dce7d926c2022800e84c13a97f376faaa77"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 33): (anonymous) has cognitive complexity 33 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, error handling 2 (4 pts), ternaries 2 (4 pts), other 1 (nesting depth added 12). Of this number, 28 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"815e4469b68d2be6f028bd7c64c6e56ade2da8496356e41eccd02cdd8758a148"}},{"ruleId":"D2","level":"warning","message":{"text":"files.router.get(\u0022/download/:userId/:file_id\u0022) (cognitive 32): files.router.get(\u0022/download/:userId/:file_id\u0022) has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 5, error handling 2 (4 pts), ternaries 2 (4 pts) (nesting depth added 12). Of this number, 27 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb164061ef79d5cd2005c7a6da290c135af3c686ea630f10a0875b442bdf5ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"importers.processConversation (cognitive 32): importers.processConversation has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), ternaries 2 (4 pts), boolean chains 3, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9d93e152343de84d96319ec40ca8028ea057a0186f798310d47a42187bf786"}},{"ruleId":"D2","level":"warning","message":{"text":"useUnseenConversations.observeArrivalQuery (cognitive 32): useUnseenConversations.observeArrivalQuery has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 8, ternaries 3 (5 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04a02b2e996b602573cec4903295d7b9b3af1cb6520c8ab6ac543ed429ff3b4"}},{"ruleId":"D2","level":"warning","message":{"text":"format.formatMessageContent (cognitive 32): format.formatMessageContent has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23 (32 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":"client/src/hooks/Conversations/format.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ad9f4973f6c24896339817f3fa69128c74e28c70991c194acc985cd5893fea"}},{"ruleId":"D2","level":"warning","message":{"text":"pattern.createLinearInspector (cognitive 32): pattern.createLinearInspector has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 6 (8 pts), boolean chains 4, ternaries 3, error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 8 of the 32 points are its own statements and the rest belongs to 3 function items inside it that branch (locate, inspectFragment, a function literal at line 467). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"b448a1fd4922d3811da43a8873ee869f72de73f79ebec2d805c60fc18501c8e5"}},{"ruleId":"D2","level":"warning","message":{"text":"config.prepareEntryChange (cognitive 32): config.prepareEntryChange has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (27 pts), loops 1 (3 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffefeef6d0c85f46053ee7e779a85e4a67b3a7195cb9463ad7176e52fb70291"}},{"ruleId":"D2","level":"warning","message":{"text":"host.resolveActivityLabelModel (cognitive 32): host.resolveActivityLabelModel has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (20 pts), boolean chains 8, error handling 1 (2 pts), 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":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2441984cad5df043bdf2882e991b90063b0ba0b1d51ff6fe288b62ef0db73a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.attachSubscription::deliverStoredTerminal (cognitive 32): GenerationJobManagerClass.attachSubscription::deliverStoredTerminal has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 6, error handling 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (GenerationJobManagerClass.attachSubscription) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5839}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4dc507d436810e0e14dce3292ef113bb991df5301e6eaaf234b8673736d4ab"}},{"ruleId":"D2","level":"warning","message":{"text":"json.cloneJsonValue (cognitive 32): json.cloneJsonValue has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (25 pts), boolean chains 4, 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":"packages/api/src/agents/json.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf049d83655e05bdc2c9850670f1f1e91d4fea09e0edc9d7b41f792e5f2e2e9"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createOpenAIToolCallStream.onRunStepDelta (cognitive 32): handlers.createOpenAIToolCallStream.onRunStepDelta has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 7, ternaries 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bad2921a0dd20b7edd98b0e9bbbf470a1cf51d76b4dfee2beb3bc660b85d84"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.buildToolCallConfig (cognitive 32): handlers.buildToolCallConfig has cognitive complexity 32 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 5, ternaries 1 (4 pts), loops 1 (3 pts) (nesting depth added 17). Of this number, 30 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5482}}}],"partialFingerprints":{"codehealthFindingId/v1":"592749c060c4988126d348a50c0ead1f50f1b5d0c95aa3b9bedd0b526ccb1c90"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.assertResumeToolContentAllowed (cognitive 32): protection.assertResumeToolContentAllowed has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 12, if/else 9 (12 pts), ternaries 3 (5 pts), loops 2, error handling 1 (nesting depth added 5). Of this number, 21 points are the body\u0027s own statements and 11 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":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"978cb55620f80d48d67da90bd617c700a6816caf146f7b6eb5a338afe06e0c96"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentThreads.serializeTranscript (cognitive 32): subagentThreads.serializeTranscript has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 5, loops 2 (4 pts), ternaries 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d84ac487b8e692feb014a2b174b85dc654f27854da8fe7081191d030abf51e"}},{"ruleId":"D2","level":"warning","message":{"text":"service.validateResponseRequest (cognitive 32): service.validateResponseRequest has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 12 (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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"018691bdd6d4a7ab40ee8c42cc3a3a17e4e7d598d8a3119f9cb3417215bb401f"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createReasoningLabelWiring.startStep (cognitive 32): runtime.createReasoningLabelWiring.startStep has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 17, if/else 7 (8 pts), ternaries 7 (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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3dec863e97cbbea2e3a7e35c109d1a1c01518cdfa0c42cddfaf22333839d03"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.createConversationPullRequestsHandler.\u003Creturned closure\u003E (cognitive 32): handler.createConversationPullRequestsHandler.\u003Creturned closure\u003E has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (16 pts), ternaries 6 (8 pts), boolean chains 5, loops 2, error handling 1 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b977517d0fe10c70d993fa905ec93f424adf25037971240488d0fbbe6f060775"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.quiesceUserSchedules (cognitive 32): service.createSchedulesService.quiesceUserSchedules has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 10, ternaries 3 (7 pts), loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c551308f41452f06dea32551bfaf03792a489b65b915cdf566aa285599fef03"}},{"ruleId":"D2","level":"warning","message":{"text":"github.syncSource::syncPreparedSkill (cognitive 32): github.syncSource::syncPreparedSkill has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 3 (6 pts), boolean chains 4, error handling 2 (3 pts), loops 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (github.syncSource) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"663fa7a78bcf264cf838a66e74b8b7dac1b793a07cd40d9e8085ceb2a2fc68f1"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventTransport.subscribeReplayable (cognitive 32): RedisEventTransport.subscribeReplayable has cognitive complexity 32 (threshold 15). Drivers by points: if/else 18 (21 pts), boolean chains 6, loops 4 (5 pts) (nesting depth added 4). None of this is in the body itself: all 32 points belong to 4 function items inside it that branch (a function literal at line 1329, deliver, unsubscribe, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78bff0a031258f6d756ae61ab2dbf77b898ce69e4d6a3281aa6180600700258"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.cleanup (cognitive 32): RedisJobStore.cleanup has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, loops 3 (4 pts), ternaries 1 (3 pts) (nesting depth added 14). Most of this is not in the body itself: 11 of the 32 points are its own statements and the rest belongs to one function literal inside it that branches (line 3768). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3751}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44cd793948391c04f1d6c2f42c42906163f8604d4793cd472ebc27ffaad6164"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.getJobIdsByUser (cognitive 32): RedisJobStore.getJobIdsByUser has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 17, if/else 7 (14 pts), loops 1 (nesting depth added 7). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4038}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6de4d1dd4c90947fc4fed75cab6309eadb596b55cebaf042034a0c8bcb09658"}},{"ruleId":"D2","level":"warning","message":{"text":"outcome.getToolMeta (cognitive 32): outcome.getToolMeta has cognitive complexity 32 (threshold 15). Drivers by points: boolean chains 18, ternaries 4 (8 pts), if/else 6 (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":"packages/chat/src/core/parts/outcome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"031a36b8e5abb257c7cc958820950e43c4bc66d2ae69b7e8dd91761d971631f2"}},{"ruleId":"D2","level":"warning","message":{"text":"upload.readEventStream (cognitive 32): upload.readEventStream has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (27 pts), loops 2 (3 pts), boolean chains 1, error handling 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":"packages/data-provider/src/upload.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c0e59263dc74f31528d8e0fc2d0e021d9cc9ac6c43dab2d75c2ff1278b5383"}},{"ruleId":"D2","level":"warning","message":{"text":"skill.validateSkillFrontmatter (cognitive 32): skill.validateSkillFrontmatter has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"8905f8e269cd42d06a7b3f8d13a2a5cb3bb92a01047c19a6cee5e8527668ffb2"}},{"ruleId":"D2","level":"warning","message":{"text":"skill.extractAlwaysApplyFromBody (cognitive 32): skill.extractAlwaysApplyFromBody has cognitive complexity 32 (threshold 15). Drivers by points: if/else 14 (25 pts), boolean chains 6, 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea5be9204b1e5fcf22797f0cb0f9b479acc02e6c89ee86819315ced6a932135"}},{"ruleId":"D2","level":"warning","message":{"text":"recordActivityLabelUsage (cognitive 32): recordActivityLabelUsage has cognitive complexity 32 (threshold 15). Drivers by points: ternaries 5 (8 pts), boolean chains 7, error handling 3 (6 pts), if/else 4 (5 pts), other 5, loops 1 (nesting depth added 7). Of this number, 28 points are the body\u0027s own statements and 4 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":"api/server/controllers/agents/client.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3761fc103d0e0d0142d76d9a8a34d8e44d56d29fc4f1c8f417ed44dde1d1343c"}},{"ruleId":"D2","level":"warning","message":{"text":"importLibreChatConvo (cognitive 32): importLibreChatConvo has cognitive complexity 32 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 7, loops 2 (4 pts), other 2, error handling 1 (nesting depth added 10). Of this number, 18 points are the body\u0027s own statements and 14 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":"api/server/utils/import/importers.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ae03adce318e05fcfc617697f62a270bcb9ed04d83529b74003dba1fc2cffa"}},{"ruleId":"D2","level":"warning","message":{"text":"_call (cognitive 32): _call has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 9, error handling 4 (6 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2b39a07d6c244cc1a0d5efa357a9f82c4f8fa29cc1dd969d9e304779288f91"}},{"ruleId":"D2","level":"warning","message":{"text":"generateFinetunedImage (cognitive 32): generateFinetunedImage has cognitive complexity 32 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 9, error handling 4 (6 pts), 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed0e1a146084a2699bd80c7ca6b96df5204945c8f7fbccbc29adeb1fe1990ee"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.router.get(\u0022/\u0022) (cognitive 31): messages.router.get(\u0022/\u0022) has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 3 (6 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8e34aba4b5cf5fdc3eb3c50c875f769cad2329ae6f838a1df456b5f6afe822"}},{"ruleId":"D2","level":"warning","message":{"text":"PendingSteers.PendingSteers (cognitive 31): PendingSteers.PendingSteers has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 13, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 140, resolvePaused, queueSteer, \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":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b31b8c224c7d95bcd121675721f9333a0e9e5e70c457bc7255b3acfd534216"}},{"ruleId":"D2","level":"warning","message":{"text":"preview.buildActivityIndex (cognitive 31): preview.buildActivityIndex has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 3 (6 pts), boolean chains 5, loops 4 (5 pts) (nesting depth added 12). Of this number, 30 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a938480bbeb22e2fea5cccfe57c635fa14efa2fa4fab2cb47c2d833047c90046"}},{"ruleId":"D2","level":"warning","message":{"text":"Timeline.Timeline (cognitive 31): Timeline.Timeline has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13, boolean chains 11, ternaries 6 (7 pts) (nesting depth added 1). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 11 function items inside it that branch (handleKeyDown, handlePointerMove, 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":"client/src/components/Chat/Trace/Timeline.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b5193a5a07a928f4fe8f4407deca0851c51e899fe5c2a0279f27096ef74977"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundTaskCall.BackgroundTaskCall (cognitive 31): BackgroundTaskCall.BackgroundTaskCall has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 21, if/else 7, ternaries 2, error handling 1. Of this number, 28 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":"client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0db3d011c6770e6709a9a7f74d996ae952c5c3d9a22f04bc5b98992d73a9e1b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectEditor.ProjectEditor (cognitive 31): ProjectEditor.ProjectEditor has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 16, if/else 8 (9 pts), boolean chains 6 (nesting depth added 1). Of this number, 18 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"337beeb876ed6f9afdfd7e1f1fad59ab2bdeea69dbd3eb3259cb58fd607fa1c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ChatGroupItem.ChatGroupItem (cognitive 31): ChatGroupItem.ChatGroupItem has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 10, ternaries 4, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 12 of the 31 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 106, a function literal at line 81, a function literal at line 181, \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":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e961743495886835bac180c080443b5146641b72879ccf869848c679011bcc4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelPanel.ModelPanel (cognitive 31): ModelPanel.ModelPanel has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 16, ternaries 9, if/else 6. Most of this is not in the body itself: 10 of the 31 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 171, 240, 189, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b25b752e7c406776d72f3a52f585599f9190a074ab30276ec161b9cc1d7e9a5"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantSelect.AssistantSelect (cognitive 31): AssistantSelect.AssistantSelect has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (18 pts), boolean chains 9, ternaries 4 (nesting depth added 1). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 11 function literals inside it that branch (lines 66, 192, 137, \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":"client/src/components/SidePanel/Builder/AssistantSelect.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f2752a39ffa1b31ce3f146877653f77b68bb6b007ea81201bdecbaedef9660"}},{"ruleId":"D2","level":"warning","message":{"text":"index.MCPServerDialog (cognitive 31): index.MCPServerDialog has cognitive complexity 31 (threshold 15). Drivers by points: ternaries 13 (16 pts), boolean chains 9, if/else 6 (nesting depth added 3). Of this number, 25 points are the body\u0027s own statements and 6 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad062e0a1dcb9280614a6a0573e683e6e68d63799ed6aa8c9459a2daf09ced9f"}},{"ruleId":"D2","level":"warning","message":{"text":"retention.retainMessages (cognitive 31): retention.retainMessages has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19 (22 pts), boolean chains 9 (nesting depth added 3). Most of this is not in the body itself: 1 of the 31 points is its own statement and the rest belongs to 7 function items inside it that branch (a function literal at line 236, a function literal at line 202, a function literal at line 145, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Messages/retention.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76074e3c0f7c7867a603e5c89a1034f387fe8ab54a36def74633dc10560c389"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.tombstoneConfigField (cognitive 31): config.createAdminConfigHandlers.tombstoneConfigField has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17, boolean chains 7, ternaries 5, error handling 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":"packages/api/src/admin/config.ts"},"region":{"startLine":4065}}}],"partialFingerprints":{"codehealthFindingId/v1":"23713f82219de8ab1d0eda869e7a336d27569a298286c8539835e938d568a73d"}},{"ruleId":"D2","level":"warning","message":{"text":"roles.createAdminRolesHandlers.updateRole (cognitive 31): roles.createAdminRolesHandlers.updateRole has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 6, 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":"packages/api/src/admin/roles.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"31235ac37be04be42b2961a02a8d49411d377c0a5c2821328d22b9a1357ab283"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.restoreLegacyOverflowAnchors (cognitive 31): runtime.restoreLegacyOverflowAnchors has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (10 pts), ternaries 7 (8 pts), loops 2 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 11 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"815af65b2d796d6901f89edbb3891916990861a381869ad2b8ce864d9f38f77a"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.collectAgentAttachmentStats (cognitive 31): attachments.collectAgentAttachmentStats has cognitive complexity 31 (threshold 15). Drivers by points: if/else 6 (14 pts), boolean chains 10, ternaries 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":"packages/api/src/agents/attachments.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"6919fd3810388c1e1bc919c7f5659a94b1e7004994f8de71184aca5651a38095"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.appendChunk (cognitive 31): InMemoryJobStore.appendChunk has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 8 (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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"313a5eb2d4dc832d185443352bfc88df3d96c77e6de91f6fd4148c7dec8a5eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"context.resolveChatProjectContext (cognitive 31): context.resolveChatProjectContext has cognitive complexity 31 (threshold 15). Drivers by points: boolean chains 13, if/else 9 (11 pts), ternaries 7 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/context.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2715d44c84c624965273c5b54302c8cff713066263d1c35ffa820c6cb686b1"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.getSelectedRawStoredMessageFileIds (cognitive 31): modelBoundContent.getSelectedRawStoredMessageFileIds has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (23 pts), loops 2 (4 pts), error handling 2 (3 pts), boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d30e1bbdf2e8a26627b9c89161b9fc253eef4f7b228f6c886c7590256a9f1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"review.createResponseReview.privateView (cognitive 31): review.createResponseReview.privateView has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 8, error handling 1 (3 pts), loops 1, ternaries 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/review.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"455bce7cc42763b830d24ce327b677ad0906041215a19887b1a462f3be0e6926"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPOAuthHandler.createOAuthFetch (cognitive 31): MCPOAuthHandler.createOAuthFetch has cognitive complexity 31 (threshold 15). Drivers by points: if/else 12 (28 pts), boolean chains 2, loops 1 (nesting depth added 16). None of this is in the body itself: all 31 points belong to one function literal inside it that branches (line 82). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3741fc7742a4c08ed3a933b3b2c6703dab13cd4647931334fe3f46265009f5ec"}},{"ruleId":"D2","level":"warning","message":{"text":"zod.dropSchemaFields (cognitive 31): zod.dropSchemaFields has cognitive complexity 31 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 5, loops 2 (5 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"162450fcd5f78231bd54ccb21095981906e1e5f86ba4216e6dd3da9354e8181c"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelWorker.progress (cognitive 31): ChannelWorker.progress has cognitive complexity 31 (threshold 15). Drivers by points: if/else 16 (19 pts), boolean chains 11, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"51354844ce4079258429286aef8a9f9b027d1a8f1884b24ac5330395c75b4304"}},{"ruleId":"D2","level":"warning","message":{"text":"timing.applyRunStepDelta (cognitive 31): timing.applyRunStepDelta has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (16 pts), ternaries 2 (8 pts), boolean chains 5, loops 1 (2 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95cb52e0f57a8288747d2a33159f014bbf05eca58bc52d33586812d27818c06"}},{"ruleId":"D2","level":"warning","message":{"text":"rows.useQueueRows (cognitive 31): rows.useQueueRows has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20 (22 pts), boolean chains 3, loops 3, ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 2 of the 31 points are its own statements and the rest belongs to 16 function literals inside it that branch (lines 60, 210, 233, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/rows.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db4b717da270b7ffec73f2a6f7490e0dbd2b7fbb743ba572344d312aa5c72c0"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.debugTraverse (cognitive 31): parsers.debugTraverse has cognitive complexity 31 (threshold 15). Drivers by points: if/else 14, boolean chains 8, ternaries 5 (7 pts), error handling 2 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 14 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c85a825fc103c6d8c1818948d8f6b0f085ce6be271767214a4e7bc3dbf45943"}},{"ruleId":"D2","level":"warning","message":{"text":"response.createResponseStorage.reserve (cognitive 31): response.createResponseStorage.reserve has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 5, ternaries 4 (5 pts), error handling 1 (nesting depth added 8). Of this number, 18 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":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"48223defee60011674fc16cd1077c391995336bd68a88ad732ecd69d8dd3c75d"}},{"ruleId":"D2","level":"warning","message":{"text":"auditLog.createAuditLogMethods.verifyAuditChain (cognitive 31): auditLog.createAuditLogMethods.verifyAuditChain has cognitive complexity 31 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 4 (11 pts), boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae1b48f06844ea4508faa8bcab449e17715af674038cb74fcae22261750fb65"}},{"ruleId":"D2","level":"warning","message":{"text":"useReplyAlerts.useReplyAlerts (cognitive 30): useReplyAlerts.useReplyAlerts has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 8, loops 3 (5 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 4). None of this is in the body itself: all 30 points belong to 7 function literals inside it that branch (lines 281, 262, 321, \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":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d18fb3655f538af67411e77ced0a743ef8860d60ae3e5e778c6a0f2f9f3473"}},{"ruleId":"D2","level":"warning","message":{"text":"useDebouncedMermaid.useDebouncedMermaid (cognitive 30): useDebouncedMermaid.useDebouncedMermaid has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 9, ternaries 5 (7 pts) (nesting depth added 5). Most of this is not in the body itself: 10 of the 30 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 131, 185, 121, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Mermaid/useDebouncedMermaid.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f32c4a84837ec8c890adc791cecac818df8794ed65c8c6df57f1c479df35bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"FileAuthoringCall.FileAuthoringCall (cognitive 30): FileAuthoringCall.FileAuthoringCall has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 20, if/else 5, ternaries 5. Of this number, 22 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8471041109fe89ae9ac5210b3972b8cf1dae42e58ca0b4fc09445f64d7ac85"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedLinkButton.SharedLinkButton (cognitive 30): SharedLinkButton.SharedLinkButton has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 16, if/else 7 (8 pts), error handling 4, ternaries 2 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 14 belong to 8 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ba31e185718905b06112866ae2f300b75443f964ce9ef136e4e554ab1bc435"}},{"ruleId":"D2","level":"warning","message":{"text":"BackupCodesItem.BackupCodesItem (cognitive 30): BackupCodesItem.BackupCodesItem has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (20 pts), boolean chains 8, if/else 2 (nesting depth added 10). Most of this is not in the body itself: 11 of the 30 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 121, fetchBackupCodes, a function literal at line 54). 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":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abd185aa5d9f23bb999333056095003247cc440116086f3559500150c33a95d"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptName.PromptName (cognitive 30): PromptName.PromptName has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, ternaries 4 (5 pts) (nesting depth added 4). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 82, 58, 38, \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":"client/src/components/Prompts/fields/PromptName.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b301fbc486ca25d8abcc1f25de76469caa4433513a35768474b5360e7eaaef9e"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.Decision (cognitive 30): Review.Decision has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 17, if/else 7 (9 pts), ternaries 2 (3 pts), error handling 1 (nesting depth added 3). Most of this is not in the body itself: 12 of the 30 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 66, 120, 127). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/Review.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1094c33d436ff3f6e6eea4ea732da81ca8b9e7c02dae82d5bcfc8de02f60bb5d"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareView.SharedView (cognitive 30): ShareView.SharedView has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 13, if/else 12, ternaries 5. Of this number, 19 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"93014d025e8a3166bc901b338ea826af0fbba824c04db4cd422ecec1c1fed1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.processMemory (cognitive 30): memory.processMemory has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (16 pts), ternaries 3 (7 pts), boolean chains 6, 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":"packages/api/src/agents/memory.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19144e198f485e415cf65ddb8e778538934d616af63a71e523b388b27ce47bf"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.resolveAlwaysApplySkills (cognitive 30): skills.resolveAlwaysApplySkills has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, loops 2 (3 pts), error handling 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3d855c08b07d74768f61750d7b9e52573b832d868d76d834922d0b623ea81d"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.toLinkedWorktreeRequest (cognitive 30): workspace.toLinkedWorktreeRequest has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), ternaries 5 (10 pts), boolean chains 4, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2993e7aef77d0d14d64df19855d18603dc3942b469fa0e659515ac7cff92e641"}},{"ruleId":"D2","level":"warning","message":{"text":"matching.applyTextEdits (cognitive 30): matching.applyTextEdits has cognitive complexity 30 (threshold 15). Drivers by points: if/else 11 (23 pts), ternaries 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"554cbea1d010be3e3a86716fab66b1ad01ed1c4da8da31d26132e2cbb4543e2f"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleSandboxFileFallback (cognitive 30): handlers.handleSandboxFileFallback has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 6, ternaries 4 (6 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca3d643b0443f3e5bf22a03cb695b7e4786941f66c29f909bd1764f815fc206e"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleWorkspaceSearchCall (cognitive 30): handlers.handleWorkspaceSearchCall has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 10 (12 pts), if/else 7 (10 pts), boolean chains 6, error handling 1, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef941bcbf44371535ce0afca80f3250fe3234d26f9f6462c39cf41747e67f0d"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.destroyTaskControlTransport (cognitive 30): SubagentThreadTaskStore.destroyTaskControlTransport has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (7 pts), boolean chains 3, error handling 1 (2 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fa231cea42d6853e80bfa16ab0cbcb879fb7d337ace4efbb4210eb40ea0689"}},{"ruleId":"D2","level":"warning","message":{"text":"service.convertInputToMessages (cognitive 30): service.convertInputToMessages has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 1, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"833f89ee130b9fdb11e9764122550c5d4ce643fecd8048b5280f85bb577ff9b6"}},{"ruleId":"D2","level":"warning","message":{"text":"retirement.createResponseRetirement.\u003Creturned closure\u003E (cognitive 30): retirement.createResponseRetirement.\u003Creturned closure\u003E has cognitive complexity 30 (threshold 15). Drivers by points: if/else 27 (35 pts), boolean chains 14, ternaries 6 (9 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. This shape REPEATS in the file: one other method here (retirement.createResponseRetirement.\u003Creturned closure\u003E::stageCancellation) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5df3e8751dbe97c552ee3f1a1260d5fb5f66733661984f4086496c3464420e"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.drainAndBuildInjections (cognitive 30): runtime.drainAndBuildInjections has cognitive complexity 30 (threshold 15). Drivers by points: error handling 5 (12 pts), if/else 6 (9 pts), loops 4 (6 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f14c8cbf5cb83a344047f958a2eeddb952c973cd0e31613847e507e0a8c746e"}},{"ruleId":"D2","level":"warning","message":{"text":"credentials.writeCredentialFile (cognitive 30): credentials.writeCredentialFile has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (15 pts), error handling 6 (12 pts), ternaries 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":"packages/api/src/credentials.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e33ca6458c9fde62bbce6fe6f2630bcf2e604483619e8754fcc07a72d35bda"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning.readCatalog (cognitive 30): reasoning.readCatalog has cognitive complexity 30 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (5 pts), ternaries 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":"packages/api/src/endpoints/reasoning.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"243a28f3f920ad384162ca5ef77623108d2fa250c5385b09f64c076df3bc86db"}},{"ruleId":"D2","level":"warning","message":{"text":"image.readWindowedSandboxImage (cognitive 30): image.readWindowedSandboxImage has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (25 pts), boolean chains 4, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/image.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"03eb93d097390a0dd975ec1330e21f6fa324f0c7a6200451af6b9deac66f58ab"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.createScheduleMCPPreflight::runPreflight (cognitive 30): mcp.createScheduleMCPPreflight::runPreflight has cognitive complexity 30 (threshold 15). Drivers by points: if/else 12 (18 pts), ternaries 3 (6 pts), boolean chains 3, loops 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b95d691459d5b1cde37bbd0b28eafa1ac44bd9a7cbc8a07f8764b01d556734"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createTraceHandlers (cognitive 30): handlers.createTraceHandlers has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 9, error handling 3, ternaries 2 (nesting depth added 1). None of this is in the body itself: all 30 points belong to 7 function items inside it that branch (handleFailure, record, prepareScope, \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":"packages/api/src/traces/handlers.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9008d913cce7a86843c190b7a353d0bdc93acb4176d2aaa02a74e11a5f1a1b10"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.cleanupRequiresActionIndex (cognitive 30): RedisJobStore.cleanupRequiresActionIndex has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 15). Most of this is not in the body itself: 7 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 3852). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2c2f22aada052944f2dd4e87e10b94dc857e4a5797de15585d37707294d175"}},{"ruleId":"D2","level":"warning","message":{"text":"review.nativeDecision (cognitive 30): review.nativeDecision has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 8, ternaries 3 (5 pts), loops 1 (nesting depth added 9). Of this number, 26 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a79465caf1a3efc00a0da75438c1b9717bb332543227e7d1dfa2082cd41712"}},{"ruleId":"D2","level":"warning","message":{"text":"route.slackRouteLookup (cognitive 30): route.slackRouteLookup has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (24 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":"packages/channel-gateway/src/shared/route.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a19c9f9d7f8992b55886f6cb55fe77d60c43bb54ec24c829cfe731b09eb5c54"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.consume (cognitive 30): Chat.consume has cognitive complexity 30 (threshold 15). Drivers by points: if/else 13 (18 pts), boolean chains 7, ternaries 1 (3 pts), error handling 1, loops 1 (nesting depth added 7). Of this number, 28 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8d719e7326cdad582c1d6eb2ecac943a0224f7937b7f579e03859ba301e351"}},{"ruleId":"D2","level":"warning","message":{"text":"branch.sumBranch (cognitive 30): branch.sumBranch has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 7, ternaries 4 (6 pts), loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c793b9f7f2a8b22fa09f3d32f1968818e29bb91310a7d8cf1c6ed451c98d102c"}},{"ruleId":"D2","level":"warning","message":{"text":"content.preserveStreamedContentIdentity (cognitive 30): content.preserveStreamedContentIdentity has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 6, loops 3 (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":"packages/chat/src/core/content.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c256a3ae76864195c8554cd72cc017681054541750e313e75b92ad3cee5f62b"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTable.DataTable (cognitive 30): DataTable.DataTable has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 14, ternaries 8, if/else 6, error handling 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 332, 360, 254, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9681ec17cb892663974906138dad38d792cbd0752d40db01126049dd4ba29d4"}},{"ruleId":"D2","level":"warning","message":{"text":"file-config.buildMimeAccept (cognitive 30): file-config.buildMimeAccept has cognitive complexity 30 (threshold 15). Drivers by points: if/else 10 (22 pts), loops 4 (5 pts), ternaries 2, boolean chains 1 (nesting depth added 13). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ffc3d54c8d02a1238fac21263e2e38aaf943b3f0f8b4f8c6e7c87ff784072c"}},{"ruleId":"D2","level":"warning","message":{"text":"share.createShareMethods.updateSharedLink (cognitive 30): share.createShareMethods.updateSharedLink has cognitive complexity 30 (threshold 15). Drivers by points: ternaries 8 (12 pts), if/else 7 (9 pts), boolean chains 7, error handling 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c6ca462ddc98336ffd10545e5eeece47feaad8b33cb7b45d9d9254474fd119"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.toRecord (cognitive 30): queuedTurn.toRecord has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 29, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4102d35cb58cbae1217c1418e11538e6f2646c5882dcbd78727b32d3c23ca"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.toRecord (cognitive 30): triggerDelivery.toRecord has cognitive complexity 30 (threshold 15). Drivers by points: boolean chains 26, ternaries 3, if/else 1. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"39720c45136056746d4ab829dbef08da6fa47c1fc83377b1a49d0515f87ebb00"}},{"ruleId":"D2","level":"warning","message":{"text":"handle (cognitive 30): handle has cognitive complexity 30 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, error handling 2 (3 pts), loops 1 (2 pts), other 2, 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffe26f0d5c7264355493bdae9dfe44042f05c12dcedeb15a1bf6a9f1a3d2eae"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 30): (anonymous) has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, other 3, error handling 1, loops 1 (nesting depth added 5). Of this number, 26 points are the body\u0027s own statements and 4 belong to 12 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f6eaf22cd4e28b31e1215378f68f323b8679990cf67cb977f33af1a343ef9c7"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 30): (anonymous) has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5, error handling 2, other 2, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22f87f56c4ee69c83a491afd0048899fbbbb1393fd4ba693697b8668cb2f57b"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.loadAndFormatTools (cognitive 29): tools.loadAndFormatTools has cognitive complexity 29 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 8, error handling 2 (4 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":"api/server/services/start/tools.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9215cc220de1f6275aee9f2e91d53a209ce081f1b4b569ec2efbfb8dd41cc001"}},{"ruleId":"D2","level":"warning","message":{"text":"fork.getMessagesUpToTargetLevel (cognitive 29): fork.getMessagesUpToTargetLevel has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (7 pts), boolean chains 5, ternaries 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":"api/server/utils/import/fork.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6450a8efc615b7b980ee9b2eb5d6d7c50008895b4fb4f90d5ff9e51b39114a"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-sandbox.html.findDocumentInjectionPoint (cognitive 29): mcp-sandbox.html.findDocumentInjectionPoint has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/public/mcp-sandbox.html"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"798cc7493a11831622fe8a21a462f33e85e14e366e5abc6dd1fd9f76a5cc7364"}},{"ruleId":"D2","level":"warning","message":{"text":"useMCPSelect.useMCPSelect (cognitive 29): useMCPSelect.useMCPSelect has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 9, ternaries 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 3 of the 29 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 142, 95, 123, \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":"client/src/hooks/MCP/useMCPSelect.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2342a4d4e70509bb499bdbadcb0e3dd92d59b4be752e1f9cf846e598a827a21"}},{"ruleId":"D2","level":"warning","message":{"text":"LogContent.LogContent (cognitive 29): LogContent.LogContent has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, if/else 10 (12 pts), ternaries 4 (nesting depth added 2). Most of this is not in the body itself: 7 of the 29 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 67, renderAttachment, a function literal at line 44, \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":"client/src/components/Chat/Messages/Content/Parts/LogContent.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493ae51b6dda3025ce2ad61aa2c1a1b1d2c201eeb5755cfd46049653b5920d4"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundTaskCard.BackgroundTaskCard (cognitive 29): BackgroundTaskCard.BackgroundTaskCard has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 19, ternaries 6, if/else 4. Of this number, 27 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"90088a548bd4a0061d42491b27840409588bbb86288a55d4d852c43b98fd1336"}},{"ruleId":"D2","level":"warning","message":{"text":"ConversationsSection.ConversationsSection (cognitive 29): ConversationsSection.ConversationsSection has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 18, ternaries 6, if/else 5. Of this number, 20 points are the body\u0027s own statements and 9 belong to 7 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/UnifiedSidebar/ConversationsSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae3ab9061f1d888d4f3e2082c519f06b59ac4d3fe1100be4b9d9cf70267f54d"}},{"ruleId":"D2","level":"warning","message":{"text":"Citation.CompositeCitation (cognitive 29): Citation.CompositeCitation has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 21, if/else 5, ternaries 3. Of this number, 19 points are the body\u0027s own statements and 10 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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8af413f4c1552e6d0cf59b35af5afa99ff390fd453c8b177a83e303184fa57"}},{"ruleId":"D2","level":"warning","message":{"text":"submissions.getModelParameterWrapperFields (cognitive 29): submissions.getModelParameterWrapperFields has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (20 pts), boolean chains 5, loops 2 (3 pts), ternaries 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":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6cc67f01d7ba89b44e5c88daead49e5407793a64efb4ece3643bd5b6d8d7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.registerCodeExecutionTools (cognitive 29): tools.registerCodeExecutionTools has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 8, ternaries 2 (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":"packages/api/src/agents/tools.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42d78e5318c03c919d9e35b6a5f3768772cc39cb26189b1f5f705d3b5f4753b"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.injectSkillCatalog (cognitive 29): skills.injectSkillCatalog has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (6 pts), ternaries 2 (5 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e20e99c5d6c2aedb522ec3fbfaaea451384275d61fe545a5210890bd020b34"}},{"ruleId":"D2","level":"warning","message":{"text":"linked.createLinkedInstructionsResolver::resolve (cognitive 29): linked.createLinkedInstructionsResolver::resolve has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6 (11 pts), boolean chains 4, error handling 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":"packages/api/src/agents/instructions/linked.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"886e4ab0e8b48f342b8304d184a45ab93b51850f3946699e7b5a9e37f614edb4"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.assertResolvedSkillContentAllowed (cognitive 29): initialize.assertResolvedSkillContentAllowed has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (12 pts), error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 6). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"77478d7f0fb76d079fd738fb549625dee236cc96679ad3203e8265f8b8f8130a"}},{"ruleId":"D2","level":"warning","message":{"text":"encode.createRunFileMessageEncoder.encode (cognitive 29): encode.createRunFileMessageEncoder.encode has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 8, ternaries 2, loops 1 (nesting depth added 6). Of this number, 28 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/encode.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14066ac93b6cdccaedcc5716fec5332a3a3ec6a334ecc2d4be5ff0c2b4c0faa"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.formatReadFileText (cognitive 29): handlers.formatReadFileText has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c68a59b95776f2816931da5a636477ebdfefbaa0e4ed1cfaa2d2afa524ff51"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleSkillToolCall (cognitive 29): handlers.handleSkillToolCall has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (17 pts), ternaries 4 (9 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c92b8ffc6a93b29712db8ba2b080c4a448139e87ac76fcc333cbf9f08c8b77"}},{"ruleId":"D2","level":"warning","message":{"text":"inspection.getResumeStoredBranch (cognitive 29): inspection.getResumeStoredBranch has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 7, ternaries 2 (3 pts), loops 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eafc607008dd5471825c497f7386e5179fc82db5cabea3c1914b976bb85bd0"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.start (cognitive 29): SubagentThreadTaskStore.start has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 12, error handling 1, ternaries 1 (nesting depth added 5). Of this number, 26 points are the body\u0027s own statements and 3 belong to 7 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0648612ec56dd89b8cfad173d64747e6068a2ed6301eb1dc6d5acd989d7101"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.normalizeOutput (cognitive 29): executor.normalizeOutput has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 7, 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":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca468d2f9818bba30842b33277c62161a9bd8389c2346eb55396ba8ee5d0788"}},{"ruleId":"D2","level":"warning","message":{"text":"bindingResolver.createAgentEventContinueResolver.\u003Creturned closure\u003E (cognitive 29): bindingResolver.createAgentEventContinueResolver.\u003Creturned closure\u003E has cognitive complexity 29 (threshold 15). Drivers by points: ternaries 5 (11 pts), boolean chains 7, if/else 5 (6 pts), error handling 4 (5 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindingResolver.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f547a998be96d07148ecfe4ecaec5543d9e53ac6fedc3667f07232e481ac7f8a"}},{"ruleId":"D2","level":"warning","message":{"text":"domain.isDomainAllowedCore (cognitive 29): domain.isDomainAllowedCore has cognitive complexity 29 (threshold 15). Drivers by points: if/else 12 (23 pts), boolean chains 5, 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":"packages/api/src/auth/domain.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d47ab0af97c298df8e900f756368f932a0a95e29a65d536b97818fb3bf61691"}},{"ruleId":"D2","level":"warning","message":{"text":"capabilities.resolveCodeExecutionWorkspaceContext (cognitive 29): capabilities.resolveCodeExecutionWorkspaceContext has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 8 (9 pts), boolean chains 7, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dec3972d531b892c15475be31cac299f00d5e96f8fa285497200cd242cd86d"}},{"ruleId":"D2","level":"warning","message":{"text":"credentials.bootstrapCredentials (cognitive 29): credentials.bootstrapCredentials has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (21 pts), boolean chains 3, ternaries 1 (3 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec139ce6c152d1d6dfbb0b7710c277060dad17e7bee939f85432c05df1d7578"}},{"ruleId":"D2","level":"warning","message":{"text":"process.processCodeOutput (cognitive 29): process.processCodeOutput has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 5, ternaries 3 (4 pts), error handling 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 13 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e315ac304c3cde384a62f17b036596a5c752163965ae9380ba1919c27fa2c39a"}},{"ruleId":"D2","level":"warning","message":{"text":"audio.encodeAndFormatAudios (cognitive 29): audio.encodeAndFormatAudios has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (23 pts), boolean chains 5, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7900af281e727f050e7b686ff3e88a371558c15ad6fb3636e6f59f9e3e6266c6"}},{"ruleId":"D2","level":"warning","message":{"text":"cleanup.cleanupDeletedMCPServerOAuthUsers (cognitive 29): cleanup.cleanupDeletedMCPServerOAuthUsers has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 4 (6 pts), error handling 2 (4 pts), boolean chains 3 (nesting depth added 13). Of this number, 16 points are the body\u0027s own statements and 13 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bffffa26aa4dd3f4a30a896349b6519918f3e7c0e6d8078f18f1ed2ded3d170"}},{"ruleId":"D2","level":"warning","message":{"text":"zod.convertToZodUnion (cognitive 29): zod.convertToZodUnion has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 9 (nesting depth added 6). Most of this is not in the body itself: 5 of the 29 points are its own statements and the rest belongs to one function literal inside it that branches (line 76). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"561641534e8e864cf82b2f9158db38febb3071ceac7aba64a79684e1389bdda5"}},{"ruleId":"D2","level":"warning","message":{"text":"key.loadServiceKey (cognitive 29): key.loadServiceKey has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 5 (10 pts), boolean chains 4, 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":"packages/api/src/utils/key.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"985e904f71d84c8c92a9a06c48f1fc1f30ec577151063b29b4d7ec4ee407aff1"}},{"ruleId":"D2","level":"warning","message":{"text":"github.syncSkillFiles (cognitive 29): github.syncSkillFiles has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (nesting depth added 11). Of this number, 22 points are the body\u0027s own statements and 7 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":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f208a81c7bafd3f69058403a6e695993fb6529f271f2beacc300e0336656573"}},{"ruleId":"D2","level":"warning","message":{"text":"routing.resolveReachableCodeWorkspaceInheritance (cognitive 29): routing.resolveReachableCodeWorkspaceInheritance has cognitive complexity 29 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 5 (10 pts), boolean chains 5, loops 3 (4 pts) (nesting depth added 11). Of this number, 22 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":"packages/chat/src/core/code/routing.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"f004a8d4371636ab24326b7939bd09ca4d6c526fa502f1fa7f9d08042f79ce95"}},{"ruleId":"D2","level":"warning","message":{"text":"receipts.useQueuedTurnReceipts (cognitive 29): receipts.useQueuedTurnReceipts has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (12 pts), ternaries 3, loops 1 (nesting depth added 1). None of this is in the body itself: all 29 points belong to 9 function literals inside it that branch (lines 106, 65, 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":"packages/chat/src/react/steering/receipts.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9797ad9e07a4206c8b57f68717ae89afcf78af8fa5a3aa5c04c2f807a68000d"}},{"ruleId":"D2","level":"warning","message":{"text":"abort.useAbortHandlers.abortConversation (cognitive 29): abort.useAbortHandlers.abortConversation has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, error handling 2 (3 pts), loops 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":"packages/chat/src/react/stream/events/abort.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"41570213413d48b5a6de697eb88c8fcc5ae583ccbb387bb3f8b022f29227eb20"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.recoverTaskContent (cognitive 29): recovery.recoverTaskContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (21 pts), boolean chains 4, loops 2 (3 pts), ternaries 1 (nesting depth added 12). Of this number, 25 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":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fafe394d05331fb116df2aa74e1d4bcbc53b7522ab10c5cf02d48e7e9cf2ebb"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.validateActionDomain (cognitive 29): actions.validateActionDomain has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 3 (6 pts), error handling 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":"packages/data-provider/src/actions.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e2a4c64380b2e2f0cb96e8a2243ae90413829f52cc41141a69d2fd29146d81"}},{"ruleId":"D2","level":"warning","message":{"text":"stripUIResourceMarkers.sanitizeUIResourceContent (cognitive 29): stripUIResourceMarkers.sanitizeUIResourceContent has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (24 pts), boolean chains 4, loops 1 (nesting depth added 13). Of this number, 23 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6a70e085f65f40de72a1b5176887ab1aaf407be18be8e5b9b0166106f78f3e"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.bulkSaveConvos (cognitive 29): conversation.createConversationMethods.bulkSaveConvos has cognitive complexity 29 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, loops 3 (5 pts), ternaries 1 (2 pts), error handling 1 (nesting depth added 8). Most of this is not in the body itself: 14 of the 29 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 3513, 3495). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f58115d64ab192fc71bfb8bbc2ccff5f48649e0aaf8361c75f2e82979ed77e2"}},{"ruleId":"D2","level":"warning","message":{"text":"response.createResponseStorage.readCleanupIdentity (cognitive 29): response.createResponseStorage.readCleanupIdentity has cognitive complexity 29 (threshold 15). Drivers by points: boolean chains 16, ternaries 8, if/else 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"be06932cc2e165b17ad06921ac13e72ef238db4062c3a9a9c1b2c191a0d5d7ee"}},{"ruleId":"D2","level":"warning","message":{"text":"processAttachments (cognitive 29): processAttachments has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 5, ternaries 4, loops 2, other 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e88b5448b8d419e1267123f9e8bfa39abf96e74e89c80c235ccdc95e92adbbb"}},{"ruleId":"D2","level":"warning","message":{"text":"createToolInstance::_call (cognitive 29): createToolInstance::_call has cognitive complexity 29 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 10, ternaries 3 (4 pts), other 3, 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":"api/server/services/MCP.js"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c7b0dc056b0c702e44bc8ade629c5d8f71187c4661b0dcd6563d6cf5cdae9a"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenWeather._call (cognitive 28): OpenWeather._call has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (22 pts), boolean chains 4, error handling 1, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"469afb352a7503bfb8a6d6cd8f41f249b54ef4e4a4543d0231d778df02f34d20"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.router.post(\u0022/:agent_id\u0022) (cognitive 28): actions.router.post(\u0022/:agent_id\u0022) has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 5, error handling 2, loops 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5cee450b4c141db262cc19c8f32d52348dcbab77022723d039c6a29ad91fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp-sandbox.html.window.addEventListener(\u0022message\u0022) (cognitive 28): mcp-sandbox.html.window.addEventListener(\u0022message\u0022) has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 7, 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":"client/public/mcp-sandbox.html"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"044d1dabd873f5ed1b8bdf48d125c2317bdaacbdf41aa0e2385bbf0c4180f5d4"}},{"ruleId":"D2","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore.startUpload (cognitive 28): useFileHandling.useFileHandlingCore.startUpload has cognitive complexity 28 (threshold 15). Drivers by points: if/else 17 (22 pts), boolean chains 4, loops 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"91baa66d8e051e89c12c7b601ae19f950d6d5f3999799dc78ad503597f4bb49f"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseReviewRoute.OwnedReview (cognitive 28): ResponseReviewRoute.OwnedReview has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 21, if/else 7. Of this number, 24 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ResponseReviewRoute.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5578975d5a39605c35364c156b6a8861100bf4057d817fa630ee314d617d841"}},{"ruleId":"D2","level":"warning","message":{"text":"TwoFactorSetupScreen.TwoFactorSetupScreen (cognitive 28): TwoFactorSetupScreen.TwoFactorSetupScreen has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16, boolean chains 11, ternaries 1. Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 13 function literals inside it that branch (lines 261, 182, 191, \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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd7191b8a4570509482e40357c58bb8c5d108c674b957c1c87fd5382975b7eb"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalCall.extractFileSources (cognitive 28): RetrievalCall.extractFileSources has cognitive complexity 28 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 11, 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":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ccfaf152a1923e9f3c0c82f85a16020073077920ad564b9ca01cbd834a4d7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsInput.ActionsInput (cognitive 28): ActionsInput.ActionsInput has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15, boolean chains 12, ternaries 1. Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 131, getButtonContent, a function literal at line 89, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"54493a5fc384432ad9414eeb4c8336f5d3d3581c3949c007dba1e1bb8570865b"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.processTree (cognitive 28): plugin.processTree has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), loops 2 (4 pts), boolean chains 3, match/switch 1 (2 pts) (nesting depth added 13). None of this is in the body itself: all 28 points belong to one function literal inside it that branches (line 100). 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":"client/src/components/Web/plugin.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd69ccd21d4cfb79d7e7821c8169a553a1b5cee1f659408b06c140583113354c"}},{"ruleId":"D2","level":"warning","message":{"text":"drafts.setFilesDraft (cognitive 28): drafts.setFilesDraft has cognitive complexity 28 (threshold 15). Drivers by points: ternaries 12 (17 pts), boolean chains 7, if/else 3 (4 pts) (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"552b3ef8cd68e23d4f832733962a54e6c24df48b00d5036976f6964a959194a8"}},{"ruleId":"D2","level":"warning","message":{"text":"createChatSearchParams.createChatSearchParams (cognitive 28): createChatSearchParams.createChatSearchParams has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 8, ternaries 1 (3 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 14 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, 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":"client/src/utils/createChatSearchParams.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29add08710cb621116c0c5fd967d1b3e4a0e1f0466fb72293d8511792112ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"groupToolCalls.groupSequentialToolCalls (cognitive 28): groupToolCalls.groupSequentialToolCalls has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 11). Of this number, 19 points are the body\u0027s own statements and 9 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":"client/src/utils/groupToolCalls.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"978e080f7c50c2497d1312d2efb622decdfde25a76d919cc8a89f381d28ccbb3"}},{"ruleId":"D2","level":"warning","message":{"text":"groups.createAdminGroupsHandlers.createGroup (cognitive 28): groups.createAdminGroupsHandlers.createGroup has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, loops 2 (3 pts), ternaries 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f82d3562f4125a6efe6120e698ff814bb3ed31514f7a4eabc4f2c0e2e07336"}},{"ruleId":"D2","level":"warning","message":{"text":"roles.createAdminRolesHandlers.addRoleMember (cognitive 28): roles.createAdminRolesHandlers.addRoleMember has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 5, error handling 2 (4 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ee8f30e6c29314e00919ace377d62155e958f4f1344e4db9adda45b8b342ba"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.partitionAt (cognitive 28): runtime.createActivityPhaseWiring.partitionAt has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (12 pts), ternaries 4 (8 pts), boolean chains 5, loops 3 (nesting depth added 10). Of this number, 21 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e80e0154c827a1e7ac410dcf53c6c7c717c9234d58387a98639cee4d5d58b1"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.takeoverGeneration (cognitive 28): GenerationJobManagerClass.takeoverGeneration has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), ternaries 5 (9 pts), error handling 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2b4c4a61e263a733d3f46d668fa49fa9ea8a7ac3f986b8c662e2e9eed93f84"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.getLegacyProviderLineage (cognitive 28): modelBoundContent.getLegacyProviderLineage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 1 (4 pts), error handling 1 (3 pts) (nesting depth added 16). Of this number, 25 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eeca1bd5366723f98a7619b28b2c1f571faee8077b89009203df9abb8538067"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.createInitialModelBoundAdmissionCallback (cognitive 28): modelBoundContent.createInitialModelBoundAdmissionCallback has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 9, loops 2, ternaries 1 (nesting depth added 2). None of this is in the body itself: all 28 points belong to 8 function items inside it that branch (a function literal at line 3450, a function literal at line 3419, findAgentNodeRun, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b95b61d45cdee5812b088b3493c27dd288e289a97b2026a5b20fadfe847d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy.mergeAgentOcrConversion (cognitive 28): legacy.mergeAgentOcrConversion has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 9 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 6 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":"packages/api/src/agents/legacy.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4abc21c1a3d8559599589ac256abd05f43dbb5250bc267782e0f39c4297d44"}},{"ruleId":"D2","level":"warning","message":{"text":"domain.isOAuthUrlAllowed (cognitive 28): domain.isOAuthUrlAllowed has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (22 pts), boolean chains 3, loops 1 (2 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":"packages/api/src/auth/domain.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e62964febae7f6b9d978ff60134b6298972719a3fce0ebedbd162011a3f1925"}},{"ruleId":"D2","level":"warning","message":{"text":"responses.createChannelResponseProjection.\u003Creturned closure\u003E (cognitive 28): responses.createChannelResponseProjection.\u003Creturned closure\u003E has cognitive complexity 28 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 8 (9 pts), boolean chains 7, loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/responses.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c55541a7b449d03ac2e95cff71b86c91e9e9e85d65de80ca634fc9714acd77c"}},{"ruleId":"D2","level":"warning","message":{"text":"storage.createDeleteFileWithSecondaryStorage.\u003Creturned closure\u003E::deleteStorage (cognitive 28): storage.createDeleteFileWithSecondaryStorage.\u003Creturned closure\u003E::deleteStorage has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 13, if/else 11 (13 pts), loops 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":"packages/api/src/files/storage.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a45f53ab7d0dffb4d4dcb71801f66280cbf77fd7b4f78054b15ed558565672"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPOAuthHandler.completeOAuthFlow (cognitive 28): MCPOAuthHandler.completeOAuthFlow has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (12 pts), ternaries 5 (7 pts), boolean chains 6, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"56733a67c36abfd0c2d39fbe19d9dc41f33363c90ab16f187dbc5742d00ff5de"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPServerCatalogRecoveryTracker.run (cognitive 28): MCPServerCatalogRecoveryTracker.run has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 10, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 613, trackPublication, a function literal at line 652). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ee101d122511d55c3a0f6248d9e2043fc0b8a3e460ba1800285d0c232e82cc"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.recoverMCPServerCatalogsWithState (cognitive 28): recovery.recoverMCPServerCatalogsWithState has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 10, loops 2, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 13 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 943, 875, 892). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d89699d1621920ea5de6dc945bf06b7eecb0c98a53fd28897d6b9ce9019bbc4"}},{"ruleId":"D2","level":"warning","message":{"text":"submission.getPrivateTextInspectionTokens (cognitive 28): submission.getPrivateTextInspectionTokens has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb72b952b2fbed55b39eb31776a45da36381d8c17bdd8aff6560042d411c490"}},{"ruleId":"D2","level":"warning","message":{"text":"erasure.settleStrandedRuns (cognitive 28): erasure.settleStrandedRuns has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (19 pts), boolean chains 4, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedba08ac70ffa157f90a99516e33000a41d9497801cd39894e1fd7c57b7873b"}},{"ruleId":"D2","level":"warning","message":{"text":"github.discoverSkills (cognitive 28): github.discoverSkills has cognitive complexity 28 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 3 (4 pts), ternaries 3 (4 pts), boolean chains 2 (nesting depth added 11). Most of this is not in the body itself: 10 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 697, 699). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"884f1401c9e1fd4d8bdf7419d761997d85287710ebf29d456e791fdca0531535"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventTransport.handleMessage (cognitive 28): RedisEventTransport.handleMessage has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 7, error handling 2 (4 pts), loops 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b17fba19b933401ba34c669abbe24c7793b9007db8c937de9f78a44f337e18"}},{"ruleId":"D2","level":"warning","message":{"text":"outcomes.resolvePredecessorMismatch (cognitive 28): outcomes.resolvePredecessorMismatch has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (23 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c1e9607052b4b93ddfebce9ead04df292416fde0e0ec2caac680ec900530bf"}},{"ruleId":"D2","level":"warning","message":{"text":"send.useQueuedSend (cognitive 28): send.useQueuedSend has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (19 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 5). None of this is in the body itself: all 28 points belong to 4 function literals inside it that branch (lines 82, 186, 130, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/send.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"db69f08ec50c338fa5d0d295cb760d348a3b252591d39d3fae976e66ce5baf1c"}},{"ruleId":"D2","level":"warning","message":{"text":"useMessageScrolling.useMessageScrolling (cognitive 28): useMessageScrolling.useMessageScrolling has cognitive complexity 28 (threshold 15). Drivers by points: if/else 18 (19 pts), boolean chains 9 (nesting depth added 1). None of this is in the body itself: all 28 points belong to 8 function literals inside it that branch (lines 407, 467, 325, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"425c2dc437e5cb1f41078e2b7b3a4e6ab26245897c5bd9ece7dd12752d44e891"}},{"ruleId":"D2","level":"warning","message":{"text":"adapters.standardContent (cognitive 28): adapters.standardContent has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (25 pts), boolean chains 2, loops 1 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ca3811942c0d1da8b052214a8c9abe5cd2cfb0f32b35e7f2b4d297841887c1"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.getConfigOverrideIssues (cognitive 28): resolution.getConfigOverrideIssues has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 4 (6 pts), boolean chains 4, ternaries 2 (3 pts) (nesting depth added 10). Of this number, 22 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55780caf121c21a18422602917ec7aff4dcc98560dfffab45c26bca8cff5f04"}},{"ruleId":"D2","level":"warning","message":{"text":"stripUIResourceMarkers.collectCitationTokens (cognitive 28): stripUIResourceMarkers.collectCitationTokens has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (22 pts), boolean chains 5, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd33a25ae8589210b1361a89e11f3bb7ff6933d4be2a236375bbcd06ad6b623"}},{"ruleId":"D2","level":"warning","message":{"text":"message.findOneAndMergeMessageProvenance (cognitive 28): message.findOneAndMergeMessageProvenance has cognitive complexity 28 (threshold 15). Drivers by points: boolean chains 10, ternaries 4 (8 pts), if/else 3 (7 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b9363f7a47ead51663cf913a649c91b281cc0cfe6941735fa917aac1adb07a"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.bulkSaveMessages (cognitive 28): message.createMessageMethods.bulkSaveMessages has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 3 (5 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 14 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a346448d234a035528b09044a26de6cc87d4e347e534ef2686ed24af2e8b77"}},{"ruleId":"D2","level":"warning","message":{"text":"tx.createTxMethods.getCacheMultiplier (cognitive 28): tx.createTxMethods.getCacheMultiplier has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (16 pts), ternaries 4 (7 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ee65a2aff4407d7a321b320c264549580b3da3b64a92f5845dd73e1b3f6025"}},{"ruleId":"D2","level":"warning","message":{"text":"transaction.createTransactionMethods.reserveBalance (cognitive 28): transaction.createTransactionMethods.reserveBalance has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"b121b073d731dd22e79f0461b1d1ef67863af94efee5d87403120ea9ce99dd9e"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpAuthority.prepareTargets (cognitive 28): mcpAuthority.prepareTargets has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 12 (nesting depth added 1). Most of this is not in the body itself: 3 of the 28 points are its own statements and the rest belongs to one function literal inside it that branches (line 486). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c91cb720807f204f573c6300384c4b6f781b7f074d1e68af9c9f607aae3f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"import.importSnapshot (cognitive 28): import.importSnapshot has cognitive complexity 28 (threshold 15). Drivers by points: if/else 15 (18 pts), boolean chains 9, loops 1 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 13 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":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ee70ca49e1f14989159caee8e8b43f40ea512bf098ef2857ccb7173abf03f93"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 28): (anonymous) has cognitive complexity 28 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 8, loops 1, other 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fdee9cdf17b1cbb1c864da46de162953a9d970f89d40681819c5089e921dc5"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 28): (anonymous) has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, error handling 5 (6 pts), ternaries 2, other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44a24a352924372c57c3ae52275cf60d993a017da7905053cc77a4b1dca53f0"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 28): (anonymous) has cognitive complexity 28 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 5, error handling 2, loops 2, other 2 (nesting depth added 3). Of this number, 26 points are the body\u0027s own statements and 2 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/assistants/actions.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dfbc230c19e577d48fde2d507c62c46173450c493f318fc604a6571253e97b"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiImageGen.convertImagesToInlineData (cognitive 27): GeminiImageGen.convertImagesToInlineData has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ccc5d97640810413845adb84210c16a35b34ce535ca369c4146897e176e406"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.router.post(\u0022/oauth/refresh\u0022) (cognitive 27): auth.router.post(\u0022/oauth/refresh\u0022) has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, error handling 5 (6 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"2138538b370316e64dd1d131a78fb7475b16363ae0c94f1b017d90ee15c66e55"}},{"ruleId":"D2","level":"warning","message":{"text":"index.router.get(\u0022/chat/status/:conversationId\u0022) (cognitive 27): index.router.get(\u0022/chat/status/:conversationId\u0022) has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 8, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8d6ee9fca34aedec5a5ee1eddc008bea10fade749e4966f665ff25cfc56306"}},{"ruleId":"D2","level":"warning","message":{"text":"files.router.delete(\u0022/\u0022) (cognitive 27): files.router.delete(\u0022/\u0022) has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, error handling 1, loops 1 (nesting depth added 5). Of this number, 24 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a37838ee92f2af6db32abccb749d321fe988b0150292c80acf5e7cae3d3d8ef"}},{"ruleId":"D2","level":"warning","message":{"text":"importers.importClaudeConvo (cognitive 27): importers.importClaudeConvo has cognitive complexity 27 (threshold 15). Drivers by points: if/else 3 (9 pts), ternaries 3 (8 pts), boolean chains 6, 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":"api/server/utils/import/importers.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a499cacbd89c9f7a6aea43ff6e4a07e8be40ccaf9d32c2e07cf4270a9b5464c4"}},{"ruleId":"D2","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore (cognitive 27): useFileHandling.useFileHandlingCore has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 3, loops 2 (3 pts), ternaries 3 (nesting depth added 5). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 397, 454, 277, \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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66f861d0eca41fdd0aafae6d95d79990a07fc3592973f28a1c3b9fd220b8a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"Search.Search (cognitive 27): Search.Search has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 12, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 13 of the 27 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 223, 279, 194, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/Search.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc667048454069e8f2b595c75e79ca84fe6fcbcf6ba3603e7752e4d78831539c"}},{"ruleId":"D2","level":"warning","message":{"text":"model.flattenRows (cognitive 27): model.flattenRows has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 6 (8 pts), boolean chains 6, loops 2 (3 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 6 function items inside it that branch (pushRecords, a function literal at line 1005, a function literal at line 1023, \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":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"0033ad71ac325fe71187236f205b000f6398bf4735347b5301345ec709fbc86e"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerInitializationSection.ServerInitializationSection (cognitive 27): ServerInitializationSection.ServerInitializationSection has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 13, if/else 7 (8 pts), ternaries 4 (6 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dd849fad73df8d82d871935d543e2faedc64be51cbf7b8aa4569d02de0693e"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolCard.ToolCardImpl (cognitive 27): ToolCard.ToolCardImpl has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 19, ternaries 7 (8 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":"client/src/components/SidePanel/Agents/Tools/ToolCard.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0220caaece9be5006fd47c480d3f2aa8598c2f47c5c691d8f7559e4842c0c719"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateSkillDialog.CreateSkillDialog (cognitive 27): CreateSkillDialog.CreateSkillDialog has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 12, if/else 11, ternaries 4. Most of this is not in the body itself: 7 of the 27 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 94, a function literal at line 85, a function literal at line 75, \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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ac1a38453869bf10c998dc36245d25f70da68a2df40dbd12d6681bd2d704d7"}},{"ruleId":"D2","level":"warning","message":{"text":"mutations.useDeleteConversationMutation (cognitive 27): mutations.useDeleteConversationMutation has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 4 (8 pts), boolean chains 2, ternaries 1 (nesting depth added 12). None of this is in the body itself: all 27 points belong to 2 function literals inside it that branch (lines 1389, 1453). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8cfe553281e77aced7408f7c6bcb488a70de7e00e06704cf4700081e785bee"}},{"ruleId":"D2","level":"warning","message":{"text":"timestamps.cleanupTimestampedStorage (cognitive 27): timestamps.cleanupTimestampedStorage has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (nesting depth added 12). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/timestamps.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"414f7d2680cd19a274e2508f02ff88ff9c3d9c90c1d18ffd5f93271de45f8e82"}},{"ruleId":"D2","level":"warning","message":{"text":"audit.runAuditedPermissionUpdate (cognitive 27): audit.runAuditedPermissionUpdate has cognitive complexity 27 (threshold 15). Drivers by points: if/else 4 (10 pts), error handling 5 (8 pts), boolean chains 3, loops 3, ternaries 3 (nesting depth added 9). Most of this is not in the body itself: 4 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 275, recordFailures, flushDeferred). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/audit.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5660fbd6fbd985f49259af004cceb2a637445633043a9ec545a40888e38f2586"}},{"ruleId":"D2","level":"warning","message":{"text":"principals.preparePermissionPrincipals::read (cognitive 27): principals.preparePermissionPrincipals::read has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, ternaries 3 (7 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/principals.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea95712b2fa7db02af3272722275f2478a28da28e6ed50ce72a4af150abe483"}},{"ruleId":"D2","level":"warning","message":{"text":"submissions.extractModelParameterContent::visit (cognitive 27): submissions.extractModelParameterContent::visit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, ternaries 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbdb76b52a6be2a451dd121443c5e9aec78adafccfd1e980f2c291baf2b5c53"}},{"ruleId":"D2","level":"warning","message":{"text":"client.createMultiAgentMapper.\u003Creturned closure\u003E (cognitive 27): client.createMultiAgentMapper.\u003Creturned closure\u003E has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 6, loops 3, ternaries 2 (3 pts), error handling 1 (nesting depth added 8). Of this number, 26 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"7132ec92afd2564e9ee12ed6630eb5c36361d0787b02dcb90ab9b5cdb8467ab9"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.readBoundedJson (cognitive 27): workspace.readBoundedJson has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 8, error handling 1, loops 1 (nesting depth added 8). Of this number, 22 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"af987dc0687a6d8b96685019e9e7c40321c274e18af50d5108a63e83ffdfcbdc"}},{"ruleId":"D2","level":"warning","message":{"text":"run.buildSubagentConfigs (cognitive 27): run.buildSubagentConfigs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 5, ternaries 2 (5 pts), loops 3 (nesting depth added 9). Of this number, 25 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7838530e3a6399a0c6ff138d4583d24ccbd89d5047eb944f1a67d01f85f04c1"}},{"ruleId":"D2","level":"warning","message":{"text":"intent.withSkillUploadIntent (cognitive 27): intent.withSkillUploadIntent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 4 (9 pts), ternaries 1 (4 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/intent.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b375594f80e66d0e9a78606802f0d2af361884ff9b80509ea83ba7c1d97d141b"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.writeBundledSkillFile (cognitive 27): handlers.writeBundledSkillFile has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, ternaries 5 (7 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ea9d834465cfd78f9e1527d7e0e88f96118009638df2279ca9ebb52653c37d"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.createResponseWorkerTransport.\u003Creturned closure\u003E (cognitive 27): transport.createResponseWorkerTransport.\u003Creturned closure\u003E has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 9, ternaries 5 (7 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/transport.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f1a2a81647937b750b18b05e6ff3e671081fca06e62c19372efe6bf885f3d4"}},{"ruleId":"D2","level":"warning","message":{"text":"retirement.createResponseRetirement (cognitive 27): retirement.createResponseRetirement has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 9, ternaries 2 (3 pts) (nesting depth added 3). None of this is in the body itself: all 27 points belong to 3 function items inside it that branch (retiredAuthority, finishRetired, retiredAuthority::cleanup). 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":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b539d9182dc0a506454e0318455759cc67498c8aff5471bded92a4a9646256"}},{"ruleId":"D2","level":"warning","message":{"text":"accounting.createResponseAccountingCollector.record (cognitive 27): accounting.createResponseAccountingCollector.record has cognitive complexity 27 (threshold 15). Drivers by points: ternaries 10, if/else 7 (8 pts), boolean chains 7, 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":"packages/api/src/agents/responses/accounting.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"819ff3efca0e8cba0d9143b139dc14c87674793fef4614d62a4674b74616f6b6"}},{"ruleId":"D2","level":"warning","message":{"text":"load.loadEphemeralAgent (cognitive 27): load.loadEphemeralAgent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 4 (7 pts), boolean chains 6, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 6). Of this number, 20 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/load.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"4758edb20ad18da6fd04939c59da1598b5bafd302b78632bc4cb11fe82b1ba9a"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.rollbackSessionPublication (cognitive 27): session.createOpenIDSessionRefreshService.rollbackSessionPublication has cognitive complexity 27 (threshold 15). Drivers by points: error handling 5 (10 pts), if/else 6, boolean chains 5, ternaries 2 (4 pts), loops 1 (2 pts) (nesting depth added 8). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be0c3e099fa274e5b02898dc4fe3b8a9d0bf7008d5c48a3ca1fa57f0750ffc6"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createProvisionService.checkSessionsAlive (cognitive 27): service.createProvisionService.checkSessionsAlive has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 4 (5 pts), ternaries 2 (4 pts), boolean chains 2, error handling 2 (nesting depth added 9). Of this number, 16 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":"packages/api/src/files/provision/service.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"77df0a78fdc745d8597a723d7aac9bea8989dfceeb0d6d0c20698ced0f1d0066"}},{"ruleId":"D2","level":"warning","message":{"text":"priming.selectCodeFiles (cognitive 27): priming.selectCodeFiles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, ternaries 5 (6 pts), loops 2 (nesting depth added 5). Most of this is not in the body itself: 12 of the 27 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 169, 208, 164). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/priming.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"daad0311276f8b453fbe535352f5feeaf3691820b56bb65244033ff1dca1f0e9"}},{"ruleId":"D2","level":"warning","message":{"text":"zod.resolveJsonSchemaRefs (cognitive 27): zod.resolveJsonSchemaRefs has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 7, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fe381f9120dc4bb8b5e7ecbf873c323c8d75ec9c2edd1e019cfa994d50240b"}},{"ruleId":"D2","level":"warning","message":{"text":"messageFilterPii.createMessageFilterPii.messageFilterPii (cognitive 27): messageFilterPii.createMessageFilterPii.messageFilterPii has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, error handling 2 (3 pts), loops 1, ternaries 1 (nesting depth added 5). Of this number, 23 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/messageFilterPii.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"53f554775014bb93c30e18c6687b7efdb7337f5722659e40d7efd0eb4880ea04"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords::probe (cognitive 27): reader.createLangfuseTraceReader.listRecords::probe has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 4, loops 3 (4 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. This shape REPEATS in the file: 3 other methods here (reader.createLangfuseTraceReader.listRecords, reader.createLangfuseTraceReader.listRecords::segmentOf, reader.createLangfuseTraceReader.listRecords::nameToolRounds) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"b460231479a02c90a1ce5d9fad448e4c1afdf34a2e7faeb80888a42f34b4cf11"}},{"ruleId":"D2","level":"warning","message":{"text":"files.partitionComposerFiles (cognitive 27): files.partitionComposerFiles has cognitive complexity 27 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 4 (8 pts), boolean chains 4, 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":"packages/chat/src/core/files.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd843afc557cf9f296e00e656c3b4bbb40bef946874199ada27d43012890f92"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRow.MessageRow (cognitive 27): MessageRow.MessageRow has cognitive complexity 27 (threshold 15). Drivers by points: boolean chains 26, 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":"packages/chat/src/components/messages/MessageRow.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9515003adc3b044ae863341c67397059ed6144a26a5773943da3bcd242fa0ee6"}},{"ruleId":"D2","level":"warning","message":{"text":"file-config.getEndpointFileConfig (cognitive 27): file-config.getEndpointFileConfig has cognitive complexity 27 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 9, loops 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"228b0c706edb3ad3c5787e7da703595e10763ae54bc801e3904a0b0ee678612a"}},{"ruleId":"D2","level":"warning","message":{"text":"channelRun.createChannelRunStorage.admit (cognitive 27): channelRun.createChannelRunStorage.admit has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 6, ternaries 2 (3 pts), error handling 1 (nesting depth added 7). Most of this is not in the body itself: 9 of the 27 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 423, a function literal at line 502, assertAuthority). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"7feffde1ecc5002a9ebba6266ba58c9b2dbd94167426fe81e7906e980d9e29a8"}},{"ruleId":"D2","level":"warning","message":{"text":"streamAudio (cognitive 27): streamAudio has cognitive complexity 27 (threshold 15). Drivers by points: if/else 8 (19 pts), error handling 2 (4 pts), loops 2 (3 pts), other 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"3539bc5fa5f36f8b5f6fb543fbf0e5d202ae72e45df0543f7debbf607c99c0d0"}},{"ruleId":"D2","level":"warning","message":{"text":"createErrorHandler (cognitive 27): createErrorHandler has cognitive complexity 27 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, error handling 3, loops 1 (2 pts), ternaries 1 (2 pts), other 1 (nesting depth added 4). None of this is in the body itself: all 27 points belong to 3 function literals inside it that branch (lines 45, 103, 118). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f5eb874aba5e5f774c2f8d4763a1b5e461738d1d7a2cb141438ebe65582130"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.router.post(\u0022/:assistant_id\u0022) (cognitive 26): actions.router.post(\u0022/:assistant_id\u0022) has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (17 pts), boolean chains 5, error handling 2, loops 2 (nesting depth added 3). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/assistants/actions.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc31672868d1cc5589d91c791928da60bec7bb6a79f47b9d28b3e94bd0b37bdd"}},{"ruleId":"D2","level":"warning","message":{"text":"getCustomConfigSpeech.getCustomConfigSpeech (cognitive 26): getCustomConfigSpeech.getCustomConfigSpeech has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (19 pts), loops 2 (6 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":"api/server/services/Files/Audio/getCustomConfigSpeech.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4239a512142d8749e933207d3892110b2c04f0eac1fdf5c6af21a6635f02125c"}},{"ruleId":"D2","level":"warning","message":{"text":"MCP.getServerConnectionStatus (cognitive 26): MCP.getServerConnectionStatus has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 10, ternaries 4 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"api/server/services/MCP.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c8b3b90c444d2af63a7357ddcc689febc2db01baa022989cb192c8f9cfa53e"}},{"ruleId":"D2","level":"warning","message":{"text":"useUnseenConversations.useUnseenConversations (cognitive 26): useUnseenConversations.useUnseenConversations has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 11, loops 1 (nesting depth added 5). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 331, 313). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da22742569854f9d112b5bb9a51061706d8bf1098aa33bbb4656d15f52e0595"}},{"ruleId":"D2","level":"warning","message":{"text":"useEndpoints.useEndpoints.mappedEndpoints (cognitive 26): useEndpoints.useEndpoints.mappedEndpoints has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 16, if/else 9, ternaries 1. None of this is in the body itself: all 26 points belong to one function literal inside it that branches (line 135). 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":"client/src/hooks/Endpoint/useEndpoints.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"221a8aa90606473f583b4eee4ab440c1eac36b7ee425d3112de882dbd0f5fde6"}},{"ruleId":"D2","level":"warning","message":{"text":"AskUserQuestionCall.AskUserQuestionCall (cognitive 26): AskUserQuestionCall.AskUserQuestionCall has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 9, if/else 4, error handling 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 11 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"79813536810232920e071140db7992a89ae3d4c8356f66f177f8bb8d9fa1d6ba"}},{"ruleId":"D2","level":"warning","message":{"text":"TwoFactorAuthentication.TwoFactorAuthentication (cognitive 26): TwoFactorAuthentication.TwoFactorAuthentication has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 11, ternaries 3. Most of this is not in the body itself: 10 of the 26 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 183, 82, 226, \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":"client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fee08ad7a4ba6e1e6334203ad08a6862502a38398a1e26a8cef705d92cc326"}},{"ruleId":"D2","level":"warning","message":{"text":"CreatePromptForm.CreatePromptForm (cognitive 26): CreatePromptForm.CreatePromptForm has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 12, if/else 7, ternaries 7. Of this number, 13 points are the body\u0027s own statements and 13 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/CreatePromptForm.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"de20cc5a6a5825036cdad6e9a404182bec38f4911bfa952eea8893e2e45ea2e1"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillFileViewer.SkillFileViewer (cognitive 26): SkillFileViewer.SkillFileViewer has cognitive complexity 26 (threshold 15). Drivers by points: boolean chains 20, if/else 3, ternaries 2, error handling 1. Of this number, 19 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillFileViewer.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4020d1f54df13242c1064135e5d27bac1597f4a95082eb7f28c69a353ec42cb3"}},{"ruleId":"D2","level":"warning","message":{"text":"useChatOptions.useChatOptions (cognitive 26): useChatOptions.useChatOptions has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 12, boolean chains 11, if/else 3. Of this number, 13 points are the body\u0027s own statements and 13 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":"client/src/hooks/Sharing/useChatOptions.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1916ae57ca940e4f89ff7aeb284a51eb7f5064511f47f542cc881bf701a757c0"}},{"ruleId":"D2","level":"warning","message":{"text":"useRum.useRum (cognitive 26): useRum.useRum has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4, ternaries 2 (nesting depth added 6). Most of this is not in the body itself: 2 of the 26 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 195, 268, 175, \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":"client/src/lib/rum/useRum.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a9dcbfaf385f281daf2104f7aa5e033761a865afbaf9dc196faaa5e7fe9b45"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.handleMemoryArtifact (cognitive 26): memory.handleMemoryArtifact has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (14 pts), ternaries 4 (8 pts), boolean chains 4 (nesting depth added 10). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/memory.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd3239641ba9c7b26d25a314e9f9e719dd0d24875b1a85215612d576786daf5"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate-agent-permissions.migrateAgentPermissionsEnhanced (cognitive 26): migrate-agent-permissions.migrateAgentPermissionsEnhanced has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts), ternaries 1 (nesting depth added 9). Most of this is not in the body itself: 11 of the 26 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 65, 146). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-agent-permissions.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da861863eec71c47897ef4b3a5d2bf55d114e63a84e99e3a72e003ba42bb7c4"}},{"ruleId":"D2","level":"warning","message":{"text":"contentFilter.createContentFilter.contentFilter (cognitive 26): contentFilter.createContentFilter.contentFilter has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2 (4 pts), error handling 2 (3 pts), boolean chains 2, 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":"packages/api/src/middleware/contentFilter.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"2884f85c0d8f94a88f7a88f6adfa111ef444ab19fce3dd66b14cc77f9df9c23b"}},{"ruleId":"D2","level":"warning","message":{"text":"config.prepareChange (cognitive 26): config.prepareChange has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd4220a06b8ac997c91725dee00c91d8afca56aea898add2cc1a6899144b7b6"}},{"ruleId":"D2","level":"warning","message":{"text":"wiring.captureActivityBlockContext (cognitive 26): wiring.captureActivityBlockContext has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (21 pts), boolean chains 4, 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":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"1401b7c68a0d4c660caeaab0db516449498a10e58be827e4de274929b1e53f36"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.snapshotModelBoundPartObject (cognitive 26): modelBoundContent.snapshotModelBoundPartObject has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (19 pts), error handling 2 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a80852a885be3261bb0d4ac2b50456c37a738643a006ea4c80b00e3a00a9f28"}},{"ruleId":"D2","level":"warning","message":{"text":"ptc.instrumentPtcToolMap (cognitive 26): ptc.instrumentPtcToolMap has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 7 (18 pts), if/else 2 (4 pts), error handling 2 (3 pts), loops 1 (nesting depth added 14). Most of this is not in the body itself: 5 of the 26 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 156, safeEmit). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/ptc.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c044fb61da944410842cc44af68bed4142a4f819dbc46c66941eb916b568f639"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.replayDurableControl (cognitive 26): SubagentThreadTaskStore.replayDurableControl has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (14 pts), if/else 7, boolean chains 5 (nesting depth added 6). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ded53fa81fb8caa48ac05998bd0b766a6586077cba17c6aeda8f79d341e0c0"}},{"ruleId":"D2","level":"warning","message":{"text":"backgroundCompletionWakeup.createBackgroundToolDeadClaimRecovery.\u003Creturned closure\u003E (cognitive 26): backgroundCompletionWakeup.createBackgroundToolDeadClaimRecovery.\u003Creturned closure\u003E has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (17 pts), boolean chains 9 (nesting depth added 2). Of this number, 23 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"517eda2f06ecf988d3473299163057883311c7eaef5926c1521ec5df0897d4f6"}},{"ruleId":"D2","level":"warning","message":{"text":"control.createSubagentControlHandler.\u003Creturned closure\u003E (cognitive 26): control.createSubagentControlHandler.\u003Creturned closure\u003E has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 7 (8 pts), boolean chains 7, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b266f378c5dbcc9cd104e7eabc256f085e05a0275ea324eb28d8d9ad0f7ee9eb"}},{"ruleId":"D2","level":"warning","message":{"text":"tracker.createModelErrorTracker::getUpstreamModelError (cognitive 26): tracker.createModelErrorTracker::getUpstreamModelError has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 6, loops 2 (4 pts), ternaries 1 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/failures/tracker.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f3687a8d9d1f28c25812945dd5071c0635ee33a1ff0ce0a068a06d7ab2220b"}},{"ruleId":"D2","level":"warning","message":{"text":"retirement.createResponseRetirement.\u003Creturned closure\u003E::stageCancellation (cognitive 26): retirement.createResponseRetirement.\u003Creturned closure\u003E::stageCancellation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 3 (4 pts), error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (retirement.createResponseRetirement.\u003Creturned closure\u003E) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8247caf512200d5e3ff7b25132342609a26e6a35997111f3c1cebe94c2470689"}},{"ruleId":"D2","level":"warning","message":{"text":"message.getThreadData (cognitive 26): message.getThreadData has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 4 (8 pts), boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/message.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"73e960b0843dd4a1eaf7d8289e286d02a2d69a801a9ae7a4d1b609d1d42e2f09"}},{"ruleId":"D2","level":"warning","message":{"text":"view.publicThreadTurns (cognitive 26): view.publicThreadTurns has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 9 (10 pts), boolean chains 4, loops 1 (nesting depth added 5). Most of this is not in the body itself: 9 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 350). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"8883690d00a35cab3a224a9cabb615b546529c460117bd3bc74a00c0f64548fe"}},{"ruleId":"D2","level":"warning","message":{"text":"rebinding.findRecordDrops (cognitive 26): rebinding.findRecordDrops has cognitive complexity 26 (threshold 15). Drivers by points: if/else 5 (12 pts), ternaries 3 (9 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6d53bcdaa9efd949dc3431886353afae21d6703a28548a3d188f30e2c5270e"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.performIdpRefreshGrant (cognitive 26): session.createOpenIDSessionRefreshService.performIdpRefreshGrant has cognitive complexity 26 (threshold 15). Drivers by points: if/else 15 (16 pts), boolean chains 8, error handling 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"de115f71deb7182c07a13e35303db2662508e520e8a7cebd7e3a08b32a98f309"}},{"ruleId":"D2","level":"warning","message":{"text":"title.publishConversationTitle (cognitive 26): title.publishConversationTitle has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 11 (nesting depth added 4). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/title.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"657fb843162388a4bc4d1c5d7c14900105668a69aae777756579fd726bbadcb3"}},{"ruleId":"D2","level":"warning","message":{"text":"endpoints.createEndpointsConfigService.getEndpointsConfig (cognitive 26): endpoints.createEndpointsConfigService.getEndpointsConfig has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, ternaries 2 (5 pts), loops 1 (nesting depth added 5). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/endpoints.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ea754935413b3fe92f43bb69930cf9259943ad103f91ec36be3f408b724755"}},{"ruleId":"D2","level":"warning","message":{"text":"pdf.helper.main (cognitive 26): pdf.helper.main has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 5 (13 pts), loops 3 (6 pts), error handling 2 (4 pts), if/else 3 (nesting depth added 13). Of this number, 22 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/pdf.helper.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"680aa6cc811ef982855c213887c3f967fa3bfce11dd6c62870d13722d687590b"}},{"ruleId":"D2","level":"warning","message":{"text":"video.encodeAndFormatVideos (cognitive 26): video.encodeAndFormatVideos has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 5, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/video.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8540c747fe8bd127fb473101c4b76e56b9943567ab485d6e459bc868312299c"}},{"ruleId":"D2","level":"warning","message":{"text":"remoteAgentAuth.createRemoteAgentAuth.handler (cognitive 26): remoteAgentAuth.createRemoteAgentAuth.handler has cognitive complexity 26 (threshold 15). Drivers by points: if/else 18 (22 pts), boolean chains 2, error handling 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e51c668a8dcc128b2cd826766900ddb1052e147da49a5465fc1d15c3fdc9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.decodeEncodedText (cognitive 26): protection.decodeEncodedText has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 6, 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"a994c1116edf1bac7009fe0a63b78abffcf8333632aa201292be9bf5fdca5858"}},{"ruleId":"D2","level":"warning","message":{"text":"previews.mayFitJson (cognitive 26): previews.mayFitJson has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 3 (7 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"43053ea1dd43ae285d83844a98a8215a29fe0ef005a84fd1e386983329f9660b"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createScheduleMCPConsentService.view (cognitive 26): service.createScheduleMCPConsentService.view has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, ternaries 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":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41f10d31a332c7474e5debed78d1f3660e8955aa91aaf61a64415627acba6fe"}},{"ruleId":"D2","level":"warning","message":{"text":"service.autoMigrateLegacyLink (cognitive 26): service.autoMigrateLegacyLink has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 2 (8 pts), error handling 2 (6 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":"packages/api/src/shared-links/service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68659cb5be168317003b1d602cd5827da7fbeb805dd281e7aeb5fa433572d48"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.updateJob (cognitive 26): RedisJobStore.updateJob has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 9, ternaries 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5bdd1e1cc012867f8b567134d4e606fe2d0e5363f862ce4225edb5139c73d1"}},{"ruleId":"D2","level":"warning","message":{"text":"steer.collectQuotelessAppliedSteerIds (cognitive 26): steer.collectQuotelessAppliedSteerIds has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/steer.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ccf900ebbcebc574a7ef3a988f685f0f77b91466160359608a0d1c4d7575466"}},{"ruleId":"D2","level":"warning","message":{"text":"thread.indexMessages (cognitive 26): thread.indexMessages has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 6 (8 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 10). Of this number, 16 points are the body\u0027s own statements and 10 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1cfe49ae7104f3a0e05a433a398143af042e80ca894e712ec884702fe9b2f5"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceMetadata (cognitive 26): workspace.resolveCodeWorkspaceMetadata has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 5, loops 3 (4 pts), 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"312d85d3302f38fff5371ba19a0b13194dd22b2252fbba5f4f50726a40b4fade"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-llm-delivery-path.resolveDefaultLLMDeliveryPath (cognitive 26): resolve-llm-delivery-path.resolveDefaultLLMDeliveryPath has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, ternaries 3 (4 pts) (nesting depth added 5). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d24f3f6fcabc8076c2051437b44ed32cc2b0977acd6dd0c30dce1df45b4947"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.resolveLayerAzureGroups (cognitive 26): resolution.resolveLayerAzureGroups has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 5 (7 pts), loops 4, boolean chains 3 (nesting depth added 7). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c932212ebee1aeae2fe56c2a5c199a1cad601b529d0342e6c1ea9dd8acfa122d"}},{"ruleId":"D2","level":"warning","message":{"text":"catalog.ownedCheckpointReferences (cognitive 26): catalog.ownedCheckpointReferences has cognitive complexity 26 (threshold 15). Drivers by points: loops 5 (11 pts), ternaries 3 (8 pts), if/else 2 (5 pts), boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/checkpoints/catalog.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9cef22cb83ba3aabd7797b02740e135f7eaa8728627c49717b6fe21a0885bb3"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.archiveAllConvos (cognitive 26): conversation.createConversationMethods.archiveAllConvos has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (10 pts), loops 4 (8 pts), error handling 3 (5 pts), ternaries 1 (2 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":4354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c23514d00ac41dcc81f0654f565d41538cbc1f8e80c3363dd25c8e7a1fdf91"}},{"ruleId":"D2","level":"warning","message":{"text":"share.createShareMethods.getSharedMessages (cognitive 26): share.createShareMethods.getSharedMessages has cognitive complexity 26 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 7 (8 pts), boolean chains 6, error handling 2 (nesting depth added 3). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"461e6f23b23b770473396185b238759bad263eed9f0a163777cdf8bc92c981b4"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.claimNextAgentQueuedTurn (cognitive 26): queuedTurn.createAgentQueuedTurnMethods.claimNextAgentQueuedTurn has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 5, ternaries 3 (5 pts) (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"43058f86a054b232063e583147fae014b8875319fed923d335973c26302542be"}},{"ruleId":"D2","level":"warning","message":{"text":"main.protobufTraceTenantID (cognitive 26): main.protobufTraceTenantID has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (16 pts), loops 4 (10 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. This shape REPEATS in the file: one other method here (main.jsonTraceTenantID) 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":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7509cd2afa8db64ddbd812036bfadaf8670f7d6592c33344762ce9262f9e83"}},{"ruleId":"D2","level":"warning","message":{"text":"main.jsonTraceTenantID (cognitive 26): main.jsonTraceTenantID has cognitive complexity 26 (threshold 15). Drivers by points: if/else 3 (16 pts), loops 4 (10 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. This shape REPEATS in the file: one other method here (main.protobufTraceTenantID) 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":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"50393f89dfbf5c757d47bcafd8e9e36db5dafcb3d7bdc2b1bc701d3f05314d3c"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 26): (anonymous) has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11, boolean chains 6, other 4, error handling 2 (3 pts), ternaries 2 (nesting depth added 1). Of this number, 25 points are the body\u0027s own statements and 1 belongs 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":"api/server/routes/convos.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4463201f483848b4e3214961298614570278e3173647d3f26aaa07cafc38dc49"}},{"ruleId":"D2","level":"warning","message":{"text":"createGeminiImageTool (cognitive 26): createGeminiImageTool has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 7, error handling 3, other 2, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 26 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 325, (anonymous)::abortHandler, 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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f108f52e20ecd9be733a3861b7102c96a82abed9fdbd3e687e1cb3f6fa8a56"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.createErrorHandler.\u003Creturned closure\u003E (cognitive 25): errors.createErrorHandler.\u003Creturned closure\u003E has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4, error handling 3, loops 1 (2 pts), 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":"api/server/controllers/assistants/errors.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec803226dc940cf70f9c053490fe282ebd5496831f189ba9b66f26489322b64b"}},{"ruleId":"D2","level":"warning","message":{"text":"share.streamSharedFile (cognitive 25): share.streamSharedFile has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, ternaries 4 (6 pts), error handling 1 (2 pts) (nesting depth added 5). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ef536d948703b45cace08e601d64d4e5288da6ad3481143cc5ebc0caf59da4"}},{"ruleId":"D2","level":"warning","message":{"text":"streamAudio.splitTextIntoChunks (cognitive 25): streamAudio.splitTextIntoChunks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/streamAudio.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"566171d1ff6c7cd64d499f35f142c8768e6a7b88011f72e835f273deaeecf5b3"}},{"ruleId":"D2","level":"warning","message":{"text":"useSharePointPicker.useSharePointPicker.portMessageHandler (cognitive 25): useSharePointPicker.useSharePointPicker.portMessageHandler has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 9, match/switch 2 (3 pts), error handling 1 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointPicker.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a18e4ed17638e0bc81940e5c366dfe790edcc291677fb8701bbbc8ae10e2d6a"}},{"ruleId":"D2","level":"warning","message":{"text":"running.groupConversationsByStatus (cognitive 25): running.groupConversationsByStatus has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/running.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"993cd460f7e4b27ef91f073b7e0d1415f66d18643b5918046ca1387f213a61ca"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectWorkspace.ProjectWorkspace (cognitive 25): ProjectWorkspace.ProjectWorkspace has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 14 (16 pts), if/else 5, boolean chains 4 (nesting depth added 2). Of this number, 20 points are the body\u0027s own statements and 5 belong to 5 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectWorkspace.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9cf045a7fe6482a47e0b003a780404390f6e86c6a5f0fa4fd06ed8acdd766a"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolsMarketplaceDialog.ToolsMarketplaceDialog (cognitive 25): ToolsMarketplaceDialog.ToolsMarketplaceDialog has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 9, ternaries 1 (2 pts), match/switch 1 (nesting depth added 4). Most of this is not in the body itself: 2 of the 25 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 120, 199, 71, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b16d2ce144256dd70557b7cbb5b39bf1f866ebeec062f6beca5bd1dbcf5b5f"}},{"ruleId":"D2","level":"warning","message":{"text":"VersionItem.VersionItem (cognitive 25): VersionItem.VersionItem has cognitive complexity 25 (threshold 15). Drivers by points: ternaries 12 (14 pts), boolean chains 9, if/else 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/VersionItem.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"374917f9f72adb772ad1cb4609462964f798f43eac727cd9fdd048ecf414f160"}},{"ruleId":"D2","level":"warning","message":{"text":"useMCPServerForm.useMCPServerForm.defaultValues (cognitive 25): useMCPServerForm.useMCPServerForm.defaultValues has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 14, ternaries 3 (6 pts), if/else 4 (5 pts) (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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3b64a091c2c69bb9637f10bb9329f09bfa5ffa03f3bd03847489a674672387"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillForm.SkillForm (cognitive 25): SkillForm.SkillForm has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 12, ternaries 8, if/else 5. Most of this is not in the body itself: 10 of the 25 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 192, onSubmit, a function literal at line 286, \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":"client/src/components/Skills/forms/SkillForm.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b89d6b530656b6c6332d3444d01a8c67a72297fdc2a65d1050217ed43a9c6"}},{"ruleId":"D2","level":"warning","message":{"text":"private.useOwnerMessageTexts (cognitive 25): private.useOwnerMessageTexts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 6, loops 4 (6 pts), error handling 1 (2 pts) (nesting depth added 8). Most of this is not in the body itself: 1 of the 25 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 105, 75, 143, \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":"client/src/data-provider/Messages/private.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c05dc86cc5dab01195349576d8c1ac0acf60f3f1b562c36ee4fd03e4b3fc683"}},{"ruleId":"D2","level":"warning","message":{"text":"useAttachItems.useAttachItems.entries::build (cognitive 25): useAttachItems.useAttachItems.entries::build has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 6, 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":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"657f57e8488bc6ad52cfaea1da7b46ddb4b872ced96ab86e4dfe98eb1bca6632"}},{"ruleId":"D2","level":"warning","message":{"text":"endpoints.applyModelSpecEphemeralAgent (cognitive 25): endpoints.applyModelSpecEphemeralAgent has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 2 (6 pts), boolean chains 2, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f1180feba2efbbd6df4517a653d914283d446252f295f5d664d74ef4da0a2f"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoningLabels.applyReasoningLabel (cognitive 25): reasoningLabels.applyReasoningLabel has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 11, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/reasoningLabels.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21a177681686b929c4584f04bdefc91c1fca6b0c6d130df8e70f95a6c6b616e"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.encryptConfigSecretFields (cognitive 25): secrets.encryptConfigSecretFields has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 3, 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"947f22822cc93dd9403fd49e70ea932dc195d3ea1edd78a42489c6ef20e40830"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.preserveConfigSecrets (cognitive 25): secrets.preserveConfigSecrets has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, ternaries 1 (3 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6ed17f4b42a0cc8e219c07d57e1d448d0e96565861106786cf1bac0ea0a96c"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.deleteConfigField (cognitive 25): config.createAdminConfigHandlers.deleteConfigField has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5, 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":"packages/api/src/admin/config.ts"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0b717c4989b73ada15f481db3179421c6a17df7dfe04c9442dcc75b34d57b4"}},{"ruleId":"D2","level":"warning","message":{"text":"auth.getPluginAuthMap (cognitive 25): auth.getPluginAuthMap has cognitive complexity 25 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 2 (6 pts), error handling 2 (4 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 12). Of this number, 14 points are the body\u0027s own statements and 11 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/auth.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8679fae4332b491c3062a8d6205310937885dbff026379f87bb2821b21868b"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundTaskRegistryClass.create (cognitive 25): BackgroundTaskRegistryClass.create has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3, 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":"packages/api/src/agents/background.ts"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6951c429493654d5c0ad960312c8d85317357c6f22d93170fa63820551638e"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createOpenAIToolCallStream.onRunStep (cognitive 25): handlers.createOpenAIToolCallStream.onRunStep has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3, error handling 1 (3 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae344f4e9d421d1fad8a6cf989bab224e273427ec197905b123110410eb57114"}},{"ruleId":"D2","level":"warning","message":{"text":"modes.createAgentToolApprovalSession.validateTransport (cognitive 25): modes.createAgentToolApprovalSession.validateTransport has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 8 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"4921ab7d8d269748bd0c5b40abb8787279b65946ffcb25c3efd33e27eda7f310"}},{"ruleId":"D2","level":"warning","message":{"text":"run.extractInvokedSkillsFromPayload (cognitive 25): run.extractInvokedSkillsFromPayload has cognitive complexity 25 (threshold 15). Drivers by points: if/else 5 (13 pts), error handling 1 (4 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 14). Of this number, 21 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":"packages/api/src/agents/run.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a390d56aacbf7338a27bcd13d9518b38ccc0457c9176bb5f72949425d94510de"}},{"ruleId":"D2","level":"warning","message":{"text":"validationFeedback.declaredTypes (cognitive 25): validationFeedback.declaredTypes has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validationFeedback.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"78af3aae2c0ad93e2278ba16de3b2680e28f9f860275e80ee68c90a1ecb0dab6"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.flushControlReceipts (cognitive 25): SubagentThreadTaskStore.flushControlReceipts has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (22 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 11). None of this is in the body itself: all 25 points belong to 4 function literals inside it that branch (lines 1131, 1138, 1172, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e60a3610e03945dcf11c11411095c27e3dad2c4165bfaa490edd3681bc5b603"}},{"ruleId":"D2","level":"warning","message":{"text":"openid.findOpenIDUser (cognitive 25): openid.findOpenIDUser has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 8). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b014f9cdb64050b76230b87c954856336490afb7fbf08747196a73b8268d0a9b"}},{"ruleId":"D2","level":"warning","message":{"text":"flight.createOpenIDRefreshFlightService.withOpenIDRefreshFlightLease (cognitive 25): flight.createOpenIDRefreshFlightService.withOpenIDRefreshFlightLease has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (16 pts), error handling 3 (6 pts), boolean chains 3 (nesting depth added 8). Of this number, 17 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":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3559370590ec962f1283ef0fd2e372d0d0ea688e34f0a95690841b9bee8794"}},{"ruleId":"D2","level":"warning","message":{"text":"delivery.createOpenIDResponseDelivery.withOpenIDResponseDelivery (cognitive 25): delivery.createOpenIDResponseDelivery.withOpenIDResponseDelivery has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, ternaries 1 (4 pts), error handling 1 (2 pts), loops 1 (nesting depth added 8). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 2 function items inside it that branch (releaseDelivery, sendAuthorized). 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":"packages/api/src/auth/openid/delivery.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c2804fc11c63d70808c3fd7a355861a172ff0ac77e07450d7792e05ffa8e2d"}},{"ruleId":"D2","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.register (cognitive 25): http.createCodeEnvironmentHttpHandlers.register has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 5 (7 pts), error handling 5, 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":"packages/api/src/code/http.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f17ee5be24cd46aaf166a32930cce7737f185616937b32b0e5d0cfb5be5602"}},{"ruleId":"D2","level":"warning","message":{"text":"helpers.configureReasoning (cognitive 25): helpers.configureReasoning has cognitive complexity 25 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 4 (7 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":"packages/api/src/endpoints/anthropic/helpers.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"9515e6869c8d988fd7bbe0d312dd26320f098848d6e989f7e02c574d2074261d"}},{"ruleId":"D2","level":"warning","message":{"text":"rag.createVectorFileDeleter.\u003Creturned closure\u003E (cognitive 25): rag.createVectorFileDeleter.\u003Creturned closure\u003E has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, ternaries 2 (3 pts), error handling 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 7 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/rag.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"084749ef189ff6d8978514798d7004f8c1cc037895cc72e5dbaf79829d528e73"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createPullRequestOAuth.refresh (cognitive 25): oauth.createPullRequestOAuth.refresh has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 4 (8 pts), boolean chains 4, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"070d35487b35254b9432a27af59db1d5fdabd57869e16759d0b95ddc1b1d779c"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.createMCPToolCacheService.updateMCPServerTools (cognitive 25): tools.createMCPToolCacheService.updateMCPServerTools has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (17 pts), boolean chains 4, ternaries 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":"packages/api/src/mcp/tools.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"262ddadf2fee24c6df5b917a12a73b252fa94c1ca230471602b74e9edcd141ad"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.createPrivateTextInitialAdmissionCallback (cognitive 25): admission.createPrivateTextInitialAdmissionCallback has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 7, loops 2 (nesting depth added 3). Most of this is not in the body itself: 3 of the 25 points are its own statements and the rest belongs to 6 function items inside it that branch (admitModel, a function literal at line 128, findRoot, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/admission.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c486e187f1c6c5276af91e6e88281367d07f82949a80fcea02515d42e290ad"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.isScheduleLive (cognitive 25): service.createSchedulesService.isScheduleLive has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 4, ternaries 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bd0e42288b55146b08154927907bbf7a69cc4140bdda677a19f1186ae49589"}},{"ruleId":"D2","level":"warning","message":{"text":"config.getRumConfig (cognitive 25): config.getRumConfig has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 6, ternaries 5 (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":"packages/api/src/rum/config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e929516343614856d5de9b5f200ae599dfac57ae3e782c9e0fbe07a29b8923f"}},{"ruleId":"D2","level":"warning","message":{"text":"socket.connectSocket (cognitive 25): socket.connectSocket has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (5 pts), boolean chains 3, loops 2 (nesting depth added 8). 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 items inside it that branch (a function literal at line 219, a function literal at line 175, a function literal at line 164, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"af806bd5e7489265c073260c8f30f10eeca5e80afe0963237e75ef37f629a4df"}},{"ruleId":"D2","level":"warning","message":{"text":"QuoteButton.visibleAnchor (cognitive 25): QuoteButton.visibleAnchor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 7, ternaries 5 (6 pts), loops 1 (nesting depth added 4). 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: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ce97eaf7e9b466cfb7e0222088e533a3a8cee8ca60b35c672514fdc135c34d"}},{"ruleId":"D2","level":"warning","message":{"text":"state.reduceSubagentReplay (cognitive 25): state.reduceSubagentReplay has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 7, ternaries 2 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 4 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb22011e4fd97df147537596017fbd5562729b7b03d35424b6b8926c3e7da8f"}},{"ruleId":"D2","level":"warning","message":{"text":"theme.collectModeIssues (cognitive 25): theme.collectModeIssues has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 7, ternaries 1 (2 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 12 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":"packages/data-provider/src/theme.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea849a59aaa2208709c64e70f496f16ef030a45e4edfa3483db2dda0cff7f15c"}},{"ruleId":"D2","level":"warning","message":{"text":"fileContent.fileContentUpdate (cognitive 25): fileContent.fileContentUpdate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 4, loops 1 (2 pts), ternaries 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":"packages/data-schemas/src/methods/fileContent.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9365c7c7c27ecf529f2b23ff0a1e9ad9f87a44f9410c0b76212c5e2633294fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.getEffectiveAgentQueuedTurnPredecessor (cognitive 25): queuedTurn.createAgentQueuedTurnMethods.getEffectiveAgentQueuedTurnPredecessor has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b55fcaf4b9c11a12cb4c8b6d904f22790cdd5b875a5b3db03caae19646d2568"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpAuthority.createMCPAuthorityMethods.compareProofs (cognitive 25): mcpAuthority.createMCPAuthorityMethods.compareProofs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 14 (22 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":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eca0cd651eac232976967d693b91feebb0e9ab5f5151df8bd6a3a05d661eb2f"}},{"ruleId":"D2","level":"warning","message":{"text":"searchTokens.backfillSearchTokens (cognitive 25): searchTokens.backfillSearchTokens has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 4 (10 pts) (nesting depth added 15). Of this number, 23 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/searchTokens.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d897f4115943556571cc1a2d6cc05c94de7cb2833e528e27d5ed6e4196efbf11"}},{"ruleId":"D2","level":"warning","message":{"text":"updateResourcePermissions (cognitive 25): updateResourcePermissions has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 6, error handling 3 (5 pts), other 1 (nesting depth added 2). Of this number, 24 points are the body\u0027s own statements and 1 belongs to 5 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PermissionsController.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2287cf33f19f3774add8086fbdb9252dc921ef29f68992632d978f01322a1337"}},{"ruleId":"D2","level":"warning","message":{"text":"memories.router.patch(\u0022/:key\u0022) (cognitive 24): memories.router.patch(\u0022/:key\u0022) has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5, error handling 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":"api/server/routes/memories.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"debada13c05d0c604d4b093a93cb98f3534e2ef81357d166bb1c8425d9a31849"}},{"ruleId":"D2","level":"warning","message":{"text":"checkBan.checkBan (cognitive 24): checkBan.checkBan has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, ternaries 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/checkBan.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ba51159710ef5f91faaf52b7a34abd5cf12e35d48dedefe6825467bf962937"}},{"ruleId":"D2","level":"warning","message":{"text":"files.handleFileUpload (cognitive 24): files.handleFileUpload has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), error handling 3 (5 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 6). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"487d02ec5e1d6f05f096df84713e65d7dee13ef7ac7664ac0733e42a6a99f734"}},{"ruleId":"D2","level":"warning","message":{"text":"useUnseenConversations.readReplyState (cognitive 24): useUnseenConversations.readReplyState has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 6 (10 pts), boolean chains 2 (nesting depth added 9). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc708464e9f90435c5acccc99fd003f569188c0562d49afda81f0bb438a5954b"}},{"ruleId":"D2","level":"warning","message":{"text":"VerifyEmail.RequestPasswordReset (cognitive 24): VerifyEmail.RequestPasswordReset has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, if/else 7, ternaries 3. Of this number, 15 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/VerifyEmail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"004a886a0dd094ee92c82a88292a0bc10f21ea4d7778e26f0f21e6ccce0a562a"}},{"ruleId":"D2","level":"warning","message":{"text":"Inspector.Inspector (cognitive 24): Inspector.Inspector has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 17, if/else 3 (4 pts), ternaries 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"8acc7e191183ee8693fd9dba54191befb9a946dc29caa6bd0520b8da813c3fc2"}},{"ruleId":"D2","level":"warning","message":{"text":"StackedToolIcons.StackedToolIcons (cognitive 24): StackedToolIcons.StackedToolIcons has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 3 (5 pts), boolean chains 4, loops 2 (4 pts) (nesting depth added 9). Most of this is not in the body itself: 5 of the 24 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 39, 83). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9ac34b4bc339b449039aabe3904b7284b9d1f3bfa20fbb41da4609e4338f18"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareArtifacts.ShareArtifactsContainer (cognitive 24): ShareArtifacts.ShareArtifactsContainer has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 12, ternaries 9, if/else 3. Of this number, 17 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":"client/src/components/Share/ShareArtifacts.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50061d6f63ea844de79061ff97f75a0b9848ed624964ab3f4307776020915a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsDialog.SkillsDialog (cognitive 24): SkillsDialog.SkillsDialog has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 3 (4 pts), ternaries 4 (nesting depth added 5). Most of this is not in the body itself: 8 of the 24 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 100, 117, 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":"client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f80af6f7ee2c9028c630c75a593624243cdbdc7ce22399b045063475c3c3e87"}},{"ruleId":"D2","level":"warning","message":{"text":"mutations.useUploadFileMutation (cognitive 24): mutations.useUploadFileMutation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14 (18 pts), boolean chains 4, ternaries 2 (nesting depth added 4). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 5 function literals inside it that branch (lines 51, 34, 128, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7b173e51f748249e7cdc17c71c631d53776033b04120b6f0dc5c22d2de84a6"}},{"ruleId":"D2","level":"warning","message":{"text":"useSideNavLinks.useSideNavLinks.Links (cognitive 24): useSideNavLinks.useSideNavLinks.Links has cognitive complexity 24 (threshold 15). Drivers by points: boolean chains 14, if/else 10. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useSideNavLinks.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ad978ae3cbef54914f8b2b1a1ec0d200c1c0fd5c62fd47c3901ceb9a2977df"}},{"ruleId":"D2","level":"warning","message":{"text":"useKeyboardShortcuts.useKeyboardShortcuts (cognitive 24): useKeyboardShortcuts.useKeyboardShortcuts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 9, loops 1 (nesting depth added 2). None of this is in the body itself: all 24 points belong to 2 function literals inside it that branch (lines 1092, 1080). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc387041d455ee946c2004b9ae1310c5688c87a618f74d0ebb2bda945814d9d"}},{"ruleId":"D2","level":"warning","message":{"text":"useWakeLock.useWakeLock (cognitive 24): useWakeLock.useWakeLock has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (18 pts), boolean chains 4, error handling 2 (nesting depth added 2). None of this is in the body itself: all 24 points belong to 5 function literals inside it that branch (lines 58, 109, 150, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useWakeLock.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"431abea77bace0c030964c0691b26ad98e2701f890cc9dd3eb783cfa6a36241c"}},{"ruleId":"D2","level":"warning","message":{"text":"privacy.sanitizeReplayEvent (cognitive 24): privacy.sanitizeReplayEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 4 (8 pts), boolean chains 3, 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":"client/src/lib/rum/privacy.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"285d542bd50e81d961f67f061565b4ccb4788601d26ff3e91291cea237796db9"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.conversationInsertVerdict (cognitive 24): convos.conversationInsertVerdict has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (19 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e44be71fb98f4fd0f2f7ccffb3a78ab83554d66cbc752e4193499df697768b"}},{"ruleId":"D2","level":"warning","message":{"text":"principals.resolveDirectoryPrincipal (cognitive 24): principals.resolveDirectoryPrincipal has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 8, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/principals.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17148d1ac7e2551c47659a08cc59679d86abddf083459e2c23e1a1ee9d86c21"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.emitChunk (cognitive 24): GenerationJobManagerClass.emitChunk has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 2 (nesting depth added 10). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cfcb06794553d006fef2685e43eaf909137990ca0b543b0761f3f83b2f4f0b"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityRecorder.evictOldest (cognitive 24): ActivityRecorder.evictOldest has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 6 (9 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":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"8859406fadce84011d9d1a57eecde782e4f5d1503e461db93547e0751f91407e"}},{"ruleId":"D2","level":"warning","message":{"text":"provenance.visitSemanticUserSubmittedPaths (cognitive 24): provenance.visitSemanticUserSubmittedPaths has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 3 (4 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea0f903ea572ad3a8bd85312001bee989917d2121f9921b90df65100dd40b9e"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.projectProviderMessage (cognitive 24): modelBoundContent.projectProviderMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 8, loops 1 (2 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"4533f0408e5d87dda63f1b0db32d49c0b10cfcfab0ae7eb17109d8d3db801e90"}},{"ruleId":"D2","level":"warning","message":{"text":"delivery.resolveScopedTurnAttachments (cognitive 24): delivery.resolveScopedTurnAttachments has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 3 (7 pts), loops 4 (5 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":"packages/api/src/agents/files/delivery.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ef38629b23b6b03ce49b475422ef02f30bfd9a5d89387ca91704b2dd066814"}},{"ruleId":"D2","level":"warning","message":{"text":"run.resolveAzureSummarization (cognitive 24): run.resolveAzureSummarization has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 12 (13 pts), boolean chains 9, if/else 2 (nesting depth added 1). 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: 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":"packages/api/src/agents/run.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"4de34618c15edfe8f4420f7d577578b22d3be0713ca7211b50f1a217ce438478"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.interruptToolHandler.handle (cognitive 24): tools.interruptToolHandler.handle has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11, boolean chains 7, ternaries 3 (4 pts), error handling 2 (nesting depth added 1). Most of this is not in the body itself: 3 of the 24 points are its own statements and the rest belongs to 10 function literals inside it that branch (lines 59, 70, 114, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/tools.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70d0586d52119753294d384a3d5463e7b89b99f64ec6211f76c0f6178843dad"}},{"ruleId":"D2","level":"warning","message":{"text":"import.scanArchiveFiles (cognitive 24): import.scanArchiveFiles has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, error handling 1 (2 pts), 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":"packages/api/src/skills/import.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"83648d2cfbaf6207ed789d98c500a180c5803e10e464418a9721ac6088353643"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.loadSkillFileTextForAuthoring (cognitive 24): handlers.loadSkillFileTextForAuthoring has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"673b7bcefb86d9dbbd1e746a89e26945cc52fc479ba8f4f6159b2c808a0fa00e"}},{"ruleId":"D2","level":"warning","message":{"text":"host.steer (cognitive 24): host.steer has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (11 pts), if/else 6 (7 pts), boolean chains 4, error handling 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ce47eceb2f3827ba995bf8036d1f3d5b6014e7058d58a099dfcca096abba8c"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.registerPluginHooks::hook (cognitive 24): runtime.registerPluginHooks::hook has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 7, error handling 1 (2 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (runtime.registerPluginHooks) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4a6544c10e4decc7b775fda6f3e352940ed2a4db8f04ba8f0be2a293482f1f"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.registerPluginHooks (cognitive 24): runtime.registerPluginHooks has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (34 pts), ternaries 10 (22 pts), boolean chains 14, error handling 1 (3 pts), loops 1 (nesting depth added 31). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (runtime.registerPluginHooks::hook) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bda028c04ca1db7f59e4fa410c01ad9b218ad9136d0c8fb4543aa3840a81871"}},{"ruleId":"D2","level":"warning","message":{"text":"ownerContact.attachAgentOwnerContacts (cognitive 24): ownerContact.attachAgentOwnerContacts has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (16 pts), error handling 2 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/ownerContact.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"7820207f0c9dbc50bf27d188d16c95d475a020e5defaa5a1966142850470bfa6"}},{"ruleId":"D2","level":"warning","message":{"text":"clientTools.validateClientTools (cognitive 24): clientTools.validateClientTools has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 5, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/clientTools.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c393052e347f1a88c579585453bc7fe819978a72783609a9d945004bcdbcef48"}},{"ruleId":"D2","level":"warning","message":{"text":"completion.createResponseCompletion.stageAndFinish (cognitive 24): completion.createResponseCompletion.stageAndFinish has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 5, 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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae9204d73c58c1cafb9a5365723134d5f2241ea781962dd38fe91f09d371737"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.createBackgroundResponseWorkerAuth.\u003Creturned closure\u003E (cognitive 24): worker.createBackgroundResponseWorkerAuth.\u003Creturned closure\u003E has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, error handling 2, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 179). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/worker.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7fd7be27934b939b87eb418dc690724d3b82f67d0654ea15bfe635096694949"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.createChannelFeedbackService.flush (cognitive 24): feedback.createChannelFeedbackService.flush has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), error handling 3 (6 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 12). Of this number, 17 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedback.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e23847440f5e5a374beb8647296021890e72de5d402b49cf3e9ef76f661b9cb"}},{"ruleId":"D2","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.moveConversationDecision (cognitive 24): http.createCodeEnvironmentHttpHandlers.moveConversationDecision has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7, error handling 3, 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":"packages/api/src/code/http.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a9ee5c3be832b70376061e86828062ca8136a8360ab457865a2ebddd8ec154"}},{"ruleId":"D2","level":"warning","message":{"text":"operations.isDefinitiveFileStorageFailure (cognitive 24): operations.isDefinitiveFileStorageFailure has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"52070e0c9a3fa2aad11972eec9821905eab58be8e315b4ce2d5122608cc6a814"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.addRuntimeBodyPlaceholderFields (cognitive 24): utils.addRuntimeBodyPlaceholderFields has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 4 (8 pts), ternaries 1 (4 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":"packages/api/src/mcp/utils.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e0aced66c9073f8e9a3fe539074aeeeefcc61438cafd858bf87ffbc3652085"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionFactory.createConnection (cognitive 24): MCPConnectionFactory.createConnection has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 3 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0abcfa0e7cd0181ef4f768f51e2dbbdf0ec2183e45df15fa7ac7e14074cc4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.assertSkillFileContentAllowed (cognitive 24): protection.assertSkillFileContentAllowed has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (13 pts), boolean chains 6, if/else 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":"packages/api/src/skills/protection.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5180cdef3fa5b38310098431cbdb0e1e4c46ed764e009e005e9c030b777583f7"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.createLangfuseTraceReader.getRecord (cognitive 24): reader.createLangfuseTraceReader.getRecord has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), ternaries 9, error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b16d51149495308bee56fe1b84f899d2330b9863f8630fd8426507477c5d78"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJobStore.hasScheduleCleanupObligation (cognitive 24): RedisJobStore.hasScheduleCleanupObligation has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"032a6c9479166e7b76b57883be3b8be6ce63fe1b4f48cbedf814a7c680ac20ba"}},{"ruleId":"D2","level":"warning","message":{"text":"events.isOAuthStepEvent (cognitive 24): events.isOAuthStepEvent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, ternaries 4 (7 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":"packages/chat/src/core/resumable/events.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd59ee134380baf18794675f4002a8484cece2088394fbccd7dfabe36656b5d"}},{"ruleId":"D2","level":"warning","message":{"text":"content.updateContent (cognitive 24): content.updateContent has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 8, loops 2, ternaries 2 (nesting depth added 3). Of this number, 17 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ddcf1a166d72c46062eca5e52acd183ba64527d7fbdf536a46871ba790eaae"}},{"ruleId":"D2","level":"warning","message":{"text":"questions.resolveAskUserQuestionPart (cognitive 24): questions.resolveAskUserQuestionPart has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 9, loops 2, ternaries 2 (nesting depth added 4). 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 into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2012e87f92287fd69fb1deb52eccd0b72fe9652bf5125e3166e19ac4ab0f7c00"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.useQueuedRecovery (cognitive 24): recovery.useQueuedRecovery has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 4, error handling 2 (3 pts), ternaries 1 (nesting depth added 5). None of this is in the body itself: all 24 points belong to 3 function literals inside it that branch (lines 46, 156, 136). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/recovery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e980f574edf041ec24e3bcc5b6f4157581ae2151376cbe431e4646f04074527f"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiMessage.MultiMessage (cognitive 24): MultiMessage.MultiMessage has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 9, ternaries 3 (4 pts) (nesting depth added 2). Most of this is not in the body itself: 9 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 71). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a8fb872de2e74270d43f294cee49d72beed2a4ceadea2f56bb96cd5b5ef0ab"}},{"ruleId":"D2","level":"warning","message":{"text":"bedrock.bedrockOutputParser (cognitive 24): bedrock.bedrockOutputParser has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, loops 1 (3 pts) (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"4417c54759720f923ab81b28b01e97e7096ab8dd2172ec7c2aaee15e621ee19f"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.withHiddenAzureGroups (cognitive 24): resolution.withHiddenAzureGroups has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, loops 2 (3 pts), ternaries 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4191f372f1eec99c8cadad5ff741e2de5c0e6b198334f941a8875c60393654a"}},{"ruleId":"D2","level":"warning","message":{"text":"channelIdentity.createChannelIdentityStorage.saveChannelIdentity (cognitive 24): channelIdentity.createChannelIdentityStorage.saveChannelIdentity has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 8 (9 pts), if/else 7 (8 pts), boolean chains 6, error handling 1 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelIdentity.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578f78fe431faa06ef8c93cad693da95061296903b62c86fda9b6d27b7237a0"}},{"ruleId":"D2","level":"warning","message":{"text":"auditLog.createAuditLogMethods.recordAuditEntry (cognitive 24): auditLog.createAuditLogMethods.recordAuditEntry has cognitive complexity 24 (threshold 15). Drivers by points: ternaries 5 (10 pts), if/else 2 (6 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc725b0226296ba5109ad174334548f9e2342fa47d311f87872b6e5898f421cd"}},{"ruleId":"D2","level":"warning","message":{"text":"share.createShareMethods.createSharedLink (cognitive 24): share.createShareMethods.createSharedLink has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 8, ternaries 3 (4 pts), error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0461105aba3e1d54d867eb09da0cdacfb9fa3c6fe3ee39d202f239b037c2c061"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.releaseAgentBackgroundToolResultClaims (cognitive 24): triggerDelivery.createAgentTriggerDeliveryMethods.releaseAgentBackgroundToolResultClaims has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 6 (9 pts), boolean chains 5 (nesting depth added 6). Of this number, 19 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9ed072e2f75667947b2035b5229921cfcc5ebd07f7a32025b085c54da1e6ce"}},{"ruleId":"D2","level":"warning","message":{"text":"chatCompletion::runAgents (cognitive 24): chatCompletion::runAgents has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10, boolean chains 6, other 4, ternaries 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4958}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f6d0c403c0b4c9ff135737c63667ff33ef9684130104f61780fab592c4838f"}},{"ruleId":"D2","level":"warning","message":{"text":"getListAgentsHandler (cognitive 24): getListAgentsHandler has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 4, ternaries 3, error handling 2, other 2 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 5 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02cdd106aec06397facd5903ffee6eb17e3d705c11951d574811381202f32b1"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 24): (anonymous) has cognitive complexity 24 (threshold 15). Drivers by points: if/else 13 (17 pts), boolean chains 5, error handling 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":"api/server/routes/memories.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e3f91e36aa0937bf1eaeebcfd1da84d8c2a9d874f98d9dd07eac8374369eea"}},{"ruleId":"D2","level":"warning","message":{"text":"indexSync.ensureFilterableAttributes (cognitive 23): indexSync.ensureFilterableAttributes has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 7 (9 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":"api/db/indexSync.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3015127bfb2b79fa8cb7b4636af153e87e82ee60ec318f6b09474a1fb6c832a"}},{"ruleId":"D2","level":"warning","message":{"text":"resize.resizeImageBuffer (cognitive 23): resize.resizeImageBuffer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/images/resize.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab732c6e484e66a6925579aa6e59dcaa982ca7709f0a15baf2999957e6cc73d6"}},{"ruleId":"D2","level":"warning","message":{"text":"useSpeechSettingsInit.useSpeechSettingsInit (cognitive 23): useSpeechSettingsInit.useSpeechSettingsInit has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 8, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 23 points belong to 3 function literals inside it that branch (lines 39, 61, 100). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Config/useSpeechSettingsInit.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a7bb1bcbae14f709aebf9e7108d8494324e9880bcb6037960eb64004d2c936"}},{"ruleId":"D2","level":"warning","message":{"text":"useTextarea.useTextarea (cognitive 23): useTextarea.useTextarea has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13, boolean chains 8, ternaries 2. Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 181, 158, 145, \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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5e3f2f0b407241cf1aa92d4ca8ffc59d056fd67f6f4113b301d6bab481f5f9"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelLinkRoute.ChannelLinkRoute (cognitive 23): ChannelLinkRoute.ChannelLinkRoute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), ternaries 5 (6 pts), error handling 3, boolean chains 2 (nesting depth added 2). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 6 function literals inside it that branch (lines 191, 161, 177, \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":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc055d3cc753f8a449ee1c0c088f33e9d0cfe3ebb50e42d56ad625c8284c2eea"}},{"ruleId":"D2","level":"warning","message":{"text":"Marketplace.AgentMarketplace (cognitive 23): Marketplace.AgentMarketplace has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, boolean chains 7, ternaries 4. Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 6 function items inside it that branch (handleMineChange, handleTabChange, handleSearch, \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":"client/src/components/Agents/Marketplace.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"990e020e61214c86ef0581c5a7402e00fbfdfcf688ad79f8d86b975ebc04a1da"}},{"ruleId":"D2","level":"warning","message":{"text":"rows.findToolCallArgs (cognitive 23): rows.findToolCallArgs has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 4 (7 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":"client/src/components/Chat/BackgroundTasks/rows.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4029a81342fb1ffe24ef77048a9db3a66e3413ce9cc7a2de406eadc2c8fccd64"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderMenu.HeaderMenu (cognitive 23): HeaderMenu.HeaderMenu has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 8, boolean chains 6 (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"client/src/components/Chat/Menus/HeaderMenu.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"24be6e6ad013ead9003e8ba1e6fc2a7fa23bde126d119b2a39d5029abf1f33dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolIcon.getToolIconType (cognitive 23): ToolIcon.getToolIconType has cognitive complexity 23 (threshold 15). Drivers by points: if/else 17, boolean chains 6. 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":"client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d7f43ee638c7a0448d567430e2f779b32ff68ec31e33c8f9951d996ec089762"}},{"ruleId":"D2","level":"warning","message":{"text":"FilePreviewDialog.getDisplayType (cognitive 23): FilePreviewDialog.getDisplayType has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 4, 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":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ee0a90c6dfdd996cf2a48d9602b8e9e27133300e78f03ab6bdb26f06067c17"}},{"ruleId":"D2","level":"warning","message":{"text":"verticals.collectSearchVerticals (cognitive 23): verticals.collectSearchVerticals has cognitive complexity 23 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (7 pts), boolean chains 3, 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":"client/src/components/Chat/Messages/Content/verticals.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2d870fe52373d3c7ddc26fe20e113f68271db7982f46cb38fa9afdc1231428"}},{"ruleId":"D2","level":"warning","message":{"text":"LiaEngine.chooseLife (cognitive 23): LiaEngine.chooseLife has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 6, loops 2, ternaries 1 (nesting depth added 6). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a162314e123b4538e9382b66c6bd9cb86084eb0a9a5c8f0b385433cf0b2766"}},{"ruleId":"D2","level":"warning","message":{"text":"AuthSection.AuthSection (cognitive 23): AuthSection.AuthSection has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 12, ternaries 10, if/else 1. Of this number, 20 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d567efd5bbc961f40a5b3a626dddd9c07ca3c1c6355f042f07e32ed41d00dc"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPServerCard.MCPServerCard (cognitive 23): MCPServerCard.MCPServerCard has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11, boolean chains 9, ternaries 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 8 of the 23 points are its own statements and the rest belongs to 4 function items inside it that branch (getStatusText, handleInitialize, a function literal at line 57, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9322172cd014d18944bfb72ba24229831cb3ea7bf6a9c36eab4d20f3912da61"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleDialog.ScheduleDialog::onSubmit (cognitive 23): ScheduleDialog.ScheduleDialog::onSubmit has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 8 (15 pts), boolean chains 4, if/else 3 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ScheduleDialog.ScheduleDialog) 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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5acc830136438afe977464c57eb0a654d85a99b5e346fb189ea216ff55b20e4e"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalizedDateRangePicker.LocalizedDateRangePicker (cognitive 23): LocalizedDateRangePicker.LocalizedDateRangePicker has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 13, if/else 5, ternaries 5. Of this number, 16 points are the body\u0027s own statements and 7 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/ui/LocalizedDateRangePicker.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b69cd7775a5321b129a765f54cc3aec2df6a902fd8c13b8ef0e2b5a210d689"}},{"ruleId":"D2","level":"warning","message":{"text":"signIn.watchPullRequestSignIn (cognitive 23): signIn.watchPullRequestSignIn has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 8, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 1 of the 23 points is its own statement and the rest belongs to 4 function items inside it that branch (check, onSettled, resume, \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":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c38685e75c00103e911ee2e55ede0948b0520f81d79d8b0c90ef35c2a30b0f7"}},{"ruleId":"D2","level":"warning","message":{"text":"queries.useTitleGeneration (cognitive 23): queries.useTitleGeneration has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 5, ternaries 2 (3 pts), loops 1 (nesting depth added 5). None of this is in the body itself: all 23 points belong to 5 function literals inside it that branch (lines 167, 122, 142, \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":"client/src/data-provider/SSE/queries.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fda7337991f8dcd60caa0531a7c49a3b2ee67147b9e8278d5b221a89f13794"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.findManualConvoTitleInAllQueries (cognitive 23): convos.findManualConvoTitleInAllQueries has cognitive complexity 23 (threshold 15). Drivers by points: loops 4 (11 pts), boolean chains 6, if/else 4 (5 pts), ternaries 1 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"client/src/utils/convos.ts"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd9d2d84f51f58cfdeb9d3fa38cfa2fefd3a522bb82a4bcec24c51d7b149405"}},{"ruleId":"D2","level":"warning","message":{"text":"reentry.findSecretReentry (cognitive 23): reentry.findSecretReentry has cognitive complexity 23 (threshold 15). Drivers by points: if/else 3 (12 pts), loops 3 (6 pts), ternaries 1 (4 pts), boolean chains 1 (nesting depth added 15). Of this number, 19 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":"packages/api/src/admin/reentry.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ce7f1d92432689a14eae39a6adaa6f39524bae5ff58fc0808180bdc79830b8"}},{"ruleId":"D2","level":"warning","message":{"text":"roles.createAdminRolesHandlers.removeRoleMember (cognitive 23): roles.createAdminRolesHandlers.removeRoleMember has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), error handling 2 (4 pts), boolean chains 2 (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":"packages/api/src/admin/roles.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44d5cc950e1d22992ac4a6a3c2d3d2e26e06ef15ba6a8486277c2ad03c03192"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.getJobIdsByUser (cognitive 23): InMemoryJobStore.getJobIdsByUser has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 9, ternaries 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"afeb3d65a196f94bd83f3f087e3eadc3b5d1c11a7bbcab0407d3180bc699bd7d"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.promoteSteerLeftover (cognitive 23): InMemoryJobStore.promoteSteerLeftover has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 9, error handling 1, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fecf98e233883520b1020671eaefffe54f5d95dcd9b5d9c00c16f06785185ff"}},{"ruleId":"D2","level":"warning","message":{"text":"edits.parseEditConflict (cognitive 23): edits.parseEditConflict has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (5 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/edits.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1cf5bb5ddd1e4ff1d4d99d091e17256e67fe7e5e3a46f0a81cee49af6063a7"}},{"ruleId":"D2","level":"warning","message":{"text":"inference.customSchema (cognitive 23): inference.customSchema has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), ternaries 3 (6 pts), boolean chains 4, match/switch 1 (nesting depth added 8). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f823fbd78b215fcd154ce0115ce553122a603351c47cba6af96a6af42b69321"}},{"ruleId":"D2","level":"warning","message":{"text":"run.enqueueSubagentChildren (cognitive 23): run.enqueueSubagentChildren has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 5 (8 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3759696a07d776ed8c693adc64fc2cb5997f4d55d1f6502fc8f3105abc9e9a2"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleEditFileCall (cognitive 23): handlers.handleEditFileCall has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16 (19 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4504}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6cdae341db5a8976bb3ef14bd38f449738ebeef5c9e975eed954224b53c8a1"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.getResumeUserSubmittedMessageFieldPaths (cognitive 23): protection.getResumeUserSubmittedMessageFieldPaths has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 2 (3 pts), 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":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a66d5fa7b138bdb6731f0408ebd799ed3c0bc862b502db7242e04be21095740"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.controlInvocation (cognitive 23): SubagentThreadTaskStore.controlInvocation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb84cf3db6e019a98f2652ea43755deeb4b89d6771ce1296acd4726444bc327"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.dropDeletedControlReceiptWork (cognitive 23): SubagentThreadTaskStore.dropDeletedControlReceiptWork has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 5, loops 4 (5 pts), ternaries 1 (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2887}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40828610622240b0416fe33afabdb55c0f7fdec80e3c99682ff845fc5b2e377"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentCompletionWakeup.resolveOrchestrationSnapshot (cognitive 23): subagentCompletionWakeup.resolveOrchestrationSnapshot has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 7, ternaries 3, error handling 2, loops 2 (nesting depth added 3). Of this number, 20 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7472b0ae0b1f6d89fb4d2ebf05ad91559579581bfdfb7a3172396372fd2ce9"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpIdentity.stampMcpServerIdentities (cognitive 23): mcpIdentity.stampMcpServerIdentities has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 8). Of this number, 15 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":"packages/api/src/agents/mcpIdentity.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"7650f59807e8c5c94731724f75d4bc6b224b3d890ee9acffec402632e6cb837f"}},{"ruleId":"D2","level":"warning","message":{"text":"resume.createResponseResumeAdmission.\u003Creturned closure\u003E (cognitive 23): resume.createResponseResumeAdmission.\u003Creturned closure\u003E has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, error handling 1 (2 pts), ternaries 1 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"00795061a553b1a2f2bdfef4511a4292f17df73cbfa31dcdbe543700b1692590"}},{"ruleId":"D2","level":"warning","message":{"text":"segments.combineResponseSegments (cognitive 23): segments.combineResponseSegments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (14 pts), ternaries 2 (4 pts), boolean chains 3, 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":"packages/api/src/agents/responses/segments.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4ddd6bdcea47799e15f6e9268eca9991be5d9c84bd044de22067f77eb06cd2"}},{"ruleId":"D2","level":"warning","message":{"text":"lease.createEventChildGenerationLeaseAcquirer.acquireEventChildGenerationLease (cognitive 23): lease.createEventChildGenerationLeaseAcquirer.acquireEventChildGenerationLease has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, ternaries 3, error handling 1 (2 pts) (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 9 belong to 5 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/lease.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f458d20fa878c07eb0e0cb0f52b78a5b071a3891ab93c0fc0db84c7ecf04b4"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.primeAgentAttachments (cognitive 23): attachments.primeAgentAttachments has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 2 (4 pts), loops 2 (3 pts) (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"860e00bf47f4cf537d04f0d799821e5c39168e893aa7c955041bbda2127774b9"}},{"ruleId":"D2","level":"warning","message":{"text":"command.createAttachedWorkspaceBashTool.bashTool (cognitive 23): command.createAttachedWorkspaceBashTool.bashTool has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 9, if/else 7 (8 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":"packages/api/src/code/command.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82e5758d3556b50922d43723f0a6f48ae527a631cd871ffaf50e55f1ce296a5"}},{"ruleId":"D2","level":"warning","message":{"text":"targets.createSubagentCodeRouting.attach (cognitive 23): targets.createSubagentCodeRouting.attach has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 8, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 3). Of this number, 16 points are the body\u0027s own statements and 7 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"49f28b99325858f97a6f38f62142afb1ac51a22ba1284c4131552008d9d3d3a9"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeGoogle (cognitive 23): initialize.initializeGoogle has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 11, if/else 7 (8 pts), error handling 1 (2 pts), ternaries 2 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/initialize.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"33779e3785de67ce721bf4152414d8fed1f4b04d30305aca38cc11113703d7e1"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.createImageAuthorizationMiddleware.authorizeImageRequest (cognitive 23): authorization.createImageAuthorizationMiddleware.authorizeImageRequest has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (17 pts), ternaries 3, boolean chains 2, error handling 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/images/authorization.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3886f104ea46c206b4df34d8e338cae5b17bc02549dda97a89ed332a88c3d717"}},{"ruleId":"D2","level":"warning","message":{"text":"openid.resolveDirectOpenIDBearerConfig (cognitive 23): openid.resolveDirectOpenIDBearerConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 7, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/openid.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa3a52a1163c2cab213ee54a6a71594972057df14882dc14c39596e73f794b6"}},{"ruleId":"D2","level":"warning","message":{"text":"submission.saveAbortedUserMessage (cognitive 23): submission.saveAbortedUserMessage has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 5 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"c114103148cd9e22102faddeb28e2ef36f9b8e8fb1d41f894613f585cb89a22d"}},{"ruleId":"D2","level":"warning","message":{"text":"deletionService.createSkillDeletionService.deleteWithClaim (cognitive 23): deletionService.createSkillDeletionService.deleteWithClaim has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), error handling 4 (5 pts), ternaries 4 (5 pts) (nesting depth added 5). 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6126a445d10b04ca2b229030bd8687c53f1acb43ba00a102412f95635500d7ce"}},{"ruleId":"D2","level":"warning","message":{"text":"failure.handleServedError (cognitive 23): failure.handleServedError has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 2 (3 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/failure.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d5abba57d46a835d035c7bcc86bf4e131681e782f93a5d4aecd1fa5bdf53d34"}},{"ruleId":"D2","level":"warning","message":{"text":"outcomes.handoffStartToReplacement (cognitive 23): outcomes.handoffStartToReplacement has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (17 pts), ternaries 1 (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":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05ea5c437a664fbb2d720ad5d311c54459a399159e8c4ac4e60c6b7b2804191"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceSelections (cognitive 23): workspace.resolveCodeWorkspaceSelections has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (7 pts), ternaries 3 (7 pts), loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cc229e47cdd1a629635e322bc733f315b1be0c420f288a0e066a534b6d3979a"}},{"ruleId":"D2","level":"warning","message":{"text":"FileRow.FileRow (cognitive 23): FileRow.FileRow has cognitive complexity 23 (threshold 15). Drivers by points: ternaries 7 (11 pts), boolean chains 6, if/else 6 (nesting depth added 4). Most of this is not in the body itself: 2 of the 23 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 94, 95, 61, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileRow.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d6f64948075e3957806651916a3500d3db8c29cf4a57e86c92eb50f731763"}},{"ruleId":"D2","level":"warning","message":{"text":"outcome.hasTerminalOutcome (cognitive 23): outcome.hasTerminalOutcome has cognitive complexity 23 (threshold 15). Drivers by points: if/else 8 (20 pts), boolean chains 10, loops 5 (8 pts), 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 (outcome.hasTerminalOutcome::matches) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/outcome.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a1964c3edee7255a14ee9d9cad4ba4ad24fd4cf0ec79f83826a89b6fc9397f"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.stripInvalidOverrides (cognitive 23): resolution.stripInvalidOverrides has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 4 (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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26d90c8189bea440aabb70b004fb2df76e5ed1f9a5e3fd1983cc786729d85f1"}},{"ruleId":"D2","level":"warning","message":{"text":"appSnapshots.fitBoundAppSnapshots (cognitive 23): appSnapshots.fitBoundAppSnapshots has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 4 (5 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/appSnapshots.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25b8189417502a9e471645b807c57c768059bf443507da9fc27eb1e1e6fbba5"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt.createPromptMethods.getListPromptGroupsByAccess (cognitive 23): prompt.createPromptMethods.getListPromptGroupsByAccess has cognitive complexity 23 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts), ternaries 5, 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":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdca1d410a5dd7fb43355464ca2029815262d52f190c2a3e3d392f5cd2edb38d"}},{"ruleId":"D2","level":"warning","message":{"text":"gateway.handleMediaCreate (cognitive 23): gateway.handleMediaCreate has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 5 (6 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e651789839cc942cdb958ae72d87dea0b01e9af1c4061f47daffaf44048790"}},{"ruleId":"D2","level":"warning","message":{"text":"getMessagesForConversation (cognitive 23): getMessagesForConversation has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 4 (8 pts), boolean chains 2, loops 2, other 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be98aa3c7e08a615c07bc401bd8c424d76b355f2b5ad89c842b2640eb78ebe3"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 2 (3 pts), error handling 1, other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"709581dac570c83cccadc59ecdc755974cf3fd840760ec3d6667094afe6a15b5"}},{"ruleId":"D2","level":"warning","message":{"text":"startServer (cognitive 23): startServer has cognitive complexity 23 (threshold 15). Drivers by points: if/else 13 (14 pts), ternaries 3 (4 pts), error handling 3, boolean chains 2 (nesting depth added 2). Of this number, 18 points are the body\u0027s own statements and 5 belong to 8 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"api/server/experimental.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69dfc1b814d1049e2d0c323705174018416500df105089f61f7de148931f8ca"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 4 (5 pts), error handling 1, other 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":"api/server/routes/messages.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb223e2aa5ad4e2b2385d20fd8fd7e8cdf2acf49b045a41c344a3a1eb869303"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 23): (anonymous) has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 6, error handling 3 (4 pts) (nesting depth added 4). Of this number, 22 points are the body\u0027s own statements and 1 belongs 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":"api/server/routes/files/images.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf036b9b3fede25b54ce5f4fcefc96e46e99f83af1723f4a1f081e1584bcf7c"}},{"ruleId":"D2","level":"warning","message":{"text":"images.router.post(\u0022/\u0022) (cognitive 22): images.router.post(\u0022/\u0022) has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 5, error handling 3 (4 pts) (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"api/server/routes/files/images.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"e722ab483f20f0f3b1b2bbd9ec0c1f0f0fe8e9f0a110fe8ef32bbcfff217f878"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.router.get(\u0022/:serverName/oauth/initiate\u0022) (cognitive 22): mcp.router.get(\u0022/:serverName/oauth/initiate\u0022) has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10, boolean chains 8, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86cc95bec2e08b15a7324b8b3c54b2c1fcbb9a5efc4937f14f357db5fa7518c"}},{"ruleId":"D2","level":"warning","message":{"text":"socialLogin.socialLogin.\u003Creturned closure\u003E (cognitive 22): socialLogin.socialLogin.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 3, ternaries 2, error handling 1 (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":"api/strategies/socialLogin.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f775b7357ba3d52a1076891098faa0d1cb30fb76099d4924b0c6182e7ee207"}},{"ruleId":"D2","level":"warning","message":{"text":"useSharePointDownload.useSharePointDownload.downloadSharePointFiles (cognitive 22): useSharePointDownload.useSharePointDownload.downloadSharePointFiles has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (9 pts), boolean chains 2, error handling 1 (nesting depth added 8). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointDownload.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a831c769db517f32dc192b77f80a2ae81336a1d41e35b0d051bcbaa2e4f38d6"}},{"ruleId":"D2","level":"warning","message":{"text":"useQueryParams.useQueryParams.newQueryConvo (cognitive 22): useQueryParams.useQueryParams.newQueryConvo has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 6, loops 1 (2 pts), ternaries 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5235e565df19762a7e5b640d0e6db478cc33db52de65e59ea856b4a654778101"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalContext.useResumeSubmit.submitAskAnswer (cognitive 22): ApprovalContext.useResumeSubmit.submitAskAnswer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 11 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":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a2a5011c858f1a62e637b4a1f3b074bfe693cc9dc112796f7446460bb2de55"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.filterItems (cognitive 22): utils.filterItems has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 9 (nesting depth added 5). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 60, 39). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c230a6905dc28e8dc1255f2c5f14826b96f54922c94a0e1c027c034fb72e834"}},{"ruleId":"D2","level":"warning","message":{"text":"Header.Header (cognitive 22): Header.Header has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 18, ternaries 3, if/else 1. Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Header.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"069b72795e1341bfb18f92bd3844b01d4a5616ef093e4d5beff020ca648ed4df"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputRenderer.OutputRenderer (cognitive 22): OutputRenderer.OutputRenderer has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, ternaries 4 (8 pts), if/else 3 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 6 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0769f002ba9ffff520ada7d65d7dd4cb4f2abd21e84f53491d9086e4007479"}},{"ruleId":"D2","level":"warning","message":{"text":"useLazyHighlight.useLazyHighlight (cognitive 22): useLazyHighlight.useLazyHighlight has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13, ternaries 5, boolean chains 4. 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 literals inside it that branch (lines 106, 94, 140, \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":"client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4962bb1ec398b5bb7fa471ce2f5fffe79f5026fbbeb83188c00a734d39df37"}},{"ruleId":"D2","level":"warning","message":{"text":"face.drawEye (cognitive 22): face.drawEye has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 5 (10 pts), loops 3 (6 pts), if/else 2 (5 pts), match/switch 1 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9ee038bedcc82f4e79b7369d076d02d8da1738eb0e324c844b1d05e9caa95b"}},{"ruleId":"D2","level":"warning","message":{"text":"LiaEngine.render (cognitive 22): LiaEngine.render has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 9 (10 pts), if/else 6, boolean chains 5, 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":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3cb9d88f225687124ca84b9d79cc8490ada287bfa91b8dbd2049c3cd3d55b3"}},{"ruleId":"D2","level":"warning","message":{"text":"LangfusePromptsDialog.LangfusePromptsDialog (cognitive 22): LangfusePromptsDialog.LangfusePromptsDialog has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 16, if/else 3, ternaries 3. Of this number, 16 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":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9d54a51ca25214968ada286701cf075b5c08a73ec5a9eb924cebcafe1b0c89"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionsInput.ActionsInput (cognitive 22): ActionsInput.ActionsInput has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 6. Most of this is not in the body itself: 3 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 111, submitContext, a function literal at line 73, \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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"346473c60de73f6141aed2b8f712f0865339cf56a8302fff1c36510f6650b960"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamicTags.DynamicTags (cognitive 22): DynamicTags.DynamicTags has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, if/else 8, ternaries 4. Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 152, 57, 75, \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":"client/src/components/SidePanel/Parameters/DynamicTags.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c18ef97fe96b11a23449211e1be5a680aa93d7e8dd053f8c0a6830cd792967"}},{"ruleId":"D2","level":"warning","message":{"text":"ScheduleCard.ScheduleCard (cognitive 22): ScheduleCard.ScheduleCard has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, ternaries 6 (7 pts), if/else 2 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 11 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9b856679e6a91a704706bfdf3cdda553036ec8d55c62f8fcafbb00f77b0ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"mutations.useDeleteFilesMutation (cognitive 22): mutations.useDeleteFilesMutation has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, loops 2 (4 pts), ternaries 1 (2 pts) (nesting depth added 6). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 207, 195, 238). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fbfa9966bda9c54a121531788fbda48fb52b3215f64b6cb4cabc1e08e67721"}},{"ruleId":"D2","level":"warning","message":{"text":"useDrawerSwipe.findHorizontalScrollBlocker (cognitive 22): useDrawerSwipe.findHorizontalScrollBlocker has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (11 pts), ternaries 2 (8 pts), boolean chains 2, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49eba514217da905c9c133826d0c668b046eee561f8448549394b47aa13af70"}},{"ruleId":"D2","level":"warning","message":{"text":"privacy.sanitizeAttributes (cognitive 22): privacy.sanitizeAttributes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (17 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":"client/src/lib/rum/privacy.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c20a669c53270de796092ef19700822868c4b054ffeed89ad2fb41f7c89f92"}},{"ruleId":"D2","level":"warning","message":{"text":"drafts.collectLiveAttachmentIds (cognitive 22): drafts.collectLiveAttachmentIds has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 4 (8 pts), boolean chains 3, 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":"client/src/utils/drafts.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a058726824cb1ee78e89a7c447d1bc3ab91172c4b01e72401695ac7e85a035"}},{"ruleId":"D2","level":"warning","message":{"text":"imageResize.isAnimatedWebP (cognitive 22): imageResize.isAnimatedWebP has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 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":"client/src/utils/imageResize.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"56563295d003092b85d7672275224f9fb858e4f5c4d58b062066fc1fb855df95"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.encryptConfigSecrets (cognitive 22): secrets.encryptConfigSecrets has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 5 (7 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba8297e7bcaf4e74195494207d1880e31608cd7a21474d2fbfdcb9952520d0d"}},{"ruleId":"D2","level":"warning","message":{"text":"groups.createAdminGroupsHandlers.updateGroup (cognitive 22): groups.createAdminGroupsHandlers.updateGroup has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 6, 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":"packages/api/src/admin/groups.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0110ede9526f312fdc5f25f797f99b0b8ca0545f4bbea77e1e4cb7e65d3a30"}},{"ruleId":"D2","level":"warning","message":{"text":"wiring.createActivityLabelWiring (cognitive 22): wiring.createActivityLabelWiring has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (9 pts), loops 2 (nesting depth added 3). Most of this is not in the body itself: 10 of the 22 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 257, 316). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed72f88a3d2482909818bc85e01e9bcc38cf4223b115c3ad453e0a4258d04db7"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentActivity.createSubagentActivityStreamHandler.\u003Creturned closure\u003E (cognitive 22): subagentActivity.createSubagentActivityStreamHandler.\u003Creturned closure\u003E has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 8, error handling 2, ternaries 1 (nesting depth added 2). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa837ec7d0e933a5cf625c288697325942229a2a6fbdb4361ff2eb4ad437939"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.notifyReplacedGeneration (cognitive 22): GenerationJobManagerClass.notifyReplacedGeneration has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0c903eddf4d64e6c757b35d6b82448015c62fc5d35ddcef4b8be320c253dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.continueEarlyEventBootstrap (cognitive 22): GenerationJobManagerClass.continueEarlyEventBootstrap has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (7 pts), boolean chains 5 (nesting depth added 7). Most of this is not in the body itself: 1 of the 22 points is its own statement and the rest belongs to one function literal inside it that branches (line 6158). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70ee872ca5d8a90c5788c543fb0a7d8053a4a292aceb5681c09c3f24c33bb2a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManager.isOAuthReplayEvent (cognitive 22): GenerationJobManager.isOAuthReplayEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 3 (6 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7bab8e1109e2c1389c6489af817d1a1ad9b9634ec2eec26535a94e31185643c"}},{"ruleId":"D2","level":"warning","message":{"text":"view.parseDigestRequest (cognitive 22): view.parseDigestRequest has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 7, if/else 5 (7 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f60fb5abd8874b60f41288bf34485445c1e351bd1883ee2580fea0e2c38bac"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisSubagentTaskControlTransport.cancelScope (cognitive 22): RedisSubagentTaskControlTransport.cancelScope has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 3 (7 pts), if/else 5 (6 pts), loops 4 (6 pts), boolean chains 2, error handling 1 (nesting depth added 7). Of this number, 18 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc68324014bced9d04bc97a19c4c6af67308092d007d9811ed9850cb0f6417dd"}},{"ruleId":"D2","level":"warning","message":{"text":"edits.normalizeEditArgs (cognitive 22): edits.normalizeEditArgs has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 1 (2 pts), 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":"packages/api/src/agents/edits.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a43186598d65d478ecf13026a202ae20d43b61930263b38686af5445be3d38c"}},{"ruleId":"D2","level":"warning","message":{"text":"backgroundClaims.claimBackgroundToolResult (cognitive 22): backgroundClaims.claimBackgroundToolResult has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 6, error handling 2 (4 pts) (nesting depth added 6). Of this number, 18 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundClaims.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff538f087d07fcaa4ba94da9cc5042e797c1784934bd3fdda50fde78ebfa8caf"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.synthesizeReasoningLabelGapEvents (cognitive 22): runtime.synthesizeReasoningLabelGapEvents has cognitive complexity 22 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 7, ternaries 3 (6 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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce292b2a0b056f878f54debc131278b19c7492b7994919579ddc9787c08cf8f"}},{"ruleId":"D2","level":"warning","message":{"text":"report.getEndpointOverrideReport (cognitive 22): report.getEndpointOverrideReport has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, ternaries 2 (3 pts), loops 2 (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3deafd34caccab8a5f8280e1752b96400d0c1f1995e14df08eed60f996f1587"}},{"ruleId":"D2","level":"warning","message":{"text":"summary.createChannelSummaryService.summarize (cognitive 22): summary.createChannelSummaryService.summarize has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 6, ternaries 5 (6 pts), error handling 1, loops 1 (nesting depth added 1). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (consume, present). 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":"packages/api/src/channels/summary.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8462cf32e8c06f866cdc6647e3a60d5c2e88b626501f3b7e2582ffe9500b0b"}},{"ruleId":"D2","level":"warning","message":{"text":"targets.createSubagentCodeRouting.place (cognitive 22): targets.createSubagentCodeRouting.place has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (13 pts), ternaries 3 (8 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"5efe54ea39717ccbc0f9b9223e06621001b6a6630bbf40031b485d40cf88c65a"}},{"ruleId":"D2","level":"warning","message":{"text":"mime.sniffImageMimeType (cognitive 22): mime.sniffImageMimeType has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6, 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":"packages/api/src/files/mime.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a816781fdecd0e01e8e224bea0c560093c1eea3983b18aa4a8efeacc2fb12b8"}},{"ruleId":"D2","level":"warning","message":{"text":"obo.resolveOboToken (cognitive 22): obo.resolveOboToken has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), ternaries 2 (4 pts), boolean chains 2, error handling 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":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2366b316094d249599a30e109f860998b10cb2b62af8dcd64a9bf2ea3d08fb5"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPManager.getServerToolFunctionsSnapshot (cognitive 22): MCPManager.getServerToolFunctionsSnapshot has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, ternaries 2, error handling 1, loops 1 (nesting depth added 6). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f0fbc2cedc3a359a9d04386704167747ace27d09f815b97af833058dd74760"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.collectSerializedFiles (cognitive 22): protection.collectSerializedFiles has cognitive complexity 22 (threshold 15). Drivers by points: loops 5 (10 pts), ternaries 2 (7 pts), if/else 2 (3 pts), boolean chains 2 (nesting depth added 11). Of this number, 17 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b28febebd57373f4ebf2c1a6ea15f8dba0b3e0b75e307263d51419912b1951c"}},{"ruleId":"D2","level":"warning","message":{"text":"classification.buildToolClassification (cognitive 22): classification.buildToolClassification has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 5, loops 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/classification.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c56e9b37641cc1eccaf3bea2bd618eb1243d69af795d1ade34cd8f64189775"}},{"ruleId":"D2","level":"warning","message":{"text":"proxy.proxyRumRequest (cognitive 22): proxy.proxyRumRequest has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), ternaries 5 (9 pts), boolean chains 2, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"d656b28289e094e3b471f65a5f7eb3512b76f4df875b72cd68c6bb84dbc098e6"}},{"ruleId":"D2","level":"warning","message":{"text":"ReviewFlow.submit (cognitive 22): ReviewFlow.submit has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, error handling 2 (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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"9108ca8c768b942c7758e62091a81e79a1f27173f84f4a3764d847d15346dbd5"}},{"ruleId":"D2","level":"warning","message":{"text":"BoundSocket.onWebSocketMessage (cognitive 22): BoundSocket.onWebSocketMessage has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (18 pts), error handling 2, boolean chains 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":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da84117a47f30145fb465bd26f94dcc954aa806086dc2d9e96affd28ea00b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.recoveryEvent (cognitive 22): worker.recoveryEvent has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (21 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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e93de44ea9ba6ed0578ea68d785490fb5b70571474d2f7992311f3040c30fab"}},{"ruleId":"D2","level":"warning","message":{"text":"steer.collectAppliedSteerIds (cognitive 22): steer.collectAppliedSteerIds has cognitive complexity 22 (threshold 15). Drivers by points: if/else 6 (15 pts), loops 2 (3 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":"packages/chat/src/core/steer/steer.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6095d65597fb61ca7d85f906b857a93244e9b4cc35c977c9b36ec400e9c08454"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.stop (cognitive 22): Chat.stop has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (9 pts), ternaries 4 (8 pts), boolean chains 5 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ab050197f51fa237cd683c9662930ea0471348a54e700a8eb9278fc3d4bec9"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.restorePendingAction (cognitive 22): Chat.restorePendingAction has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 8, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"2342e04020e0f32f9153ef548feb4fa1be039d36409d4bf3e4e71aa87758bad3"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.resolveCodeWorkspaceEnvironments.environmentResults (cognitive 22): workspace.resolveCodeWorkspaceEnvironments.environmentResults has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 9, 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e162c35e1f790a234ec095fec179bf7985fecd99e52746116a097c5c6902a7a6"}},{"ruleId":"D2","level":"warning","message":{"text":"useQueuedTurnReveal.useQueuedTurnReveal (cognitive 22): useQueuedTurnReveal.useQueuedTurnReveal has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 13, if/else 6 (8 pts), loops 1 (nesting depth added 2). None of this is in the body itself: all 22 points belong to 3 function literals inside it that branch (lines 64, 149, 103). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueuedTurnReveal.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9a78de5beaa6f7f5a7b11b38113366bd5b7d0917560effb351259dc9c94fa1"}},{"ruleId":"D2","level":"warning","message":{"text":"Thinking.ThinkingControl (cognitive 22): Thinking.ThinkingControl has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 10 (11 pts), boolean chains 5, if/else 4 (5 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 22 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 138, 258, 102, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Thinking.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae58396d36a843ff2dcbd7b299e082d7ceafac613632fc0b575f241e809aac8"}},{"ruleId":"D2","level":"warning","message":{"text":"Badge.Badge (cognitive 22): Badge.Badge has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 9, ternaries 6 (8 pts), if/else 5 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Badge.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd59e6380ef01cbc161c128cc20dcc993a22f236e83bf8642782ed2396ad5812"}},{"ruleId":"D2","level":"warning","message":{"text":"SecretInput.SecretInput (cognitive 22): SecretInput.SecretInput has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 12, ternaries 7, if/else 2, error handling 1. Of this number, 17 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/SecretInput.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a873efd03b42f04cf2eb95cbf66bc1991503300c51326463f0520e381cfa4e"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestExecutor.execute (cognitive 22): RequestExecutor.execute has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (13 pts), ternaries 4, boolean chains 3, loops 1 (2 pts) (nesting depth added 3). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"packages/data-provider/src/actions.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a86e1091878a689037486992be329a7710a5816c569b31944b24bc8809a7542"}},{"ruleId":"D2","level":"warning","message":{"text":"azure.mapModelToAzureConfig (cognitive 22): azure.mapModelToAzureConfig has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 5, 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/azure.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbe1ad37447c5189d6590cc4fd2528b16e712b0b9cd0748d92a7e8a5c8749a5"}},{"ruleId":"D2","level":"warning","message":{"text":"vertex.processVertexModels (cognitive 22): vertex.processVertexModels has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (6 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":"packages/data-schemas/src/app/vertex.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"492f4bc035c488db4a5f581a868cff014434c439b6172ce20767c30346f1ecce"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.mergeArrayByKey (cognitive 22): resolution.mergeArrayByKey has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3, ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b02eee7fd0517318aefe6d2cb28eb4fa1c84ee34a127773c51f492c84cac387"}},{"ruleId":"D2","level":"warning","message":{"text":"channelScope.touchChannelAuthority (cognitive 22): channelScope.touchChannelAuthority has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts), ternaries 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelScope.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"62dcaca9c456bcdccc40c75dade5b2ca18dd90fd3a046f5fa742ab0a236e47cd"}},{"ruleId":"D2","level":"warning","message":{"text":"userGroup.collectMemberIdsFromGroupUpdate (cognitive 22): userGroup.collectMemberIdsFromGroupUpdate has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 6, loops 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 9 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":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f08b252f8eaf8a71ca802b76f0bd06ab73558ede996b30690b77cbba252b327"}},{"ruleId":"D2","level":"warning","message":{"text":"share.advanceTargetToBranchTail (cognitive 22): share.advanceTargetToBranchTail has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4, loops 4 (nesting depth added 6). Of this number, 12 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6528ea4d797c3e2b9ebd2539d612034c98e8e825a01b5e4a653765c938525a9"}},{"ruleId":"D2","level":"warning","message":{"text":"share.createShareMethods.getSharedLinks (cognitive 22): share.createShareMethods.getSharedLinks has cognitive complexity 22 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 5 (7 pts), boolean chains 4, error handling 2 (3 pts) (nesting depth added 7). Of this number, 19 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf691767545553ed53cdd49ffbdce0f966c6d46a33f7579a1f489289be02cfd1"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.acquireLaneWriter (cognitive 22): queuedTurn.createAgentQueuedTurnMethods.acquireLaneWriter has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (18 pts), boolean chains 3, loops 1 (nesting depth added 11). Of this number, 20 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a15b3297011ca2c8535bf52791d833e6eecad1df53d6c3463f412d76ad65572"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.retireAgentTriggerDelivery (cognitive 22): triggerDelivery.createAgentTriggerDeliveryMethods.retireAgentTriggerDelivery has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), ternaries 2 (4 pts), error handling 1 (2 pts) (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 9 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcd5e3c537d60db0a0208f5fcb07b9cb2c38cbaaae060d0ac6e93e34ea8890e"}},{"ruleId":"D2","level":"warning","message":{"text":"createAgentHandler (cognitive 22): createAgentHandler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (16 pts), boolean chains 2, error handling 2, other 1, ternaries 1 (nesting depth added 4). Of this number, 21 points are the body\u0027s own statements and 1 belongs 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b416a8633d03a608a45db67952133e064545930a27f628940ed4aecc425a7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"callTool (cognitive 22): callTool has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 4 (6 pts), boolean chains 3, loops 1, other 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94fd074006172bc5c0e27fc7cfa06372dd1a899ba61cc631e8be6faa6ce446b"}},{"ruleId":"D2","level":"warning","message":{"text":"getLogStores.clearExpiredFromCache (cognitive 21): getLogStores.clearExpiredFromCache has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5, 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":"api/cache/getLogStores.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6097e35c0f91be94316e0f0de9c3be42494bc1821f53b23dd7b350eec9553"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentClient.buildMessages::prepareRuntimeAgent (cognitive 21): AgentClient.buildMessages::prepareRuntimeAgent has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (7 pts), loops 1 (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":"api/server/controllers/agents/client.js"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a753f159d3f927c9f77e7cff58384c45db506db3c4fad92d3cfab5ad93b90e"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.router.put(\u0022/:conversationId/:messageId\u0022) (cognitive 21): messages.router.put(\u0022/:conversationId/:messageId\u0022) has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, ternaries 3 (4 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"32bac01adba28a07207fdeb88ec9aa2a1c1db1de81f25566858b77356c8e41ba"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.router.delete(\u0022/\u0022) (cognitive 21): convos.router.delete(\u0022/\u0022) has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 6, error handling 2 (3 pts), ternaries 1 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"api/server/routes/convos.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d2909cdc2c106c241184243d7a83ba65da3b75949d8725e32fe012a01d7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"useReplyWatcher.reconcileFirstPage (cognitive 21): useReplyWatcher.reconcileFirstPage has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 4 (5 pts) (nesting depth added 1). Most of this is not in the body itself: 10 of the 21 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 84, 55, 92, \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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f410d1c5a242c67edc457165b98e8cc1ea31d524e20534e36ad2af9e442085f9"}},{"ruleId":"D2","level":"warning","message":{"text":"Ledger.Ledger::renderRow (cognitive 21): Ledger.Ledger::renderRow has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 13, ternaries 5 (6 pts), if/else 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80c4db58a7c31e9f26dfdd9cca3380cc2589d08e7a284945e4157e0e03db43e"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelSelectorContext.ModelSelectorProvider (cognitive 21): ModelSelectorContext.ModelSelectorProvider has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 6, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 128, 205, 221, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b7c225edac16a432edb057fbf3eac7e8f5feb4e0cbcd49ca2dd2433dc2aa7d"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointModelItem.EndpointModelItemComponent (cognitive 21): EndpointModelItem.EndpointModelItemComponent has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, ternaries 7, if/else 5. Of this number, 14 points are the body\u0027s own statements and 7 belong to 3 function items inside it that branch. To reduce it, split the body: 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":"client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e250e123652ea662376135c736288bf3914444d6346a907d1408738236912ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"AssistantAvatar.Avatar (cognitive 21): AssistantAvatar.Avatar has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 1 of the 21 points is its own statement and the rest belongs to 5 function items inside it that branch (handleFileChange, a function literal at line 127, a function literal at line 64, \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":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2af65931d0df9a36bee2404d422e55cb236b81d557c8e14008b7d3913c090bf"}},{"ruleId":"D2","level":"warning","message":{"text":"useMCPServerForm.useMCPServerForm.onSubmit (cognitive 21): useMCPServerForm.useMCPServerForm.onSubmit has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (9 pts), ternaries 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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0fca8eb5080b0109dde80fbc0c7ae8a8129470f446452c97cb3497ac9ab8cfa"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryPanel.MemoryPanel (cognitive 21): MemoryPanel.MemoryPanel has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 3 (4 pts), loops 1 (nesting depth added 2). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 94, 114, 61, \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":"client/src/components/SidePanel/Memories/MemoryPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"91e7ac12a1b13c4a73ff0014e9b242e6f0f45c5affdb249d2c77e135a553c234"}},{"ruleId":"D2","level":"warning","message":{"text":"drafts.removeTabAttachmentPresence (cognitive 21): drafts.removeTabAttachmentPresence has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, loops 2, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad2eb60edf8ded7a33ec2e25dd94526b0d77a4a7b0d6219ca74a4ba135efdbe"}},{"ruleId":"D2","level":"warning","message":{"text":"json.extractJson (cognitive 21): json.extractJson has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/json.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"389f4769cf29887279aa1eb671b196d491ec8c9988dba6c226b7cb5b32fb90fb"}},{"ruleId":"D2","level":"warning","message":{"text":"migrate-prompt-permissions.migrateToPromptGroupPermissions (cognitive 21): migrate-prompt-permissions.migrateToPromptGroupPermissions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (4 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 7). Of this number, 11 points are the body\u0027s own statements and 10 belong to 4 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-prompt-permissions.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3f79fe09d5fa794cc92174f643dcbff87f7f1f3619d5a8a701dcbcc1313fc8"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.claimParkedSteersDetailed (cognitive 21): InMemoryJobStore.claimParkedSteersDetailed has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 6 (7 pts), error handling 1, loops 1, 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3c5d5424d38b8b9c58d9f0fe4398f93482463d2688c1b1b22572a2f7ed74c0"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.processDurableReplacementReceipts (cognitive 21): GenerationJobManagerClass.processDurableReplacementReceipts has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), error handling 2 (6 pts), boolean chains 3, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e1444039e8a96b197abc08bb40b320faff6dc069a76918d62bfacded6fea75"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.completeJob (cognitive 21): GenerationJobManagerClass.completeJob has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (5 pts), ternaries 4 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4620}}}],"partialFingerprints":{"codehealthFindingId/v1":"f617b3124db753ee2730fb949667a24d146c0a5cbd74e610a03f1c9ba55dd2ca"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManager.getPublishedProvenance (cognitive 21): GenerationJobManager.getPublishedProvenance has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 4, ternaries 2 (4 pts), loops 3 (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac734a20adf2778b8b15caa319660b040edc6ebd962443118bb2380e7c9c5de5"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManager.getReplayStepId (cognitive 21): GenerationJobManager.getReplayStepId has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (13 pts), if/else 5, 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acb7ae02d02dd9337ced24f794091ba3a15f5be971509ddba8b0528d064dc6e"}},{"ruleId":"D2","level":"warning","message":{"text":"harvest.createBackgroundCodeResultHandler.\u003Creturned closure\u003E (cognitive 21): harvest.createBackgroundCodeResultHandler.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 6 (9 pts), if/else 5 (7 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":"packages/api/src/agents/harvest.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b496692ad90593ecf1462dae63b463d8895f22bb4d69019b436847a9415068bd"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisSubagentTaskControlTransport.list (cognitive 21): RedisSubagentTaskControlTransport.list has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 3 (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":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"147eaecf8cbc5f6f7a44140727bad9687aa5746ec41b00568a4b4d9ed5b74fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.resolveAgentScopedSkillIds (cognitive 21): skills.resolveAgentScopedSkillIds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), ternaries 2 (5 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3363dda55d676be4f741d08ad661c2255902e979f29ec634e09fdb752bf0289"}},{"ruleId":"D2","level":"warning","message":{"text":"instructions.createRepositoryInstructionLoader.\u003Creturned closure\u003E (cognitive 21): instructions.createRepositoryInstructionLoader.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 5 (6 pts), boolean chains 3, error handling 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/instructions.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8408be9fc458293c54ddd06de7e1eceb3d877d68ea2ab6566f29274107437dc6"}},{"ruleId":"D2","level":"warning","message":{"text":"provenance.getUserSubmittedMessageFieldPathState (cognitive 21): provenance.getUserSubmittedMessageFieldPathState has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 3, error handling 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":"packages/api/src/protection/provenance.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"139429f1b71cfd0372ec0edcdeab4034c2b3a499fba705778da0b2619e04a882"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.projectUserSubmittedPaths (cognitive 21): modelBoundContent.projectUserSubmittedPaths has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 3 (5 pts), boolean chains 2, 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"f122c60faf9c1b69d22ca1614e099f936000d094ba351424376ed632d87fe513"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.appendStoredMessageFileIds (cognitive 21): modelBoundContent.appendStoredMessageFileIds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, loops 2, 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b7cf8e01f1c0407b0f89ab884d5c1b473a14853f9c314748bd4384761f1101"}},{"ruleId":"D2","level":"warning","message":{"text":"processing.createHostEditProcessor.apply (cognitive 21): processing.createHostEditProcessor.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, error handling 2, ternaries 2, loops 1 (nesting depth added 1). Most of this is not in the body itself: 9 of the 21 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 103, 153, 101). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/processing.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299292eadda0451649923834e47631bc1bc4832b11265381d2b8b5798a18699"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.detectToolInputSchemaKind (cognitive 21): handlers.detectToolInputSchemaKind has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (11 pts), loops 3 (6 pts), boolean chains 4 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c3feafc243761833aa619097484acbc31d06fbd2dc500bd8b46cbaca32d9ba"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleCreateFileCall (cognitive 21): handlers.handleCreateFileCall has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (16 pts), boolean chains 3, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1097e4807e8f2d2c2673e3ba92d9ebd3393396e554d8871e0786cc985b22822"}},{"ruleId":"D2","level":"warning","message":{"text":"hookLoader.loadToolApprovalHooks (cognitive 21): hookLoader.loadToolApprovalHooks has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (5 pts), boolean chains 3, loops 2, ternaries 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a16441da88dde7e9ba182f38350ccc3b7983f8c34c493800715ff4f1e3f9c28"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.replayRetainedControl (cognitive 21): SubagentThreadTaskStore.replayRetainedControl has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 3 (4 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb62f08a4641ca31fe337af51b2c03dbb78b70267cd81d653f8f36fc124fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"context.extractMCPServers (cognitive 21): context.extractMCPServers has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (16 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":"packages/api/src/agents/context.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2451e29dd635ec354de9aebe31ffe0712365f685c118402810e49cec6f8fb3ba"}},{"ruleId":"D2","level":"warning","message":{"text":"host.executeAgentRun (cognitive 21): host.executeAgentRun has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (15 pts), error handling 3 (5 pts), boolean chains 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/host.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f443ab086db8fcd649981b9d491eeaa3d81641dbf08796fb44197219f44e209"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createResponseExecutionRuntime.graphOptions (cognitive 21): runtime.createResponseExecutionRuntime.graphOptions has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 9, ternaries 2 (nesting depth added 1). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: 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":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"312f7106cccbb7ad15e9695ccc200f801e807e568c5816357bce92ebace002a3"}},{"ruleId":"D2","level":"warning","message":{"text":"rebinding.collectBoundSecretLocations (cognitive 21): rebinding.collectBoundSecretLocations has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 5 (8 pts), ternaries 3 (nesting depth added 8). Of this number, 18 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e05a32cd13f293a96ae3f260b3d7d3b55dfb80080d68b6c1e93a983bc62166"}},{"ruleId":"D2","level":"warning","message":{"text":"ip.hasPrivateEmbeddedIPv4 (cognitive 21): ip.hasPrivateEmbeddedIPv4 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 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":"packages/api/src/auth/ip.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec42063ee4ca3222c9a4ac0e47876633b4983d3ed8ef6016ba05fbaab041404"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.hydrateSessionFromResolvedTokens (cognitive 21): session.createOpenIDSessionRefreshService.hydrateSessionFromResolvedTokens has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, if/else 7, 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"383d7017b29c51e8a25f3578944c041d354d6ddeaecd3fbff130b06d96005594"}},{"ruleId":"D2","level":"warning","message":{"text":"http.createCodeEnvironmentHttpHandlers.remove (cognitive 21): http.createCodeEnvironmentHttpHandlers.remove has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (8 pts), boolean chains 1, error handling 1 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff198b3e0381480643f304b8dad6882ecda8a66f0fffebc4b149459c928b7e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPServersRegistry.deepEqual (cognitive 21): MCPServersRegistry.deepEqual has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51187445c42a2c45281a05ad1fb4067fc883128e2dfe2d7d3252afd226bbd56"}},{"ruleId":"D2","level":"warning","message":{"text":"oidc.extractOpenIDTokenInfo (cognitive 21): oidc.extractOpenIDTokenInfo has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, 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":"packages/api/src/utils/oidc.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1019633c14f3f2aae63a3c8225ec5e09db60e12a2d703c227ed2bc26414e25"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnection.fetchOrderedToolsSnapshot (cognitive 21): MCPConnection.fetchOrderedToolsSnapshot has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 8, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d79833f3703476ae67919ccc74df60d0744efee6098acef178eda6c8e2fc024"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPManager.discoverServerTools (cognitive 21): MCPManager.discoverServerTools has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 3 (4 pts), error handling 2 (3 pts) (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5034ef9392509ea0b41db72cb047645f626012b9ca6fc7339977a6c169bd11"}},{"ruleId":"D2","level":"warning","message":{"text":"defer.shouldDeferMCPOAuthSignIn (cognitive 21): defer.shouldDeferMCPOAuthSignIn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 7, 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":"packages/api/src/mcp/defer.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f0ff220732c2af46cefb18f9e71c7d6e06e816c1b6788b626ea0cbebc3bd4d"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.completeMCPAuthorizationWithTokenWaiters (cognitive 21): authorization.completeMCPAuthorizationWithTokenWaiters has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (5 pts), ternaries 1 (4 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorization.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0306d5d39a78d2bc8a9b6638a2564122b65dc389bcd43ba2b8b9d6287bc5ac22"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.sanitizeInspectableEncodedValues (cognitive 21): protection.sanitizeInspectableEncodedValues has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af44ee5f229819bddb2b38dd589b1419a11d9d1d0d61196223e6e7d5bf1463d"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.getBlockedMemoryFields (cognitive 21): protection.getBlockedMemoryFields has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 4 (7 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/memory/protection.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ba599e3b4cb1a4627352c32b3f89bcecf6c25c73a1b0f67720deee6cbd3dd9"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createProjectHandlers.updateProject (cognitive 21): handlers.createProjectHandlers.updateProject has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, ternaries 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ea92283b937fd934b22fc9360a9f114bcb60038e397b56c0f9f3b7d6c04de3"}},{"ruleId":"D2","level":"warning","message":{"text":"management.createSkillManagementHandlers.wrap.\u003Creturned closure\u003E (cognitive 21): management.createSkillManagementHandlers.wrap.\u003Creturned closure\u003E has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 6, error handling 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":"packages/api/src/skills/management.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ef73031e31d68f299c820ba9a1baf10a9f22f262df911e82deb80e8efa9baa"}},{"ruleId":"D2","level":"warning","message":{"text":"crud.deleteFileFromS3 (cognitive 21): crud.deleteFileFromS3 has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (16 pts), error handling 2, ternaries 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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"835b33b44e5f96055a784495dc486a0c951e273c3d8e8744c929ef7825192bec"}},{"ruleId":"D2","level":"warning","message":{"text":"web.isCredentialUsable (cognitive 21): web.isCredentialUsable has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 8, loops 1 (2 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf29e66dc447d6b0b32f27688265825314049a98e6d045ef2ba4353d7295abe"}},{"ruleId":"D2","level":"warning","message":{"text":"promptCatalogSync.syncLangfusePromptCatalog (cognitive 21): promptCatalogSync.syncLangfusePromptCatalog has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/promptCatalogSync.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa31aaa84019e4e3bb201a6c5b0f3bab58f3dd969c90d574b14ac5899ac5809"}},{"ruleId":"D2","level":"warning","message":{"text":"SlackHTTPServer.http (cognitive 21): SlackHTTPServer.http has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (6 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 5). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/http.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"244a56996068321eb6dac3d3d76ecdb7e5f902724f1f05cf6abc0dfebe2ecbbe"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.apply (cognitive 21): Chat.apply has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 7, 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f26a5b5f4514e278a3786b393084dff154a65c768e2fa1d537464d64bec26"}},{"ruleId":"D2","level":"warning","message":{"text":"FileContainer.FileContainer (cognitive 21): FileContainer.FileContainer has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 11, ternaries 7 (9 pts), if/else 1 (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileContainer.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e3e275cf9bb11e957918f4bab0ad17cccfd378f8989cc0aee173fbddd6ba5b"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.attributeIssue (cognitive 21): resolution.attributeIssue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (10 pts), ternaries 3 (7 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"245430b060f887e0d462c87b41f298c167e661fa5d5f99527925e4460b70a82c"}},{"ruleId":"D2","level":"warning","message":{"text":"eviction.evictAuthUserDocs (cognitive 21): eviction.evictAuthUserDocs has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 3 (6 pts), loops 2 (3 pts), boolean chains 2, ternaries 2 (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":"packages/data-schemas/src/utils/eviction.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d06818b39546e45555f6665fbe4ace7123cab4e937cfc887582e6c1b1e75b07"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.redactErrorValue (cognitive 21): parsers.redactErrorValue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 7, error handling 1 (2 pts), ternaries 1 (nesting depth added 5). None of this is in the body itself: all 21 points belong to one function literal inside it that branches (line 243). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f45603c4614143217af76726fc4dc20d026927e5d010bf138e57341d12e7abec"}},{"ruleId":"D2","level":"warning","message":{"text":"slackWorkspace.createSlackWorkspaceStorage.configureApp (cognitive 21): slackWorkspace.createSlackWorkspaceStorage.configureApp has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 6. Most of this is not in the body itself: 5 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 228). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9adf7edcec38ee7d7c0bc8d958f86854147c18b566b965b49ce766e40daccf"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.getMessagesForSubagentThreadView (cognitive 21): message.createMessageMethods.getMessagesForSubagentThreadView has cognitive complexity 21 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 6 (8 pts), loops 2, boolean chains 1, error handling 1 (nesting depth added 4). Of this number, 12 points are the body\u0027s own statements and 9 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfa71a24b8ed0b2a60643076edc23387a07ed83f3afeee293259860b7950806"}},{"ruleId":"D2","level":"warning","message":{"text":"channelRun.createChannelRunStorage.observeThreadStop (cognitive 21): channelRun.createChannelRunStorage.observeThreadStop has cognitive complexity 21 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (7 pts), ternaries 4 (6 pts) (nesting depth added 3). Most of this is not in the body itself: 3 of the 21 points are its own statements and the rest belongs to one function literal inside it that branches (line 1083). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":1072}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b754c543b034b24ae3f72cf206c8a3b85c7e0b1e41d438d6ac134f347a75d7"}},{"ruleId":"D2","level":"warning","message":{"text":"auditLog.buildFilter (cognitive 21): auditLog.buildFilter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 6 (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":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"48cc45df3c52196f9e46eb4e88819395698c6697c2cafecfaedea14f11f867c0"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.createAgentQueuedTurnMethods.ensureAgentQueuedTurnIndexes (cognitive 21): queuedTurn.createAgentQueuedTurnMethods.ensureAgentQueuedTurnIndexes has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 1 (4 pts), boolean chains 3, error handling 1 (3 pts), loops 2 (3 pts) (nesting depth added 10). Of this number, 19 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"812cc18a2daf35b5eb78299c2ca2338aa886c0cd376dcf122407ab69d9027019"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.operatorsMutateDocument (cognitive 21): agent.operatorsMutateDocument has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 3 (5 pts), boolean chains 2, 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba873e9adf128dd6bc6b6bd6e40cf6a9562194a26d688ee9b785dcda9042ade5"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.createAgentMethods.getSharedResourceFileIds (cognitive 21): agent.createAgentMethods.getSharedResourceFileIds has cognitive complexity 21 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"895e7a1ba21ab34aad7529be184962adcd7abe5a313a9eca3475edbba1e3741e"}},{"ruleId":"D2","level":"warning","message":{"text":"pool.createPostgresDatabase (cognitive 21): pool.createPostgresDatabase has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, error handling 3 (4 pts), ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 4 of the 21 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 80, isConnectionError, connect, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/pool.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7f6bbe6a7b6f9443309b46ea052b67289def6a2e669e645bd8fbc87c2000fb"}},{"ruleId":"D2","level":"warning","message":{"text":"useMemory (cognitive 21): useMemory has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9, boolean chains 6, error handling 3 (4 pts), ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca8bbee64238cdc30513dbd71c65d05f8c8df4d69815f489a1a594201b3f8b2"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionsController.getResourcePermissions (cognitive 20): PermissionsController.getResourcePermissions has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 2 (4 pts), error handling 1, 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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fd08663b176e6b7d881f60c12b678f3acbe7da848be7c1c4d040c15d885192"}},{"ruleId":"D2","level":"warning","message":{"text":"v1.blockFilteredAgentContent (cognitive 20): v1.blockFilteredAgentContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6, error handling 2 (3 pts) (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c121bc0ba9db6b4983dfe6338458326fe59a63537c4149a8dcfa8fd98d7a149"}},{"ruleId":"D2","level":"warning","message":{"text":"chatV2.chatV2::getRequestFileIds (cognitive 20): chatV2.chatV2::getRequestFileIds has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c751e15583240b641719ad36a638238c4b6e6ba812e1e104f0a2b1af8377e104"}},{"ruleId":"D2","level":"warning","message":{"text":"useUpdateTagsInConvo.useUpdateTagsInConvo.replaceTagsInAllConversations (cognitive 20): useUpdateTagsInConvo.useUpdateTagsInConvo.replaceTagsInAllConversations has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (8 pts), ternaries 2 (7 pts), loops 3 (4 pts), boolean chains 1 (nesting depth added 11). Most of this is not in the body itself: 6 of the 20 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 74, 65, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUpdateTagsInConvo.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e501043f73afc2aba4d22a443a343125ef1a13c15be77855f218ab787a7bc5"}},{"ruleId":"D2","level":"warning","message":{"text":"DeploymentTheme.DeploymentTheme (cognitive 20): DeploymentTheme.DeploymentTheme has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4, ternaries 3. Of this number, 13 points are the body\u0027s own statements and 7 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/DeploymentTheme.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf66474aeaeca1c35fb485908b7225bd9641d838635bcf3bd4fd4a455613bbe"}},{"ruleId":"D2","level":"warning","message":{"text":"Card.TaskCard (cognitive 20): Card.TaskCard has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 14, ternaries 6. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Card.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4e701b099890ba47c7f0f13955a848fb90a84e4e6e4392825c868f65f181d5"}},{"ruleId":"D2","level":"warning","message":{"text":"Button.BackgroundTasksButton::jumpToTool (cognitive 20): Button.BackgroundTasksButton::jumpToTool has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), boolean chains 4, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition. This shape REPEATS in the file: one other method here (Button.BackgroundTasksButton) 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":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"020e8c2cfdb3c2f69b35ba249623b5a79d3bbe22c941e44a17c6e9ba79e2a551"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualizedModelList.VirtualizedModelList (cognitive 20): VirtualizedModelList.VirtualizedModelList has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, ternaries 3 (nesting depth added 2). 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 76, 70, 66, \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":"client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabbf347296596f25a7b8e630156ef40b953a7deded67d16156f7eabbfe478bd"}},{"ruleId":"D2","level":"warning","message":{"text":"ExecuteCode.ExecuteCode (cognitive 20): ExecuteCode.ExecuteCode has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 15, ternaries 4 (5 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":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1789b0bb0b9a436caabc578f5dcb95cee4b67cc41f2e16fd992497f8576cb5b6"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalCall.RetrievalCall (cognitive 20): RetrievalCall.RetrievalCall has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 7, ternaries 2. Of this number, 11 points are the body\u0027s own statements and 9 belong to 6 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6b873666bcc100337e70c6f4d396492e40e0ecf9a126b5aa506afe5fe652b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvoOptions.ConvoOptions (cognitive 20): ConvoOptions.ConvoOptions has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 7 (9 pts), boolean chains 8, if/else 3 (nesting depth added 2). Of this number, 14 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. 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":"client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7c4898e2cb76b07980720c9c8ba6326561e77c4bd91bf42a41231ddfa7c035"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentHandoffs.AgentHandoffs (cognitive 20): AgentHandoffs.AgentHandoffs has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 13, if/else 4, ternaries 3. Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 11 function items inside it that branch (a function literal at line 135, a function literal at line 58, addHandoff, \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":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"361a2fd6b091a6b8e47f67a03d116facd15e6c3caac502d1ec7b1fa891e73961"}},{"ruleId":"D2","level":"warning","message":{"text":"selectors.matchesMcpServer (cognitive 20): selectors.matchesMcpServer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 5, ternaries 2 (4 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/items/selectors.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6e93c67a7a637ab0a20265b2b45f2a0b816b38fdd08c693626692d00060a1f"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolsSection.ToolsSection (cognitive 20): ToolsSection.ToolsSection has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 3 (4 pts), match/switch 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 121, 245, 189, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b9bb963541eb70532969679c4ea9144e0a196e398145a01cd60771bd95f522"}},{"ruleId":"D2","level":"warning","message":{"text":"frontmatter.parseFrontmatter (cognitive 20): frontmatter.parseFrontmatter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (16 pts), loops 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/utils/frontmatter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"445dea693e688dc2b7debac821e6902b1301029fc9eeef5c2de3dbadf5e0b684"}},{"ruleId":"D2","level":"warning","message":{"text":"CreateSkillForm.CreateSkillForm (cognitive 20): CreateSkillForm.CreateSkillForm has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 8, boolean chains 6, if/else 6. Most of this is not in the body itself: 3 of the 20 points are its own statements and the rest belongs to 5 function items inside it that branch (a function literal at line 166, a function literal at line 85, 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":"client/src/components/Skills/forms/CreateSkillForm.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaef852af84aa2afbd7e3b678944bda80b44bef7d662c58a94aaba94426205d1"}},{"ruleId":"D2","level":"warning","message":{"text":"AdminSettingsDialog.AdminSettingsDialog (cognitive 20): AdminSettingsDialog.AdminSettingsDialog has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 11, if/else 8 (9 pts) (nesting depth added 1). Of this number, 11 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":"client/src/components/ui/AdminSettingsDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6facadfd4bf403af8c8f9607e1c03341a47a5ee9f90e00c3e0d69bbc1c3d1a"}},{"ruleId":"D2","level":"warning","message":{"text":"useAttachExisting.useAttachExisting (cognitive 20): useAttachExisting.useAttachExisting has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, loops 1 (2 pts), ternaries 1 (2 pts) (nesting depth added 3). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 74). 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":"client/src/hooks/Files/useAttachExisting.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c4a7ffbf9e37d0c1c69252eb36aa4ce5d65be6deb94fa4b3f4388cddf2ad82"}},{"ruleId":"D2","level":"warning","message":{"text":"useBuildMessageTree.useBuildMessageTree.buildMessageTree (cognitive 20): useBuildMessageTree.useBuildMessageTree.buildMessageTree has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 2 (5 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useBuildMessageTree.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61c9ab250f25e8240eae9321832c0e6c67b566c100bdf23d172e6be5a82b1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.getArraySecretInputError (cognitive 20): secrets.getArraySecretInputError has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 3, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"87dd5ce579331b16dc5848e7365a97bf53711e2714bd11ad1df094733a178221"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.notifyApprovalExpiredRuntime (cognitive 20): GenerationJobManagerClass.notifyApprovalExpiredRuntime has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (6 pts), loops 1 (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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9536}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6eb2c46344f0a57c3489e11cab8e19d2a904d954546966854b7dd7c65a5fe9"}},{"ruleId":"D2","level":"warning","message":{"text":"memory.createMemoryTool (cognitive 20): memory.createMemoryTool has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 4, error handling 1 (nesting depth added 2). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 179). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c248a98c41cd3a90efd8089d876083e77dff259bc60b73245c44f4191a3cb1f"}},{"ruleId":"D2","level":"warning","message":{"text":"usage.recordCollectedUsage::processUsageGroup (cognitive 20): usage.recordCollectedUsage::processUsageGroup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, ternaries 2 (5 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. This shape REPEATS in the file: one other method here (usage.recordCollectedUsage) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78931959e5b97e17b05ce222c0dde18cf2d029d39b753a97399295f6aee7cf8"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.normalizeSkillMdContent (cognitive 20): handlers.normalizeSkillMdContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, ternaries 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c9b460dc8a5cbc04a5ae69b6fbbf37d5bec93c135e8e68098eb96d6026303c"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleWorkspaceFileRead (cognitive 20): handlers.handleWorkspaceFileRead has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 6, boolean chains 2, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"79254a9269d023e8cee32f24ebbca60873df972b61c89eff5210501bb70c1662"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.mergeSandboxSessionArtifact (cognitive 20): handlers.mergeSandboxSessionArtifact has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 4, 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"80534a7711f9fdfc39aaffc96259f251913d90ff323ef7bc39421f66f4a5152e"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.createUnresolvedReviewMatcher (cognitive 20): admission.createUnresolvedReviewMatcher has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 5, loops 3, ternaries 1 (nesting depth added 5). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 4 function items inside it that branch (visitParts, a function literal at line 285, a function literal at line 241, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a2e520b841b33e13673837be2e81161b6f72eede31a27a5a46ff7e1325c0fe"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.collectApprovalAgents (cognitive 20): admission.collectApprovalAgents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 4 (8 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":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"e097fc1725176941906d80312f06027f8f4ce13eb4585e26755b58f20342c72a"}},{"ruleId":"D2","level":"warning","message":{"text":"resume.resolveAskUserQuestionResume (cognitive 20): resume.resolveAskUserQuestionResume has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (14 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c090a74149cbda3e78735a095b9a0ea3e9277954bb96969a33a6b56462d72a11"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.controlResultFromReceipt (cognitive 20): SubagentThreadTaskStore.controlResultFromReceipt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, ternaries 4 (8 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"e687e38d0aea48faa59e9b3d7cbfb40815f47ae90f066a1687735bab7164c694"}},{"ruleId":"D2","level":"warning","message":{"text":"deletion.createCheckpointDeletionReclaimer.\u003Creturned closure\u003E (cognitive 20): deletion.createCheckpointDeletionReclaimer.\u003Creturned closure\u003E has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (9 pts), loops 2 (5 pts), ternaries 1 (4 pts), boolean chains 2 (nesting depth added 7). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 190, 220). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpoints/deletion.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cb16c60449f3e7f5038b59f7c339ac7efaf4b76b43803b4481d333607a2952"}},{"ruleId":"D2","level":"warning","message":{"text":"checks.checkCredentialDatabase (cognitive 20): checks.checkCredentialDatabase has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (17 pts), boolean chains 1, 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":"packages/api/src/app/checks.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1970d0d9df27857f6e5e1cbc069bda46ae1541d862bbdc2a59f1114b0a597387"}},{"ruleId":"D2","level":"warning","message":{"text":"openidRoleSync.selectOpenIdRole (cognitive 20): openidRoleSync.selectOpenIdRole has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 6, loops 2, ternaries 2 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad65e5ed4187a51cc6d980cbc636fe9273a0dd1edca6cf225f4486de6fe5f529"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.publishCompletedFlightTokens (cognitive 20): session.createOpenIDSessionRefreshService.publishCompletedFlightTokens has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (7 pts), boolean chains 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7953dbbcb96bbadd472583bb23990262e6f689dcce194c74a28d2c4d3f0859"}},{"ruleId":"D2","level":"warning","message":{"text":"localRefresh.createLocalRefreshHandler.\u003Creturned closure\u003E (cognitive 20): localRefresh.createLocalRefreshHandler.\u003Creturned closure\u003E has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/localRefresh.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4745d8394d530547125840d27445e566651fa1233a7cc076984ae9b5085569"}},{"ruleId":"D2","level":"warning","message":{"text":"cloudfront-cookies.setCloudFrontCookies (cognitive 20): cloudfront-cookies.setCloudFrontCookies has cognitive complexity 20 (threshold 15). Drivers by points: loops 7 (10 pts), if/else 5 (7 pts), boolean chains 2, error handling 1 (nesting depth added 5). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"69d7c7c6476de49cf5e276ac2238a337369c8e98316a6f006b8f3e3a8aae34ed"}},{"ruleId":"D2","level":"warning","message":{"text":"slackDispatch.createSlackDispatchHandlers.resolve (cognitive 20): slackDispatch.createSlackDispatchHandlers.resolve has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 5 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 172). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/slackDispatch.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6472bdbb456233c5a7f14c1247880bef3287b1e02ecd330d86dbc2bc00844e13"}},{"ruleId":"D2","level":"warning","message":{"text":"inheritance.resolveSubagentCodeWorkspaceInheritance (cognitive 20): inheritance.resolveSubagentCodeWorkspaceInheritance has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 8). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/inheritance.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c3d15e85f06ec6e78a7493d57ad204778d7bcdc83182324b5c31ae46d091f6"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeAnthropic (cognitive 20): initialize.initializeAnthropic has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 6, ternaries 2 (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":"packages/api/src/endpoints/anthropic/initialize.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05d8cf9a5cf78874124a9a50b079ce8c47e38d8e1c223911d784153297bf20f"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPOAuthHandler.assertStoredClientBinding (cognitive 20): MCPOAuthHandler.assertStoredClientBinding has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, 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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"072a561de47d248dae872fcc8531f1442cae755c4be3b9def560f45c31f95671"}},{"ruleId":"D2","level":"warning","message":{"text":"transform.createPiiTextTransformer.createSession.transform (cognitive 20): transform.createPiiTextTransformer.createSession.transform has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (5 pts), boolean chains 4, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/transform.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac61ca515cb26bf3058505ba4ed6ad498d614abaa1be8205e849d4d9197a8c1"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createSkillsHandlers.patch (cognitive 20): handlers.createSkillsHandlers.patch has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (16 pts), error handling 2, boolean chains 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":"packages/api/src/skills/handlers.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ffa771dfcf34bc88e59120b8df9ba04f30b554cf4e0475cdcab61e753397a"}},{"ruleId":"D2","level":"warning","message":{"text":"deletionService.createSkillDeletionService.startSkillDeletionSweep.sweepAbandonedIntents (cognitive 20): deletionService.createSkillDeletionService.startSkillDeletionSweep.sweepAbandonedIntents has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), error handling 4 (5 pts), loops 1 (nesting depth added 4). Most of this is not in the body itself: 4 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 278, 287). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"882fb855b0b8c5672c745d7296c67ac4141f9dd48b56e03290efb09da41d0ba7"}},{"ruleId":"D2","level":"warning","message":{"text":"recoveryCli.runSkillUploadRecoveryCli (cognitive 20): recoveryCli.runSkillUploadRecoveryCli has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 7, 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":"packages/api/src/skills/recoveryCli.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fe3d2e4cb4a3626ec74d6494f0700f510c3913943456eebe69c4bcc8ad6515"}},{"ruleId":"D2","level":"warning","message":{"text":"crud.parseS3KeyParts (cognitive 20): crud.parseS3KeyParts has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (6 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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4122e17151f00eda15e186c6c13d60b8f4e68b2a66e5dbe78dc2f59f75131d8c"}},{"ruleId":"D2","level":"warning","message":{"text":"conformance.helper.verifyAuthorizationFixture (cognitive 20): conformance.helper.verifyAuthorizationFixture has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (16 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":"packages/api/src/schedules/authorization/conformance.helper.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4982ba4365afd51745fd05f0e7168050e93348f76bb06068abe5ee78f381c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"render.mrkdwnChunks (cognitive 20): render.mrkdwnChunks has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 3, loops 2 (nesting depth added 7). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"807aff7a8e41036f8bfb17e2e862f573f6e56f3e6642a641b3d424a54b94859a"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelWorker.execute::syncProgress (cognitive 20): ChannelWorker.execute::syncProgress has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, error handling 1 (3 pts), ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (ChannelWorker.execute) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d49f3f1342fe08ebdcd94cefbda98b13d8350d8009ee2d57bf5283a385d3bf"}},{"ruleId":"D2","level":"warning","message":{"text":"settled.settleStart (cognitive 20): settled.settleStart has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 2 (3 pts), error handling 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/settled.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd44891f619bd935ce9aaa9a04422704cbd73d2d96f2dff5a8ef5588724aa2b"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.endStopped (cognitive 20): Chat.endStopped has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 7 (nesting depth added 2). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"164ee1040ec92f45a2ca8d7907667ef7864931d4c1fec377a2a3155d427aad8a"}},{"ruleId":"D2","level":"warning","message":{"text":"branch.collectAnchorSeries (cognitive 20): branch.collectAnchorSeries has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d87b34bdbeece4f0e5b7c2c98378c9fcec4f02fb65c56447884c91d4871663"}},{"ruleId":"D2","level":"warning","message":{"text":"Fork.Fork (cognitive 20): Fork.Fork has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10, if/else 6, boolean chains 4. 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, 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":"packages/chat/src/components/messages/Fork.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"618552a94ea255d22d02a5aa6afa36b21f8fccecc9c60ef062409a5b66962b97"}},{"ruleId":"D2","level":"warning","message":{"text":"rail.useFoldPath (cognitive 20): rail.useFoldPath has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, loops 2, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 20 points belong to 6 function literals inside it that branch (lines 596, 542, 532, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6fa69c686eef29c4d196cbc641230db9fc699eeb34a4baaaeb7c4bec045e95"}},{"ruleId":"D2","level":"warning","message":{"text":"OriginalDialog.DialogContent (cognitive 20): OriginalDialog.DialogContent has cognitive complexity 20 (threshold 15). Drivers by points: if/else 14 (15 pts), boolean chains 5 (nesting depth added 1). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 263, 312, 346, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/OriginalDialog.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"463665954ddb153c24b516225257edf076453a01c736f5a4600d5dc436d37dd4"}},{"ruleId":"D2","level":"warning","message":{"text":"Radio.Radio (cognitive 20): Radio.Radio has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 6. 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 197, handleKeyDown, a function literal at line 107, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Radio.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"237444263d6cc289b44335b783714e48b3ddb8752f41b52ef1e407ce73df0267"}},{"ruleId":"D2","level":"warning","message":{"text":"aclEntry.createAclEntryMethods.replaceRoleBits (cognitive 20): aclEntry.createAclEntryMethods.replaceRoleBits has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (3 pts), ternaries 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":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72af65e80b9da64c4081bdaef0c86931cf654c931bf59ce4e95631634b7d2ae"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.recordSubagentTaskControlReceipt (cognitive 20): message.createMessageMethods.recordSubagentTaskControlReceipt has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 4, ternaries 3 (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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb6fa4b1f0437cfcee9741802bf0ee1bf4ddaa5eedc4f91a06d7b825a7dbf2b"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.listSubagentTasksForThreads (cognitive 20): message.createMessageMethods.listSubagentTasksForThreads has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 5 (7 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 4 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3920}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff6484d38009033338d05923af42ec44816071a6d674194952006fb8ef61a3e"}},{"ruleId":"D2","level":"warning","message":{"text":"toolApprovalGrant.createToolApprovalGrantMethods::readGrants (cognitive 20): toolApprovalGrant.createToolApprovalGrantMethods::readGrants has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 3, ternaries 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":"packages/data-schemas/src/methods/toolApprovalGrant.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70638d6c652e15a8aab1f427a13fe0cff3631b203983c2cdfbbfa59d35b815b"}},{"ruleId":"D2","level":"warning","message":{"text":"artifacts.readResponseArtifactCatalog (cognitive 20): artifacts.readResponseArtifactCatalog has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 9, if/else 7, ternaries 3 (4 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/artifacts.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"79cd4b2bf81a8883136d71119ad651f1657293dc286d54c980580d363e8ef6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"userGroup.createUserGroupMethods.searchPrincipals (cognitive 20): userGroup.createUserGroupMethods.searchPrincipals has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 6 (nesting depth added 4). Of this number, 19 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"d444732cbbc27f7863e25184ae76532e52fa862907090db41df05060f115d551"}},{"ruleId":"D2","level":"warning","message":{"text":"share.anonymizeMessages.messages (cognitive 20): share.anonymizeMessages.messages has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 17, ternaries 3. Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc968e5ab00989e13b28becefeb450b1bbc901b03b19306060763cd3be3f9c49"}},{"ruleId":"D2","level":"warning","message":{"text":"schedule.createScheduleMethods.createScheduleWithSlot (cognitive 20): schedule.createScheduleMethods.createScheduleWithSlot has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (14 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":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73a2c4160ee1763d49af5dc4a5abf4b4a0bf74869f7b28797d4c94d7a6cd0a6"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerBatchReceipts (cognitive 20): triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerBatchReceipts has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (6 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b0b485395c08173b0212d3e03f4728fa81aeb174988103a49b40a868fc3f8d"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.settleAgentEventActorReceipt (cognitive 20): triggerDelivery.createAgentTriggerDeliveryMethods.settleAgentEventActorReceipt has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 12, if/else 4 (5 pts), ternaries 3 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4f9de5f5e09a933c5ed179c9d92a2576c26948782dca808ae1cd5d68e20366"}},{"ruleId":"D2","level":"warning","message":{"text":"createSamlCallback (cognitive 20): createSamlCallback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 1, other 1, ternaries 1 (nesting depth added 3). None of this is in the body itself: all 20 points belong to one function literal inside it that branches (line 192). 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":"api/strategies/samlStrategy.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a3568651f2994c0fb508e761909fa65a80c020ca6ec9a84ef4b139dccadc93"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseClient.mergeEditedContent (cognitive 19): BaseClient.mergeEditedContent has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, if/else 6, ternaries 1. Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb2aaf79f0d7be796a63ac4097d7f682d674cd8fe3f0fc081f38311e29c6023"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseClient.addPreviousAttachments::processMessage (cognitive 19): BaseClient.addPreviousAttachments::processMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, 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. This shape REPEATS in the file: one other method here (BaseClient.addPreviousAttachments) 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":"api/app/clients/BaseClient.js"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1f09219c120585289ab7b50ae23c988889925d635d599bef811d90d5ea4391"}},{"ruleId":"D2","level":"warning","message":{"text":"GeminiImageGen.createGeminiImageTool.geminiImageGenTool (cognitive 19): GeminiImageGen.createGeminiImageTool.geminiImageGenTool has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 5, error handling 2, 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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ea8acfae78215aa81123fda0a97282df6e6163b63eee24e2491dad3afc62d3"}},{"ruleId":"D2","level":"warning","message":{"text":"formatMessages.formatMessage (cognitive 19): formatMessages.formatMessage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (13 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":"api/app/clients/prompts/formatMessages.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c81513fbf09eca0f6a94f26401fbb9442aff4511161b79970f397da5d607c611"}},{"ruleId":"D2","level":"warning","message":{"text":"connect.connectDb (cognitive 19): connect.connectDb has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (14 pts), boolean chains 3, if/else 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/connect.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"af22f5d1ab171f0ac29919fcacc4488a3d23a6b9818b60973f10d7cb24189a4a"}},{"ruleId":"D2","level":"warning","message":{"text":"process.retrieveAndProcessFile (cognitive 19): process.retrieveAndProcessFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 6, 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":"api/server/services/Files/process.js"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aa513f40e9e0974a60e75897b117d73fd84fdcc47654f1dc098713d837e15d"}},{"ruleId":"D2","level":"warning","message":{"text":"requireJwtAuth.requireJwtAuth (cognitive 19): requireJwtAuth.requireJwtAuth has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 7 (9 pts), ternaries 1 (nesting depth added 2). None of this is in the body itself: all 19 points belong to 4 function items inside it that branch (a function literal at line 179, logAuthenticationFailure, logFallbackSuccess, \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":"api/server/middleware/requireJwtAuth.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"788eb7154d6a43cf8e484bbd4d7dec84003548340f5e75edc191ea0fc289dbbf"}},{"ruleId":"D2","level":"warning","message":{"text":"samlStrategy.createSamlCallback.\u003Creturned closure\u003E (cognitive 19): samlStrategy.createSamlCallback.\u003Creturned closure\u003E has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, error handling 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":"api/strategies/samlStrategy.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf0f8dc7a4220e712f70082e7c05796544d4d9247ba9d982c7324f56551e0b1"}},{"ruleId":"D2","level":"warning","message":{"text":"useTokenUsage.useTokenUsage (cognitive 19): useTokenUsage.useTokenUsage has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 5, ternaries 3 (nesting depth added 1). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 6 function literals inside it that branch (lines 133, 153, 84, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/useTokenUsage.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f08a768c8ab8d479d1b7b2254d35a83e283cf5da3929040e54a6cc6612b8b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"descriptionMorph.measureWords (cognitive 19): descriptionMorph.measureWords has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 3 (nesting depth added 7). Of this number, 14 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/descriptionMorph.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fd2e2709d7cec9af50f66bd575f6b5c3deb95dbfa23d54e5bec54b396dfa36"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillsCommand.SkillsCommandContent (cognitive 19): SkillsCommand.SkillsCommandContent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 4, loops 3 (4 pts), ternaries 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 5 function literals inside it that branch (lines 104, 142, 133, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/SkillsCommand.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a018dd116371e7e784d7a73bae38d882724ce435b02a73e04c936924aa016602"}},{"ruleId":"D2","level":"warning","message":{"text":"Viewer.Viewer::renderBody (cognitive 19): Viewer.Viewer::renderBody has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 3, 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":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecfbbdb6b6eed6b3f36871de72b7bc927800216ea455d2d4f6f998f8eaac00a"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchResults.SearchResults (cognitive 19): SearchResults.SearchResults has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, ternaries 4 (6 pts), if/else 4 (nesting depth added 2). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 213, 180). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae296e88a4a7d68f148b05883733759512f13f1575421a6edd4645eefab3f5b6"}},{"ruleId":"D2","level":"warning","message":{"text":"SortFilterHeader.SortFilterHeader (cognitive 19): SortFilterHeader.SortFilterHeader has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (8 pts), ternaries 5 (8 pts), boolean chains 3 (nesting depth added 4). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 48, 118, 31). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d8ced33589215fac8749de6c7d4c3d0cd6f4bbc37d0a4e48f6b415af897a70"}},{"ruleId":"D2","level":"warning","message":{"text":"DataTable.DataTable (cognitive 19): DataTable.DataTable has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), boolean chains 6, if/else 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 9 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 174, 204, 217, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/DataTable.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"5479cab2552435c1c9a3b73004eeb5c0543692d0ea90e30f8d0c64860e02e8cd"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryCall.MemoryCall (cognitive 19): MemoryCall.MemoryCall has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 3 (4 pts), loops 1, ternaries 1 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5912796189fa037d89476e3c62870138a83c943f2364926475168af2b38591c4"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityPhaseGroup.LivePhaseHeader (cognitive 19): ActivityPhaseGroup.LivePhaseHeader has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 7, if/else 3 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"660098ae2f0dfb1afc35d2d86bff4cbdf8ce1d0ba0c6e3b8abda24112d94cc40"}},{"ruleId":"D2","level":"warning","message":{"text":"ShareButton.ShareButton (cognitive 19): ShareButton.ShareButton has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 9 (11 pts), boolean chains 4, if/else 4 (nesting depth added 2). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/ShareButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8845207e0cc4d2c272d30fa1a2acf732f4efafec8e78e0b6b05df0dc1f7234"}},{"ruleId":"D2","level":"warning","message":{"text":"span.freeSpan (cognitive 19): span.freeSpan has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 8). 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/span.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"360cfa38746b4e448efdb27bcb199f028299ea0b62b76c6befc5accfae4de04b"}},{"ruleId":"D2","level":"warning","message":{"text":"ProviderError.ProviderError (cognitive 19): ProviderError.ProviderError has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (13 pts), if/else 5, 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":"client/src/components/Messages/Content/Error/ProviderError.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84a79d238906170ca5eade48c17924eaf4766535f4f027884050b9301600b87"}},{"ruleId":"D2","level":"warning","message":{"text":"PasskeyItem.PasskeyItem (cognitive 19): PasskeyItem.PasskeyItem has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6, ternaries 3 (4 pts) (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 7 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1157a9ff438e3cd3f16b6d27c235fd636f326e63f014207552539ed8c9b744"}},{"ruleId":"D2","level":"warning","message":{"text":"Passkeys.Passkeys (cognitive 19): Passkeys.Passkeys has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 2, error handling 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/Passkeys.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6fc5a9c5f745b1e6d2ebf547db0d614f1c17c01014f67cff65c751e4d84b90"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryCreateDialog.MemoryCreateDialog (cognitive 19): MemoryCreateDialog.MemoryCreateDialog has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 3 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d8a83c790fdd4feb34120db9e2f5d720aab15bb131096c5c4831fa9dbbc73d"}},{"ruleId":"D2","level":"warning","message":{"text":"retention.estimatePayloadBytes (cognitive 19): retention.estimatePayloadBytes has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (3 pts), loops 2, boolean chains 1 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Messages/retention.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e0d9e87b3fa66538ba49a3eb6fbff745c8527e7d4bed57da6165a7af8916d3"}},{"ruleId":"D2","level":"warning","message":{"text":"files.validateFiles (cognitive 19): files.validateFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 5, 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":"client/src/utils/files.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"96568e5413a9051713a98725c8349de76bc54f7add8ea6a4444e9e27c7aba1f5"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.groupConversations (cognitive 19): convos.groupConversations has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 4 (5 pts), boolean chains 3 (nesting depth added 2). Most of this is not in the body itself: 3 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 155, 192, 191, \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":"client/src/utils/convos.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"75659efc2e752c9135439fa68f713b493a54b9643a543db19d883cf2a7af08c1"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.getLatestText (cognitive 19): messages.getLatestText has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/messages.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecac5914ccb8e9134fd61da4e6db276da70293a93b2d19c1b72e737e9474617b"}},{"ruleId":"D2","level":"warning","message":{"text":"flush-cache.flushFileCache (cognitive 19): flush-cache.flushFileCache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (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":"config/flush-cache.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f918cc57974a0fdbc9697cadd7d79df9e2752183a35782001b3b6634f7355025"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createInspector.inspectFragment (cognitive 19): runtime.createInspector.inspectFragment has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91624695014c953edf8dfd701bd02c186318ae6286366f44d156e3b62c9386c"}},{"ruleId":"D2","level":"warning","message":{"text":"auditLog.createAdminAuditLogHandlers.exportAuditLogCsv (cognitive 19): auditLog.createAdminAuditLogHandlers.exportAuditLogCsv has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (18 pts), error handling 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 5 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"173acbe601c884f96a8fc852d6f1b8635d3f4f060e833f70529c77e3a41a8265"}},{"ruleId":"D2","level":"warning","message":{"text":"config.filterInterfaceOverride (cognitive 19): config.filterInterfaceOverride has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2 (4 pts), 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":"packages/api/src/admin/config.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd63da06d0cbf4581ac9ed671b4a0a1919ccbf05831e12c19199c55747a8ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"config.readRenames (cognitive 19): config.readRenames has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (12 pts), boolean chains 6, 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":"packages/api/src/admin/config.ts"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"884ac4d4a86bd352cbf19a111efafb3c799641a31251c2ff40ce8db6d63957af"}},{"ruleId":"D2","level":"warning","message":{"text":"langfuse.createAdminLangfuseHandlers.testConnection (cognitive 19): langfuse.createAdminLangfuseHandlers.testConnection has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4, 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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c5197234c1fc09b7afa8fa9dd51914ee4510eeb01b664020308faabe236951"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentActivity.createActivityWriter.send (cognitive 19): subagentActivity.createActivityWriter.send has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a987219997cdafc2e689bb0a19f2b09c0f9fe399d0e18e8b371ee0690805bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.enqueueSteerWithReceipt (cognitive 19): InMemoryJobStore.enqueueSteerWithReceipt has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 7, 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c83e18c1b9be0af21762aedf07f7e8313938f17af8aa86b16e9127443040724"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.discardSteerLeftover (cognitive 19): InMemoryJobStore.discardSteerLeftover has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts), error handling 1 (2 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"082ec41c793b6e51d5156e2ac3d6da7613c22d430ee34d07f645ca985c93ea71"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.recoverStaleTerminalPersistence (cognitive 19): GenerationJobManagerClass.recoverStaleTerminalPersistence has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 4). Of this number, 17 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd5024600bd230a087d8453d2566a0d64378bc183bb34b538a6ee755695bdc5"}},{"ruleId":"D2","level":"warning","message":{"text":"view.renderDigest (cognitive 19): view.renderDigest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 5 (7 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":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"088a33c2af43681cf6dbf54da8d8ecaeb66e88c2cf44f09fece57a1526e145b0"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.buildHistoricalToolNames (cognitive 19): tools.buildHistoricalToolNames has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, boolean chains 5, loops 4 (5 pts), ternaries 1 (nesting depth added 1). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d6c764411fe54f097e7e5d091aee4a8e1f106a285fc8077bbea37f5240fb88"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentTaskRouting.parseRequest (cognitive 19): subagentTaskRouting.parseRequest has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, 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":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8b985005b88b3f90aa9adc7f104f5a8645e11991abe9bbec05e8c42e8baf78"}},{"ruleId":"D2","level":"warning","message":{"text":"background.getBackgroundCodeDelivery (cognitive 19): background.getBackgroundCodeDelivery has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 7 (13 pts), boolean chains 4, if/else 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":"packages/api/src/agents/background.ts"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"36813c04d9723645ab8541155259b1c8969367e72e75616bfb1f57e3d2cd3717"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.resolveSkillCatalog (cognitive 19): skills.resolveSkillCatalog has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 3, loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf47cb8fc77d501c5ff2cca7a65aeceb1e0d82815b84ce84afd699eff9372ce7"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.validWorkspaceCapabilities (cognitive 19): bridge.validWorkspaceCapabilities has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 15, if/else 4. Most of this is not in the body itself: 4 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 307, 312). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ad5c7c070d82187ea4f05295aec570772015b8707c3e2cc42b8dc07c08a853"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.getStoredProviderContributionState (cognitive 19): modelBoundContent.getStoredProviderContributionState has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (7 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdc8ed00b1ef8a5040bff52b3e33b3abffb92b3d614567299e1d2d59292730f"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.createModelBoundChatModelCallback (cognitive 19): modelBoundContent.createModelBoundChatModelCallback has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (3 pts), loops 2 (3 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 8). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 3278). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3244}}}],"partialFingerprints":{"codehealthFindingId/v1":"39187b810a362261d4035ec98040117d6cd2028369d653fbe7a521f4bdeef183"}},{"ruleId":"D2","level":"warning","message":{"text":"skillFiles.primeInvokedSkillsForProfiles (cognitive 19): skillFiles.primeInvokedSkillsForProfiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (5 pts), boolean chains 3, 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":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca24f03d933119b649d9d69ae9bf9a462d5283cb25375f65c3e761ef04000ba"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.unresolvedHookSpellings (cognitive 19): admission.unresolvedHookSpellings has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 4 (6 pts), boolean chains 3, ternaries 2 (nesting depth added 5). Of this number, 10 points are the body\u0027s own statements and 9 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":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f041e894a361305962b5e160667e23b385cabe4cab18e89d779d148d08d6ad"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.getResumeCheckpointContent (cognitive 19): protection.getResumeCheckpointContent has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 5 (12 pts), if/else 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 9). Most of this is not in the body itself: 8 of the 19 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 348, 355). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"9921d9bf6fc8de4c6abee1ddb5e9075cf8f5cb2d5b7aa995417f636dd7d1a4ad"}},{"ruleId":"D2","level":"warning","message":{"text":"envelope.parseAgentTriggerEnvelope (cognitive 19): envelope.parseAgentTriggerEnvelope has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 2 (4 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":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3930a9f08e10011a4b1e202fc15ce27e17b00e8bdb5fb3f24e3958ac4b7be45"}},{"ruleId":"D2","level":"warning","message":{"text":"guard.createSubagentThreadTurnGuard.\u003Creturned closure\u003E (cognitive 19): guard.createSubagentThreadTurnGuard.\u003Creturned closure\u003E has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 4, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/guard.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a3459faba7db694d564ac2181e3e8a095814cd07ae86b26af5c1b7308bd85c"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy.convertOcrToContextInPlace (cognitive 19): legacy.convertOcrToContextInPlace has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 4 (nesting depth added 8). 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, 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":"packages/api/src/agents/legacy.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac27b303b84b35f35824e1dd32e1c2980f57cbd21165e172f5884de4a06dfc78"}},{"ruleId":"D2","level":"warning","message":{"text":"view.createParentSubagentIndexHandler.\u003Creturned closure\u003E (cognitive 19): view.createParentSubagentIndexHandler.\u003Creturned closure\u003E has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8, if/else 4 (5 pts), boolean chains 4, error handling 1, loops 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8efbff4619f72a6e957b0fccafae6bef7de650654042af6214ca4cd4b8ae36e"}},{"ruleId":"D2","level":"warning","message":{"text":"metrics.createMetrics.metricsMiddleware (cognitive 19): metrics.createMetrics.metricsMiddleware has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 2 (nesting depth added 3). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 4 function items inside it that branch (complete, markSSEStream, a function literal at line 969, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/metrics.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b28199a6e8d872c13aa35aaf4fd15eb917401612d585a858571d3a3c062b32"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createPasskeyHandlers.authenticatePasskey (cognitive 19): handlers.createPasskeyHandlers.authenticatePasskey has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 4, ternaries 1 (2 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"152d80d731e19eb6ea114d13155c3b8911d83e32252e954d3bb888939c457ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"session.createOpenIDSessionRefreshService.publishResolvedSessionTokens (cognitive 19): session.createOpenIDSessionRefreshService.publishResolvedSessionTokens 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d726fd364dcb1ca08103bc013cc94baf65b4aba0b4f2e3f7006a186d2111863"}},{"ruleId":"D2","level":"warning","message":{"text":"config.mergeAccessibleCodeEnvironments (cognitive 19): config.mergeAccessibleCodeEnvironments has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (6 pts), ternaries 2, error handling 1 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 8 belong to 9 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"162a97d726feb56729d37a0a02e6952262bfada0d0e7b05cb9784e7d17d6f7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.importOne (cognitive 19): attachments.importOne has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 3 (4 pts), error handling 2 (3 pts), boolean chains 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":"packages/api/src/code/attachments.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae8602612fcd16a6c48953ba7c46995fde59858f7c259de2efa16e4e5406b28"}},{"ruleId":"D2","level":"warning","message":{"text":"rename.createRenameConversationHandler.\u003Creturned closure\u003E (cognitive 19): rename.createRenameConversationHandler.\u003Creturned closure\u003E 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/rename.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10331a13956cfbcfbe69d0577d6326b4aa80dd454be64727aabc01375938bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"speech.createSpeechChunkProcessor.processChunks (cognitive 19): speech.createSpeechChunkProcessor.processChunks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 7, 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":"packages/api/src/files/speech.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e037ccdb3813b88892f798c65dd4a491fc61e2afe6b48edba0bc252adad83ae4"}},{"ruleId":"D2","level":"warning","message":{"text":"env.processUserPlaceholders (cognitive 19): env.processUserPlaceholders has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"258fb4d1ec1441476acc47877198c8e22435b5726756637dd5182116e9f974c9"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.loadMCPServerCatalogs (cognitive 19): recovery.loadMCPServerCatalogs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (5 pts), boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). Of this number, 15 points are the body\u0027s own statements and 4 belong to 3 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3fa8cceed5277aac030e53f05e341b7382a4f377705cfe326a631685489d86"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnection.refreshChangedTools (cognitive 19): MCPConnection.refreshChangedTools has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 4, ternaries 1 (2 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee79191318798da7c67e0cf1a63aed2c0f111a14b9f0c2c62dfde9e9b11b3590"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnection.isConnected (cognitive 19): MCPConnection.isConnected has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (14 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4e23b6b03b1e37c0142c02019da7000cf1e4d4b8c6c0e9bfca966ad71983f3"}},{"ruleId":"D2","level":"warning","message":{"text":"code.withCodeApiRateLimit (cognitive 19): code.withCodeApiRateLimit has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), ternaries 1 (3 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/code.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b37245387ff11e64388c9647c563f0ca361f24204d4839abfef29ddc83301a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"content.compactContentParts (cognitive 19): content.compactContentParts has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, ternaries 2 (4 pts), loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/content.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"da711a8f474c50f17e7afa3741697887929ed4654706f51153152ca1302c7bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"balance.buildBalanceUpdateFields (cognitive 19): balance.buildBalanceUpdateFields has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 5 (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":"packages/api/src/middleware/balance.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3bfdd5509febebcf16e46b37d1b938fa3bbd01d785e2f8f240c67c58490d44"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.resolveLangfuseHeaders (cognitive 19): utils.resolveLangfuseHeaders has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/utils.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fc30a12bb5a623dcfa61c0f821a460e61ca2eafe5851f8b29cb7110da69034"}},{"ruleId":"D2","level":"warning","message":{"text":"access.createSharedLinkAccessMiddleware.canAccessSharedLink (cognitive 19): access.createSharedLinkAccessMiddleware.canAccessSharedLink has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13 (16 pts), ternaries 2, boolean chains 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 93, runWithTenant). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/access.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa21d6a6992d1cec9ccd8a4ed6d3e4b54345f97ecc5f7aa288d4c200710aff67"}},{"ruleId":"D2","level":"warning","message":{"text":"run.createScheduledMCPRunPolicy.registerGraph (cognitive 19): run.createScheduledMCPRunPolicy.registerGraph has cognitive complexity 19 (threshold 15). Drivers by points: loops 3 (6 pts), ternaries 3 (6 pts), if/else 2 (5 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/run.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e044385a7e5a67bc7bc829de288c166e04c9771bc22d8e7ec75a0459c3a676c"}},{"ruleId":"D2","level":"warning","message":{"text":"events.normalizeEvent (cognitive 19): events.normalizeEvent has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, 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":"packages/channel-gateway/src/events.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd988b1d758bbc118366c0da328919d5f4580f18ce4f4691a2109dd88b92f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"steer.insertQueuedOrigin (cognitive 19): steer.insertQueuedOrigin has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (nesting depth added 6). Of this number, 17 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":"packages/chat/src/core/steer/steer.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8d41242f754754c0b0e48bd925f94f8a6c3ca1d4decee12428af9093bfd713"}},{"ruleId":"D2","level":"warning","message":{"text":"parseJsonField.unescapeJsonString (cognitive 19): parseJsonField.unescapeJsonString has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 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":"packages/chat/src/core/parts/parseJsonField.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d145f61cb4339dc7dd0b2358db616171335114d252aab0883e1652ea4cd2730"}},{"ruleId":"D2","level":"warning","message":{"text":"questions.parseAskUserQuestionsArgs (cognitive 19): questions.parseAskUserQuestionsArgs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 5, ternaries 2 (3 pts), 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":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5dfe4e35b49cf50b7f19bd61e45987875a6e57f3ba757272797e0632f91a42"}},{"ruleId":"D2","level":"warning","message":{"text":"routing.collectReachableAgents (cognitive 19): routing.collectReachableAgents has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (6 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). Of this number, 15 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":"packages/chat/src/core/code/routing.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"da84d7f7e98f8b687a5b17f547968e0656b599a589c13dc2c83ed712fcd653a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Summary.Summary (cognitive 19): Summary.Summary has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 7, if/else 7, ternaries 5. Most of this is not in the body itself: 7 of the 19 points are its own statements and the rest belongs to 5 function literals inside it that branch (lines 244, 257, 217, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/Summary.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63749fa0f33ba8038edf1b6dbcba851ad747d42b53cd804981bcfffabad3a26"}},{"ruleId":"D2","level":"warning","message":{"text":"Command.CommandPopover (cognitive 19): Command.CommandPopover has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to 2 function items inside it that branch (handleKeyDown, cancelBlurClose). 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":"packages/chat/src/components/composer/popover/Command.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb07008258c3f9746108ab9ddb8735ad00bb2d4c2d110051bb6628487083d0d3"}},{"ruleId":"D2","level":"warning","message":{"text":"composer.useComposerTake (cognitive 19): composer.useComposerTake has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 7, loops 1. None of this is in the body itself: all 19 points belong to 5 function literals inside it that branch (lines 52, 99, 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":"packages/chat/src/react/steering/composer.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"538e6b232a023ad434138a96be2592e8f7ffe95363f23ed1ad20bad061126ef2"}},{"ruleId":"D2","level":"warning","message":{"text":"useSteering.useSteering (cognitive 19): useSteering.useSteering has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 13, if/else 3, ternaries 3. Of this number, 16 points are the body\u0027s own statements and 3 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03354c921c1d49c2cbe926589b6ece44f91b8418763a6f2e17041e0b25c425c"}},{"ruleId":"D2","level":"warning","message":{"text":"Reasoning.ReasoningControl (cognitive 19): Reasoning.ReasoningControl has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 8 (10 pts), if/else 6, boolean chains 3 (nesting depth added 2). Of this number, 14 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Reasoning.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f767503822b07476761234f8ff688daaf7c1c7775ab465a5a08d345a1a03220"}},{"ruleId":"D2","level":"warning","message":{"text":"state.storedControlState (cognitive 19): state.storedControlState has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 12, ternaries 4, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a423257c3cf70f504862e60eca9222c20855c464dfed6c9b9a7eb0218924df7d"}},{"ruleId":"D2","level":"warning","message":{"text":"legacy.useLegacyStream (cognitive 19): legacy.useLegacyStream has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (4 pts), boolean chains 3, error handling 2, match/switch 1 (nesting depth added 3). None of this is in the body itself: all 19 points belong to 6 function literals inside it that branch (lines 225, 143, 164, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e7836000b8e44b3a8d9e2b57aae516eb047de5ff083a8d5db0aac783a6b3c9"}},{"ruleId":"D2","level":"warning","message":{"text":"useSteerEscalate.useSteerEscalate (cognitive 19): useSteerEscalate.useSteerEscalate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), ternaries 4 (5 pts), boolean chains 3, error handling 1 (nesting depth added 4). None of this is in the body itself: all 19 points belong to 4 function literals inside it that branch (lines 88, 71, 96, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerEscalate.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4601e9409b05a1640998db72c39ee97de74c8cf65076275f20ec863eb4f3512"}},{"ruleId":"D2","level":"warning","message":{"text":"langchain.stripLangChainTroubleshootingUrl (cognitive 19): langchain.stripLangChainTroubleshootingUrl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 4 (7 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/langchain.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4afc8d706a5ffa0ff0baebf1b52d535583b5f8194952c53996ad31e4b38ce6"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.startLayerTrack (cognitive 19): resolution.startLayerTrack has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 2 (5 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e3719dce389075ec3f52cfd6f573bd998e1cbc01a392fcc951350c14d6b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"retry.retryWithBackoff (cognitive 19): retry.retryWithBackoff has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (7 pts), ternaries 2 (7 pts), boolean chains 2, error handling 1 (2 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/retry.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8428cf7181189a0bd543a0dd677a8c75787415b7f8e9c99f8cefa01d137c7267"}},{"ruleId":"D2","level":"warning","message":{"text":"pruning.historicalActorReferences (cognitive 19): pruning.historicalActorReferences has cognitive complexity 19 (threshold 15). Drivers by points: if/else 2 (8 pts), loops 3 (6 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/checkpoints/pruning.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fac3e5d66e3ad87f3d67a62f9e86d3565949b2c2d0964f22621083664fc86bc"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.parseBackgroundToolResults (cognitive 19): message.createMessageMethods.parseBackgroundToolResults has cognitive complexity 19 (threshold 15). Drivers by points: ternaries 4 (8 pts), if/else 4 (7 pts), boolean chains 3, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8bdc13d7493552461fe7721ade9d6ce0fb1b30c5ed1ac91b9a27806f3602ec"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurn.normalizeFiles (cognitive 19): queuedTurn.normalizeFiles has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 11, if/else 4 (6 pts), 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1e5579a4aac449e0bb264f505607ba670b9c22faeb9ba5fbdc4b46d9b27f5f"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerUserPurges (cognitive 19): triggerDelivery.createAgentTriggerDeliveryMethods.recoverAgentTriggerUserPurges has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 2, ternaries 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4878}}}],"partialFingerprints":{"codehealthFindingId/v1":"1186ef8542069a64abef688d3f4932c054b8a7ae3b0630fa057462717afc5740"}},{"ruleId":"D2","level":"warning","message":{"text":"main.loadConfig (cognitive 19): main.loadConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ec173351f79ce4f1932f7e5fc20f4991a67605b8c7ee7e3c27a765f08b6eb2"}},{"ruleId":"D2","level":"warning","message":{"text":"generateActivityLabelViaRun (cognitive 19): generateActivityLabelViaRun has cognitive complexity 19 (threshold 15). Drivers by points: other 7, boolean chains 4, ternaries 4, if/else 3, error handling 1. Of this number, 10 points are the body\u0027s own statements and 9 belong to 6 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"633fead6fd3f1bf03b94626a7f9223b344c94fe4c3fae714f66bfbf831fdef3d"}},{"ruleId":"D2","level":"warning","message":{"text":"getEventActorContext (cognitive 19): getEventActorContext has cognitive complexity 19 (threshold 15). Drivers by points: other 7, ternaries 5, if/else 2 (3 pts), loops 3, boolean chains 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"b558bd533c5bf62837da5f1049b2b7afcfdc34ce081c9fc6a304ff6efb1829cf"}},{"ruleId":"D2","level":"warning","message":{"text":"processFileUpload (cognitive 19): processFileUpload has cognitive complexity 19 (threshold 15). Drivers by points: boolean chains 5, other 5, ternaries 5, if/else 4. Of this number, 14 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"426dcaa6ccbd4a1cb0e1d0fb165fdac8a38adc3f46d5c68ac35d461185c7fefc"}},{"ruleId":"D2","level":"warning","message":{"text":"filterFile (cognitive 19): filterFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, boolean chains 4, ternaries 3 (4 pts), other 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"926f1f48c95ce8e485650f56ac8f4e112cd9dee51d6dce2cdca52b7467c0fb21"}},{"ruleId":"D2","level":"warning","message":{"text":"getDefaultHandlers::handle (cognitive 19): getDefaultHandlers::handle has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, other 3, error handling 1 (2 pts), loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"59313fd18021f86208ed7f2e20bc6c49e4dc679ac9aadb02104315115287ba47"}},{"ruleId":"D2","level":"warning","message":{"text":"getPreparedCodeOutputBuffer (cognitive 19): getPreparedCodeOutputBuffer has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 7, loops 1, other 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b0e0b3a6580e958debfd14bec09933b0f25ff687a56848c0dec6d682390b88"}},{"ruleId":"D2","level":"warning","message":{"text":"indexSync (cognitive 19): indexSync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), error handling 2 (4 pts), boolean chains 2 (nesting depth added 6). Of this number, 12 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":"api/db/indexSync.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7c268376a677060551fcec95ecaac224e10f83f1ba83a47788e5ec0e29549b"}},{"ruleId":"D2","level":"warning","message":{"text":"processAddedConvo (cognitive 19): processAddedConvo has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, other 2, 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":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcd90219bae6aa3d0c2d902e3e5797db8b90d430775a8721c33c274a8dc0006"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentClient.finalizeSubagentContent (cognitive 18): AgentClient.finalizeSubagentContent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, error handling 1 (2 pts), ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b938b00c8e385304c91b5dd11d254621c60b6676b0889cb271d903612034e6"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth.createOAuthHandler.\u003Creturned closure\u003E (cognitive 18): oauth.createOAuthHandler.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4, 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":"api/server/controllers/auth/oauth.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f4017f973ccd12bc42ebcc2f6e59f8f5b24c738d99a2d7351e95765d8864d8"}},{"ruleId":"D2","level":"warning","message":{"text":"STTService.processSpeechToText (cognitive 18): STTService.processSpeechToText has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, error handling 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07f8217db68d75ff96a82ea0adf43599cb943d55c72a47ff10995c733795b2a"}},{"ruleId":"D2","level":"warning","message":{"text":"memories.router.post(\u0022/\u0022) (cognitive 18): memories.router.post(\u0022/\u0022) has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fcebcfb4c158534fc1e4e440249a19b9037881f17402355a8fb42dd68eadaa"}},{"ruleId":"D2","level":"warning","message":{"text":"initialize.initializeClient (cognitive 18): initialize.initializeClient has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 3, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/azureAssistants/initialize.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eda85f7e546d275898382f412a55e22d16ae31a3bc9d42fc10ae12c4fcccdb"}},{"ruleId":"D2","level":"warning","message":{"text":"handle.waitForRun (cognitive 18): handle.waitForRun has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"390142f5482ed4bbf67941ec6dcf5a24605bff655de77e646f44f1472b9cbff0"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolService.loadToolDefinitionsWrapper::getActionToolDefinitions (cognitive 18): ToolService.loadToolDefinitionsWrapper::getActionToolDefinitions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ce8c7ff81d30361f2de284affae94f62f9a1903a163e7f81cbd6de9834a9d1"}},{"ruleId":"D2","level":"warning","message":{"text":"credentials.loadAuthValues::findAuthValue (cognitive 18): credentials.loadAuthValues::findAuthValue has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), boolean chains 5, 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":"api/server/services/Tools/credentials.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1d4e21821a682a7319ef7f5b95f4cc364c96b83b82714bb35517cf4ce361f4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPanelContext.AgentPanelProvider (cognitive 18): AgentPanelContext.AgentPanelProvider has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 11, if/else 3 (4 pts), loops 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 103, 52). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"933909c0d07469ba9f89f54f7c74039d0bba8269d01ea3b1dcc244fd3da27953"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorDisplay.ErrorDisplay::getErrorInfo (cognitive 18): ErrorDisplay.ErrorDisplay::getErrorInfo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, 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":"client/src/components/Agents/ErrorDisplay.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c4676e7c0d84258a94c4b0a5fe0bf5ba6c1bc1fb9d6c2153e56f7356edebc6"}},{"ruleId":"D2","level":"warning","message":{"text":"useTasks.useBackgroundTasks.stopRows (cognitive 18): useTasks.useBackgroundTasks.stopRows has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 5, if/else 5, ternaries 4, error handling 1 (2 pts), loops 1 (2 pts) (nesting depth added 2). Of this number, 9 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body: 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":"client/src/components/Chat/BackgroundTasks/useTasks.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb280e7b7f96e81e6b88311f2ec3d6b1ffe9ea0b95b0907014a523343839c367"}},{"ruleId":"D2","level":"warning","message":{"text":"Button.BackgroundTasksButton (cognitive 18): Button.BackgroundTasksButton has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 27, if/else 17 (20 pts), ternaries 6 (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. This shape REPEATS in the file: one other method here (Button.BackgroundTasksButton::jumpToTool) 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":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"437197fe08e2559873188113dab70e9c9a9415ee661bc81772ec126684630605"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalContext.ApprovalStateProvider (cognitive 18): ApprovalContext.ApprovalStateProvider has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 2, loops 1, ternaries 1 (nesting depth added 1). None of this is in the body itself: all 18 points belong to 8 function literals inside it that branch (lines 245, 333, 208, \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":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ec1cca743d4da0369229577d084fe90947afff68646979acf13a21bf755f88"}},{"ruleId":"D2","level":"warning","message":{"text":"PromptsCommand.PromptsCommand (cognitive 18): PromptsCommand.PromptsCommand has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 5, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 3 function literals inside it that branch (lines 88, 156, 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":"client/src/components/Chat/Input/PromptsCommand.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ef5677570e5883f98cd6460412fea98148a2e78fa13b2460a567eee38f1818"}},{"ruleId":"D2","level":"warning","message":{"text":"Files.FileGrid (cognitive 18): Files.FileGrid has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 6, ternaries 2. Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 6 function items inside it that branch (a function literal at line 268, a function literal at line 228, a function literal at line 262, \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":"client/src/components/Chat/Input/Composer/Files.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"903c5c1ca6d535e9d36c3e8d97a07a5dae0da7476457d3b858b78d61209edc99"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentHandoff.AgentHandoff (cognitive 18): AgentHandoff.AgentHandoff 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, 9 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6d1b6932501c077732b14058b703456280649b22ddeba335b078c5750d95f7"}},{"ruleId":"D2","level":"warning","message":{"text":"SearchContent.SearchContent (cognitive 18): SearchContent.SearchContent has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (6 pts), ternaries 3 (6 pts) (nesting depth added 5). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 57). 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":"client/src/components/Chat/Messages/Content/SearchContent.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39a90fe407fa36fd78686fa0b642b03f867d03310ca02c6a828ee030958238d"}},{"ruleId":"D2","level":"warning","message":{"text":"Review.PendingToolApprovalPanel (cognitive 18): Review.PendingToolApprovalPanel has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 4. Of this number, 9 points are the body\u0027s own statements and 9 belong to 4 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/approval/Review.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3252f53fecc76c53b12a53c7e07371ad79b721a6e204998a6f6a69bb933da55"}},{"ruleId":"D2","level":"warning","message":{"text":"PinnedSection.DraggablePinnedRow (cognitive 18): PinnedSection.DraggablePinnedRow has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 6. Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (handleKeyDown, moveAtPointer, a function literal at line 182, \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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9c9c6c234e860b1ddb48a8dba0d2b7a0a60ff8dfbb14464dbbcb98bb31acde"}},{"ruleId":"D2","level":"warning","message":{"text":"Google.GoogleSettings (cognitive 18): Google.GoogleSettings has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 2, loops 1 (nesting depth added 4). 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 items inside it that branch (a function literal at line 57, renderComponent, a function literal at line 22). 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":"client/src/components/Endpoints/Settings/Google.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20253c01c428d227860e3ebfbb44904ecaa33ed32a89e7296497ecd0247c62d"}},{"ruleId":"D2","level":"warning","message":{"text":"ModelError.ModelError (cognitive 18): ModelError.ModelError has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (10 pts), if/else 5 (6 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Error/ModelError.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"04dea695243f2fbc18c54e3fa8aefa5bad5f16a01177ab287ff3c30d445d3467"}},{"ruleId":"D2","level":"warning","message":{"text":"SharedLinks.SharedLinks (cognitive 18): SharedLinks.SharedLinks has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6, boolean chains 5, if/else 5, error handling 1, loops 1. Most of this is not in the body itself: 2 of the 18 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 98, 137, 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":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1fbc7fab01875426b1815a22862f433c09309f4470cff01b05ac83188fc6c4"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentConfig.AgentConfig (cognitive 18): AgentConfig.AgentConfig has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 9, ternaries 9. Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 202, 235, 93). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentConfig.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0bdbeadebc723789b3ae51330f003d51d0478af046ff82ac6d08a5b909df804"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentPanel.composeAgentUpdatePayload (cognitive 18): AgentPanel.composeAgentUpdatePayload has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10, boolean chains 6, if/else 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":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f57cf3e0fb2380e6591164834fd93a1fc11736907a6aefb844fc0d94b7d58de"}},{"ruleId":"D2","level":"warning","message":{"text":"Panel.Parameters (cognitive 18): Panel.Parameters has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 5, ternaries 3. Most of this is not in the body itself: 3 of the 18 points are its own statements and the rest belongs to 9 function literals inside it that branch (lines 102, 53, 93, \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":"client/src/components/SidePanel/Parameters/Panel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cba5f8c64570af344be08a865e5b1507ec91c35b4cf3e88e07aacfeebaeaf6f"}},{"ruleId":"D2","level":"warning","message":{"text":"mutations.useConversationTagMutation (cognitive 18): mutations.useConversationTagMutation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 3). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 4 function items inside it that branch (onMutationSuccess, a function literal at line 1195, a function literal at line 1237, \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":"client/src/data-provider/mutations.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61836b0c6d677c09db08a44ff6cb109d5fb06650cfaa6fa349e3c59079c1145"}},{"ruleId":"D2","level":"warning","message":{"text":"useAskAnswerMode.useAskAnswerMode.handleComposerKeyDown (cognitive 18): useAskAnswerMode.useAskAnswerMode.handleComposerKeyDown has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (14 pts), boolean chains 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca44f8a8baf1b491bc63d924ad73e1c8b384ff9629c098bf0366a831db00ba4"}},{"ruleId":"D2","level":"warning","message":{"text":"bootstrap.installRumBootstrap (cognitive 18): bootstrap.installRumBootstrap has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (6 pts), error handling 3, ternaries 1 (2 pts) (nesting depth added 2). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 8 function items inside it that branch (enqueueRumEvent, persistRumQueue, a function literal at line 130, \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":"client/src/lib/rum/bootstrap.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2343742a24e7c9376d833da233dae9a250416567cbb4c8d85393daab02aa6758"}},{"ruleId":"D2","level":"warning","message":{"text":"files.isProviderAttachType (cognitive 18): files.isProviderAttachType has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 5 (8 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"167974d0c4161712a867a0467d5e65f893a1b347022277f44868b16f61622a68"}},{"ruleId":"D2","level":"warning","message":{"text":"drafts.findAnchoredInsertStart (cognitive 18): drafts.findAnchoredInsertStart has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af58da628e373ecf28427ba1b1d6b0d03b02812aa0b8ea2076c232b183d51a0"}},{"ruleId":"D2","level":"warning","message":{"text":"richtext.serializeNode (cognitive 18): richtext.serializeNode has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 6 (12 pts), if/else 1 (2 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/richtext.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570b3770c0e98611ad84bda4165feb792be9e4a6fad0d67c56599fecc29ad20"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessControlService.grantPermission (cognitive 18): AccessControlService.grantPermission has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 6, ternaries 1 (2 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"83946e52686ec83a4faf4af85dec23f316debc4a8802c8c99c85d73e495d38ac"}},{"ruleId":"D2","level":"warning","message":{"text":"config.createAdminConfigHandlers.toggleConfig (cognitive 18): config.createAdminConfigHandlers.toggleConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, error handling 2, ternaries 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":5009}}}],"partialFingerprints":{"codehealthFindingId/v1":"954bf2979d112318679a9589fd11ac5897ab091d2d51a5fc536cf0056aafe165"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createActivityLabelHook.\u003Creturned closure\u003E (cognitive 18): runtime.createActivityLabelHook.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 7, error handling 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 4 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 554, 566, 594). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ef83843580a6ef6d8802c8b0d54e77c8886952fc1bde4092ffc5b22b15e9ce"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.consumeParkedSteer (cognitive 18): InMemoryJobStore.consumeParkedSteer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 8, error handling 1 (nesting depth added 1). 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: 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c755ca192843e230561a10e68ff11f42c4cc53e14016c211e6654639a8e1e69"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.getOrCreateRuntimeState (cognitive 18): GenerationJobManagerClass.getOrCreateRuntimeState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, error handling 1 (2 pts), ternaries 1 (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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c158137daceef8ef680428967c55e60b66adcb31eab40035b2654aa6323a9b7"}},{"ruleId":"D2","level":"warning","message":{"text":"settled.waitForGenerationSettled (cognitive 18): settled.waitForGenerationSettled has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (14 pts), boolean chains 3, error handling 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 60, 41, 51, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/settled.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"609e57d2d70acfc45b5a1cb72e979181d0d2e694310d5d1c01b4f117e1ba14ab"}},{"ruleId":"D2","level":"warning","message":{"text":"tree.activityTreeFromProjection (cognitive 18): tree.activityTreeFromProjection has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (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":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f3c5b92d9d02034f0e39b3f02a7059f65927d6ef95962387d7f253538aac4e"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityRecorder.record (cognitive 18): ActivityRecorder.record has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3 (6 pts), loops 1 (2 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5768840da2c9bb325d5ea76293dd8f94da1915789450c00d4022406acd31912e"}},{"ruleId":"D2","level":"warning","message":{"text":"orphans.normalizeToolResourceFiles (cognitive 18): orphans.normalizeToolResourceFiles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 2 (4 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":"packages/api/src/agents/orphans.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6a005300a32b086af78f8e87539e0936b987600587878d3f3dc2116e98ff26"}},{"ruleId":"D2","level":"warning","message":{"text":"provenance.isEffectiveUserSubmittedPath (cognitive 18): provenance.isEffectiveUserSubmittedPath has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57e011ce4a95cd0bfc6095406f4881360ed6b6b332464d3ad4b33652a81a7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.projectModelBoundSourceFiles::appendResolvedFiles (cognitive 18): modelBoundContent.projectModelBoundSourceFiles::appendResolvedFiles has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), 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. This shape REPEATS in the file: one other method here (modelBoundContent.projectModelBoundSourceFiles) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"964593150dad1724f93d56b9019c1076706cd1ed9e61d06115539242aa8dfbe5"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.getStoredSubmittedPathState (cognitive 18): modelBoundContent.getStoredSubmittedPathState has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"4817492173199aeed28579a7ee7f0d92e891aacb63883238d4afc71b180c0758"}},{"ruleId":"D2","level":"warning","message":{"text":"modelBoundContent.createModelBoundProviderContentIndex (cognitive 18): modelBoundContent.createModelBoundProviderContentIndex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), loops 3 (7 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1868ecb422118c72cdc2044af8ba65128c0dbd1a8d639d78ecb36e86dd5fb45"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.buildHITLRunWiring (cognitive 18): runtime.buildHITLRunWiring has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 2 (3 pts), error handling 1 (2 pts) (nesting depth added 9). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 137). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/runtime.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2b597b5182d50442d5b87bec92829f3ed1557c9be8107bd6325224e83e7c78"}},{"ruleId":"D2","level":"warning","message":{"text":"answers.collectRetainedAnswers (cognitive 18): answers.collectRetainedAnswers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (11 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"730384d2994c51dabeb05444cff9004dc8fdebe2b34be4ca2d56ad020927a7f7"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction.settleExistingRowsBeforeErrorTurn (cognitive 18): compaction.settleExistingRowsBeforeErrorTurn has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 3, ternaries 2 (3 pts) (nesting depth added 4). Of this number, 14 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef372b99255f4ffd568955c65ae8c60d85abcffa6587185d60e3474dd0c0d2"}},{"ruleId":"D2","level":"warning","message":{"text":"service.validateFunctionCallOutput (cognitive 18): service.validateFunctionCallOutput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (16 pts), boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e847b4f3cffb060a5190e87850e1f397241f4977bc42c6982ddbc9e2dd6dd2"}},{"ruleId":"D2","level":"warning","message":{"text":"engine.createAgentTriggerDeliveryEngine.runClaimPass (cognitive 18): engine.createAgentTriggerDeliveryEngine.runClaimPass has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 2 (3 pts), boolean chains 2, error handling 1 (nesting depth added 5). Of this number, 13 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e2f9a10ba38e8c03124b39bd3e9ed02f38a56480c9a6938bf3ffd97e26726b"}},{"ruleId":"D2","level":"warning","message":{"text":"stored.restoreOutputIdentity (cognitive 18): stored.restoreOutputIdentity has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (5 pts), boolean chains 2, ternaries 1 (nesting depth added 7). 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":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af3b4e427b560ce3ca26c1d7b456a16e13a019b6278c8a2ea04ae5682abd4cc"}},{"ruleId":"D2","level":"warning","message":{"text":"media.stampSteerPartMedia (cognitive 18): media.stampSteerPartMedia has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 3, ternaries 2 (3 pts), error handling 1 (nesting depth added 5). Of this number, 9 points are the body\u0027s own statements and 9 belong to 5 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/media.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7492b44e6326aa24cd03f995bd9c7130336b4eb0f45e791c0cb2ce94a8f76b20"}},{"ruleId":"D2","level":"warning","message":{"text":"rebinding.findCustomEndpointDrops (cognitive 18): rebinding.findCustomEndpointDrops has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), ternaries 2 (4 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":"packages/api/src/app/rebinding.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53abd73bdaff0f1e4c0c641b026216a2cf60ddbe730782351adfed66e5f0282"}},{"ruleId":"D2","level":"warning","message":{"text":"googleRefresh.resolveAdminUser (cognitive 18): googleRefresh.resolveAdminUser has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/googleRefresh.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"215e2ba25620a8b830502007018750f2a431c2ae44d48ebd7ac1455c078de207"}},{"ruleId":"D2","level":"warning","message":{"text":"cloudfront.initializeCloudFront (cognitive 18): cloudfront.initializeCloudFront has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (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":"packages/api/src/cdn/cloudfront.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ee50eb8a06e4b110bfe856b8064568e4021269fb8715aa8b37eec1293e7a9"}},{"ruleId":"D2","level":"warning","message":{"text":"responses.getResponsesApiRouting (cognitive 18): responses.getResponsesApiRouting has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 2 (3 pts), error handling 1 (2 pts), ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/responses.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23737a60ff7299a3af4b8e0edc0e9b89ab826df344c5349520c26ffe66fa628"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTokenStorage.adoptRotatedTokens (cognitive 18): MCPTokenStorage.adoptRotatedTokens has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, if/else 5. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"a102719885e6708f5f45d557d7167b2a5f90f58507c5a0218c32bdc6af40b145"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.extractSSEErrorMessage (cognitive 18): errors.extractSSEErrorMessage has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 8, ternaries 2. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"187450df4b35c362f7f1b81f285e6f8e37dee433bc0ad04cad388b7291241c17"}},{"ruleId":"D2","level":"warning","message":{"text":"oidc.processOpenIDPlaceholders (cognitive 18): oidc.processOpenIDPlaceholders has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (7 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/oidc.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d0331d27fd23d1390ccd6ec6c26feda925a1ac15b4116659f07845c184a295"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionFactory.connectTo (cognitive 18): MCPConnectionFactory.connectTo has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (13 pts), boolean chains 2, 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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe999d772e89c18c8a61ed6e348336cdecada61bd2c72e65b2adf85c10d039d"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPManager.waitForActiveRecovery (cognitive 18): MCPManager.waitForActiveRecovery has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 4, ternaries 1 (nesting depth added 3). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 4 function items inside it that branch (release, release::abortIfUnowned, a function literal at line 467, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad4615d66b0bd978559a9cee64bb2b2e68a3d7bbbafeef84f7702ec43514271"}},{"ruleId":"D2","level":"warning","message":{"text":"error.ErrorController (cognitive 18): error.ErrorController has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, boolean chains 7, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d576f780ef474d97dc10af94f717e6888d1422fea6a8bd6d2bd46ac968c2ec2"}},{"ruleId":"D2","level":"warning","message":{"text":"requirements.resolveScheduledMCPRequirements::visitDirectTree (cognitive 18): requirements.resolveScheduledMCPRequirements::visitDirectTree has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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. This shape REPEATS in the file: one other method here (requirements.resolveScheduledMCPRequirements) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c4d6bb7cd5da1d46a3d895e25205a8091cb33fe61112dda69d8dce9a0349e8"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createSchedulesHandlers.runScheduleNow (cognitive 18): handlers.createSchedulesHandlers.runScheduleNow has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4644ead77140f8f5e697d8017121b8547dfeee860050088ddd5a3e02b903a721"}},{"ruleId":"D2","level":"warning","message":{"text":"deployment.createDeploymentSkillMethods (cognitive 18): deployment.createDeploymentSkillMethods has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), ternaries 7 (nesting depth added 2). None of this is in the body itself: all 18 points belong to 8 function literals inside it that branch (lines 593, 500, 507, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"43825c8e1ca35c2f87bd1aff7079e8494fcb6c1928cd121de2c53adfe219e447"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createSkillsHandlers.create (cognitive 18): handlers.createSkillsHandlers.create has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), error handling 4 (5 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":"packages/api/src/skills/handlers.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d211a104d806aef7425e7e0676e8bf68e31138d2dfa80e1084123ca70f05a25"}},{"ruleId":"D2","level":"warning","message":{"text":"mcp.readStdioServer (cognitive 18): mcp.readStdioServer has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, loops 2, ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/mcp.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e3cd01f641e49c33274e56b680f5ceb96eec1faabb95fd2849f4693de033b4"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.loadPluginSkills (cognitive 18): skills.loadPluginSkills has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (3 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/skills.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a72a94aa49e84110833f15586b7b651bea1767711fcefa9057b1f6c2ea0b2b"}},{"ruleId":"D2","level":"warning","message":{"text":"crud.saveReadableToS3 (cognitive 18): crud.saveReadableToS3 has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 2 (4 pts), loops 2 (3 pts), ternaries 1 (2 pts) (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"be510e56730c4315a395fedb43265f18ee104f8d46ee47079d21f17922f758fd"}},{"ruleId":"D2","level":"warning","message":{"text":"crud.extractKeyFromS3Url (cognitive 18): crud.extractKeyFromS3Url has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, 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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b398152a8365b6b145e36dbe604c5e53d5ede686f6707f9d870741d535a4bf53"}},{"ruleId":"D2","level":"warning","message":{"text":"crud.refreshS3FileUrls (cognitive 18): crud.refreshS3FileUrls has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"236c7d065f3c0af92fed3cb0b9454b94e7810236eeeee922e33e7ed27adbb6b4"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.getProxyExemptions (cognitive 18): agent.getProxyExemptions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 4, error handling 2 (4 pts), 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":"packages/api/src/web/agent.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f9de3e90fcc31a712178e36fb338a22c2669e921a1041aeedc7012c612458d"}},{"ruleId":"D2","level":"warning","message":{"text":"run.createScheduledMCPRunPolicy.registerAgent (cognitive 18): run.createScheduledMCPRunPolicy.registerAgent has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (8 pts), loops 4 (7 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":"packages/api/src/schedules/authorization/run.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd62473865ffd88c12a79da43fe1588067e0d02284a43e9c0d0876e926e1e0c5"}},{"ruleId":"D2","level":"warning","message":{"text":"render.threadDetails (cognitive 18): render.threadDetails has cognitive complexity 18 (threshold 15). Drivers by points: if/else 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":"packages/channel-gateway/src/render.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"396554bb757aa29f29931f09cf2dde89824502936ef2a51d49cdecc430d6ae04"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelWorker.process (cognitive 18): ChannelWorker.process has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), error handling 3 (5 pts), boolean chains 4, loops 1 (nesting depth added 4). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 193, check). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44235cda1d632f687a9bd08eaeb981acbfee66f9d1d5d5b1d33ce47f1e784cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelWorker.artifact (cognitive 18): ChannelWorker.artifact has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 5, error handling 4 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdef4517ffedf7addd4539b684bdb8133505537ce656817f50626ad99ac60bee"}},{"ruleId":"D2","level":"warning","message":{"text":"main.main (cognitive 18): main.main has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1, error handling 1 (nesting depth added 3). Of this number, 10 points are the body\u0027s own statements and 8 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":"packages/channel-gateway/src/main.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"de19602cbc0641ba6b9e227ef74d39234e37e148ca9bc36bd717a9d01ff3bf67"}},{"ruleId":"D2","level":"warning","message":{"text":"branch.prunedBranchTokens (cognitive 18): branch.prunedBranchTokens has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (10 pts), boolean chains 4, ternaries 1 (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":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0c1724a38ecdf4ddebdc5dbb87108bb2e860338e1f47633590850e9cdd2647"}},{"ruleId":"D2","level":"warning","message":{"text":"content.isSameStreamedPart (cognitive 18): content.isSameStreamedPart has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (13 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":"packages/chat/src/core/content.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7410f96a6013d6bca164eb8a1c137a53270b088a17a74c0044182e16cec89bed"}},{"ruleId":"D2","level":"warning","message":{"text":"background.parseBackgroundTaskOutput (cognitive 18): background.parseBackgroundTaskOutput has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"131b8ed45723cf75fb57d3bfbbe7b08381a26bee0fb08bc0a9b1dcc33cc840fc"}},{"ruleId":"D2","level":"warning","message":{"text":"actions.useDuringRunActions (cognitive 18): actions.useDuringRunActions has cognitive complexity 18 (threshold 15). Drivers by points: if/else 13, boolean chains 5. None of this is in the body itself: all 18 points belong to 7 function literals inside it that branch (lines 190, 64, 146, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/actions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f723f57a6c047ffdff1522689d62407d421aaf4e51854070d020e93a121e71"}},{"ruleId":"D2","level":"warning","message":{"text":"HoverButtons.HoverButtons (cognitive 18): HoverButtons.HoverButtons has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 13, if/else 5. Of this number, 13 points are the body\u0027s own statements and 5 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":"packages/chat/src/components/messages/HoverButtons.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"263c18e4ee5b8b631a54f98d754b690f5ad5e539d79c8ee14edf8a5a8e31b7d7"}},{"ruleId":"D2","level":"warning","message":{"text":"SteerPart.SteerPart (cognitive 18): SteerPart.SteerPart has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 10, if/else 5, ternaries 3. Of this number, 10 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/SteerPart.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a87a805eab66b9f15d14ce1f673f3fe42e6eb1a3f4c64c71a642067b63080f0"}},{"ruleId":"D2","level":"warning","message":{"text":"reasoning.resolveSubmittedReasoning (cognitive 18): reasoning.resolveSubmittedReasoning has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 10 (12 pts), boolean chains 5, if/else 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":"packages/chat/src/react/chat/reasoning.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e313189a6ad4e71b67cc501f985dc150dde2eae3df907b01b370b2b00ce8e47"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.useAttachmentHandler.\u003Creturned closure\u003E (cognitive 18): attachments.useAttachmentHandler.\u003Creturned closure\u003E has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 5 (nesting depth added 6). None of this is in the body itself: all 18 points belong to 2 function literals inside it that branch (lines 43, 75). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/attachments.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fdd2594101bdcefdd72f52345860ccfe19280b7810f6c6cc6beb11c8d34ed9"}},{"ruleId":"D2","level":"warning","message":{"text":"receipt.visitPhaseStamps (cognitive 18): receipt.visitPhaseStamps has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 5, ternaries 3 (4 pts), loops 2 (3 pts) (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/receipt.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14e9565208d877f0b50bf43b49e14b3da910ec3f2d040f32d0d9e820ecc7b83"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiSelect.MultiSelect (cognitive 18): MultiSelect.MultiSelect has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 12, if/else 3, ternaries 3. Of this number, 11 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":"packages/client/src/components/MultiSelect.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f1e2cf7897eb288103a45de838a54d28781eec401622502a4029344c0c0ac6"}},{"ruleId":"D2","level":"warning","message":{"text":"runs.reconcileContextUsage (cognitive 18): runs.reconcileContextUsage has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12 (15 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, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/runs.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"5505a298522baf67e753c7921943e1f902f5a92b4b4b41be306a514eab58379a"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.parseTextParts (cognitive 18): parsers.parseTextParts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 2 (6 pts), boolean chains 4, loops 1 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46b88513c96cb99d673b2f5a6310ce4ea2da0b83893bc3f95b3f176c4fc4bf7"}},{"ruleId":"D2","level":"warning","message":{"text":"resolve-llm-delivery-path.resolveUploadDestination (cognitive 18): resolve-llm-delivery-path.resolveUploadDestination has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 3 (6 pts), if/else 5 (nesting depth added 3). Of this number, 15 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"12490d92ebd7403e63b2a3bab68a1bd3277352256d434aeb192caef8c9c7f2f0"}},{"ruleId":"D2","level":"warning","message":{"text":"parameterSettings.resolveReasoningSettingForTarget (cognitive 18): parameterSettings.resolveReasoningSettingForTarget has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, ternaries 6 (7 pts), if/else 4 (nesting depth added 1). Of this number, 16 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fe1cd7fbce82b84b37ab0ddb3a5d62db7f708a96f19fbbdc3501bd9fe7d9ee"}},{"ruleId":"D2","level":"warning","message":{"text":"derive.recordConfigTouches (cognitive 18): derive.recordConfigTouches has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (8 pts), if/else 3 (7 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":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59995a6719a6e550664d584323c496729a5c0cd1abe9c5ec33828adc3008f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.findShapeIssues (cognitive 18): resolution.findShapeIssues has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7, boolean chains 6, ternaries 3 (5 pts) (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4ff31b88a06246bad9f114114898b3ca2960182026cde4c1a127cc59418a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"resolution.filterMCPServerOverrides (cognitive 18): resolution.filterMCPServerOverrides has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (10 pts), boolean chains 4, ternaries 2 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"71584fc9d217e83173151d16bebbce228439fdda666a4be5f50847df35e988b7"}},{"ruleId":"D2","level":"warning","message":{"text":"store.createConfigOperations.deleteConfig (cognitive 18): store.createConfigOperations.deleteConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, error handling 1 (2 pts), 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":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1dba594e90bc2629db90212807c0b493433c3660cf57daae9f8cdeae8bf8e18"}},{"ruleId":"D2","level":"warning","message":{"text":"conformance.describeConfigStoreConformance (cognitive 18): conformance.describeConfigStoreConformance has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, boolean chains 5, loops 2, error handling 1, ternaries 1. None of this is in the body itself: all 18 points belong to 13 function literals inside it that branch (lines 817, 839, 864, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"295410e98589e34a84fca9ce111da839503426f19a7dc8554df9dd226ea389ce"}},{"ruleId":"D2","level":"warning","message":{"text":"stripUIResourceMarkers.collectMarkerRanges (cognitive 18): stripUIResourceMarkers.collectMarkerRanges has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (10 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee45e0aad2bf78a321271e8682fc4eb0c5e4e0748e9afb020344ae6f01222703"}},{"ruleId":"D2","level":"warning","message":{"text":"object-traverse.isObject (cognitive 18): object-traverse.isObject has cognitive complexity 18 (threshold 15). Drivers by points: if/else 15, boolean chains 3. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"564ecba916dd6967d0a9c2f39a89e652d05c938904c993ea1dfd88350454276e"}},{"ruleId":"D2","level":"warning","message":{"text":"tenantIsolation.applyTenantIsolation (cognitive 18): tenantIsolation.applyTenantIsolation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 2, loops 1 (2 pts), error handling 1, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to 6 function items inside it that branch (a function literal at line 194, a function literal at line 233, updateGuard, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/tenantIsolation.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df70b9fd0057805a9be464a3e5585595714dcb1f397cf94896ebb548533296b"}},{"ruleId":"D2","level":"warning","message":{"text":"subagentContent.createSubagentContentMethods.streamSubagentContentBatches (cognitive 18): subagentContent.createSubagentContentMethods.streamSubagentContentBatches has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 3, loops 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/subagentContent.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cae941af751879f1bcbb6320584953adeab3b49885bda92a0960ff2cfad496"}},{"ruleId":"D2","level":"warning","message":{"text":"message.retainSubagentControlReceipts (cognitive 18): message.retainSubagentControlReceipts has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 8, ternaries 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 3 belong to 4 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d312ed922cd5b857544e7718ed5d1efc5b251bbf71aaedcbcefbf6625af4ec54"}},{"ruleId":"D2","level":"warning","message":{"text":"chatProject.createChatProjectMethods.updateChatProject (cognitive 18): chatProject.createChatProjectMethods.updateChatProject has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2 (3 pts), boolean chains 2 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdd8196ec6fff999397f8ac5a9fbb9d8ee693ebc173d3b27e9e729300b48b3f"}},{"ruleId":"D2","level":"warning","message":{"text":"response.createResponseStorage.finishTerminal (cognitive 18): response.createResponseStorage.finishTerminal has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 7, if/else 5 (6 pts), ternaries 3 (5 pts) (nesting depth added 3). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 507). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"795c64ffc3fab974b603573820cdc2ada5f824e89a352ed13845ad6ad25c0d70"}},{"ruleId":"D2","level":"warning","message":{"text":"file.normalizeProjectFileRecord (cognitive 18): file.normalizeProjectFileRecord has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 15 (17 pts), boolean chains 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"45fc3037b8525c3bfebea282bd2f5a588c7398494d1e9b47f3c2883b53dff0fe"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.deadLetterAgentTriggerDelivery (cognitive 18): triggerDelivery.createAgentTriggerDeliveryMethods.deadLetterAgentTriggerDelivery has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 2 (3 pts), error handling 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4475}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a7e46ecd379eca6abb8bd9a0e560e5ef14909bc608aae7ead5b19f3b0165f1"}},{"ruleId":"D2","level":"warning","message":{"text":"agent.createAgentMethods.revertAgentVersion (cognitive 18): agent.createAgentMethods.revertAgentVersion has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"198977efe9f2b198eceb12063b8ae5c476696305a1e29c499fc6ca0f3d2afcd8"}},{"ruleId":"D2","level":"warning","message":{"text":"insights.createInsightsMethods.getInsights (cognitive 18): insights.createInsightsMethods.getInsights has cognitive complexity 18 (threshold 15). Drivers by points: ternaries 12, loops 4, boolean chains 2. Of this number, 14 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e1ef963fe2836ec5a907fc4f3826c885f16ed1468a4dc3fbf6cda01ca29b4a"}},{"ruleId":"D2","level":"warning","message":{"text":"tenantIndexes.dropSupersededTenantIndexes (cognitive 18): tenantIndexes.dropSupersededTenantIndexes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/tenantIndexes.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c340908fc75fd744ed5ffc804b315d3fbf3d7f9eb7213f512ae72010c6218b59"}},{"ruleId":"D2","level":"warning","message":{"text":"searchTokens.applySearchTokens (cognitive 18): searchTokens.applySearchTokens has cognitive complexity 18 (threshold 15). Drivers by points: loops 7 (12 pts), if/else 4 (5 pts), boolean chains 1 (nesting depth added 6). Most of this is not in the body itself: 6 of the 18 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 61, 35, 46). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/searchTokens.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de6a134e51f50df03c02bd50f847c18b43e7e3485eb9caa0c7584411c778333"}},{"ruleId":"D2","level":"warning","message":{"text":"prepareEventActorContext (cognitive 18): prepareEventActorContext has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (10 pts), other 4, boolean chains 1, error handling 1, loops 1, ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b51b4a695350fe0c41528b29189ce88a707c241b4d821f873b30df9a328f4c"}},{"ruleId":"D2","level":"warning","message":{"text":"buildMessages::wrapLazyResolvers::resolve (cognitive 18): buildMessages::wrapLazyResolvers::resolve has cognitive complexity 18 (threshold 15). Drivers by points: loops 5 (9 pts), other 5, if/else 2 (3 pts), boolean chains 1 (nesting depth added 5). 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":"api/server/controllers/agents/client.js"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d460fb575b50a2eb30746e4083739899d914b294656208965740e35f4bb650"}},{"ruleId":"D2","level":"warning","message":{"text":"runMemory (cognitive 18): runMemory has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (8 pts), ternaries 3, boolean chains 2, loops 1 (2 pts), other 2, 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":"api/server/controllers/agents/client.js"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d576a437e0e5d86c16316527d4c2c30f3c8c464f5d3b6830eae93d59140ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"blockFilteredActionContent (cognitive 18): blockFilteredActionContent has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), error handling 3 (4 pts), loops 1, other 1 (nesting depth added 2). Most of this is not in the body itself: 8 of the 18 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 131, 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5657bc1e368863a7a0b6cc072ebabffe49a2ebce212d08c3b2a86bca3d38db09"}},{"ruleId":"D2","level":"warning","message":{"text":"setMessageOptions (cognitive 18): setMessageOptions has cognitive complexity 18 (threshold 15). Drivers by points: other 9, if/else 5, boolean chains 3, 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":"api/app/clients/BaseClient.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ccb1d52f6b511d0d3ea6cdfba192ee0b47c39cbfeafb1b788e95cc673d6692"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: boolean chains 6, if/else 6, other 3, ternaries 2, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"467db3591b2babb55a30ff7d5af840b851da8ec241d6e2e1e9de930ba71615d9"}},{"ruleId":"D2","level":"warning","message":{"text":"registerUser (cognitive 18): registerUser has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (8 pts), error handling 2 (4 pts), other 3, ternaries 2, boolean chains 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":"api/server/services/AuthService.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"506059b640abdaad3a5646100bc7fa9ab68277c23b84445d726730ef448927f4"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (13 pts), boolean chains 2, ternaries 2, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"api/server/routes/messages.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0dd00ca0ebee7caa8a2da22259e2c9f36e8e237a9304a0f96b3d98141e25430"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, error handling 1, other 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":"api/server/routes/share.js"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebbe19b4913c26a8c85064344ed4a8626176c7f1d255adf7a4b572e6f8b126b"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, error handling 1, other 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":"api/server/routes/share.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5961d75157571c5f7c9d8588a114eb654bafc36eddc0fd2a9a4f6b5fd13a61"}},{"ruleId":"D2","level":"warning","message":{"text":"computeCanEditByServer (cognitive 18): computeCanEditByServer has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (8 pts), if/else 4 (5 pts), error handling 2 (3 pts), boolean chains 1, other 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"8519d87a6f7dd77b51dde016ef432dfcc3d7d1225340b09aef6ab69f202235aa"}},{"ruleId":"D2","level":"warning","message":{"text":"(anonymous) (cognitive 18): (anonymous) has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5, error handling 1 (nesting depth added 2). Of this number, 17 points are the body\u0027s own statements and 1 belongs 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":"api/server/routes/memories.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b5588cf66e280959a4016716338c3a649b3f670aa8d1aa968eb6007ab9939f"}},{"ruleId":"D2","level":"warning","message":{"text":"migrateCodeFileDuplicates (cognitive 18): migrateCodeFileDuplicates has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (5 pts), error handling 2 (4 pts), loops 2 (4 pts), other 4, boolean chains 1 (nesting depth added 6). None of this is in the body itself: all 18 points belong to 5 function literals inside it that branch (lines 83, 119, 134, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-code-file-duplicates.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cb2a4ec339aee121890b49c4186cda15eee84fd2717f44810430623e06783d"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseClient.loadHistory (cognitive 17): BaseClient.loadHistory has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (15 pts), loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"e966e5b9e9f8d674f62d116cbe89fd05093e3153846b88cd28fde556d1716ee9"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionService.performEntraGroupMembershipSync (cognitive 17): PermissionService.performEntraGroupMembershipSync has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, 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":"api/server/services/PermissionService.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b125adbdb37eabf133749e454bb71980d3194f496e15114e0677ba520c19e3c4"}},{"ruleId":"D2","level":"warning","message":{"text":"messages.router.post(\u0022/artifact/:messageId\u0022) (cognitive 17): messages.router.post(\u0022/artifact/:messageId\u0022) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (13 pts), ternaries 2, boolean chains 1, error handling 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6da6549b8c2090bafa2e85030cf43ea78e1eccd1df94885b62034673158dca3"}},{"ruleId":"D2","level":"warning","message":{"text":"canAccessResource.canAccessResource.\u003Creturned closure\u003E (cognitive 17): canAccessResource.canAccessResource.\u003Creturned closure\u003E has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, 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, 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":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"2844bdbef48e04b992b2c7d5f04dd240647909f36b81fbb6652af904fd27f0d8"}},{"ruleId":"D2","level":"warning","message":{"text":"share.router.post(\u0022/:conversationId\u0022) (cognitive 17): share.router.post(\u0022/:conversationId\u0022) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, 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":"api/server/routes/share.js"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"08203e87bf50e354c69e67f3ea3e323c21a7c870df4d97ac54bbf8c4172c450e"}},{"ruleId":"D2","level":"warning","message":{"text":"share.router.patch(\u0022/:shareId\u0022) (cognitive 17): share.router.patch(\u0022/:shareId\u0022) has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, 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":"api/server/routes/share.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"181f1fef703de699d222fb17c32d889cd434aaa7decf2f7486c571dce156d225"}},{"ruleId":"D2","level":"warning","message":{"text":"GraphApiService.getEntraGroupDetailsBatch::processBatch (cognitive 17): GraphApiService.getEntraGroupDetailsBatch::processBatch has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 1 (4 pts), boolean chains 3, loops 1 (2 pts), error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1376cbd648ab1772c0fa9534c9d708f38a98cbbeb3bbe32fad1987ea6b52ee01"}},{"ruleId":"D2","level":"warning","message":{"text":"useDefaultConvo.useDefaultConvo.getDefaultConversation (cognitive 17): useDefaultConvo.useDefaultConvo.getDefaultConversation has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useDefaultConvo.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ebe93bda4707be589b9df3a120d2a0d76b934edb56efe75852bbf93abf5e19"}},{"ruleId":"D2","level":"warning","message":{"text":"useExportConversation.useExportConversation.exportMarkdown (cognitive 17): useExportConversation.useExportConversation.exportMarkdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (useExportConversation.useExportConversation.exportText) 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":"client/src/hooks/Conversations/useExportConversation.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf272fc9c79cf0a5cccaf9aa9f0ddd1c0af24359bebd4dcf10a8e1f86443deb3"}},{"ruleId":"D2","level":"warning","message":{"text":"useExportConversation.useExportConversation.exportText (cognitive 17): useExportConversation.useExportConversation.exportText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), loops 2 (4 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (useExportConversation.useExportConversation.exportMarkdown) 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":"client/src/hooks/Conversations/useExportConversation.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"305388113601032a73625704c7295bafed655cf103690c0e20b9b29838eb5938"}},{"ruleId":"D2","level":"warning","message":{"text":"useToolToggle.useToolToggle (cognitive 17): useToolToggle.useToolToggle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1 (2 pts) (nesting depth added 1). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to 8 function literals inside it that branch (lines 128, 114, 64, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Plugins/useToolToggle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96634bf4ca1eac2bcc44fa44d51d7c729c0e8cdd4a3b2f07bcabcd08ebbf0d8"}},{"ruleId":"D2","level":"warning","message":{"text":"CategoryTabs.CategoryTabs (cognitive 17): CategoryTabs.CategoryTabs has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 5, boolean chains 4, match/switch 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (getCategoryDisplayName, handleKeyDown, a function literal at line 132, \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":"client/src/components/Agents/CategoryTabs.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"943cfa2c6f567921a90452f893558bac7f75793c27412cb53e83a3540eba1a49"}},{"ruleId":"D2","level":"warning","message":{"text":"LoginForm.LoginForm (cognitive 17): LoginForm.LoginForm has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, ternaries 7, if/else 3. Of this number, 13 points are the body\u0027s own statements and 4 belong to 3 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1f8898edf6640079afef55b998e130b947cd88ecc83d9cca1c073c0a0fbfad"}},{"ruleId":"D2","level":"warning","message":{"text":"Links.OwnedLinks (cognitive 17): Links.OwnedLinks has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8, boolean chains 7, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 9 points are the body\u0027s own statements and 8 belong to 5 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Links.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fca4d244c690194e71831c10d315739ff309c9223a5ff0b63ad1ffbb402b6e1"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeWorkspaceMenu.GitContext (cognitive 17): CodeWorkspaceMenu.GitContext has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 14, if/else 2, ternaries 1. Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd529b5af01a94438231d6a60c0531dd42244e7c0c0bffdb3f9c6ae4b5b39400"}},{"ruleId":"D2","level":"warning","message":{"text":"Thinking.Thinking (cognitive 17): Thinking.Thinking has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, ternaries 2, loops 1 (nesting depth added 2). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 59, 39, 72). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Thinking.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecba4feac0cc8d0ec739e8b3e31dfc2cc87aa8ed55e37baeb755bccc96db96c7"}},{"ruleId":"D2","level":"warning","message":{"text":"model.resolveParents (cognitive 17): model.resolveParents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 2 (7 pts), loops 4 (6 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":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4acc50c7f755533c2c4666b74b4233f4cb166f6e9f3246f762ccecdc08b952"}},{"ruleId":"D2","level":"warning","message":{"text":"EditPresetDialog.EditPresetDialog (cognitive 17): EditPresetDialog.EditPresetDialog has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 5. Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 3 function items inside it that branch (a function literal at line 70, a function literal at line 103, handleOpenChange). 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":"client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"244cfff011c84c972c6e2e6b8fa7cec5762458c64b0a2dfb6f0847076c7d8ea7"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.getDisplayValue (cognitive 17): utils.getDisplayValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 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":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6a6a444fc353ab9018cc06d90a96aa19347b51450f83d7a052993b7b6aa0d2"}},{"ruleId":"D2","level":"warning","message":{"text":"OutputRenderer.extractText (cognitive 17): OutputRenderer.extractText has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 2, error handling 1 (2 pts) (nesting depth added 7). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc84a1d5cec43ffc6b44785fe81b429cd22163e6f2f7c92a09af07a0f761d24e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConvoLink.ConvoLink (cognitive 17): ConvoLink.ConvoLink has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 10, ternaries 4, if/else 3. Of this number, 9 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d597ee38ab472cda275865887bb0b5a05da1863a8d8975beeec424e7127edd"}},{"ruleId":"D2","level":"warning","message":{"text":"mcpServerUtils.shouldShowActionButton (cognitive 17): mcpServerUtils.shouldShowActionButton has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/mcpServerUtils.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98727386516fbe9c1cb7702525ee50edd66098ec6a3187f812ec452ca25d231"}},{"ruleId":"D2","level":"warning","message":{"text":"Export.MermaidExport (cognitive 17): Export.MermaidExport has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7, ternaries 6 (7 pts), boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 4 of the 17 points are its own statements and the rest belongs to 8 function literals inside it that branch (lines 190, 183, 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":"client/src/components/Messages/Content/Mermaid/Export.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9ab59d1659f9f518e94c7cefa7f3492450bc258e8078119289a4cd4121be34"}},{"ruleId":"D2","level":"warning","message":{"text":"Avatar.Avatar (cognitive 17): Avatar.Avatar has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 4 (6 pts), boolean chains 5 (nesting depth added 3). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to 4 function items inside it that branch (a function literal at line 95, handleUpload, a function literal at line 138, \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":"client/src/components/Nav/SettingsTabs/Account/Avatar.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a881675874b4a2de50b8004e2e0ad6cedc430428cf95fbb7a0ec3f95219c16c4"}},{"ruleId":"D2","level":"warning","message":{"text":"PluginAuthForm.PluginAuthForm (cognitive 17): PluginAuthForm.PluginAuthForm has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, ternaries 4, if/else 2. Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 119, 131). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Plugins/Store/PluginAuthForm.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4156eb320ce2e5608fac591f0124cf1a621e5dbc2811d2ae7347d98c79709f"}},{"ruleId":"D2","level":"warning","message":{"text":"Background.ActionBackground (cognitive 17): Background.ActionBackground has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (5 pts), boolean chains 2, loops 1 (nesting depth added 4). Most of this is not in the body itself: 2 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 32). 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":"client/src/components/SidePanel/Agents/Actions/Background.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a60f91a5b0dc7a0fd6a2c06fa87ce5ce83f476e847d25c62656ae8ab67819b"}},{"ruleId":"D2","level":"warning","message":{"text":"ApiKeyDialog.ApiKeyDialogContent (cognitive 17): ApiKeyDialog.ApiKeyDialogContent has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 13, if/else 4. Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (handleVisibleSubmit, a function literal at line 79). 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":"client/src/components/SidePanel/Agents/Search/ApiKeyDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6727976c99d521a57b178145ea577a4ace0fd4aa4d1317b4f3fc1010b5bd4664"}},{"ruleId":"D2","level":"warning","message":{"text":"ApprovalOption.ApprovalOption (cognitive 17): ApprovalOption.ApprovalOption has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 8 (9 pts), boolean chains 4, if/else 4 (nesting depth added 1). Of this number, 12 points are the body\u0027s own statements and 5 belong to 4 function literals inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ApprovalOption.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a569accb73aa220e1f4a05caf4234f7f462d25b3430360ad0b5e323816e046c"}},{"ruleId":"D2","level":"warning","message":{"text":"AgentFooter.AgentFooter (cognitive 17): AgentFooter.AgentFooter has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 15, ternaries 2. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentFooter.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f125f0d643f88a9ef175276670e111f72e943ada6ace34e942d963d59fa22c"}},{"ruleId":"D2","level":"warning","message":{"text":"SkillListItem.buildFileTree (cognitive 17): SkillListItem.buildFileTree has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), 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":"client/src/components/Skills/lists/SkillListItem.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"341cd40a1de9040fd1be594af272c1409e2d8483adfdde83bb4ae5911301fb2f"}},{"ruleId":"D2","level":"warning","message":{"text":"admission.admit (cognitive 17): admission.admit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), 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":"client/src/data-provider/Schedules/admission.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"5959fa09ebb34289919ff55c58c00f17f466c5506d2fe401abe23fe3b5594fce"}},{"ruleId":"D2","level":"warning","message":{"text":"useKeyboardShortcuts.resolveShortcutBindings (cognitive 17): useKeyboardShortcuts.resolveShortcutBindings has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b5f8a73854029e6e94ab1eb63af24d7dc39bf9ff252a7006688daf6a00e0d7"}},{"ruleId":"D2","level":"warning","message":{"text":"endpoints.getDefaultModelSpec (cognitive 17): endpoints.getDefaultModelSpec has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 5, 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":"client/src/utils/endpoints.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ead32e6c326316c0d4967ad72e51766d935b5eff4a68168520bd10ef987f5da"}},{"ruleId":"D2","level":"warning","message":{"text":"latex.tokenizeMathSpan (cognitive 17): latex.tokenizeMathSpan has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 5 (nesting depth added 2). None of this is in the body itself: all 17 points belong to 4 function items inside it that branch (content, open, escape, \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":"client/src/utils/latex.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3466d03ed660fd21b664eb5bb295643a0f791221ab5621589e1bde16ad662c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"presets.getPresetTitle (cognitive 17): presets.getPresetTitle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 4 (7 pts), boolean chains 3 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/presets.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f26713bed724874f9a4adf1f18e8631fa8dd6f4da386a2c39e7091b1a2b3dc3"}},{"ruleId":"D2","level":"warning","message":{"text":"flush-cache.main (cognitive 17): flush-cache.main has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6 (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":"config/flush-cache.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"14912be7f69d67e0fc335b8d05b55ebd5c6912979911e0843683faa5f2229448"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createConfiguredContentInspector (cognitive 17): runtime.createConfiguredContentInspector has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), boolean chains 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc3bb55dcde6b92d6154720deaa4ecab2261cd29db359bbe0278aaac8c618a5"}},{"ruleId":"D2","level":"warning","message":{"text":"roles.createAdminRolesHandlers.moveRoleDependents (cognitive 17): roles.createAdminRolesHandlers.moveRoleDependents has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 3 (5 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 5). Of this number, 11 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc44a1b91244c357abc483f3fef24c5fa65e15baf980c0cd6cacded9b64a8a3"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.getModelStreamFailure (cognitive 17): errors.getModelStreamFailure has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 7, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/errors.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f627742e142ef1a85b73bafb0814ce2a19a77d6a3627e2ae2d27827333e549"}},{"ruleId":"D2","level":"warning","message":{"text":"avatars.resolveAvatarRefresh (cognitive 17): avatars.resolveAvatarRefresh has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), boolean chains 3, loops 2 (3 pts), error handling 2 (nesting depth added 6). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/avatars.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5cc1b416a0cf3482635869cd124425c18bad388e2e3fa7d6760562896ecfca"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.drainSteers (cognitive 17): InMemoryJobStore.drainSteers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (11 pts), boolean chains 4, loops 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e8ceaf8b2a3296091a98092ede6c3af18dfe50114650a9dafba404303b64dc"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.removeSteer (cognitive 17): InMemoryJobStore.removeSteer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fbcb1fbfaf010becfb8d8099e19760fc6e28e2484ca749695c8c49f3fa2b03"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.parkLeftovers (cognitive 17): InMemoryJobStore.parkLeftovers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, error handling 1 (2 pts), loops 1 (nesting depth added 4). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"935fc04ce24d4fe2eca89b9d495708aeeb6472c64974cbe62982df131173464b"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.terminalizeUnexposedGeneration (cognitive 17): GenerationJobManagerClass.terminalizeUnexposedGeneration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (8 pts), boolean chains 4, error handling 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af1e812be380ca10efecad4f31a5f19a4cad9478ebe4101de411a1af6d8dce4"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.fenceGenerationClaimForRecovery (cognitive 17): GenerationJobManagerClass.fenceGenerationClaimForRecovery has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 4 (8 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3557}}}],"partialFingerprints":{"codehealthFindingId/v1":"856c5633d253e93eb8a4dcc0449421a682f9077f7216634df3ea83ab614438a5"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.resumeClaimedGeneration (cognitive 17): GenerationJobManagerClass.resumeClaimedGeneration has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (7 pts), boolean chains 6, error handling 2 (3 pts), ternaries 1 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3857}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba7bce87801b15cb178b8e2bbe3beba2774c16265fd9cf7cc218f6abfb175ef3"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.finishFencedRuntimeRetirement (cognitive 17): GenerationJobManagerClass.finishFencedRuntimeRetirement has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 6 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6569d8182bbd6eb8f9e17bbbb4e7c92c66018fdbb707b475fb3f19b75a784d"}},{"ruleId":"D2","level":"warning","message":{"text":"BackgroundTaskRegistryClass.aggregateUsage (cognitive 17): BackgroundTaskRegistryClass.aggregateUsage 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":"packages/api/src/agents/background.ts"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f05005d06cfb66f8c1e29998f816c275d0eaaeab56b240ffee88307ae719ad"}},{"ruleId":"D2","level":"warning","message":{"text":"background.serializeSubagentSnapshot (cognitive 17): background.serializeSubagentSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 12, boolean chains 3, if/else 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":"packages/api/src/agents/background.ts"},"region":{"startLine":2372}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aa2bb792e91bf57219fd2ce74cb326df222318899f529521346d48c4d6418e"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createOpenAIToolCallStream.finish (cognitive 17): handlers.createOpenAIToolCallStream.finish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (5 pts), loops 4 (5 pts), boolean chains 3, error handling 1 (2 pts), 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9f342567b224bf6d5ee117223d31cc89c31d0675dc417e1d40f8530d94fbfb"}},{"ruleId":"D2","level":"warning","message":{"text":"policy.isToolApprovalPauseCapable (cognitive 17): policy.isToolApprovalPauseCapable has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 4 (nesting depth added 4). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5ead4dbb118a99445c4c53fb502198e9b51a55e18e9874177a28c52e4e3e55"}},{"ruleId":"D2","level":"warning","message":{"text":"manifest.createRunFileManifest.publish (cognitive 17): manifest.createRunFileManifest.publish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 8 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6d8bf0fe4e93ace88b14a984655a3ec78b4b3e911d92bdbc85f34902dc3970"}},{"ruleId":"D2","level":"warning","message":{"text":"run.resolveSummarizationProvider (cognitive 17): run.resolveSummarizationProvider has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, 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":"packages/api/src/agents/run.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"98703e0d84bd74cce7ccc7a2ef128c603a1e83b6fbe31b8985a9577253aee71a"}},{"ruleId":"D2","level":"warning","message":{"text":"skillFiles.collectSkillUploadFiles (cognitive 17): skillFiles.collectSkillUploadFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 3 (5 pts), boolean chains 2 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f934e36aabe8bd2a0029ce131d9bc5bbee340f1fc567ace75c9d5c52cb907a9"}},{"ruleId":"D2","level":"warning","message":{"text":"parse.parseSkillMarkdown (cognitive 17): parse.parseSkillMarkdown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, 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":"packages/api/src/skills/parse.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e7205e39a0a625d5ae5df8175f39eaad85a2c6c2930ed8cbf39cb73d365544"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.writeSandboxTextForAuthoring (cognitive 17): handlers.writeSandboxTextForAuthoring has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (7 pts), ternaries 6, boolean chains 3, error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"899a5f9681a0551f735c47b8e8c2354916457db722321a99adfaff0ca3e12da7"}},{"ruleId":"D2","level":"warning","message":{"text":"inspection.getReferencedAgentIds (cognitive 17): inspection.getReferencedAgentIds has cognitive complexity 17 (threshold 15). Drivers by points: loops 6 (12 pts), if/else 3, boolean chains 2 (nesting depth added 6). Of this number, 15 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, 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":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e83def17ad9af4f61e8f7b2726ee82272265168243441a3b0a9b36fb89f688"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction.markAbortedCompactionContent (cognitive 17): compaction.markAbortedCompactionContent has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 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":"packages/api/src/agents/compaction.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"6664b1d8ff156eb3f5abd3634300b9d21020c73a14b229c76b237556abe533b3"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction.resolveFinalizedCompactionTurn (cognitive 17): compaction.resolveFinalizedCompactionTurn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), ternaries 2 (3 pts), boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"3886245640164ffa94f482c5fe573ed57a050ef8e9863e73be341816efb49734"}},{"ruleId":"D2","level":"warning","message":{"text":"persistence.projectResponseMessage (cognitive 17): persistence.projectResponseMessage has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (9 pts), loops 3 (4 pts), boolean chains 3, 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":"packages/api/src/agents/responses/persistence.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3bb878b808268fc7331c2a5ecf5b2c67fe3e59ce7f9ffb4c8824081808ca98"}},{"ruleId":"D2","level":"warning","message":{"text":"queuedTurns.parseQueuedTurnAdmissionSource (cognitive 17): queuedTurns.parseQueuedTurnAdmissionSource has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, ternaries 5, if/else 3. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"039ddff340391748af41f8cce934795ff57c0bcc3888268081ed81120a25bc72"}},{"ruleId":"D2","level":"warning","message":{"text":"turn.createAgentEventActorTurn (cognitive 17): turn.createAgentEventActorTurn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), error handling 3 (4 pts), ternaries 2 (3 pts), boolean chains 1 (nesting depth added 3). None of this is in the body itself: all 17 points belong to 2 function items inside it that branch (run, historyPersisted). 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":"packages/api/src/agents/triggers/turn.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc03172c88e6ce84f9682d4a7ef9d4146a6459a5179e73e3cbd04b67946f9be"}},{"ruleId":"D2","level":"warning","message":{"text":"view.publicTaskSummaries (cognitive 17): view.publicTaskSummaries has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 3 (4 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"053012f5803fe4168eb7b5c5fa9ed222c841d16b91d392c0e65b11d737064ade"}},{"ruleId":"D2","level":"warning","message":{"text":"ip.isPrivateIPv4 (cognitive 17): ip.isPrivateIPv4 has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 7. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b6951fc7897acd713ff1b1a21121c20630f9026df914cc590eb17636600f10"}},{"ruleId":"D2","level":"warning","message":{"text":"email.createEmailChangeService.requestEmailChange (cognitive 17): email.createEmailChangeService.requestEmailChange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, boolean chains 3, error handling 1, ternaries 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf65de6682f11b5596c64135c7e2ea6ccd0f2720d97bb8718150cfde21f18bcd"}},{"ruleId":"D2","level":"warning","message":{"text":"flight.createOpenIDRefreshFlightService.waitForOpenIDRefreshFlight (cognitive 17): flight.createOpenIDRefreshFlightService.waitForOpenIDRefreshFlight has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 5, 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":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"565c6d5867f2c192d8cb2a5675ea11a70f1d9355483350a2e148965eeb940cd6"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaces.createSlackWorkspaceService.finish (cognitive 17): workspaces.createSlackWorkspaceService.finish has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 6, 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":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a12b3bed5ff60749dd2a3e867c16321a549db98768d988dd01dc41aa26a1c2"}},{"ruleId":"D2","level":"warning","message":{"text":"feedbackHost.createChannelFeedbackHost (cognitive 17): feedbackHost.createChannelFeedbackHost has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 5, ternaries 3 (4 pts) (nesting depth added 1). None of this is in the body itself: all 17 points belong to 6 function items inside it that branch (a function literal at line 83, authorizedPolicy, matchesSource, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedbackHost.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ce165a17d5caaf7d2cc50cb3e92f95f5b4ecd372fa238735a8637102631380"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createChannelHandlers.update (cognitive 17): service.createChannelHandlers.update has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (14 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":"packages/api/src/channels/service.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c821e60c17a9f1f7084928b8040e5995f3ad6622344e21dab87c0dfa957fc4"}},{"ruleId":"D2","level":"warning","message":{"text":"workspaceHttp.createSlackWorkspaceHandlers.callback (cognitive 17): workspaceHttp.createSlackWorkspaceHandlers.callback has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, error handling 2, ternaries 1 (2 pts), loops 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceHttp.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3ed765a857a01786f77e24a2b7969811c0947db0fa0ffba3cecf05c7d313e1"}},{"ruleId":"D2","level":"warning","message":{"text":"router.createCodeSetupRouter::machine (cognitive 17): router.createCodeSetupRouter::machine has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2 (4 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":"packages/api/src/code/setup/router.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c964eb95b2a02417928c27045a03048cc09e1ea88b1961381c2e5db09086a5"}},{"ruleId":"D2","level":"warning","message":{"text":"load.createGetConversationHandler.\u003Creturned closure\u003E (cognitive 17): load.createGetConversationHandler.\u003Creturned closure\u003E has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 2 (3 pts), error handling 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/load.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe9818d22ec40f07cd1e11f3b2f1ad31027aeb18f3212491acea69c20b5d179"}},{"ruleId":"D2","level":"warning","message":{"text":"llm.applyGeminiFlashOverrides (cognitive 17): llm.applyGeminiFlashOverrides has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f54e0a8b375be72225e9f6fe62a1db2411972d01fed8b9df28e524a974fa55"}},{"ruleId":"D2","level":"warning","message":{"text":"providers.getProviderConfig (cognitive 17): providers.getProviderConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 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":"packages/api/src/endpoints/config/providers.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d60a4e3709a1a39b9cb42b560a3183a2ca14bb59e448d74faf95acf516b9d73"}},{"ruleId":"D2","level":"warning","message":{"text":"access.hasAgentBasedFileAccess (cognitive 17): access.hasAgentBasedFileAccess has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 2, error handling 2, ternaries 1 (2 pts), loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/access.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9f24124592958def6567e5ab5ca2ec00afbfd997400f8695e209f5c7970ffb"}},{"ruleId":"D2","level":"warning","message":{"text":"zipSafety.assertSafeZipSize (cognitive 17): zipSafety.assertSafeZipSize has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, error handling 2, ternaries 1 (2 pts), boolean chains 1 (nesting depth added 1). None of this is in the body itself: all 17 points belong to 7 function literals inside it that branch (lines 80, 101, 124, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/zipSafety.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"16701ca4dfa1c5fcdcd67e88cb8d59f3f91e12e492ad61651799d22c347c6fd7"}},{"ruleId":"D2","level":"warning","message":{"text":"finalize.finalizeFileDeletion (cognitive 17): finalize.finalizeFileDeletion has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (3 pts), loops 3, boolean chains 2 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/finalize.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"7227d45cdb1302af57df7416c94aacd3b91942981d064b4816b0478077ee5b91"}},{"ruleId":"D2","level":"warning","message":{"text":"sweep.sweepExpiredFiles (cognitive 17): sweep.sweepExpiredFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 3 (4 pts), ternaries 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 5). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baa4a8db1f9b0c6a36df6ee3673c076163930ceb389fc147b2801500aa6f506"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPTokenStorage.hasStoredAuthorization (cognitive 17): MCPTokenStorage.hasStoredAuthorization has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, error handling 2 (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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"88286fc05e2889ce4c033abe14f4876732a9837f1a5e4ff2d7a93ab3038ccb91"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuthLifecycleRelay.add (cognitive 17): OAuthLifecycleRelay.add has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 3 (6 pts), boolean chains 1 (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c95a6e8a35dbfec62f705085c2a14d677eddde46ab8c36922f0b2c3e1e68624"}},{"ruleId":"D2","level":"warning","message":{"text":"utils.normalizeAgentToolKeys (cognitive 17): utils.normalizeAgentToolKeys has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, loops 1 (2 pts), ternaries 2 (nesting depth added 3). Of this number, 13 points are the body\u0027s own statements and 4 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":"packages/api/src/mcp/utils.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"68ffd20db78679b8d31936f495e835e0ecd385c5b44b83f6419c1430de11d036"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.parseAsString (cognitive 17): parsers.parseAsString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1 (nesting depth added 5). Most of this is not in the body itself: 1 of the 17 points is its own statement and the rest belongs to one function literal inside it that branches (line 257). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"856844e43a98db50882454d60d024ca00af4239abb49f4d4b1ca76095030fa2a"}},{"ruleId":"D2","level":"warning","message":{"text":"connection.shouldBypassEnvProxy (cognitive 17): connection.shouldBypassEnvProxy has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"781117bfafdbeb3f1eed258bcf03e7c98f46d5b525371f21cbd947eb89383f7f"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.createMCPToolCacheService.cacheMCPServerTools (cognitive 17): tools.createMCPToolCacheService.cacheMCPServerTools has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (10 pts), boolean chains 3, ternaries 2 (3 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":"packages/api/src/mcp/tools.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb65f7bea668a5f13ed6b100808314c98273253bc23730b7fb1046c7bccf8f3"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createMemoryManagementHandlers.updateById (cognitive 17): handlers.createMemoryManagementHandlers.updateById has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 7, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/memory/handlers.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"371240cc4fd871dd415d4be8a1eb0f27d75e6d747653db10f79bf6df1554b911"}},{"ruleId":"D2","level":"warning","message":{"text":"previews.findSubagentAttachmentCalls (cognitive 17): previews.findSubagentAttachmentCalls has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 5, ternaries 2 (4 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4e392ce87cc17b928f915a2ccd59b64edffcaf340d165ed4fcb6e2b21d6ca3"}},{"ruleId":"D2","level":"warning","message":{"text":"previews.previewToolCall (cognitive 17): previews.previewToolCall has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 6, 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":"packages/api/src/messages/previews.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"368a4c342b84197d81e92c2349ba902ae968b799a451fdc599ed966055fbc201"}},{"ruleId":"D2","level":"warning","message":{"text":"erasure.settleFromObservedJob (cognitive 17): erasure.settleFromObservedJob has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 3 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc1001f53097d5cfe94f7c4cb2b1bb8071fd5d01885111cc5698cb61f5dd437"}},{"ruleId":"D2","level":"warning","message":{"text":"service.createSchedulesService.claimScheduleResume (cognitive 17): service.createSchedulesService.claimScheduleResume has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 5, ternaries 2 (3 pts) (nesting depth added 1). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 1881, 1912). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eaed1c5805e0383a99451803947d454a2b4d9579d919de3039b6b7aba9e4e8"}},{"ruleId":"D2","level":"warning","message":{"text":"reader.createLangfuseTraceReader.listRecords::segmentOf (cognitive 17): reader.createLangfuseTraceReader.listRecords::segmentOf has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), error handling 2 (4 pts), boolean chains 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (reader.createLangfuseTraceReader.listRecords, reader.createLangfuseTraceReader.listRecords::probe, reader.createLangfuseTraceReader.listRecords::nameToolRounds) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef9c3c6afd33c0ba282a63d94a6a65e94318cd017a55783af3651bb98698cd9"}},{"ruleId":"D2","level":"warning","message":{"text":"config.buildLangfuseConfig (cognitive 17): config.buildLangfuseConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 3, match/switch 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":"packages/api/src/langfuse/config.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3bd7ab06f755eb75a347c585bc8ea9e790ae33e5847d0d8cb3c89958c5ad1a"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.observeToolExecution (cognitive 17): tools.observeToolExecution has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 5, ternaries 2 (3 pts), error handling 2, loops 1 (nesting depth added 3). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/tools.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52c4228575ebf6f3b34b7fcaf587e37c77042d3cc3dce687416d871fba60830"}},{"ruleId":"D2","level":"warning","message":{"text":"placement.getResumeMessageIndexes (cognitive 17): placement.getResumeMessageIndexes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 6, ternaries 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"323725186c162baafcebc54269d62a0a800e0198bf453fca080f53faecb6f791"}},{"ruleId":"D2","level":"warning","message":{"text":"terminal.authorizeTerminalTeardown (cognitive 17): terminal.authorizeTerminalTeardown has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (12 pts), boolean chains 2, 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":"packages/chat/src/core/resumable/terminal.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c22fee652729ebaf5b40ecea14734d26a003f021593e1079d7e25e18fe3f99"}},{"ruleId":"D2","level":"warning","message":{"text":"registry.messageToolChars (cognitive 17): registry.messageToolChars has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 5, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/registry.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee60dc0658a39a792194896b7ecb9f049ca2c12eebe3d584c10def72eb0f7d07"}},{"ruleId":"D2","level":"warning","message":{"text":"background.parseTask (cognitive 17): background.parseTask has cognitive complexity 17 (threshold 15). Drivers by points: ternaries 10, boolean chains 5, if/else 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":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1576054ac89bc3e253180d405bd8b05d472d58864291f946638f3b6124994e7"}},{"ruleId":"D2","level":"warning","message":{"text":"parents.ParentSubagentsProvider (cognitive 17): parents.ParentSubagentsProvider has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 3 (4 pts), ternaries 2 (3 pts), loops 2 (nesting depth added 2). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/parents.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"669cbce806f5856dc6efebffa1d6f254143293f648723a91d45ab32249cfc247"}},{"ruleId":"D2","level":"warning","message":{"text":"DiffView.parseUnifiedDiff (cognitive 17): DiffView.parseUnifiedDiff has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 2, ternaries 1 (2 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DiffView.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f67cc7f47bd5a25a568907cb90f3320ffecaea772fb5700e06f4e885ace9b9"}},{"ruleId":"D2","level":"warning","message":{"text":"rail.traceTo (cognitive 17): rail.traceTo has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 7, ternaries 2 (nesting depth added 1). 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, 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":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2650f17740f967121512c4d5eaa0dd71b94202eb5777d4d44914e8cfbc103a4e"}},{"ruleId":"D2","level":"warning","message":{"text":"state.acceptedOmissions (cognitive 17): state.acceptedOmissions has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9e77dacaa178dbd90fb831bef1dfa729ba0ba94b77531fb99950789b91ebd7"}},{"ruleId":"D2","level":"warning","message":{"text":"outcome.hasTerminalOutcome::matches (cognitive 17): outcome.hasTerminalOutcome::matches has cognitive complexity 17 (threshold 15). Drivers by points: loops 4 (7 pts), if/else 2 (6 pts), boolean chains 4 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (outcome.hasTerminalOutcome) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/outcome.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e3a9fbd4ec0956e617c47b729be456215dd0d836047612dcbe4a5e929b4c65"}},{"ruleId":"D2","level":"warning","message":{"text":"recovery.recoveredToolPart (cognitive 17): recovery.recoveredToolPart has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (8 pts), boolean chains 5, loops 1 (2 pts), ternaries 2 (nesting depth added 5). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d8f501a61ac6e6bcd0f4358dc1da33c28f2a161bd6493157ef744d21acbd94"}},{"ruleId":"D2","level":"warning","message":{"text":"Composer.Composer (cognitive 17): Composer.Composer has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 4, ternaries 3 (4 pts) (nesting depth added 1). Most of this is not in the body itself: 7 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (handleKeyDown, handleKeyDown::defaultVerdict). 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":"packages/client/src/components/Composer.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"67136b20479ea5036ba31135cc15f145fe4aa924ea4d7dcdbbb256bb247df8c4"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.resolveCodeEnvironmentSelection (cognitive 17): workspace.resolveCodeEnvironmentSelection has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3 (4 pts), boolean chains 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":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98f9c886788c86d73d84a3361971b681c8480d0824f471fb1f9e865e505369a"}},{"ruleId":"D2","level":"warning","message":{"text":"config.isPrivateIPv4Literal (cognitive 17): config.isPrivateIPv4Literal has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 8. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8174fac473e345fe0213794763306d8d8a6bea013881ecf1495133eb4ed2c6f9"}},{"ruleId":"D2","level":"warning","message":{"text":"parts.toToolPart (cognitive 17): parts.toToolPart has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 11, if/else 4, 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":"packages/data-provider/src/parts.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbd257d59e43bccd9f0c444fce4a1932869b53e94c010290c2ecfa835d24a68"}},{"ruleId":"D2","level":"warning","message":{"text":"parameterSettings.resolveReasoningSetting (cognitive 17): parameterSettings.resolveReasoningSetting has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ca513b3f259453cce4599cc858dee9a86b95b8c200bfc82abb5a748a2dff9e"}},{"ruleId":"D2","level":"warning","message":{"text":"react-query-service.invalidateUserKey (cognitive 17): react-query-service.invalidateUserKey has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 8, if/else 4 (6 pts), ternaries 3 (nesting depth added 2). Most of this is not in the body itself: 6 of the 17 points are its own statements and the rest belongs to 2 function items inside it that branch (credentialsReady, a function literal at line 139). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/react-query/react-query-service.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f598efc82ddbaa5046e5ef0f04717e63bd1639943c0b87ab514c3940f85c55de"}},{"ruleId":"D2","level":"warning","message":{"text":"parsers.sanitizeErrorNode (cognitive 17): parsers.sanitizeErrorNode has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"75796a2d28e585d636c0da9fa2fe2151e05d4a28c5a710d91de073e75a6d1abe"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.recordAgentEventActorReconciliation (cognitive 17): conversation.createConversationMethods.recordAgentEventActorReconciliation has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 9, if/else 6 (8 pts) (nesting depth added 2). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"888d7692ad76ed3a04a6b2b44691e747e40bb4a9da8e0d80806ec95d30d99e35"}},{"ruleId":"D2","level":"warning","message":{"text":"file.createFileMethods.getDeferredProvisionFiles (cognitive 17): file.createFileMethods.getDeferredProvisionFiles has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 6, 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":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"3433168169f9cbb2ad6864543a9b3d6eee9b192d7e8dc8068abb1865c37dde7d"}},{"ruleId":"D2","level":"warning","message":{"text":"agentApiKey.createAgentApiKeyMethods.createAgentApiKey (cognitive 17): agentApiKey.createAgentApiKeyMethods.createAgentApiKey has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 4, ternaries 3, error handling 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agentApiKey.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3cd1ebfc017bdf27555762b206cf26c0a1e3922e35f165c42c3c452f30c1fc"}},{"ruleId":"D2","level":"warning","message":{"text":"codeEnvironment.createCodeEnvironmentMethods.createCodeEnvironmentWithinOwnerLimit (cognitive 17): codeEnvironment.createCodeEnvironmentMethods.createCodeEnvironmentWithinOwnerLimit has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 4, error handling 1 (2 pts), loops 2, ternaries 1 (2 pts) (nesting depth added 5). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b8fd253f6761c9108653f627e490eea1e82cb812181a36bfaa1066a661aea9"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResults (cognitive 17): triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResults has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 3 (6 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4d903a98a6c7fd691f962afbbf91b090a2806d54b46eac791855f4f0d6f8d6"}},{"ruleId":"D2","level":"warning","message":{"text":"ResumableAgentController::persistDisconnectSnapshot (cognitive 17): ResumableAgentController::persistDisconnectSnapshot has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 5, if/else 5, ternaries 4, other 2, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c7f0e08e1a9657dfba49f090c9653f1fa7c63a5d30044208ed466b773ba3f4"}},{"ruleId":"D2","level":"warning","message":{"text":"buildPreLoginPayload (cognitive 17): buildPreLoginPayload has cognitive complexity 17 (threshold 15). Drivers by points: boolean chains 15, if/else 2. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/config.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef0f74ad66a0701a6909119c0c04d8ad5e2fe0130d919c9c5f16f61ba9c301a"}},{"ruleId":"D2","level":"warning","message":{"text":"handleAbortError (cognitive 17): handleAbortError has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, boolean chains 3, error handling 1 (2 pts), other 1, ternaries 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"9accbbbfead256007fedf0b68884730c31951166ebef023f8bb76b77b4c1cebc"}},{"ruleId":"D2","level":"warning","message":{"text":"exchangeOboToken (cognitive 17): exchangeOboToken has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (15 pts), error handling 1 (2 pts) (nesting depth added 6). Of this number, 15 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":"api/server/services/OboTokenService.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82e2f31760bbe58fed3fc51e6404a57ad61c1251e369f6f7282998fee0221e9"}},{"ruleId":"D2","level":"warning","message":{"text":"PermissionService.grantPermission (cognitive 16): PermissionService.grantPermission has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 5, 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":"api/server/services/PermissionService.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a36c431a384b068c6b226d4f65b825b46296a3a5ee1fd10deb84d9a3438a6135"}},{"ruleId":"D2","level":"warning","message":{"text":"openidStrategy.hasOpenIdAdminRole (cognitive 16): openidStrategy.hasOpenIdAdminRole has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 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":"api/strategies/openidStrategy.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c0bddb564e8923f4e90d8b9f8d28e8e1fd81642f0a88aaf2dd996bd26593a8"}},{"ruleId":"D2","level":"warning","message":{"text":"useUnseenBadge.useUnseenBadge (cognitive 16): useUnseenBadge.useUnseenBadge has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, loops 4, boolean chains 3, ternaries 3. Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 7 function literals inside it that branch (lines 84, 138, 106, \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":"client/src/hooks/Conversations/useUnseenBadge.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"21aa420eb8d5ab3a64e93db1215407f7fbab0282f126c970ce8b2fc592f0b684"}},{"ruleId":"D2","level":"warning","message":{"text":"useFileHandling.useFileHandlingCore.handleFiles (cognitive 16): useFileHandling.useFileHandlingCore.handleFiles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 5, ternaries 2, error handling 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 3 belong to 2 function items inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ad678f0a0c10bdf7874713dc29521e83ba58e406079de5880a229cfa42a585"}},{"ruleId":"D2","level":"warning","message":{"text":"useMermaid.useMermaid (cognitive 16): useMermaid.useMermaid has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 5, error handling 2, boolean chains 1 (nesting depth added 2). None of this is in the body itself: all 16 points belong to 3 function items inside it that branch (fetchSvg, a function literal at line 73, a function literal at line 99). 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":"client/src/hooks/Mermaid/useMermaid.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c2b351ee14af6186bab00ef89233fee37906605fd4f4f18bf02b1350305acd"}},{"ruleId":"D2","level":"warning","message":{"text":"CopyLink.CopyLink (cognitive 16): CopyLink.CopyLink has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7, boolean chains 4, if/else 4, error handling 1. Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function literals inside it that branch. To reduce it, split the body: 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":"client/src/components/Agents/CopyLink.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab3ea045a1718d947d2e9a77a93f9392be1e016de421aa2e79b2f705bb894e0"}},{"ruleId":"D2","level":"warning","message":{"text":"undockedWindow.mirrorDocumentStyles (cognitive 16): undockedWindow.mirrorDocumentStyles has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (8 pts), loops 3 (4 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). None of this is in the body itself: all 16 points belong to 2 function items inside it that branch (sync, a function literal at line 396). 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":"client/src/components/Artifacts/undockedWindow.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b049eca4a0aa769e5004908310cc6eda36564ede8be5e2c50d815d0757f712a"}},{"ruleId":"D2","level":"warning","message":{"text":"Login.Login (cognitive 16): Login.Login has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 37, 65, 80, \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":"client/src/components/Auth/Login.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8876876f5a4675f5bad856fb6a9d94fc430a336658d822c224c88ddd6c5bd695"}},{"ruleId":"D2","level":"warning","message":{"text":"TwoFactorScreen.TwoFactorScreen (cognitive 16): TwoFactorScreen.TwoFactorScreen has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 4, ternaries 4. Of this number, 8 points are the body\u0027s own statements and 8 belong to 4 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/TwoFactorScreen.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"930a53b3ce9120d101218031bcf6a3981a0558c45fb4ba1b11965a1f43b3917e"}},{"ruleId":"D2","level":"warning","message":{"text":"BotManagers.BotManagers (cognitive 16): BotManagers.BotManagers has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 14, if/else 2. Of this number, 13 points are the body\u0027s own statements and 3 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/BotManagers.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d1624ab5d27ea43c435529280a4672f8f3562c890b4ac912750addbe7c719a"}},{"ruleId":"D2","level":"warning","message":{"text":"index.TokenUsageIndicator (cognitive 16): index.TokenUsageIndicator has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 5 (6 pts), if/else 2 (nesting depth added 1). Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/TokenUsage/index.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cee1e89f79bc39cd6023694b4fb0a4c1255dff88d2a8577da87fef15a5b0624"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointItem.EndpointItem (cognitive 16): EndpointItem.EndpointItem has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, if/else 3, ternaries 1 (2 pts) (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed56eda49b7dafbda61dac5fab580dae327ddda60f7dcc6c6528727fc9af7ce0"}},{"ruleId":"D2","level":"warning","message":{"text":"live.toolCallLine (cognitive 16): live.toolCallLine has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 5 (9 pts), if/else 7 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"621ee2552aeb1d21a851b91f32d3fc9cf94a06a91bb9842991d31cc6a7bbf1b6"}},{"ruleId":"D2","level":"warning","message":{"text":"ToolMermaidArtifact.ToolMermaidArtifact (cognitive 16): ToolMermaidArtifact.ToolMermaidArtifact has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 6 (10 pts), boolean chains 5, if/else 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ToolMermaidArtifact.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"91228bb681224dbcc6a66d2530a9803e0adcdd735716b4f22e0fe92a3a2d54f3"}},{"ruleId":"D2","level":"warning","message":{"text":"Attachment.AttachmentGroup (cognitive 16): Attachment.AttachmentGroup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 6, ternaries 2. Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body: 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":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cf4a9a1619f2b3703666f8b44416e51676324cf212d6558fb6e47d50108ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"Reasoning.Reasoning (cognitive 16): Reasoning.Reasoning has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 10, if/else 4, ternaries 2. Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1918870c9a15ef9f41f7ed8f592120f582907f887a8fa1423f33d8e73dafa8"}},{"ruleId":"D2","level":"warning","message":{"text":"RetrievalCall.parseRetrievalOutput (cognitive 16): RetrievalCall.parseRetrievalOutput 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":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a21010753e622566c4537bd4e0966b7d3a2a3da85f0e788cff78014a8b74940"}},{"ruleId":"D2","level":"warning","message":{"text":"Wakeup.Wakeup (cognitive 16): Wakeup.Wakeup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, loops 1, ternaries 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 148, 129, 211). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Wakeup.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b06ced8c9d877094fe28eb0aef142853c258fe2020e2d06d87b06780d4eaf3"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConfigDialog.MCPConfigDialog (cognitive 16): MCPConfigDialog.MCPConfigDialog has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (12 pts), boolean chains 3, ternaries 1 (nesting depth added 1). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (renderStatusBadge, a function literal at line 49). 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":"client/src/components/MCP/MCPConfigDialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cc50e14fac1f6ee6ac405b92a5f936a7d4b32e633fa17457b2237f8672cba3"}},{"ruleId":"D2","level":"warning","message":{"text":"plugin.processTree (cognitive 16): plugin.processTree has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 1, loops 1 (nesting depth added 5). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 13). 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":"client/src/components/MCPUIResource/plugin.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"430ef65a66ec7b726a18fab9f9678ce235bb6261c75a9a459a0be8fa3dc4017c"}},{"ruleId":"D2","level":"warning","message":{"text":"FavoriteItem.FavoriteItem (cognitive 16): FavoriteItem.FavoriteItem has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 2. Most of this is not in the body itself: 3 of the 16 points are its own statements and the rest belongs to 6 function items inside it that branch (handleSelect, handleRemove, handleKeyDown, \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":"client/src/components/Nav/Favorites/FavoriteItem.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b5dd456886f1103b0acc67b2dde17efbd766b8d6d70b4020657dd7e97b47c1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProjectsView.ProjectsView (cognitive 16): ProjectsView.ProjectsView has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 5, ternaries 2. Of this number, 8 points are the body\u0027s own statements and 8 belong to 5 function items inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectsView.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd59a28b504d999c7d4ff0652d675fd7f0ed3ca2717ddd79fdc6279a3a815c5"}},{"ruleId":"D2","level":"warning","message":{"text":"OAuth.OAuth (cognitive 16): OAuth.OAuth has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 2). Most of this is not in the body itself: 4 of the 16 points are its own statements and the rest belongs to 2 function items inside it that branch (a function literal at line 52, authorize). 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":"client/src/components/Responses/OAuth.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5477f961e195552b7ce25bb46c08c1912c87d0c7bc207d71edc11efff65f877"}},{"ruleId":"D2","level":"warning","message":{"text":"useArtifacts.hasEnclosedArtifact (cognitive 16): useArtifacts.hasEnclosedArtifact has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (13 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":"client/src/hooks/Artifacts/useArtifacts.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"03582d161c05bef5993454771a910069d642b7660038766a0b8febb4b544cf4a"}},{"ruleId":"D2","level":"warning","message":{"text":"convos.updatePinnedConvosQuery (cognitive 16): convos.updatePinnedConvosQuery has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (8 pts), ternaries 2 (5 pts), boolean chains 2, loops 1 (nesting depth added 7). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1394, 1429). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":1381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5cd6da6cf39e1100116fcf40e9c75bc1fcd0262aa909402418b967d7187d39"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.getSpecOperationNames (cognitive 16): tools.getSpecOperationNames has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), boolean chains 3, loops 2 (3 pts), ternaries 1 (3 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/actions/tools.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"5824e3cad18b8c368d21111aa482dbaf7ff6e28b6388d1ba4b5864581f81459a"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.carryRenamedArraySecrets (cognitive 16): secrets.carryRenamedArraySecrets has cognitive complexity 16 (threshold 15). Drivers by points: if/else 3 (9 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb0487fa2780d22a9a446ef3e3a199be6cf7869e4642b840d098586c2d0429e"}},{"ruleId":"D2","level":"warning","message":{"text":"secrets.writeSecretIntoSection (cognitive 16): secrets.writeSecretIntoSection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"45db0294a7dc3fc103c97928dcc8d85f590dd24a655118b82d29a6c923c0bdb0"}},{"ruleId":"D2","level":"warning","message":{"text":"grants.createAdminGrantsHandlers.assignGrant (cognitive 16): grants.createAdminGrantsHandlers.assignGrant has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), error handling 3, boolean chains 2, ternaries 1 (nesting depth added 2). Of this number, 11 points are the body\u0027s own statements and 5 belong to 3 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff76466ea2224ef30619ad748efc4ab8cc424aead7603e67219e707ebcd8179"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createActivityPhaseWiring (cognitive 16): runtime.createActivityPhaseWiring has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 7 (8 pts) (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 4 function literals inside it that branch (lines 898, 849, 834, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c814b0796f801d6fe1aa74ba00fa357e4114f5a66448da3ee9448432a4bc1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"runtime.createActivityPhaseWiring.handlers (cognitive 16): runtime.createActivityPhaseWiring.handlers has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 12, if/else 4. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa55a494c7d3abf0d242a4cb25ddc74a0bfee432fdb84d37129a0c92dc4678c"}},{"ruleId":"D2","level":"warning","message":{"text":"aggregation.feedSubagentAggregator (cognitive 16): aggregation.feedSubagentAggregator has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, ternaries 2 (3 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":"packages/api/src/agents/aggregation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aed849490ce37152e51b5e2468a003cf2b3757fccb923ff54b192278d545f65"}},{"ruleId":"D2","level":"warning","message":{"text":"avatars.refreshListAvatars (cognitive 16): avatars.refreshListAvatars has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), error handling 2 (4 pts), boolean chains 2, loops 1 (nesting depth added 6). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 416). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/avatars.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b55ab3f8c3f6250c6cf8a20dd33e5a00cc44edf84c59ad53d85db122306470"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobStore.createJob::assertOwnerCompatible (cognitive 16): InMemoryJobStore.createJob::assertOwnerCompatible has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 4, ternaries 2 (4 pts), error handling 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. This shape REPEATS in the file: one other method here (InMemoryJobStore.createJob) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ecf363cdbc10fbf477254c4c892e712c6dc5d12649c3485d5793b7d18ac8520"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.overflowEarlyEventBuffer (cognitive 16): GenerationJobManagerClass.overflowEarlyEventBuffer has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), ternaries 4 (6 pts), boolean chains 3, 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6024}}}],"partialFingerprints":{"codehealthFindingId/v1":"591040429f89258b297368c84e854076e734853a88dbf560e87e041241a6c766"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerationJobManagerClass.beginProviderExecution (cognitive 16): GenerationJobManagerClass.beginProviderExecution has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 4, 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8568}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44e24d6e813325a78845eee5dd66be46fa503bdd0a2e1af44345fa250d68aaf"}},{"ruleId":"D2","level":"warning","message":{"text":"traversal.someReachableAgent (cognitive 16): traversal.someReachableAgent has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), loops 3, boolean chains 2 (nesting depth added 3). Most of this is not in the body itself: 7 of the 16 points are its own statements and the rest belongs to one function item inside it that branches (matches). 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":"packages/api/src/agents/traversal.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd96417d5fb53f3f6cba656e98b811ed202b4647b3561c60836b6db8b44e8b4"}},{"ruleId":"D2","level":"warning","message":{"text":"tools.collectHistoricalToolCalls (cognitive 16): tools.collectHistoricalToolCalls 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). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bc2611f9147a5ab082eddf1ad05b850f827eb06eb842dd44da0977bed5279d"}},{"ruleId":"D2","level":"warning","message":{"text":"client.countRetainedToolTokens (cognitive 16): client.countRetainedToolTokens has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, 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":"packages/api/src/agents/client.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2ae1810a7120ea98ccd49e31cba61efafe5c86c74e2f59eb03dd1a2df466e4"}},{"ruleId":"D2","level":"warning","message":{"text":"usage.recordCollectedUsage (cognitive 16): usage.recordCollectedUsage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (17 pts), boolean chains 9, ternaries 3 (6 pts), error handling 1 (2 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (usage.recordCollectedUsage::processUsageGroup) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd585d5e666b19707ff18ab5e10be8e2ea0cf8e2ba8da079db552c7c70a2ead3"}},{"ruleId":"D2","level":"warning","message":{"text":"skills.unionPrimeAllowedTools (cognitive 16): skills.unionPrimeAllowedTools has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (10 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"0be0b93d7192944083a90eeb7054c3348386476bf367827cdbd101f31ced720e"}},{"ruleId":"D2","level":"warning","message":{"text":"bridge.createCodeBridgeStatusPoller.\u003Creturned closure\u003E (cognitive 16): bridge.createCodeBridgeStatusPoller.\u003Creturned closure\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 1 (2 pts), boolean chains 1, ternaries 1 (nesting depth added 5). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5b01690808aefcf7497a663b169bcdead676d8211bb701650d9dd880accfbe"}},{"ruleId":"D2","level":"warning","message":{"text":"workspace.workspaceAdmissionRetryDelay (cognitive 16): workspace.workspaceAdmissionRetryDelay has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 4, error handling 1 (2 pts), ternaries 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec3c8719b393688424fc9cb93bce243888562013c1ce4db8cdf3fb94dc62d39"}},{"ruleId":"D2","level":"warning","message":{"text":"intent.sanitizeIntentLabels (cognitive 16): intent.sanitizeIntentLabels has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 1 (2 pts), ternaries 2 (nesting depth added 6). Of this number, 10 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/intent.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ddcdf453d0879b30fc2b070fd0f763e2e5d06967b41cf814b7f27554aeb75e"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.handleAttachedWorkspaceCreateFileCall (cognitive 16): handlers.handleAttachedWorkspaceCreateFileCall has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3934}}}],"partialFingerprints":{"codehealthFindingId/v1":"3740a7227dfee5e9a1c21e8e5e75d7d4432d8db55ff4935cc20c210648ba2e20"}},{"ruleId":"D2","level":"warning","message":{"text":"byom.resolveAttachedCodeApprovalMode (cognitive 16): byom.resolveAttachedCodeApprovalMode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (12 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/byom.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c47a641ac6c6083b39291621ae8befa791eab9c0962478cd86620ae0f19d31"}},{"ruleId":"D2","level":"warning","message":{"text":"service.inspectSubmittedRequest (cognitive 16): service.inspectSubmittedRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 2 (4 pts), error handling 2, boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4def476273de99a726078bfbd20249886b2a481d988852eaa79d8270a771d09c"}},{"ruleId":"D2","level":"warning","message":{"text":"SubagentThreadTaskStore.controlResultReceipt (cognitive 16): SubagentThreadTaskStore.controlResultReceipt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 4, ternaries 3 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd103a557c476e2822a6b14b8f944bb1689c2cf8e495d3038dd72971c8a27c9d"}},{"ruleId":"D2","level":"warning","message":{"text":"compaction.snapshotEntry (cognitive 16): compaction.snapshotEntry has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (6 pts), ternaries 2 (nesting depth added 1). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3659fe2a6ec94d049924fa8123a5969a001d069354ee0278561e745f3e138ac"}},{"ruleId":"D2","level":"warning","message":{"text":"executor.parseCompletion (cognitive 16): executor.parseCompletion has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 3, 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":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0fd3d8904025a24084cd13b48bf46426c6c87fa28c694b6538ad6a3667c4e6"}},{"ruleId":"D2","level":"warning","message":{"text":"access.isSameLink (cognitive 16): access.isSameLink has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 2 (4 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd619fc4336907d0fd8b06303e6bba1a727d266e4fc2a6d26e4d1b84cc0a66b3"}},{"ruleId":"D2","level":"warning","message":{"text":"access.createInstructionsPromptAccess.validateLinkWrite (cognitive 16): access.createInstructionsPromptAccess.validateLinkWrite has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), error handling 2, boolean chains 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":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd9584df8f7d74303f8c459d15ff98e114b0fd9264a88fea10c4bfd8ee2d508"}},{"ruleId":"D2","level":"warning","message":{"text":"service.extractResponseInputFileContent (cognitive 16): service.extractResponseInputFileContent 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e67e19eed9186c3d1ee99d7581d3c13b5c979f2f8422e6a731dc80f1e96156a"}},{"ruleId":"D2","level":"warning","message":{"text":"turnProjection.projectCanonicalResponseTurn (cognitive 16): turnProjection.projectCanonicalResponseTurn has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 5, ternaries 4. Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: 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":"packages/api/src/agents/responses/turnProjection.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"784eff901f45a6ee05702189d2657febe13e54ca6c445f6d7004438efe76eaa5"}},{"ruleId":"D2","level":"warning","message":{"text":"pause.pauseResponseForReview (cognitive 16): pause.pauseResponseForReview has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 7, error handling 1, ternaries 1. Of this number, 11 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body: 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":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a93747f3843117ea5b86dfa71e86c5c95b63c668eca56c539510f4c115207b"}},{"ruleId":"D2","level":"warning","message":{"text":"stored.createStoredForegroundResponseReader.\u003Creturned closure\u003E (cognitive 16): stored.createStoredForegroundResponseReader.\u003Creturned closure\u003E has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 6, ternaries 3, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6cb7e3c1fb7f0418a7739b10b2bf2584ebcc4c51048718d774a30746f88e6ed"}},{"ruleId":"D2","level":"warning","message":{"text":"request.handleSteerArmInternal (cognitive 16): request.handleSteerArmInternal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, boolean chains 5. Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: 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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a5d2162525be88ac255d5bc5388685e87308461e9d33334da7bc8842289b65"}},{"ruleId":"D2","level":"warning","message":{"text":"promotion.promoteOne (cognitive 16): promotion.promoteOne has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 5 (6 pts), error handling 2, ternaries 1 (2 pts) (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/promotion.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"88640837209da4f324abf4546b8e8ff72bb819681b64608bf4f26564c2357b0e"}},{"ruleId":"D2","level":"warning","message":{"text":"promotion.promoteDrainedSteers (cognitive 16): promotion.promoteDrainedSteers has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 5, if/else 3 (5 pts), ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/promotion.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c432d1fd02c82c6f62bc1359b41a2769a1e890edef9dedb2ef23171ef3012e"}},{"ruleId":"D2","level":"warning","message":{"text":"outcome.toolEvidence (cognitive 16): outcome.toolEvidence has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 7 (8 pts) (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 one function literal inside it that branches (line 86). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"fddfbe4f8968fa3395490654f9c2b0c2bea500d5636d21360df5efd930b7d59b"}},{"ruleId":"D2","level":"warning","message":{"text":"view.projectedTaskActivity (cognitive 16): view.projectedTaskActivity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 2 (4 pts), boolean chains 3 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bbf988b9102918ba7e27ffa8bb455a36135c8f69c204916516040af5223db1"}},{"ruleId":"D2","level":"warning","message":{"text":"host.generateReasoningLabelRevision (cognitive 16): host.generateReasoningLabelRevision has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 9, if/else 3 (4 pts), error handling 2, ternaries 1 (nesting depth added 1). Of this number, 14 points are the body\u0027s own statements and 2 belong to 3 function literals inside it that branch. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/host.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb60f745dfeaece2a3bd3f76624aeed7505e6dfacb09bb97393e5a8ef11d22c"}},{"ruleId":"D2","level":"warning","message":{"text":"postgres.runPostgresCommand::execute (cognitive 16): postgres.runPostgresCommand::execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 5, ternaries 2 (3 pts) (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbaaf5869e2fa2bc463588341343edec6a67cd019a7bc3a2c940a4bbc52a388"}},{"ruleId":"D2","level":"warning","message":{"text":"email.createEmailChangeService.confirmEmailChange (cognitive 16): email.createEmailChangeService.confirmEmailChange has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), boolean chains 3, error handling 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":"packages/api/src/auth/email.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9602f1cb7769c82afd752ec57ea8d6ef88c738f8d948f311ecc5f776d59376"}},{"ruleId":"D2","level":"warning","message":{"text":"enrollment.createOptInTwoFactorConfirmation.\u003Creturned closure\u003E (cognitive 16): enrollment.createOptInTwoFactorConfirmation.\u003Creturned closure\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), ternaries 3, boolean chains 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":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe84cf6794c26db92aac6c90875bf71d8fa8ace9a09cfdbe8c9211a486d519e8"}},{"ruleId":"D2","level":"warning","message":{"text":"handlers.createPasskeyHandlers.registerPasskeyVerify (cognitive 16): handlers.createPasskeyHandlers.registerPasskeyVerify has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), error handling 3, boolean chains 2, ternaries 1 (nesting depth added 1). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: 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":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c10c0583bfcc47872591c1c32c234a2c6e57bc413098c2bae9a487a51bb58ce"}},{"ruleId":"D2","level":"warning","message":{"text":"runs.createChannelRunHandlers.advance (cognitive 16): runs.createChannelRunHandlers.advance has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 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":"packages/api/src/channels/runs.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd78a5b9394dbdacc25e52ce077b050f16ba83d4c2b1ab45446e2530ef77443"}},{"ruleId":"D2","level":"warning","message":{"text":"decision.resolveConversationCodeEnvironmentDecision (cognitive 16): decision.resolveConversationCodeEnvironmentDecision has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 5 (8 pts) (nesting depth added 3). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/decision.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"188f2ec298e36531363fcae79cf0acba13a504a390af5544345d06bc1ee7a6e3"}},{"ruleId":"D2","level":"warning","message":{"text":"lane.createLaneGitRecorder (cognitive 16): lane.createLaneGitRecorder has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), boolean chains 3, error handling 3, if/else 2 (nesting depth added 1). Of this number, 8 points are the body\u0027s own statements and 8 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"16209b0ae29ca836547587f9df4d975a8240f906d9dc7f458996e655930eeed3"}},{"ruleId":"D2","level":"warning","message":{"text":"filter.filterFilesByEndpointRuntimeConfig (cognitive 16): filter.filterFilesByEndpointRuntimeConfig has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 6, 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":"packages/api/src/files/filter.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b650e79c08306bc154e4bd6fba7f0e4a9d9c03ab7551e65e5da9ece5f1f986"}},{"ruleId":"D2","level":"warning","message":{"text":"authorization.authenticateRequest (cognitive 16): authorization.authenticateRequest has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), ternaries 3 (6 pts), boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/images/authorization.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e685086a79e8e364a792bad27e9396e80da392eb2ea5fbc394436ac7932b533"}},{"ruleId":"D2","level":"warning","message":{"text":"connection.parseIPv6ToBigInt (cognitive 16): connection.parseIPv6ToBigInt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 3 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"2234325e9a9a06a38b65a82d9ed67d7aa31e52657caad3da31093962b8ab6df6"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPConnectionFactory.create (cognitive 16): MCPConnectionFactory.create has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 2 (3 pts), boolean chains 2 (nesting depth added 6). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db051bdec169aa22c0a8f3d8a7aa4a9f9421cde7aefb479395de68190541a40"}},{"ruleId":"D2","level":"warning","message":{"text":"MCPManager.recoverOAuthConnection (cognitive 16): MCPManager.recoverOAuthConnection has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (13 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 8). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"369ce0444b585fe839f33830fa48c351dba48b7ee45fb630c5a4dfafade323a6"}},{"ruleId":"D2","level":"warning","message":{"text":"axios.logAxiosError (cognitive 16): axios.logAxiosError has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 7, if/else 6, ternaries 2, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/axios.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"979fc8996f063d2d6d51b02bec969d07753fae3ade7c5f7cb1d981a9f2d85fc0"}},{"ruleId":"D2","level":"warning","message":{"text":"math.math (cognitive 16): math.math has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (12 pts), ternaries 1 (2 pts), boolean chains 1, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/math.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d399f57b82482734f3797309fdee323b6ffbb4d2e583df62f7af2e242b934d"}},{"ruleId":"D2","level":"warning","message":{"text":"protection.assertSharedFileMetadataAllowed (cognitive 16): protection.assertSharedFileMetadataAllowed has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 4, ternaries 2, loops 1 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab87e198bd91fd496f748f4bf3fba2464b124081f1b3c54b087564964d580bb"}},{"ruleId":"D2","level":"warning","message":{"text":"parts.parseAttachmentCallQueries (cognitive 16): parts.parseAttachmentCallQueries has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (6 pts), boolean chains 4, ternaries 2 (4 pts), error handling 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/parts.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef6be544ff0aca2d4157bab62f90ec2d7e570443a19d462b8deaf2562e329fb9"}},{"ruleId":"D2","level":"warning","message":{"text":"feedback.sendFeedbackScore (cognitive 16): feedback.sendFeedbackScore has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (8 pts), if/else 5, boolean chains 3 (nesting depth added 1). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 188, 167, 180). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/feedback.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e692562dc6daa085fa41da7d1fef5a2d790b91ebb9e0323ddb35c9e69e751b44"}},{"ruleId":"D2","level":"warning","message":{"text":"prompt.toolCallsOf (cognitive 16): prompt.toolCallsOf has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 3 (5 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":"packages/api/src/langfuse/prompt.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a26193e5e4f51b2f47b175c3be282757b4d3f826f6ee4443822bb529ee9319e"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisEventTransport.subscribe (cognitive 16): RedisEventTransport.subscribe has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 5, ternaries 1 (nesting depth added 2). 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 1426, 1442, 1411). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1cf5b5f5734bcb0a13b7ef1a00c0d2b8f71f1f9fb0f7805939fcee9c80282e"}},{"ruleId":"D2","level":"warning","message":{"text":"worker.runSharedWorkers (cognitive 16): worker.runSharedWorkers has cognitive complexity 16 (threshold 15). Drivers by points: if/else 2 (7 pts), error handling 2 (5 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 29). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/shared/worker.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"24565dc0f49aace0cc3963b2d8548eb99b5d41397a06414d54ea7dab70d13728"}},{"ruleId":"D2","level":"warning","message":{"text":"frames.handleFinal (cognitive 16): frames.handleFinal has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, ternaries 4, if/else 3, error handling 1. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7e8bd7c5f8083d11c5101a621133e624f04463c8c55f3d51059570750a1c0b"}},{"ruleId":"D2","level":"warning","message":{"text":"Chat.settle (cognitive 16): Chat.settle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), boolean chains 7, 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9424d1cb3fa2aeea8c20e434ec36243386f75b3ccb92cb44a54d37877dcd061"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.mergeAttachments (cognitive 16): attachments.mergeAttachments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 5 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 129, 165). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/attachments.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f6eb620beb0248ea4bb00345b37e16089416e8a1f586087e538bd0e4c07d1b"}},{"ruleId":"D2","level":"warning","message":{"text":"content.createDualMessageContent (cognitive 16): content.createDualMessageContent has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (8 pts), boolean chains 4, if/else 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":"packages/chat/src/core/content.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1c4f5da40e7173b655e2c7f20f274469f9f7d4672f271d60d5391fc0ac6995"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageRender.MessageRender (cognitive 16): MessageRender.MessageRender has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 11, ternaries 4, if/else 1. 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, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRender.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"41415eb7807a6ed0431dbd65d42a81634c56bf34428485d2b8e9e07527df643e"}},{"ruleId":"D2","level":"warning","message":{"text":"announcements.useResumeAnnouncements (cognitive 16): announcements.useResumeAnnouncements has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 7. Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 80, 154). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/announcements.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0078ec53026ba947a9c08fb1c83ef694f5fb9930aa5308502c06c470fe09e5"}},{"ruleId":"D2","level":"warning","message":{"text":"steer.useSteerState (cognitive 16): steer.useSteerState has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (11 pts), ternaries 3, boolean chains 2 (nesting depth added 1). None of this is in the body itself: all 16 points belong to 8 function literals inside it that branch (lines 93, 297, 175, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/steer.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05987208f46f40e8556e999146d53ad2b7ad5191c11fc0d5e2d8e43339a65d0"}},{"ruleId":"D2","level":"warning","message":{"text":"opening.useTurnHandlers.createdHandler (cognitive 16): opening.useTurnHandlers.createdHandler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 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":"packages/chat/src/react/stream/events/opening.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93cf7f45336ca0862306d77998f22a9e2d5bfd9176b13edf8e72cc98b10d119"}},{"ruleId":"D2","level":"warning","message":{"text":"attachments.useLiveSubagentToolCalls (cognitive 16): attachments.useLiveSubagentToolCalls has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (7 pts), ternaries 5, loops 3, boolean chains 1 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 6 function literals inside it that branch (lines 203, 229, 180, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/attachments.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1eabeb8e77c4b353f0c6de71a4db8eff2d8ef02d0bd82f5d1ceae90353e2de"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestExecutor.setParams (cognitive 16): RequestExecutor.setParams has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8481b91e0add6f37f419fe1e45c62ae4b11f8bacf07ff3767d3a63790db44521"}},{"ruleId":"D2","level":"warning","message":{"text":"search.withSearchTokens (cognitive 16): search.withSearchTokens has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/search.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a43cd14db31485e8cc847f003381739b3489d4dd017d246a5442d6d6bc4b569"}},{"ruleId":"D2","level":"warning","message":{"text":"slackRoute.createSlackRouteStorage.assign (cognitive 16): slackRoute.createSlackRouteStorage.assign has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, ternaries 2 (nesting depth added 2). None of this is in the body itself: all 16 points belong to one function literal inside it that branches (line 138). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackRoute.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e639a862b53d87a12d34caf5cf0c3801e3835306ab77f8ef3e675587d02c66"}},{"ruleId":"D2","level":"warning","message":{"text":"message.pruneProjectedThreadViewMessage (cognitive 16): message.pruneProjectedThreadViewMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 1 (2 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebd66115013b2e39fcb1b9a8d2482129d2bd104128f0982b1942cd6fa19dacb"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.getSteplessToolCallFallback (cognitive 16): message.createMessageMethods.getSteplessToolCallFallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0b31a1dc60c699a11a7e0574ed7c103033fb0dca0617861ff37cc60ed087c8"}},{"ruleId":"D2","level":"warning","message":{"text":"message.createMessageMethods.readBackgroundToolResultClaim (cognitive 16): message.createMessageMethods.readBackgroundToolResultClaim has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 3 (6 pts), ternaries 1 (3 pts), loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"e296f622de08d750eb396d6406dc19f59d7628063650a9ab14516d7750595d4b"}},{"ruleId":"D2","level":"warning","message":{"text":"chatProject.createChatProjectMethods.addChatProjectFile (cognitive 16): chatProject.createChatProjectMethods.addChatProjectFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 2, error handling 2, ternaries 2. Of this number, 11 points are the body\u0027s own statements and 5 belong to 2 function items inside it that branch. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"9773fd0bb37c08b1569d45d4818866ac97d087fcf5eb8882d5c0d21c931a1a10"}},{"ruleId":"D2","level":"warning","message":{"text":"conversation.createConversationMethods.setConvoLaneGit (cognitive 16): conversation.createConversationMethods.setConvoLaneGit has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 3 (5 pts), boolean chains 1, loops 1 (nesting depth added 4). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5a501cd53884f18e6e9f4446f60fdb61f3d401411f2301a25a8c89ba6ef633"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.enqueueAgentTriggerDelivery (cognitive 16): triggerDelivery.createAgentTriggerDeliveryMethods.enqueueAgentTriggerDelivery has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (10 pts), ternaries 3, boolean chains 2, 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b077744b46b5b199b806a0bbc5326dcf8409fc4d163ad8cdae4773c40628203"}},{"ruleId":"D2","level":"warning","message":{"text":"triggerDelivery.createAgentTriggerDeliveryMethods.releaseWaitingDelivery (cognitive 16): triggerDelivery.createAgentTriggerDeliveryMethods.releaseWaitingDelivery has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 4 (9 pts), if/else 1 (3 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2032}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c28173632d82501f31bd3527b8ca8c1d015408f3b9c4f31f3c01b2837a3d7d1"}},{"ruleId":"D2","level":"warning","message":{"text":"browserSetup.createBrowserSetupStore.start (cognitive 16): browserSetup.createBrowserSetupStore.start has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca7564b55c0171148600516799885d1e623414a63cc2ebe93680537469fcde0"}},{"ruleId":"D2","level":"warning","message":{"text":"probe.pipelineTargetsTenant (cognitive 16): probe.pipelineTargetsTenant has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/tenant/probe.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c079e5fe67db732ee8f1819cdf85bd418fe03d715123d3907f34f5bf327f6a1e"}},{"ruleId":"D2","level":"warning","message":{"text":"publishStagedApproval (cognitive 16): publishStagedApproval has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), ternaries 5, error handling 2 (3 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f414a15acc703dfa3e16b496e39866207c0bc0d965d1e504ce6d2bb4ba7dab"}},{"ruleId":"D2","level":"warning","message":{"text":"loadActionToolsForExecution (cognitive 16): loadActionToolsForExecution has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 2, loops 2, other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"e150c7bc98242e96b48f27d4bbea5b90cd02df4bbe5b2ef1dc99fb6bb83c5e08"}},{"ruleId":"D2","level":"warning","message":{"text":"uploadAgentAvatarHandler (cognitive 16): uploadAgentAvatarHandler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (9 pts), error handling 4 (5 pts), boolean chains 1, other 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e97555604fde19ed0f163368252b02eaf47d792a73d3b8d1f155479cb2844e"}},{"ruleId":"D2","level":"warning","message":{"text":"getMessagesWithinTokenLimit (cognitive 16): getMessagesWithinTokenLimit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (9 pts), boolean chains 3, loops 1 (2 pts), other 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":"api/app/clients/BaseClient.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f486063818662b58af4c82520686c30c59d1bedb95b285ce78d70857323fe8e"}},{"ruleId":"D2","level":"warning","message":{"text":"processAgentFileUpload::createTextFile (cognitive 16): processAgentFileUpload::createTextFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), ternaries 4 (6 pts), other 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"02803dc6237b70d88097ac0494399a504b753c3820dfc25809c45a4fd68d38bd"}},{"ruleId":"D2","level":"warning","message":{"text":"getDefaultHandlers::handle (cognitive 16): getDefaultHandlers::handle has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (8 pts), other 4, ternaries 1 (2 pts), boolean chains 1, 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d30d8458eeb1edc253899c5baa3591beac50d56ac7b30c618bac44a2dc8b4ac"}},{"ruleId":"D2","level":"warning","message":{"text":"readSandboxFile (cognitive 16): readSandboxFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (9 pts), boolean chains 3, other 2, error handling 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5be23148f0f886fb254436aef42a325876c36adaf9deb2a020ba0ff6d776d9"}},{"ruleId":"D2","level":"warning","message":{"text":"writeSandboxFile (cognitive 16): writeSandboxFile has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6, boolean chains 4, ternaries 3, other 2, error handling 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"079f9c4a2871ca8a72ba3bdb6b0d71ae07c8d1b514482c72784c1942aa4fc3ea"}},{"ruleId":"D2","level":"warning","message":{"text":"abortMessage (cognitive 16): abortMessage has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (6 pts), other 5, boolean chains 3, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71fb5bc5e3dd89babf97c3128d980ed797d97af3fcbee4cf048e08902819296"}},{"ruleId":"D2","level":"warning","message":{"text":"collectTypeSpecifiers (cognitive 16): collectTypeSpecifiers has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 6, if/else 4 (5 pts), loops 2 (3 pts), other 2 (nesting depth added 2). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/circular-deps.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"91588fa4928facb17cc06cc3d08353e5d9021462f4852ba06841498c457eb52f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation.createConversationMethods: FunctionTooLong \u2014 createConversationMethods runs 2704 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2604 over it, 27.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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f3748c52716230cd69c372ce9c7a7bf690c1117ba1e945b2194e404a034e4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queuedTurn.createAgentQueuedTurnMethods: FunctionTooLong \u2014 createAgentQueuedTurnMethods runs 1761 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1661 over it, 17.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"be039c0e8b29aec16bdf4aba31f588857fb2dc49286b89b13d1b352aa1aa0077"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createToolExecuteHandler: FunctionTooLong \u2014 createToolExecuteHandler runs 1620 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1520 over it, 16.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5666}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf477faa52cb7e98a4c40cdfcbd10357e4d14f7f4f3792cdc85e0943a7667a85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createAdminConfigHandlers: FunctionTooLong \u2014 createAdminConfigHandlers runs 1617 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1517 over it, 16.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":"packages/api/src/admin/config.ts"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb4259378739ba546931045c54f9caf728de290c591de9ca08f44df4b6048b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GenerationJobManagerClass: ClassTooLong \u2014 5799 significant lines (blank, comment-only and punctuation-only lines excluded), 161 methods. The bar is 400 significant lines; this is 5399 over it, 14.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fcc68d3418975e97a6d175d9175b62d53982455485f0324a92fb0258b5ae3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session.createOpenIDSessionRefreshService: FunctionTooLong \u2014 createOpenIDSessionRefreshService runs 1292 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1192 over it, 12.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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bee180add5edb74d24d39509a68e0ae3c859eec828c9c26920982dc4f05908"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: stream/GenerationJobManager.ts: FileTooLong \u2014 6330 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: GenerationJobManagerClass (897-10125). The bar is 500 significant lines; this is 5830 over it, 12.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869d323a7dfb984dbe1c2d247711ac6f4d5ac8e19a890c25e01c7212c009188c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createSchedulesService: FunctionTooLong \u2014 createSchedulesService runs 1207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1107 over it, 12.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a473614394a22bf4b65d2a1803c63e36faa18043ff18eb12caf3241c4e468d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent.createAgentMethods: FunctionTooLong \u2014 createAgentMethods runs 1202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1102 over it, 12.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"586e8c02953c824f351b085b7ca74e18c567dcb0c1e22f7a49666c12599c6f20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: initialize.initializeAgent: FunctionTooLong \u2014 initializeAgent runs 1119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1019 over it, 11.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"369abe75ed2538a7757878d347605f11912b0d146c0d97cdfd52d5b99528de48"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/handlers.ts: FileTooLong \u2014 5507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5007 over it, 11.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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2976b61a44bebb272d82aae213b086f471fa313c2ae1b2f9c1a5060e01a4be41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: schedule.createScheduleMethods: FunctionTooLong \u2014 createScheduleMethods runs 1091 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 991 over it, 10.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd170d68bb8cd223d67128abab75e88b9e73f3fb18e0e81e2d7d38901c2f7a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file.createFileMethods: FunctionTooLong \u2014 createFileMethods runs 1011 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 911 over it, 10.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":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3908e0e0ec6fa13996fe05fb626e0a0a149657be04caae0593be2a58caaa8d7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageNav.MessageNav: FunctionTooLong \u2014 MessageNav runs 946 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 846 over it, 9.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b8686ddbf33c9f6777dc3eda7dea9889a18b3fb97324c71ff8a949aa1d4923"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/client.js: FileTooLong \u2014 3993 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 3493 over it, 7.99\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a2fecf1b6a1409611aad71ec3415c50d49d1689a45dbce6c63a242f9e4cb1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/config.ts: FileTooLong \u2014 3936 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3436 over it, 7.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61003f446d448b6a2ad75bb603fb7793426e26cd9d93705ffe6b58498bfac158"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/triggerDelivery.ts: FileTooLong \u2014 3797 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3297 over it, 7.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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81eda25f6ef41e53d4c8e3c3408172442264e8c9aaf3270baa212f2b91ae547e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill.createSkillMethods: FunctionTooLong \u2014 createSkillMethods runs 755 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 655 over it, 7.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1018}}}],"partialFingerprints":{"codehealthFindingId/v1":"c859e2b78f7bea83a3bb23e6e0adc11e6778651e8008b772ff348d4374a67b75"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: implementations/RedisJobStore.ts: FileTooLong \u2014 3720 significant lines (blank, comment-only and punctuation-only lines excluded), about 77% of them inside a single declaration: RedisJobStore (1962-6092). The bar is 500 significant lines; this is 3220 over it, 7.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db7090c74c4328c01604445103e7d50ac74be5cfdc3b421096edadec30c095c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useFileHandling.useFileHandlingCore: FunctionTooLong \u2014 useFileHandlingCore runs 685 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 585 over it, 6.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d3638eb16f5b1291dd4b256117d0962c1e802f2c4e921af24bf7e4047ec336"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: roles.createAdminRolesHandlers: FunctionTooLong \u2014 createAdminRolesHandlers runs 674 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 574 over it, 6.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c01c1f94bd29f849954ff8e3de7202a257357645cd487212eb7b15efe5b54cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/conversation.ts: FileTooLong \u2014 3284 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: createConversationMethods (680-4711). The bar is 500 significant lines; this is 2784 over it, 6.57\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c34e139a81a3cdba7597626bf4f010c18895104098f2f52a70c7c11c61805c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createOpenIDRefreshRecoveryService: FunctionTooLong \u2014 createOpenIDRefreshRecoveryService runs 655 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 555 over it, 6.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d78f9b339e9e3ee41809194cc48014566def2615be78a625f6fbf912721556"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.createActivityPhaseWiring: FunctionTooLong \u2014 createActivityPhaseWiring runs 648 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 548 over it, 6.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ab6377198954d154294487ffcbc5f2b074d01cb24e1a6d5d2a3d21ce445da9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conformance.describeConfigStoreConformance: FunctionTooLong \u2014 describeConfigStoreConformance runs 632 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 532 over it, 6.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b5709bb9fd109776e692f0f95827f5475290262b684820713e7da2e044206e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/message.ts: FileTooLong \u2014 3156 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createMessageMethods (1094-4502). The bar is 500 significant lines; this is 2656 over it, 6.31\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e5d51cb543b2edd0af4baaa34bb3a8ac0708975c11bf25c6c5b364e08471d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/config.ts: FileTooLong \u2014 3147 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2647 over it, 6.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":"packages/api/src/admin/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3e00ab0314e2aded678166e2b1aee0d40dd7be37652ed7025d7d5350b07188"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: share.createShareMethods: FunctionTooLong \u2014 createShareMethods runs 624 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 524 over it, 6.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f4aa10892450d774475a73c56b65b3ca54e3aaf8ee186f94cdc24068e03954b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: prompt.createPromptMethods: FunctionTooLong \u2014 createPromptMethods runs 620 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 520 over it, 6.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a369932a5b5ecf6303b81c6ae64c640d9213d2d5b3abb086015f5f1aa645cf0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPManager.callTool: MethodTooLong \u2014 callTool runs 611 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 511 over it, 6.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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"c601695e418c93f35be3727c4b3811eb16420a3b706c495626d639a30d2ea770"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/subagentThreads.ts: FileTooLong \u2014 3048 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: SubagentThreadTaskStore (707-4059). The bar is 500 significant lines; this is 2548 over it, 6.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a8fa4c1eecfb89f5b0f48566cd3acd0918f174fd142fefd761d706281f503c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SubagentThreadTaskStore: ClassTooLong \u2014 2431 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods. The bar is 400 significant lines; this is 2031 over it, 6.08\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"072dc826cb1de4858ebae7bff764699ba13400e26adf889d50917d7eb55c938d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runs.createChannelRunHandlers: FunctionTooLong \u2014 createChannelRunHandlers runs 600 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 500 over it, 6.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad56e8cfad8199cb6723d8565cb9c5fab3e4368c19118de4d96806306aa7262"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: middleware/modelBoundContent.ts: FileTooLong \u2014 2946 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2446 over it, 5.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddce25741b85e17a7a01a4686a21df157841f011030fd0bde5d3472762ee8ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScheduleDialog.ScheduleDialog: FunctionTooLong \u2014 ScheduleDialog runs 584 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 484 over it, 5.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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e37173ba3a351b42593ffc37eb63080ebfa68cf2d5e15098b99fb647bd854d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.createCodeEnvironmentHttpHandlers: FunctionTooLong \u2014 createCodeEnvironmentHttpHandlers runs 577 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 477 over it, 5.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55ed56fb9696f3341c23203544b34c3335b607fc67ef553e0eb003ce5289e1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: outcome.createAgentEventTerminalHandler.\u003Creturned closure\u003E: FunctionTooLong \u2014 createAgentEventTerminalHandler.\u003Creturned closure\u003E runs 574 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 474 over it, 5.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"67aae7eff16b306d4983d30a24caa978bb34ef16450dd1f650fb8aaf37678169"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContentParts.ContentPartsBody: FunctionTooLong \u2014 ContentPartsBody runs 568 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 468 over it, 5.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49718811b263e27400a9f7c4701398c5bb933083960f801b0371efcc21f5b02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: submissions.extractStoredMessageContentWithBudget: FunctionTooLong \u2014 extractStoredMessageContentWithBudget runs 557 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 457 over it, 5.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"3487e8d2e97c1816c3855cdf4d3b0c8f6da2b3fa3dc949692deecbd515d0970d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useQueryParams.useQueryParams: FunctionTooLong \u2014 useQueryParams runs 556 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 456 over it, 5.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b2d92ac51621776a2a96cb694a502cc43719a0ad50bcb274878393fa5178c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMCPServerManager.useMCPServerManager: FunctionTooLong \u2014 useMCPServerManager runs 555 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 455 over it, 5.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8992f2a3a58379cb1ef24484b5c1efd99eab7f3a4524ad10fda9f3e09b92d89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolService.loadToolDefinitionsWrapper: FunctionTooLong \u2014 loadToolDefinitionsWrapper runs 553 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 453 over it, 5.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":"api/server/services/ToolService.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae3cdee70393c20ee9152ab203a7fe17089cd25dbd4abe55dcec929e57682f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GenerationJobManagerClass: TooManyMethods \u2014 161 methods. The bar is 30 methods; this is 131 over it, 5.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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebe8efd7d08a224ef2e1b33834ac62b53cb8ef8f15ed0ef7fad4d2c833ce0e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeWorkspaceMenu.CodeWorkspaceMenu: FunctionTooLong \u2014 CodeWorkspaceMenu runs 536 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 436 over it, 5.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"494be579c30ac8c008cb6143f10c7cbe0bb04dd8d8fd0fb47b804d4851b64fd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: permissions.updateInterfacePermissions: FunctionTooLong \u2014 updateInterfacePermissions runs 533 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 433 over it, 5.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c1bbb7812b452ca8f6436fb8b504a491519059c3bdbdd538ddea3a12faf225"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataTable.DataTable: FunctionTooLong \u2014 DataTable runs 533 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 433 over it, 5.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ada776b4ee58f5bee858aad0463cbf39647b57f9b050b73dd4de06ccc7d893f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: aclEntry.createAclEntryMethods: FunctionTooLong \u2014 createAclEntryMethods runs 531 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 431 over it, 5.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":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abd427a19e7b7b22d664d55e0fb4bcd3621a39bc4a56d3f3c7b9ad6eedb6e63"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: store.createMCPCatalogStore: FunctionTooLong \u2014 createMCPCatalogStore runs 527 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 427 over it, 5.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae148db1f5be5d401245bd4531a64bb8e0da48463f685a559cdf0f4fca7b3660"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reader.createLangfuseTraceReader: FunctionTooLong \u2014 createLangfuseTraceReader runs 524 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 424 over it, 5.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"9201b7519f3494e6d9da4b25fb760ede5665ee8a0c0ea4a0007b1bf1602fa906"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages.extractMessageContent: FunctionTooLong \u2014 extractMessageContent runs 521 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 421 over it, 5.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"45cdf8b59a54fc711ab4e04b32a00a2201f423a26a3c552db5007db896fb618a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCallGroup.ToolCallGroup: FunctionTooLong \u2014 ToolCallGroup runs 518 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 418 over it, 5.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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f494b76031cffda7be05a1e212e0c005164d84883bfb02340afccc8ca7229a8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message.createMessageMethods.getMessagesForSubagentThreadView: FunctionTooLong \u2014 createMessageMethods.getMessagesForSubagentThreadView runs 518 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 418 over it, 5.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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e7672ef969d94ad24b9e51876d6ba0e38db2c1238f38673dc6aafcc09b0759"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: actor.executeAgentEventActor: FunctionTooLong \u2014 executeAgentEventActor runs 509 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 409 over it, 5.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8b16f90716ad3a91aec9afcadd1e8e237800c3c4ef009035884451cc422087"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: systemGrant.createSystemGrantMethods: FunctionTooLong \u2014 createSystemGrantMethods runs 508 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 408 over it, 5.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b140dd2ff3a2975aab44b72e6c85ffd1cdde81c8c03f29137f3c62c9916520f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationJobManagerClass.attachSubscription: MethodTooLong \u2014 attachSubscription runs 506 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 406 over it, 5.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5216}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cc4916facc519b6f4a02033fa7881fc69b40230fdfda21c03dfecebaf0b10b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chatV1.chatV1: FunctionTooLong \u2014 chatV1 runs 505 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 405 over it, 5.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"335b1679f24d2c6829f93626fddefe74edc3248cce33364c87e99cb4c608093a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/request.js: FileTooLong \u2014 2518 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 79% of them inside a single declaration: ResumableAgentController (773-3709). The bar is 500 significant lines; this is 2018 over it, 5.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34548aefeca5864f4212e57267a0a23d409b661b041fa57b5e6617ff3c601772"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: background.runCheckBackgroundTask: FunctionTooLong \u2014 runCheckBackgroundTask runs 500 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 400 over it, 5.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0fe60195e60abc62c73c6db958b2ab738d9eb5a4a053bd74afbdef6a6f26ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Artifacts.Artifacts: FunctionTooLong \u2014 Artifacts runs 499 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 399 over it, 4.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"217e579a34b4d96bb357959ac846a415a6ac9a60c8e03a0f4998ffed969c2b4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WorkspaceChannel.WorkspaceChannel: FunctionTooLong \u2014 WorkspaceChannel runs 492 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 392 over it, 4.92\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e89e0258becfbadd42700dc0b3f4151e2987947620eded366f4d04bd27fbb18e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationJobManagerClass.subscribeWithResume: MethodTooLong \u2014 subscribeWithResume runs 486 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 386 over it, 4.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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6336}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b86d58aed5d48fee701676d58bb1995c4d255f4898143a830824794b1c7f8c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createSchedulesHandlers: FunctionTooLong \u2014 createSchedulesHandlers runs 480 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 380 over it, 4.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"664770c4ef9994411a8a4c8502e626507c7b146d73e90c244673f4f0db0670e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectResources.ProjectResources: FunctionTooLong \u2014 ProjectResources runs 473 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 373 over it, 4.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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0995cacb0cc575615f829a20029ffb52aeebe62d438fa913c4e45570a66535a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: backgroundCompletionWakeup.createBackgroundToolCompletionWakeupResolver.resolve: FunctionTooLong \u2014 createBackgroundToolCompletionWakeupResolver.resolve runs 471 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 371 over it, 4.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec8ce1f071cb9aef7e68e44b8d0bd2474d17b01676d8dac7860e199a6cdef14"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/queuedTurn.ts: FileTooLong \u2014 2347 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: createAgentQueuedTurnMethods (805-3200). The bar is 500 significant lines; this is 1847 over it, 4.69\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d4193ab3f6e9f706c8bc65cdf7c2514110d8e6778bb5916c1917b95783bb09"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modes.createAgentToolApprovalSession: FunctionTooLong \u2014 createAgentToolApprovalSession runs 469 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 369 over it, 4.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a8929aa541212d2ccb148d539c0d4589c8270370917cdbae30b9bcb478ddfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: codeEnvironment.createCodeEnvironmentMethods: FunctionTooLong \u2014 createCodeEnvironmentMethods runs 461 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 361 over it, 4.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"d899ac1a859ee309246eef8c5566fd343933d61bbada7214f2d97138d5803944"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: groups.createAdminGroupsHandlers: FunctionTooLong \u2014 createAdminGroupsHandlers runs 457 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 357 over it, 4.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6464856175c3ff2124a93e0903694dab047b8377e3e2c99b3ae55fc2213c5a35"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Viewer.Viewer: FunctionTooLong \u2014 Viewer runs 456 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 356 over it, 4.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55943c81c4ffe4f5c944190b4e07449f0725a7cd41c8bc71c20e4031e02889"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: process.processAgentFileUpload: FunctionTooLong \u2014 processAgentFileUpload runs 455 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 355 over it, 4.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4244136b473fba6ce356d0f9f304ab261a12dce2f8f0f4d75e8a15e586221cf5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Breakdown.Breakdown: FunctionTooLong \u2014 Breakdown runs 455 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 355 over it, 4.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a41bc2f3a63eff51db7d60a0eb4066822e03f0aa1a774df40e647a53b24f3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAutoSave.useAutoSave: FunctionTooLong \u2014 useAutoSave runs 441 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 341 over it, 4.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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e55ce31b1d68b107ff0eb02e8a4868c2616251288b74c447b5fbd5c9b95afab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/background.ts: FileTooLong \u2014 2201 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1701 over it, 4.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":"packages/api/src/agents/background.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"311964d3ce75be7dd5702fc5576dc62b6c8b9605096304a63082edf077498bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Apps.Apps: FunctionTooLong \u2014 Apps runs 440 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 340 over it, 4.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"645bb1d8d83e6fbc2e8f5f39d8600495a74dfb851546fddc770c7646a194a5f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: llm.getOpenAILLMConfig: FunctionTooLong \u2014 getOpenAILLMConfig runs 439 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 339 over it, 4.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"077eb88f16e6daaf962e402d187a2e4c8163dc1459f5402c7cdb2b8f358de4f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Workspaces.OwnedWorkspaces: FunctionTooLong \u2014 OwnedWorkspaces runs 437 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 337 over it, 4.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7922e2a1c6746af510c9a5f14ff4257e5fabc1de20e411cfad1fc379968ba91"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LangfuseConnection.LangfuseConnection: FunctionTooLong \u2014 LangfuseConnection runs 435 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 335 over it, 4.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1bcba89f5c95b99a73d83cff9769d748c86eba5e1cfd9b2bde5b408f0d1def"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: oauth.createPullRequestOAuth: FunctionTooLong \u2014 createPullRequestOAuth runs 435 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 335 over it, 4.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d6297756e7ae129d9ccef4f2c5b71d039d8dd8fc1fcd046047e422e52f0531"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTextarea.useTextarea: FunctionTooLong \u2014 useTextarea runs 431 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 331 over it, 4.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"debcbe02d359cabec7b328dba55b1e4c7a56112cecd13bd7e15465a0cd0a3ff3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browserSetup.createBrowserSetupStore: FunctionTooLong \u2014 createBrowserSetupStore runs 431 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 331 over it, 4.31\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a40629dc6cfdde39994a54e7b003759416b9fcf4898fa0aac72586799d9670"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Stage.Stage: FunctionTooLong \u2014 Stage runs 425 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 325 over it, 4.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"334529d737357693a75b1bee0c68369daf29e1fc14936f3d66291f03b84d6850"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Ledger.Ledger: FunctionTooLong \u2014 Ledger runs 423 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 323 over it, 4.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"948a1e60a9249da7112caa3f5ab180920ef2b34d9160f60e6f2552f22a1ea905"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: implementations/InMemoryJobStore.ts: FileTooLong \u2014 2108 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: InMemoryJobStore (152-3023). The bar is 500 significant lines; this is 1608 over it, 4.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"738a20a34cc7642542d609868eb614d3b15d331f9038d0269149344c86ec0edf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/connection.ts: FileTooLong \u2014 2094 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: MCPConnection (1109-3313). The bar is 500 significant lines; this is 1594 over it, 4.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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d731c6f4c64e5c1f82315e5fafed6dceeb145ac88015dbe00da1520506c66712"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcpAuthority.createMCPAuthorityMethods.loadCurrentProof: FunctionTooLong \u2014 createMCPAuthorityMethods.loadCurrentProof runs 416 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 316 over it, 4.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab30b2aae97293d498f624c828149ecdddde536eeaf69a0c7df07e72ca0ef35c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MCPConnectionFactory: ClassTooLong \u2014 1661 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 1261 over it, 4.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f544272c8456577e3a523bb32b13253bf70bffbe5dfc46db83565661df7e78e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Queue.QueueRow: FunctionTooLong \u2014 QueueRow runs 413 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 313 over it, 4.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f17bb43e3fb45b45b46109bb7458bf24eafac153c23402601723ca7c748c1c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: flight.createOpenIDRefreshFlightService: FunctionTooLong \u2014 createOpenIDRefreshFlightService runs 411 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 311 over it, 4.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":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3172390cfab5bcff5b18d0319c428f327c7ea6ec328107dbfc0b8ce5b7733b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/run.ts: FileTooLong \u2014 2036 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1536 over it, 4.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":"packages/api/src/agents/run.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"74611494621becd04c822a77f5af0f567cdc6d459c71e5f615d7b314857da1d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createSetupService: FunctionTooLong \u2014 createSetupService runs 407 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 307 over it, 4.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/service.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a2619e795b15ac738c0ed69c937385ba7ea0d62f4e8e22a63cf2dbe196ab5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: metrics.createMetrics: FunctionTooLong \u2014 createMetrics runs 406 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 306 over it, 4.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/metrics.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"2729ab20e3f1bac170a516600a32d483005a31eeb9fa7b7372c6cd475011b544"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/MCPManager.ts: FileTooLong \u2014 2026 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: MCPManager (141-2763). The bar is 500 significant lines; this is 1526 over it, 4.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cf503b76bbb8fb76b2a25512c6504988f6a09f6e81bf90529da87fc8901f7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createAgentTriggerService: FunctionTooLong \u2014 createAgentTriggerService runs 404 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 304 over it, 4.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":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d89764bff4d90f961523c5c550ec688b4ccddaa40e532c86e597468ae7a1d2d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectWorkspace.ProjectWorkspace: FunctionTooLong \u2014 ProjectWorkspace runs 400 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 300 over it, 4.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectWorkspace.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2bf7ece9d8a98a1cef299ca3d16082d89acdde8626a5114fc2f4c25d69771c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisJobStore: TooManyMethods \u2014 118 methods. The bar is 30 methods; this is 88 over it, 3.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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4900917c846cad6855ce653f74d222801bd249475b207d6fcb4dd5fe32251c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github.syncSource: FunctionTooLong \u2014 syncSource runs 393 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 293 over it, 3.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"866ecf7b01e18f56d559ddee3d2a1e4533a4682ab8390aec05c4a67436936401"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillLifecycle.createSkillLifecycleMethods: FunctionTooLong \u2014 createSkillLifecycleMethods runs 388 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 288 over it, 3.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"435d31a524d6e980d65c6319e8c32c2397257f2eea2ac1527c8185f5c5074556"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chatV2.chatV2: FunctionTooLong \u2014 chatV2 runs 382 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 282 over it, 3.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"0619aedabffe06cf9de128e6b58a5cf07ae4bebd1e70e672d837fc33d4df4b80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Channels.OwnedChannels: FunctionTooLong \u2014 OwnedChannels runs 377 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 277 over it, 3.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efb45a87357735a145c8d3f5bb0ae3fa57bb7b7a4c0b0f4c8ee1f1ce984b52d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAskAnswerMode.useAskAnswerMode: FunctionTooLong \u2014 useAskAnswerMode runs 376 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 276 over it, 3.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":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5456399fd69c206d6ffd946f760029b0e69e1b49af3e264c69a0a49696f92d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mongoMeili.createMeiliMongooseModel: FunctionTooLong \u2014 createMeiliMongooseModel runs 376 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 276 over it, 3.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":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf2669738fb1f47213161a6d22bc1d665c1cad3b87b026375791858b860a756"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createSkillsHandlers: FunctionTooLong \u2014 createSkillsHandlers runs 374 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 274 over it, 3.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"78511fd30efd207ff750ff73900ac14a1881f8d6d6d02d9678b4d6d63ce90de3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usePastedTextEdit.usePastedTextEdit: FunctionTooLong \u2014 usePastedTextEdit runs 373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d586922eff882608f02696fa3537a2e38dece17a011e7608fb783a1b9a4382"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: langfuse.createAdminLangfuseHandlers: FunctionTooLong \u2014 createAdminLangfuseHandlers runs 373 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 273 over it, 3.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"db270468d0476937f710838477f8f12482b8a710865cca4117fa54a1f4dcad40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VirtualizedAgentGrid.VirtualizedAgentGrid: FunctionTooLong \u2014 VirtualizedAgentGrid runs 372 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 272 over it, 3.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3682d1936a8854853c1c496b3e0c1487f2090bad916473ed2fd602ad22dc6141"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createAppConfigService: FunctionTooLong \u2014 createAppConfigService runs 371 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 271 over it, 3.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ecf5a779ac087192bd2d28eb3c017c261096c4443f48ee6d6de1f63267f4b0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/ToolService.js: FileTooLong \u2014 1846 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 1346 over it, 3.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":"api/server/services/ToolService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca79324091f91d9951a599ebe054d6e88c080a35a37daaa348abc45ee2e2c013"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAppBridge.useAppBridge: FunctionTooLong \u2014 useAppBridge runs 369 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 269 over it, 3.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9b6e01cbef5455c567393a036ad2a658a60811f930948189a414ffb2acbdad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/resolution.ts: FileTooLong \u2014 1844 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1344 over it, 3.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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d717737a19fff614b96d28bc56ff85702b72cb2a38d2e4049e1c15d4ed632554"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/initialize.ts: FileTooLong \u2014 1835 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: initializeAgent (1215-2997). The bar is 500 significant lines; this is 1335 over it, 3.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b686205202d0c80761f01386419006985a46d722c66f51f566fe3cd3d6be0f2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slackWorkspace.createSlackWorkspaceStorage: FunctionTooLong \u2014 createSlackWorkspaceStorage runs 367 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 267 over it, 3.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03aeae7f2f1e4a29973c4ecde9c2400d0843ca3f5fd9a030397ff01ea45db81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handleTools.loadTools: FunctionTooLong \u2014 loadTools runs 366 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 266 over it, 3.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":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4302fd2fb6f4a7e8670969135ca32e6283520b3f47102033f25374fa29696b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DialogImage.DialogImage: FunctionTooLong \u2014 DialogImage runs 366 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 266 over it, 3.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":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9700b48d82c3c81887761e501379542baa9a39fa08bd912dea049e36f6bcf15e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArtifactCodeEditor.ArtifactCodeEditor: FunctionTooLong \u2014 ArtifactCodeEditor runs 363 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48b53bb3c3dd8ed0c8fef131548f71c28b7f943e5f21394de638ee36f95aadb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.createReasoningLabelWiring: FunctionTooLong \u2014 createReasoningLabelWiring runs 362 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 262 over it, 3.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"579bb0f85bd5b76eef55c00bb80b9a3eb653b18c67b4cf4a8993d6c6721cbf83"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AccessControlService.bulkUpdateResourcePermissions: MethodTooLong \u2014 bulkUpdateResourcePermissions runs 361 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 261 over it, 3.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb8246c4b2e31e31c6f81dcc3e0d1616a071cd1d98eebc90d6d1e9c1f23c4fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host.createRunFileHost: FunctionTooLong \u2014 createRunFileHost runs 359 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 259 over it, 3.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":"packages/api/src/agents/files/host.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8199d2d4f121e5b6a916074e93a7eb94f9a9c9784abc3ec96b701ba0aaf2e22"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/agent.ts: FileTooLong \u2014 1789 significant lines (blank, comment-only and punctuation-only lines excluded), about 67% of them inside a single declaration: createAgentMethods (1076-2893). The bar is 500 significant lines; this is 1289 over it, 3.58\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc129b997763afe4c373804c4389a6a397ce0b62ae138922857140da50068b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MCPOAuthHandler: ClassTooLong \u2014 1428 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 400 significant lines; this is 1028 over it, 3.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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c7cb6260c78031f6aba335fce642a99c5355e0724272c03383ad7c9b97911c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agent.createAgentMethods.getListAgentsByAccess: FunctionTooLong \u2014 createAgentMethods.getListAgentsByAccess runs 357 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 257 over it, 3.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d9d5c40b8edd556f4e7d795ee399213cacab03d88d5c64429d566b4bd4b98e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: core/chat.ts: FileTooLong \u2014 1771 significant lines (blank, comment-only and punctuation-only lines excluded), about 74% of them inside a single declaration: Chat (832-3020). The bar is 500 significant lines; this is 1271 over it, 3.54\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04fb9a7152099fb0c65f2be8d52e57ae25285c2417002ac461ff4ef16f9b0ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptForm.PromptForm: FunctionTooLong \u2014 PromptForm runs 352 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 252 over it, 3.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25282fd700d86f2740ab54dfc286811fc6354ffd4f956c2d6604fcf73033654"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: logs.createClientLogExporter: FunctionTooLong \u2014 createClientLogExporter runs 350 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 250 over it, 3.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/logs.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb14c0212ff1ee0af7989c0f3f13a5f3644a45b32a29afc6be3acb4331d389d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GenericGrantAccessDialog.GenericGrantAccessDialog: FunctionTooLong \u2014 GenericGrantAccessDialog 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":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf092c61df25ddb6269a7fac840f0af0003e783768f636b376bb2facd54c13c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/MCPConnectionFactory.ts: FileTooLong \u2014 1741 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: MCPConnectionFactory (92-2644). The bar is 500 significant lines; this is 1241 over it, 3.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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab33ff088c8e6ad0473a3a57dd91315d887fce5f1efc41ef09c4379cbe69cba1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCall.ToolCall: FunctionTooLong \u2014 ToolCall runs 348 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 248 over it, 3.48\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b64a66d2a43fd867480d012146622b7dd288e6c35d61a52195bdb71042e1dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/submissions.ts: FileTooLong \u2014 1739 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1239 over it, 3.48\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"deef0066fd0c46fdc6af278a3bbb7ee10d978988cd50ec123c750c671004f7e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reader.createLangfuseTraceReader.listRecords: FunctionTooLong \u2014 createLangfuseTraceReader.listRecords runs 347 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 247 over it, 3.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"152297c17960f8b3bdb1b86f7e9e2e29fb8e3715b4b0eac3c710454bd3912d85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Settings.CodeSettings: FunctionTooLong \u2014 CodeSettings runs 346 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 246 over it, 3.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Code/Settings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665a55b10e02b991066ef84df30082e95e900d2113c664245fb195c7fe5b290"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tools.createMCPToolCacheService: FunctionTooLong \u2014 createMCPToolCacheService runs 346 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 246 over it, 3.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e419c42a664c284a1fdfdcc8a0bfd9ed0b2fc2893827867ae149412a322c1c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: sync/github.ts: FileTooLong \u2014 1718 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1218 over it, 3.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1e7d631863ba6f45e78dee0f417bfe456d1fe1ca8403a3d92424d152004f4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Conversations.Conversations: FunctionTooLong \u2014 Conversations runs 343 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 243 over it, 3.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"52157c562d61a164d158fa151828e5d5cd4837169cfbd7eb69d037e8a2fdd14c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolService.loadAgentTools: FunctionTooLong \u2014 loadAgentTools runs 342 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 242 over it, 3.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e125438e4ea58b8f6201fe59e3cb3efee6d85c1b97ccb9404e33e2a5e2309b67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: engine.startScheduleEngine: FunctionTooLong \u2014 startScheduleEngine runs 342 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 242 over it, 3.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cd27fb3c779c648dc621fa8da8a3369ac9ea4093dba999922cdc2c08a716b7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MCPConnection: ClassTooLong \u2014 1363 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods. The bar is 400 significant lines; this is 963 over it, 3.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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94c5280146e5c02a35f3e8ac3110ee30ae70de84dc73aae0b92c82abe40b380"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usePaletteEntries.usePaletteEntries: FunctionTooLong \u2014 usePaletteEntries runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"80b1807da9bb959f897dd4a2e71bda688a47971186ac7d7bd26cb525e97e19ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: web.loadWebSearchAuth: FunctionTooLong \u2014 loadWebSearchAuth runs 340 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 240 over it, 3.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"683e64465bf8e7b88a209c92e55a33f42f78c5d44df74ee36aeabe59c5313dc9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.handleReadFileCall: FunctionTooLong \u2014 handleReadFileCall runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"d61829540ef3a7b7c60d4acfa0bf4a03641ed39f7f6b699af9139e9565d10691"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentThreadTaskStore.start: MethodTooLong \u2014 start runs 338 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 238 over it, 3.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"1207bc5d1d11aeea3964b51ede3031b43f3894bfbafe8aeed50047bd00fb109c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolApproval.ToolApproval: FunctionTooLong \u2014 ToolApproval runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50908b7eff3fe438a14a7fd6d1951bcb5b482c3982b6c678b2e35e5d3b32db8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session.createRunFileSession: FunctionTooLong \u2014 createRunFileSession runs 328 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 228 over it, 3.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/session.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac16452204b3651ab7c60120f3aa242fc766c49ac7fb12cd617bd15558640db"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Chat: ClassTooLong \u2014 1309 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 909 over it, 3.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"910434b0d2d4e3e87fdceb87c5a56126ed010c815672c888259e207668cc6346"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: grants.createAdminGrantsHandlers: FunctionTooLong \u2014 createAdminGrantsHandlers runs 325 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 225 over it, 3.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e0bbd5a82a292180a041fc13deb8b088b169184765b6dc6031e6b0afea680f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openidRefreshFlight.createOpenIDRefreshFlightMethods: FunctionTooLong \u2014 createOpenIDRefreshFlightMethods runs 324 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 224 over it, 3.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/openidRefreshFlight.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df31a9ba0f844cde936fbad608a902e442fbaa78320acf6c0825445dd21b3c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createProvisionService: FunctionTooLong \u2014 createProvisionService runs 323 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 223 over it, 3.23\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a325f169a57f135156dc98c27abdce1272d46d6401f4f3df5c8f1a6190efb2e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SharedLinkButton.SharedLinkButton: FunctionTooLong \u2014 SharedLinkButton runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"28c2392179c3d4f519d37b9a36b6d7d24a6953b6d7e967bb7b92eedd3d97abd9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.executeWorkspaceTool: FunctionTooLong \u2014 executeWorkspaceTool runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeaa5b592266ecaa4233266105e60198ccd6b5295b6e391b4f8b10fbe21dc424"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPOAuthHandler.initiateOAuthFlow: MethodTooLong \u2014 initiateOAuthFlow runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f9c4dd8c2ba656d7b1007537650393fef9a26c2ed31bf12701acbc63f1eea5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversationTag.createConversationTagMethods: FunctionTooLong \u2014 createConversationTagMethods runs 322 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 222 over it, 3.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversationTag.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"47953b929ce172b3897a425c4fe9dd3d573e7eff5367cd24f53137da541b0773"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/initialize.js: FileTooLong \u2014 1601 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 87% of them inside a single declaration: initializeClientWithProvider (225-2146). The bar is 1500 significant lines; this is 101 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ab0c70a6cbab306397808d0786198b06ea6e8e09dd6d8fdd62f318c685cb26"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PinnedSection.PinnedSection: FunctionTooLong \u2014 PinnedSection runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"88346593a7c93386af5592b75444d625be843e4e98b6b3dfb653ae29aa2dfc9e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthSection.AuthSection: FunctionTooLong \u2014 AuthSection runs 320 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 220 over it, 3.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"580b6d6ef5c8acb1aeec5cf4add2b29819e0fbc506b26568ccfab6e86188d04a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp.router.get(\u0022/:serverName/oauth/callback\u0022): FunctionTooLong \u2014 router.get(\u0022/:serverName/oauth/callback\u0022) runs 318 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 218 over it, 3.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":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cf4b1f4dc8feeddb803b0ed92124490e4e4dd2da9264440e7ce5be559bb0861"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNewConvo.useNewConvo: FunctionTooLong \u2014 useNewConvo runs 318 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 218 over it, 3.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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ceb0779895ea42012785d51f4ab9ba6938b043e04460dcf0556d3d047de307"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useKeyboardShortcuts.useShortcutActions: FunctionTooLong \u2014 useShortcutActions runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.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":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be50358cfba063a42945df75ffd35a740a4860f461a3e0d3c77bcc95aff753a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: actor.resumeAgentEventActor: FunctionTooLong \u2014 resumeAgentEventActor runs 317 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 217 over it, 3.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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d659b83df617851c227bdbe5491332af743c4238d260d4faf92439c7943042d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.router.post(\u0022/chat/abort\u0022): FunctionTooLong \u2014 router.post(\u0022/chat/abort\u0022) 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":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f226a955981bf6dfb2d730ac13a063a74b62abca0f2d951a2caa844ffb32320"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedules/service.ts: FileTooLong \u2014 1579 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createSchedulesService (578-2515). The bar is 500 significant lines; this is 1079 over it, 3.16\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f1b5a1b7fd127eae352e4c5645b9e78fefee8d64fc9c549469c886dfce96df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolService.loadToolsForExecution: FunctionTooLong \u2014 loadToolsForExecution runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fff8006864a53ded9e6495d287b7c7928058f2733ef9b68fa730f4dc98656b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AskUserQuestions.AskUserQuestions: FunctionTooLong \u2014 AskUserQuestions runs 315 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 215 over it, 3.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacafd5a6b6bc8b89a90fac4b4165654bae434c2b63eb2b7d5d62435b1452266"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/resume.js: FileTooLong \u2014 1565 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 67% of them inside a single declaration: ResumeAgentController (779-2314). The bar is 500 significant lines; this is 1065 over it, 3.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59076998904e6e1fa0ca216041fe8f1d5579b4702352641fdf7d487b758b9350"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Effort.Effort: FunctionTooLong \u2014 Effort runs 313 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 213 over it, 3.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4917e22ae14b137229a5778c5b1cccb50dcd42f96798b250878efa84267d3542"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MCPTokenStorage: ClassTooLong \u2014 1242 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 842 over it, 3.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1ebf895192d5f9f22b2d6ac26f5f6a149d14d4c96a8bdaeafb45e7353c7c5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Mermaid.MermaidRenderer: FunctionTooLong \u2014 MermaidRenderer runs 310 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 210 over it, 3.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5218298c4d07e49f7a93d115787a405217b015cb41df384578d659588bd04791"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: EditContentParts.EditContentParts: FunctionTooLong \u2014 EditContentParts runs 308 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 208 over it, 3.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee15c6e1508707c88dfc36c32dc186fdccaa6c9a00de18938a266f7efdf22fd7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resources.primeResources: FunctionTooLong \u2014 primeResources runs 305 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 205 over it, 3.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2e426b7046e4dcdcf46a8c059538a644ee1c3c7a674621e9e30d76cde68808"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Convo.Conversation: FunctionTooLong \u2014 Conversation runs 304 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 204 over it, 3.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":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"695e4376e3689a6b09f7bf2921a6060b4e4684a174d98be4f787c3e494d239da"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPTokenStorage.storeTokensUnderLease: MethodTooLong \u2014 storeTokensUnderLease runs 303 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 203 over it, 3.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e8db961edb59ea8cfb0a11a2c786aa7813402284aa1b486f861cdfbdddd7e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcpServer.createMCPServerMethods: FunctionTooLong \u2014 createMCPServerMethods runs 302 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 202 over it, 3.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpServer.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a9b380f166e24c7302e598fdfdc65add134b292e7e35593e03df1befeb2947"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentDetailContent.AgentDetailContent: FunctionTooLong \u2014 AgentDetailContent runs 299 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 199 over it, 2.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"926a8e142ea0011f19800e1bc078bc6115b1912e245072f2aaa32a7d8a442c1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createAdminConfigHandlers.applyConfigChanges: FunctionTooLong \u2014 createAdminConfigHandlers.applyConfigChanges runs 298 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 198 over it, 2.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6636d17ea2eb625584522e8fd68c7a2a4f103ba733360528c71fefc5b2a9cec6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: targets.createSubagentCodeRouting: FunctionTooLong \u2014 createSubagentCodeRouting runs 297 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 197 over it, 2.97\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faacf9a9885a8ee471332ff8f3cb04f9e9c7548d04eaa0a86dfe482c9a31aa7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/handler.ts: FileTooLong \u2014 1484 significant lines (blank, comment-only and punctuation-only lines excluded), about 96% of them inside a single declaration: MCPOAuthHandler (67-2312). The bar is 500 significant lines; this is 984 over it, 2.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fc66d3237a1b84622750e1d2df8cb75287c237eb4a1757ddf0288f7d7e56c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/v1.js: FileTooLong \u2014 1482 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 982 over it, 2.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8707f8cb8e542f87bb8f7100f2953b393ad5217e8c0d2925dabbd026e3e95d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openid/session.ts: FileTooLong \u2014 1477 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: createOpenIDSessionRefreshService (211-2190). The bar is 500 significant lines; this is 977 over it, 2.95\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f8580b72f22697c6ebe949db059770b649a91878e559410fd844f6083b26eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/parameterSettings.ts: FileTooLong \u2014 1474 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 974 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":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525f6395a834acdab858b2786b4116401d9febb5539619fce7998dc8bb2e7b82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InsightsView.InsightsView: FunctionTooLong \u2014 InsightsView runs 293 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 193 over it, 2.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e7e3c19bad65b23bd91abe02721caf4e9a27bc8357f0b41bfa65279b7c6667"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Channels.Channel: FunctionTooLong \u2014 Channel runs 289 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 189 over it, 2.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c579d353e374563d44227fc7a9dd75b5894f59ce8f5d2ea710393f652cb7cc1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelBoundContent.inspectModelBoundContent: FunctionTooLong \u2014 inspectModelBoundContent runs 289 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 189 over it, 2.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9374f2c68b4d27efee565fe92a61ab320b08da48ec0a5a47b06cc500d65509"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deletionService.createSkillDeletionService: FunctionTooLong \u2014 createSkillDeletionService runs 289 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 189 over it, 2.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73e354867b8cbe012bbcd803348313bafade8ba87ed6ec4e904c6175c31531b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp.createScheduleMCPPreflight: FunctionTooLong \u2014 createScheduleMCPPreflight runs 288 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 188 over it, 2.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3ac96b690139a8dcf6ca90aa3be8e983c3d2c1a1900695577a627d883737b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelBoundContent.projectModelBoundProviderContent: FunctionTooLong \u2014 projectModelBoundProviderContent runs 287 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 187 over it, 2.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"e311b307c3d53c613725473c45e20009634a361fa81bcaf5222aabd838b3df9e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InMemoryJobStore: TooManyMethods \u2014 86 methods. The bar is 30 methods; this is 56 over it, 2.87\u00D7 the bar. Most of these members implement IJobStore.IJobStoreV2 (61 of 86 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a727a47acbda1c14ec389a2cad9e5a2101ddd2e66657a4118e8b5fb8be712d43"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subagents/panel.tsx: FileTooLong \u2014 1421 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 921 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":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2b722a4cb01f2a86d2f81ece1560c78fffb9738c9cfaeacd5d7420423fd559"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: WebSearch.WebSearch: FunctionTooLong \u2014 WebSearch runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/WebSearch.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b080d81eb6555fe4925c6d1440ab0ede4b9c5a8ca16982faaedc104d10b17c82"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chatProject.createChatProjectMethods: FunctionTooLong \u2014 createChatProjectMethods runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb1c9aa656d27333fcd93c2f03eb2209091f917c2c360097075537ecb9f00e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch runs 282 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 182 over it, 2.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"52473aad3fbe13c820e3afe19111ad491d6a4a3e445e12f9b3e4dee82bf32b1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LangfusePromptsDialog.LangfusePromptsDialog: FunctionTooLong \u2014 LangfusePromptsDialog 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":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d30e789e8bd31a9a900c04bd1a2789b42f917cd480898e3ba102fc660617c139"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthContext.AuthContextProvider: FunctionTooLong \u2014 AuthContextProvider runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563831fa6e420e6586e2f2086de25011659bf9008117338513498a4be3ccb18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createPasskeyHandlers: FunctionTooLong \u2014 createPasskeyHandlers runs 279 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 179 over it, 2.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd0c409c5a689c79266a2c92c5e25d80ed69cf758621cd1fcff5e28eaea7251"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/mcpAuthority.ts: FileTooLong \u2014 1390 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 890 over it, 2.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91dcc75c504aa86a818d02767dc75586187472e61f50b04692c3f5e9ed090d5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/data-service.ts: FileTooLong \u2014 1385 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 885 over it, 2.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":"packages/data-provider/src/data-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8579cb06c2148ffaa5e986abcadbd18d07796b191af485ca1bf46e597545b346"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse: FunctionTooLong \u2014 createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse runs 277 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 177 over it, 2.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27efd693c98c3c343c1120abfd2441d601558a02cb3b9587360907a2293cf03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: insights.createInsightsMethods: FunctionTooLong \u2014 createInsightsMethods runs 276 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3423bc6c4b7d814e56b72804cb25bcdd153d09fd59d2147a90d8f2c31279a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: oauth/tokens.ts: FileTooLong \u2014 1373 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: MCPTokenStorage (234-2167). The bar is 500 significant lines; this is 873 over it, 2.75\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cf988508dd5e388fa97c531af6ff5001836385663e3fe5e81c532426bb3de0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: build.buildTurn: FunctionTooLong \u2014 buildTurn runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/build.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e0479d0a0c1c03bb3290418c0d66ed5105ab8d5503956945a3cfe4caa9ef74"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: insights.createInsightsMethods.getInsights: FunctionTooLong \u2014 createInsightsMethods.getInsights runs 274 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 174 over it, 2.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae7e1ac5206e40d4b4189930749cad0a4819572622d50db89a9c62dfb1c5106"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/skill.ts: FileTooLong \u2014 1366 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 866 over it, 2.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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"446ec94b3afe44934325ed2abb9df05f5e18f0d8d4172cb2d774253258043da5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useFileHandling.useFileHandlingCore.processFiles: FunctionTooLong \u2014 useFileHandlingCore.processFiles runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4cc90458ae8d699a49581e92d869b829e9e4534bc938844a3a2091bd2f4a40"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createUsageHandlers: FunctionTooLong \u2014 createUsageHandlers runs 272 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 172 over it, 2.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/usage/handlers.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"67cddf99ef0fc1e29c59614ddf962258f58cca2c02075b609e3a5f53012c3760"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: data-provider/mutations.ts: FileTooLong \u2014 1358 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 858 over it, 2.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":"client/src/data-provider/mutations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbc9bac960e82f7a3e925d6f1eda9e4295d556d5a37194680c7846fe2c98ef0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createPromptHandlers: FunctionTooLong \u2014 createPromptHandlers runs 271 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 171 over it, 2.71\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"400d3f335930adfac2688813fac3c678da94e11077ce359ee933d5d4c57a363e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.startServer: FunctionTooLong \u2014 startServer runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"a342b2ebc8237dd0a787d062ad74a844a478c186694755f690c4a710872a9813"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcp.reinitMCPServer: FunctionTooLong \u2014 reinitMCPServer runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"38c781b6a1a84942227f33ba7065713afc3c1e1e393a18ee43aead1323e704fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Link.OwnedLink: FunctionTooLong \u2014 OwnedLink runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Link.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4211c12a67c818220459f27941d61561574bd57b85f99c841411e0119902524"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ThemeProvider.ThemeProvider: FunctionTooLong \u2014 ThemeProvider runs 269 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 169 over it, 2.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffca9e3a208bcdc2123ba8a23a1616a189856838abbe62b46721d2ccdbf630aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/schedule.ts: FileTooLong \u2014 1334 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: createScheduleMethods (348-2350). The bar is 500 significant lines; this is 834 over it, 2.67\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f802a077c7cafa664cb2ecf393fff6da2e286e802ec1cd9fd11f4f07c04520"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.getDefaultHandlers: FunctionTooLong \u2014 getDefaultHandlers 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd198860a24bb0f3d340b1adcbccac09ac2e2be86c0d6b33fdab66eb6a54aca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/workspace.ts: FileTooLong \u2014 1328 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 828 over it, 2.66\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7aa512d1aac883399cd9cc49b3f76559944739b8b56026e670e3a80d2c6184"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/file.ts: FileTooLong \u2014 1325 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createFileMethods (408-2051). The bar is 500 significant lines; this is 825 over it, 2.65\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c33c02e47f350bbaae5554818c6e935c6d932484e1a91e884a193016f90aef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SubagentCall.SubagentCall: FunctionTooLong \u2014 SubagentCall runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1001ee0f5896b2f19a3481d0eb529051825a2e5f978a3a3340580a2589d50f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: submit.useSubmitSteer: FunctionTooLong \u2014 useSubmitSteer runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a726f5ce122fc221a0f09e617e8ffaca9fd6ebda55ebf6f46969614639cc737"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSteering.useSteering: FunctionTooLong \u2014 useSteering runs 264 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 164 over it, 2.64\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd299accfefabb379c67ea0c4e3f6870261fb0bdce374ff86b3a8b45828f1995"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SubagentThreadTaskStore: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a900fd47083da5db564b4c645d3658747889a554975dd8257cb8f9b644789e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: identity.createChannelIdentityService: FunctionTooLong \u2014 createChannelIdentityService runs 263 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 163 over it, 2.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identity.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"20559ca92959448dba6a5441b86ffcd2c9cc99b696b2cf48d037a714e73e18e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaceHttp.createSlackWorkspaceHandlers: FunctionTooLong \u2014 createSlackWorkspaceHandlers runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceHttp.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"e259201e0cc9a86ff1abf3bb01ff75fa746ceb20ff5f8e5c610da5a641bd7c85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Avatar.Avatar: FunctionTooLong \u2014 Avatar runs 261 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 161 over it, 2.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Avatar.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"911ca8d4b909dff18fe58f3521015044a10e25ae6fb62588383651df9d470d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AgentClient: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\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":"api/server/controllers/agents/client.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"513cd18d24db9a7ec4c6a8a616f695ce39e25ea68ad1b949f60de7d7bc16ddd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host.startRun: FunctionTooLong \u2014 startRun runs 260 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 160 over it, 2.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a15ade12b72eb666c06c1aaea23ac4df12c38fd6a2c8f647a24356da5327de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActivityPhaseGroup.ActivityPhaseGroup: FunctionTooLong \u2014 ActivityPhaseGroup runs 259 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 159 over it, 2.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"165639561c0e3dc6e90f625bd428c5cedef8c12034fec6e706cf0f5a2dc1e65a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createAgentChatCompletion: FunctionTooLong \u2014 createAgentChatCompletion runs 257 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 157 over it, 2.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a57138bc4c23a5253e0eccec8c3a0530fa00f58182d4243dd921471ac240bd6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Bar.Bar: FunctionTooLong \u2014 Bar runs 256 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 156 over it, 2.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Bar.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"a750677be8c8b5797ad14eec45f53c1bcc9fce4de5cc204dc5003cc1a78a3ae4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: clients/BaseClient.js: FileTooLong \u2014 1279 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 779 over it, 2.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":"api/app/clients/BaseClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"73154beb5446dd0b29e5636f631adb5532594c70944ae266c8a0b315c282d250"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataTable.DataTable: FunctionTooLong \u2014 DataTable runs 254 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 154 over it, 2.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dbbd3e1c19014f9b65fa5dbe584e4c1ac22591523694d6d5969fcb1131c10a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: shared-links/protection.ts: FileTooLong \u2014 1269 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 769 over it, 2.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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f71f964c8811e4e5782cfb0e7dfde7f2c82602b76f6e3443758ed20cd2eab5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: definitions.loadToolDefinitions: FunctionTooLong \u2014 loadToolDefinitions runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f59f93d32d9396be8700a659c1cd37a895b55c675d7b14afdc3bfd495d9bf4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: v1.updateAgentHandler: FunctionTooLong \u2014 updateAgentHandler runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6213b017b3fc8f8310c4f9c3659fa946c0b5d67d5967fb009ac02a11c4e7d59"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentGrid.AgentGrid: FunctionTooLong \u2014 AgentGrid runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentGrid.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9de679dd372c1416fe0f0de01f21ad2932657504c72c937af406030781562e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ScheduleCard.ScheduleCard: FunctionTooLong \u2014 ScheduleCard runs 252 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3813f3bab41f7b55eae505efa884ba7b5ecc2ae7f21b8c1158c217e3256520a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Button.BackgroundTasksButton: FunctionTooLong \u2014 BackgroundTasksButton runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a1305b367575b4ebb019b9e2c69b3c090098d8a46bb121cdd3853fa6dbcfa8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RedisJobStore.deserializeJob: MethodTooLong \u2014 deserializeJob runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5832e1f306089c6c7ce213348619ec15ba2ee6a23a07fc2f2461ef795afb1fc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: load.useResumeOnLoad: FunctionTooLong \u2014 useResumeOnLoad runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feb010ca3302a6a04b5d22e9bf04cd2442131b8e6b2762da242a1f0a95e1a85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mongoMeili.mongoMeili: FunctionTooLong \u2014 mongoMeili runs 250 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 150 over it, 2.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f6be4980dad0b09b5ebfca571a8f70f8d01a0a2655564544e8643f57e70185"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lifecycle.reconcileCodeEnvironmentLifecycle: FunctionTooLong \u2014 reconcileCodeEnvironmentLifecycle runs 249 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 149 over it, 2.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab5dd66b770665a14d3e46f51c434a77ebb4861fad9d819001c4bcff104d7c04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/schemas.ts: FileTooLong \u2014 1237 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 737 over it, 2.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d839e2d6687e269b9c9b1b2cd4d134d926a4e89023954dad4f55b61d1b3d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retirement.createResponseRetirement: FunctionTooLong \u2014 createResponseRetirement runs 246 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 146 over it, 2.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"50fcc149fcb61a1c646673f9cdfb25ca8703ac8e6ccb1bf0aa0da0c95fd26773"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: step.useStepHandler: FunctionTooLong \u2014 useStepHandler runs 245 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 145 over it, 2.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/step.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc54335a7856d4c3687531fb400c99906da205d91c1aa2f025fa2a719b24279"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApiKeyDialog.ApiKeyDialogContent: FunctionTooLong \u2014 ApiKeyDialogContent runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Search/ApiKeyDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"677a649d11ad257d827412b86384a017ba9970ddb850e9210b001e56ba2fa896"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillForm.SkillForm: FunctionTooLong \u2014 SkillForm runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/forms/SkillForm.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddaa4d9319ee30a0f1786fd7911d7c2e07b041625a63564846df839b6748946"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: manifest.createRunFileManifest: FunctionTooLong \u2014 createRunFileManifest runs 243 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 143 over it, 2.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea8bab4ce966bb092046af69d41647dfd801b13e105f3f69e092dd3b41acd78"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Files/process.js: FileTooLong \u2014 1211 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 711 over it, 2.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df8efe890c4b4b83afa58a804bea85b63649bcfbc940864a09526afe3f24519"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatGroupItem.ChatGroupItem: FunctionTooLong \u2014 ChatGroupItem runs 242 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 142 over it, 2.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f970a66de41c6ddb44f423710a6b301e1d6007c2a7b9f7c0158fc5fb51e1d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/UserConnectionManager.ts: FileTooLong \u2014 1200 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: UserConnectionManager (138-1715). The bar is 500 significant lines; this is 700 over it, 2.40\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e550f636c3a7ec76a5280a1ff2d0927a49fa64d65ab12c5856a4ca406b0216"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useExportConversation.useExportConversation: FunctionTooLong \u2014 useExportConversation runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useExportConversation.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c090419863af21deeac6a1c9dac4756a7fa912f1a5c983efe51b165392affeeb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDrawerSwipe.useDrawerSwipe: FunctionTooLong \u2014 useDrawerSwipe runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab1a0c5215170a759441671b8845a67848dfda8cbaae3ad8516ba81be966e93"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: requirements.resolveScheduledMCPRequirements: FunctionTooLong \u2014 resolveScheduledMCPRequirements runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"839bbbc92c50e9986abce37de13fe87594957ec480d73aaf7376080021a754d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: channelFeedback.createChannelFeedbackStorage: FunctionTooLong \u2014 createChannelFeedbackStorage runs 240 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 140 over it, 2.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelFeedback.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9fed727a8d8811be712b170eae005ebd08ea293c9c19ac503643d2a3fc17df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BashCall.BashCall: FunctionTooLong \u2014 BashCall runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"2853387fe4efbd63a16f3fd25cbbc90bffccd1bcad8eb862226bf95624144f5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mermaid.buildMermaidComponent: FunctionTooLong \u2014 buildMermaidComponent runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/mermaid.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac084d29e9fbcc4db5f93b96c41f0ce9c199b43f41567e7c5d81c328352f3591"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPConnectionFactory.handleOAuthEvents: MethodTooLong \u2014 handleOAuthEvents runs 239 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 139 over it, 2.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f348bf3cba57d6bcf3bb089b0b2bfd6f458bc7c88c9b1b9165b8568c9b18ff6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: activityPhases/runtime.ts: FileTooLong \u2014 1193 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 693 over it, 2.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6669a074bb993b62f3f5a7dd66e2fb1c05bbd708102a2b77a06a85f463df6408"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chat.extractChatContent: FunctionTooLong \u2014 extractChatContent runs 238 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 138 over it, 2.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/chat.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8eee51d0fa8fa1a3f6fca663ec8f57a6f869293389da8982c7cf9139ff4fab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/responses.js: FileTooLong \u2014 1188 significant lines (blank, comment-only and punctuation-only lines excluded; the length bar is tripled for a single-responsibility module of 4 or fewer top-level units), about 73% of them inside a single declaration: executeResponse (352-1555). The bar is 500 significant lines; this is 688 over it, 2.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":"api/server/controllers/agents/responses.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"163204b6d99bd99d62a9c2043e234795cbb102f8f3cc3ac4bf22fc560bfff038"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: implementations/RedisEventTransport.ts: FileTooLong \u2014 1185 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 685 over it, 2.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05558147ee395a2e84b83a962d50929d3d1a47c8bd55df7d3a704820e7a29db3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SharedLinks.SharedLinks: FunctionTooLong \u2014 SharedLinks runs 237 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 137 over it, 2.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"72031bb5ea188268719f5b19fc67a0d4149ebecd60f4c3591fa470f515d05842"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MessageNav: ClassTooLong \u2014 946 significant lines (blank, comment-only and punctuation-only lines excluded), 21 methods. The bar is 400 significant lines; this is 546 over it, 2.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":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e420f10d422fe56b88364c432195e173f738687f8b381fa104b4000e5d07682"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContentParts.ContentParts: FunctionTooLong \u2014 ContentParts runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"599e3c49d2777cce1796c5fc9b531527a80bcb050ea694b6e903843371304b77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createAdminConfigHandlers.patchConfigField: FunctionTooLong \u2014 createAdminConfigHandlers.patchConfigField runs 235 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 135 over it, 2.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b792cc30d9e1b29a61588fc7403d05da56549ecedc33bbd4e1fffbb21bd4be0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNewChat.useNewChat: FunctionTooLong \u2014 useNewChat runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd86f4570ce6b4ae9da8190c7f20f83ab634ee79b076d8230eeea251c3ba3015"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: final.useFinalHandler: FunctionTooLong \u2014 useFinalHandler runs 234 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 134 over it, 2.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6b14ad95c36b3ccfa3fefd5bafe1e3e16b816ef29b66eed0ae661df15d1f57"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/share.ts: FileTooLong \u2014 1169 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 669 over it, 2.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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"543e9937dcca1382a6c1bf4fbf90ad9e23de99c03900c2ccc708354a48a09c45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: messages/MessageNav.tsx: FileTooLong \u2014 1167 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: MessageNav (371-1748). The bar is 500 significant lines; this is 667 over it, 2.33\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e29feec4c0ca981989a686ea1a8cacf64b02febaba44ee9bd81cf6cf4198eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSharePointPicker.useSharePointPicker: FunctionTooLong \u2014 useSharePointPicker runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointPicker.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cbbf954b80f0cc505ea077e85896b000a858095ace4c3b9b416657073730d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createChannelHandlers: FunctionTooLong \u2014 createChannelHandlers runs 233 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 133 over it, 2.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/service.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9faca1322dbafc0e9e440e8a03f3148fd322f069c30ab718308123a81e2ee19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Passkeys.Passkeys: FunctionTooLong \u2014 Passkeys runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/Passkeys.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae40bc53c8be491ea68588dc893f219a960bf5692eee73901fea56eca1e9d7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AdminSettingsDialog.AdminSettingsDialog: FunctionTooLong \u2014 AdminSettingsDialog runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/ui/AdminSettingsDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7698aa68975ea5a7461a8e9c404073a7849187c73c0564b688c3fd5fe482d3db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSelectMention.useSelectMention: FunctionTooLong \u2014 useSelectMention runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSelectMention.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f56b2a0b5ef1779c496e36274b41592dbbd154cb33ffad6dc308d166d2fb3c8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentThreadTaskStore.prepareThread: MethodTooLong \u2014 prepareThread runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab4fe860242d7b064171eb9722f3ab8772a151948f58064ed20c51695ece48e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: content.foldSubagentEvent: FunctionTooLong \u2014 foldSubagentEvent runs 232 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 132 over it, 2.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e7bcff5c81521dd7ed8c280bf8b54b96482cde4c39e5abb6d3394058e43e7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subagents/state.ts: FileTooLong \u2014 1152 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 652 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa4f416a742c883265d3ae3ccbc0c19a5e19bfb87d2045a3313742bd334f0c19"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/MCP.js: FileTooLong \u2014 1151 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 651 over it, 2.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"919279be1844d562446e719a268c86887199b6aaaf10656c45b58a473220d4de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Chat: 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18a9787f685d09d8c6aa6d1cb6be6db083fc5c5e0b69fcb74e3dcdb6c713dba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/convos.ts: FileTooLong \u2014 1146 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 646 over it, 2.29\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df1dfac315c2f0122150b566c0c1af522222e7e1423763b851266133eb2d93a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionsInput.ActionsInput: FunctionTooLong \u2014 ActionsInput runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f971ba365213a78cf071f996dc53458cef955e9db15e1d5d67d338035765be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatRoute.ChatRoute: FunctionTooLong \u2014 ChatRoute runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChatRoute.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f89cdd5ffd86a93fcc32204ccd0f68e52aa714e61a8a9d44055bf23f94c837"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: feedback.createChannelFeedbackService: FunctionTooLong \u2014 createChannelFeedbackService runs 229 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 129 over it, 2.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedback.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dba37e7220771b0efb7babd6c07fbc4255a51b49ae9749e9da6a92cfea63f6f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TwoFactorAuthentication.TwoFactorAuthentication: FunctionTooLong \u2014 TwoFactorAuthentication runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d707d01698d9c8bbd9ccf7aad035e982cd52bb305be53813c63719b68823d916"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: email.createEmailChangeService: FunctionTooLong \u2014 createEmailChangeService runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"9074f729e08f6641fa735f1b5dfc6509d5b3ce8ed6daa09b6e7e1a63590f25b2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Setup.Review: FunctionTooLong \u2014 Review runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Code/Setup.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ea4eca3f940baed05f2bd202f5482f5e692283e49d32931e4a967f30527fc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useQueueDrain.useQueueDrain: FunctionTooLong \u2014 useQueueDrain runs 227 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 127 over it, 2.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5555567c7e56593f3cce604ec52e69fa42320447786f21bbea0ba1a24da0d7b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSelect.AgentSelect: FunctionTooLong \u2014 AgentSelect runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f98f09c06c416e9db66763fdff5e6f01bd4fb12a9f3d0068f2bb8f43f8c3cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAttachItems.useAttachItems: FunctionTooLong \u2014 useAttachItems runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"627e818820cdfbb5a31e8c9b596327993db0e8c186d434b63c3eb7771487c860"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Dropdown.Dropdown: FunctionTooLong \u2014 Dropdown runs 226 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 126 over it, 2.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Dropdown.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c2ad135b5117e9520625dfd4a259fb0bbb0adbfaea1df6ec661083938253a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: adapters/messages.ts: FileTooLong \u2014 1126 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 626 over it, 2.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":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cba9eef86484e720a61e302b80a7648ed8d4b63cf49f514b23b36a8fe6c7a24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory.processMemory: FunctionTooLong \u2014 processMemory runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"035efe7e677a846893773c0640d61fddad262509c58a2083e87b364556dd9d27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createProjectHandlers: FunctionTooLong \u2014 createProjectHandlers runs 225 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 125 over it, 2.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7e7a94aa6e2496a243f6e8ded019bc6556e8d984f48ea1e9a614f5e203a750"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/secrets.ts: FileTooLong \u2014 1124 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 624 over it, 2.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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4233df7b8a2d5d645caeba4d123bdc50e2a84a4a3e09b1c7e016791728de4022"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resources.computeProvisionState: FunctionTooLong \u2014 computeProvisionState runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"957a11e3ca4b54a1ddb0352ce9e019991cb571df1c57d28d70cbc28072e1a490"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory.createMemoryMethods: FunctionTooLong \u2014 createMemoryMethods runs 224 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 124 over it, 2.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/memory.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd67ec09c1641046379c070eb1d118a0914c0662c95b027d02f0a8003a5363f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Content/ContentParts.tsx: FileTooLong \u2014 1116 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 616 over it, 2.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"890f723f1830732b8d54dd518e6bb0545c11b155fcadbe06446ae89098a123a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatFilterMenu.FilterFacets: FunctionTooLong \u2014 FilterFacets runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ChatFilterMenu.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b992c545c1fc20e57ac71a4ed444ceb137ce0a5fb9ceba1ebdf8553f107b5ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createAdminConfigHandlers.upsertConfigOverrides: FunctionTooLong \u2014 createAdminConfigHandlers.upsertConfigOverrides runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb81bb1c32d364cff98c89200c7983fbda7b43c29aa3eca9a321530a85ea43fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: engine.createAgentTriggerDeliveryEngine.processDelivery: FunctionTooLong \u2014 createAgentTriggerDeliveryEngine.processDelivery runs 220 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 120 over it, 2.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"772309ad69766d84f54b6dc44c151e8426d2a80f5c141e561a1b3f58b586d0dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolsSection.ToolsSection: FunctionTooLong \u2014 ToolsSection runs 219 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 119 over it, 2.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"6715e4cbddc0cb0c107336fa7ab72aafadf3d327883fafcadcbd0abf93e3de7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Code/process.js: FileTooLong \u2014 1090 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 590 over it, 2.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f955556de127bfca52a0fc3f44e712e831cb58ba80c5d2321b04f5904ad3a1b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resume.finalizeResumedTurn: FunctionTooLong \u2014 finalizeResumedTurn 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":"api/server/controllers/agents/resume.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0adc08a2ba44279f8435e4527f875e990cca351f085d8c025d59d27fe6613bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TwoFactorSetupScreen.TwoFactorSetupScreen: FunctionTooLong \u2014 TwoFactorSetupScreen 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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"437af7efaa6c5b52b2aef85ed2debfe8f962b60ec9891dd5924fded803ee2e32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSpeechToTextExternal.useSpeechToTextExternal: FunctionTooLong \u2014 useSpeechToTextExternal 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":"client/src/hooks/Input/useSpeechToTextExternal.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94d0bee8b8920d3651f6e47f995181d47e12c3384f8fc72a6b40aecfa4a731c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: store.createConfigOperations: FunctionTooLong \u2014 createConfigOperations 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":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b77d452accf17cbcc90e52e7fbb034a7f083778c96dff1c6e880934c20c09d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PasskeyItem.PasskeyItem: FunctionTooLong \u2014 PasskeyItem runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"406852a7e48fa42ac26a8e9fb078356d5ba9ab68104d4ae76e321726fedc7578"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SetKeyDialog.SetKeyDialog: FunctionTooLong \u2014 SetKeyDialog 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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdb8a758e06aed551cb30b6b8b36fccd8df698b4415a36abb0e84e12f1533d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: request.handleSteerRequestInternal: FunctionTooLong \u2014 handleSteerRequestInternal 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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b43e9028b005eea4d3eed7129277b343ba07033f21749dbc8c7c862d3b93202"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ControlCombobox.ControlCombobox: FunctionTooLong \u2014 ControlCombobox 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":"packages/client/src/components/ControlCombobox.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39e2a458b3fcd01913d4c705f23b0af7fd31689c0348921c3d4e49e0ae29cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentConfig.AgentConfig: FunctionTooLong \u2014 AgentConfig runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentConfig.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4372e82b396889ea0af5c05924019d999ebfd104ec9afaa2ca2a2f325c8081c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: UserConnectionManager.getUserConnectionForTarget: MethodTooLong \u2014 getUserConnectionForTarget runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f67b7511561072e304ae4d39230b85c6f9cc80074f9ee503e81575fb8d5830"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: import.handleZip: FunctionTooLong \u2014 handleZip runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"580b402df0d9c9502388d467d5f6fc415475bea2e7f1c6d842fa69885c9c381c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolService.processRequiredActions: FunctionTooLong \u2014 processRequiredActions runs 213 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 113 over it, 2.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a68c6d6cfde4ae06437daa3b8ef0614b2cb499a3287da8d5b8ddeb8e738d1950"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMessageScrolling.useMessageScrolling: FunctionTooLong \u2014 useMessageScrolling 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":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd185df95ba3ccf5a25539ffc5a0f10c0aa3b4e988d7baa01dd2643f66d12f4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ArchivedChatsTable.ArchivedChatsTable: FunctionTooLong \u2014 ArchivedChatsTable runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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":"client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc29fbf51f3e6ef5ce36a47276debe7adff7dc2187ba29a52899eba37728f12"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createScheduleMCPConsentService: FunctionTooLong \u2014 createScheduleMCPConsentService runs 211 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 111 over it, 2.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":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e8805ad90f591b4725ecc0ed6c95045012e499f1c88a1479c9769a213204ab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MCPConnectionFactory: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ddc0d77b2f2b15353886390312236f257b1fd880becf5281027d65be94ca16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillsDialog.SkillsDialog: FunctionTooLong \u2014 SkillsDialog runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8499e9d546b9f7b66cac558108362a601b153bcf1ab9b0d703d562626733d2a4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPTokenStorage.executeTokenRefresh: MethodTooLong \u2014 executeTokenRefresh runs 210 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 110 over it, 2.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a36322169a01065ccd480cad7d3579db0ec5ac43781824247d5ad564b1fbd27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: legacy.useLegacyStream: FunctionTooLong \u2014 useLegacyStream runs 209 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 109 over it, 2.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e45be739d40d15465dd2ec3e8fe0df11dd46661beffb5c90c80f6dd839f0e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: triggers/actor.ts: 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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3987eafd144f547ea1e1ec706cb0388a56dca5165aa461ea34e198dadfce3be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionsInput.ActionsInput: FunctionTooLong \u2014 ActionsInput runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e7ad3cac32c689a21ee6fa798e9943cab461e7ab53c72cc4bc50017ca148af"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ChannelWorker.execute: MethodTooLong \u2014 execute runs 208 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 108 over it, 2.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"2348c485eb337cc3c473b67131c7f104df5972c1e844b20d79b7e38f0e25ddd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FilePreviewDialog.FilePreviewDialog: FunctionTooLong \u2014 FilePreviewDialog runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bfdb5c774efc0bb96bf0bb86b203661f0fe685973ca8f12155bc22b38c3af4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useDictation.useDictation: FunctionTooLong \u2014 useDictation runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useDictation.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cf7f3eba6792a16809fa2e7d04fdf96488308afa6443facacf253e046b3ff7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Fork.Fork: FunctionTooLong \u2014 Fork runs 207 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 107 over it, 2.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/Fork.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7e9c540eb11fe7036c84d14e78be769585e3071f16c23021eb904c88688034"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/drafts.ts: FileTooLong \u2014 1034 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 534 over it, 2.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":"client/src/utils/drafts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e28fa05cf8ec34e1a626cc943aade603da4d69abf3e42df2e6e89170d2430c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MCPConnection: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ba7166f6fe969f3d51e0f84947ab5775cc3b844ab985739650dfc49a57436e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OpenAIImageTools.createOpenAIImageTools: FunctionTooLong \u2014 createOpenAIImageTools runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e3cf6c1118ea3e3c0f9b1d86ba8b63e0fbd26d652372ec922faed7a2f1e347"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createPromptServiceFromAdapters: FunctionTooLong \u2014 createPromptServiceFromAdapters runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/service.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fcc891111a3e3847b06eab8e4dbcc9f480fa5fe583d092795796d007c14dca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stream.useSubagentActivityStream: FunctionTooLong \u2014 useSubagentActivityStream runs 206 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 106 over it, 2.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/stream.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"457913a20e4840a02d2fc202ac8f84749077622c725225b38f7c2f1f64beb1fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: users.createAdminUsersHandlers: FunctionTooLong \u2014 createAdminUsersHandlers runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa69c3a1ac3bec7c048fc66e4a3a56083be0d2e6a62819414fbad09701094e85"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: files.createAgentManagementFileHandlers: FunctionTooLong \u2014 createAgentManagementFileHandlers runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"424f29a6887d1d9acf9382a36408acfab7ff60119a3a51a45fe501b05e3cb41f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reducer.reduceStep: FunctionTooLong \u2014 reduceStep runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf21d36af0aee20894cc599980c4036075d8a58b6ce57ea00a7bbe8380d96705"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: rows.useQueueRows: FunctionTooLong \u2014 useQueueRows runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/rows.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f246ea92bad0ca68199e1da20288bc75fe9b53a142ce6a5a556f0ac3cb6712dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation.createConversationMethods.commitAgentEventActorState: FunctionTooLong \u2014 createConversationMethods.commitAgentEventActorState runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cf6666c8357ce6aba3f41ce0362d64468674bf5ed357290963cc0573d04cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AskUserQuestion.AskUserQuestionSingle: FunctionTooLong \u2014 AskUserQuestionSingle runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73165dd30fbf2f2980e6fad1f9cf9504cdb70c14f6c42cd2dc1c9edb48cfbaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host.createBackgroundResponsesHost: FunctionTooLong \u2014 createBackgroundResponsesHost runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/host.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be3d27e2cd8bbfe85f97386e5f87cbfb62d8f92a59254e2ed1184b3f8cd4142"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: QuoteButton.QuoteButton: FunctionTooLong \u2014 QuoteButton runs 203 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 103 over it, 2.03\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fa7e4ab6b84e0f10c3ae95baa05a7c71bbb3a78f41650510adcf6313cff0f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/subagentTaskRouting.ts: FileTooLong \u2014 1012 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 512 over it, 2.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a45e6ba7df50e6b1adfe49d5879bc9b1bcdcd6f1767bbabc995ad5cd621a27"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: registry/MCPServersRegistry.ts: FileTooLong \u2014 1009 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: MCPServersRegistry (293-1770). The bar is 500 significant lines; this is 509 over it, 2.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6e67ad04d5e42f6ae2c066b16de87e90ec4a40386e97b2f62bd2563b913ff4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCP.createToolInstance: FunctionTooLong \u2014 createToolInstance runs 201 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 101 over it, 2.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"4535c0e49bdf441145fbbbe3c87057c07383ff030f0ce161576c1dd0f2804794"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UnifiedSidebar.UnifiedSidebar: FunctionTooLong \u2014 UnifiedSidebar runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/UnifiedSidebar/UnifiedSidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fd462291131e7bae5b1e0383d2f0980ae463a1cc38a207fd9d95de1102e878"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tx.createTxMethods: FunctionTooLong \u2014 createTxMethods runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 100 over it, 2.00\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0b7851e09258a33799e9472c4286afcad2863a87ce6b806b10d5c38a1a4728"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: process.primeFiles: FunctionTooLong \u2014 primeFiles runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62441c68c633f17125b56486f073cf6be7cf4b3ecb075804a3fea9544c2c59e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Citation.CompositeCitation: FunctionTooLong \u2014 CompositeCitation runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Citation.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"324b2f1aad73996fea9821d4e7dabdf6adfeaf217065e73f25255841f612bc80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: access.createInstructionsPromptAccess: FunctionTooLong \u2014 createInstructionsPromptAccess runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa976712a188afeeb5e293d0a46e74f00a38760d266c5de92a5a8d0ac38ec9a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: opening.useTurnHandlers: FunctionTooLong \u2014 useTurnHandlers runs 199 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 99 over it, 1.99\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/opening.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"83093e01cffda38e376008aa501040840a2ea496451e29d0e229e8838aa1c3cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cleanup.cleanupMCPServerOAuthWithFenceHeld: FunctionTooLong \u2014 cleanupMCPServerOAuthWithFenceHeld runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a75fa61e9075c4a5e7e1e89881cfebba1787d22a5eb8858e68eeaf353025b2c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hitl/protection.ts: FileTooLong \u2014 989 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 489 over it, 1.98\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03e2ea90965d34fd9a21c0afcac02fcf5503b0d509123fd6e372469f042c0d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/openai.js: FileTooLong \u2014 986 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 68% of them inside a single declaration: executeOpenAIChatCompletion (290-1257). The bar is 500 significant lines; this is 486 over it, 1.97\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21039e1ff2387294d6cace4b3562529373b66d2dc4eb9a61be95bcc1f96edc5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/types.ts: FileTooLong \u2014 981 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 481 over it, 1.96\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"058cc8d1164ceff9babfa92152b07c9c7f610897d8b9533dd9f0f2ca95d1e681"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/channelRun.ts: FileTooLong \u2014 981 significant lines (blank, comment-only and punctuation-only lines excluded), about 80% of them inside a single declaration: createChannelRunStorage (210-1207). The bar is 500 significant lines; this is 481 over it, 1.96\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c7cb6a624da04b1a1d6cd62382160b5be3219416ef594a6aec14f3132927eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BackgroundTaskCall.BackgroundTaskCall: FunctionTooLong \u2014 BackgroundTaskCall runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01454d2d7793ffc825bb51025025248e9a84c0a8af4616d64400c9fd4d9daf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DynamicSlider.DynamicSlider: FunctionTooLong \u2014 DynamicSlider runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2d110bd9e1536d4a783f6441409ced4111a277f60a7dac73d414069d59da29"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCodeWorkspace.useCodeWorkspace: FunctionTooLong \u2014 useCodeWorkspace runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/useCodeWorkspace.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"90be256039768bb3f36201184a463569491b4fbfae762e3373cfd995c54c0145"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: accessRole.createAccessRoleMethods: FunctionTooLong \u2014 createAccessRoleMethods runs 196 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 96 over it, 1.96\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/accessRole.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"489d5e4bfec8f62019ce8f8e5feec4f2586b28072a25270a79ca7aa167943f0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createResponsesEventHandlers: FunctionTooLong \u2014 createResponsesEventHandlers runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"1618edc570772317470d452b8347d4de79e3a6551713e801d2c5e3638950c792"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bindings.createAgentEventBindingHandlers: FunctionTooLong \u2014 createAgentEventBindingHandlers runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"db106484e8d47ceee8d547bb812aeeb694df1995770e12bbaaeb649c6b399875"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callback.createProvisionFilesCallback.provisionFiles: FunctionTooLong \u2014 createProvisionFilesCallback.provisionFiles runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/callback.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2a9c6d3cac874a49de48f830cd81280329b5540661eb9cca41a2258fdc05a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillSync.createSkillSyncMethods: FunctionTooLong \u2014 createSkillSyncMethods runs 195 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 95 over it, 1.95\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillSync.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6afe83019467be6452f995fe26a6c4babf3764f0f2e8b9462b5d573bd11b14"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Registration.Registration: FunctionTooLong \u2014 Registration runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/Registration.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4a576b2f3632b23d02a969ada741d13e1fdc57fb916e074d5d5292cb6bb4c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Timeline.Timeline: FunctionTooLong \u2014 Timeline runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Timeline.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e71993af041429570de239e23ebc629861cbcbbbed24a7b62d3acbf337c5d81"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queuedTurns.createAgentQueuedTurnScheduler: FunctionTooLong \u2014 createAgentQueuedTurnScheduler runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a90fce8d17c7318fac4e51ddeca0400f2fa51b57c7b44bcb802b31b6b5ec8e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createSchedulesService.recordScheduleOutcome: FunctionTooLong \u2014 createSchedulesService.recordScheduleOutcome runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7f9acd4622dcc46c5baf42169eb3a950ec258a358746255d78b8204f8ef11d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: sync.handleSync: FunctionTooLong \u2014 handleSync runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/sync.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d472e189691f9fa1d7e20930bc25500a1a89b755765367f70a4e3f20e3db1802"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Composer/Palette.tsx: FileTooLong \u2014 969 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 469 over it, 1.94\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0dd850665e678776172d188fce12fb543f03a2c15af2634fbf29f07a7f95da1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MCPServersRegistry: 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":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"a55b71fa0d7f2e09bc173531e5e2ca00c8045b6906dfc563ac3a475d429be6f6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisEventTransport: 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d0ba6bc45e5c8f13ee6233fc1d3ad01b61b62350990db41d14e97feff26f8d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Search.Search: FunctionTooLong \u2014 Search runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/Search.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"71497cfb9b1ed905f902363a3fd11b08aaa2de49abafa1284deed79589e3d682"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: migrate-shared-link-permissions.migrateSharedLinkPermissions: FunctionTooLong \u2014 migrateSharedLinkPermissions runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-shared-link-permissions.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1971641bcb3da80f2586dda1bd6b7de99bc3acf8024092e76c3d5577590ab665"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPConnection.constructTransport: MethodTooLong \u2014 constructTransport runs 193 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 93 over it, 1.93\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc0110dd8c49476d1e085c55f5dde9694ef555343680e8ec4b1250e4631c77"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BackupCodesItem.BackupCodesItem: FunctionTooLong \u2014 BackupCodesItem 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":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"900ac82f1e037b90093140aa0d6dce935758f715d6c9733cd3fbd50ee5d692bb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectEditor.ProjectEditor: FunctionTooLong \u2014 ProjectEditor 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":"client/src/components/Projects/ProjectEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bbf1fdc233845d42222d766e9b3977bcf5f4685591cb0e71c118972d3ceeae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: subagentContent.createSubagentContentMethods: FunctionTooLong \u2014 createSubagentContentMethods 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":"packages/data-schemas/src/methods/subagentContent.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d83e38ed58304f69ffa15f9b05a965a2b25e3cf3842ae4698e4a20af2dd0c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AuthController.refreshController: FunctionTooLong \u2014 refreshController runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"2244a9f7ee136f2330f1abdde753df2c0c2f4a45b3a77345e37fd47ed563e456"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTextToSpeechExternal.useTextToSpeechExternal: FunctionTooLong \u2014 useTextToSpeechExternal runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextToSpeechExternal.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca3df1c09a9e31061f68982bfe66d8cba780d5e73da0d801aeb534c8611253d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: operations.createFileProvisionRecovery: FunctionTooLong \u2014 createFileProvisionRecovery runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"d797d29343b36a9dd0406d4692376e918e047cb5388c663bcbccd7a1758556ca"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPManager.runAppOperation: MethodTooLong \u2014 runAppOperation runs 191 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 91 over it, 1.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b48aa120e92c875e6890f25d14602de7da0c7a7312049a56a7cc0235561de5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/backgroundCompletionWakeup.ts: FileTooLong \u2014 952 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 452 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":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d6bd0c4b77e3e72204ffd231697f27650e2ecee0d0932ba3e26538d5fde652"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/import.ts: FileTooLong \u2014 951 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 451 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":"packages/api/src/skills/import.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08feeb6985bb75d620881ffe210178dcf04e7a693eaa7e734328e807635111de"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: cleanup.disposeClient: FunctionTooLong \u2014 disposeClient 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":"api/server/cleanup.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f71c6592069db90da2722b9be531636fe8f827244300f912abdf8f84ac419d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillFileViewer.SkillFileViewer: FunctionTooLong \u2014 SkillFileViewer 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":"client/src/components/Skills/display/SkillFileViewer.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c6090c97b5019fbff069061cc4223d1aafbc09a73fa6654ee22fca1dd029ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: completion.createResponseCompletion: FunctionTooLong \u2014 createResponseCompletion 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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"07437f1372812a5f7370c5fa87ba784b19f33c2c61be3a4ad5aa03681679186d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slackDispatch.createSlackDispatchHandlers: FunctionTooLong \u2014 createSlackDispatchHandlers 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":"packages/api/src/channels/slackDispatch.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"66640bbcc7537e55ee1831e2ef37f2a151c0a6a173adae7886946803b8fe6a47"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usePresets.usePresets: FunctionTooLong \u2014 usePresets runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e8ca367b2fb0772f75b0e47523a54bb942987d5bbaf202fd5841ec5bd7e7c50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: final.useFinalHandler.finalHandler: FunctionTooLong \u2014 useFinalHandler.finalHandler runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac79c7a52690e6b775f6737c6416fb1f36b64ad1fb8cb33470d3bae71f372f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/tools.ts: FileTooLong \u2014 944 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 444 over it, 1.89\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61563c0ae6dfc24a77d8de7a5ebfb17d0445d64d44dd5dfc4ffc3c98152b4dad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: langfuse-fanout/main.go: FileTooLong \u2014 940 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 440 over it, 1.88\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60eb6affe0c3e22649ea2b227615773bd641278e6af4f83904775f74d544fa0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createOpenAIToolCallStream: FunctionTooLong \u2014 createOpenAIToolCallStream runs 188 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 88 over it, 1.88\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ed050b66d8a220f71fe74a08be25f81f8af55992e226ccf69bfd516e284119"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreatePromptForm.CreatePromptForm: FunctionTooLong \u2014 CreatePromptForm runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/CreatePromptForm.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079ba3ea958f5aacfeda1ccb0a1aa0c37ca51e0e1f08a21bd709b726de10d25"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPConnection.createFetchFunction: MethodTooLong \u2014 createFetchFunction runs 187 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 87 over it, 1.87\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b4be86c99bfc8bcf12b04a18691ccc2807a410cc73cd0586a0e90ed01157eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/mcp.js: FileTooLong \u2014 934 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 434 over it, 1.87\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d14179761b2c2c176701e44dd8080b937dc233be9f5957ec02ec0fd0b072bf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/file-config.ts: FileTooLong \u2014 931 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 431 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":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7db3c6b16d52b42e1dd9cfb2925197707382aee1f3e05ec0e18a4a2aa31839b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BackgroundTaskRegistryClass: ClassTooLong \u2014 744 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 400 significant lines; this is 344 over it, 1.86\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"580fac3a1dbc606910a1e8b7429acccca2d604f6e3f63b0a4097dc55041698e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queuedTurns.createAgentQueuedTurnResolver: FunctionTooLong \u2014 createAgentQueuedTurnResolver 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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d99b383093e7f3b6363921489ee1e767f5154646ccd58e815344974e839d70"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session.createOpenIDSessionRefreshService.performIdpRefresh: FunctionTooLong \u2014 createOpenIDSessionRefreshService.performIdpRefresh 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96645db7bd9a703167327964e3333675e59d122ebb54722536719b8bf2eaca6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: registry.resolveTheme: FunctionTooLong \u2014 resolveTheme 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":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea04fb5832048881b257ea172b3c89a2864031489daf506e6c38a6cd2a9cf60f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/roles.ts: FileTooLong \u2014 928 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: createAdminRolesHandlers (334-1333). The bar is 500 significant lines; this is 428 over it, 1.86\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79e6ce86a5c77c93e3eddeab6d80e56350ce15869e763db551dc458230ef9585"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/queuedTurns.ts: FileTooLong \u2014 928 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 428 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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aac6c58ca5c9c93e27e1ec73ac0ba3767a1dcf25638cb0d3f2bfba648bc4088"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentHandoffs.AgentHandoffs: FunctionTooLong \u2014 AgentHandoffs runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae49e713bd4a28a96142f546d145a24594ecdb0ff93e1b7708cddbed017fe98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VersionItem.VersionItem: FunctionTooLong \u2014 VersionItem runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/VersionItem.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b063ed6fc3b21039bfae65f2a581cb6317360dbc57d2ff29e9680712744a50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateSkillForm.CreateSkillForm: FunctionTooLong \u2014 CreateSkillForm runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/forms/CreateSkillForm.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec1832e253a69c455c9e52e291066b3c4484f13834c2f13b6febb30b66e2477"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useConversationSeen.useConversationSeen: FunctionTooLong \u2014 useConversationSeen runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useConversationSeen.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7748001710cb9b102adfe2384eed4d0cb7094cb920bba7135f5b9a58283c04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: toolApprovalGrant.createToolApprovalGrantMethods: FunctionTooLong \u2014 createToolApprovalGrantMethods runs 185 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 85 over it, 1.85\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/toolApprovalGrant.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7d6822cca0be84249ab92accaaa93f9ce2b1b771f6ac504ca9092bacf96b04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionService.createActionTool: FunctionTooLong \u2014 createActionTool runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a57fc91452b63ca29f2639515f22c393c8f7c202656f2a3b455f1eb8cf5dc7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: router.createCodeSetupRouter: FunctionTooLong \u2014 createCodeSetupRouter runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/router.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb22460b8417de0409d2a0e4f394714a433789d56a036c0db0ed9b0ea8a28b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: controller.createMCPAppsController: FunctionTooLong \u2014 createMCPAppsController runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a5f5778c35b00b65e250d66f65c17414c317d3b3b559413c6686b612f44de4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: successor.useOwedSuccessor: FunctionTooLong \u2014 useOwedSuccessor runs 184 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 84 over it, 1.84\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/successor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb97a7a4dec5283bdb6c5f3453a65b9d7ebe95cd367fb36164a9b8ea2bef730a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaceBindings.createSlackWorkspaceBindingHandlers: FunctionTooLong \u2014 createSlackWorkspaceBindingHandlers runs 183 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 83 over it, 1.83\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceBindings.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4067e767b93f1f8a12c0074207e996332a2f823553b3d8fb078a85e23c9517"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Input/CodeWorkspaceMenu.tsx: FileTooLong \u2014 913 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 413 over it, 1.83\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab950ca45e7ef227af33b96c16663bd163cac9282fa4911f2d00087eeeafd20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DataTable.DataTable: FunctionTooLong \u2014 DataTable runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/DataTable.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa076b248ba7ee063ccc6da2ed2cb0f5714f6466b805e9f044a15747f98efc60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareView.SharedView: FunctionTooLong \u2014 SharedView runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb6f51acb17923a3061e04bd5c7c68fc0e973cce16fa25ce54f86ba0cb229b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.MCPServerDialog: FunctionTooLong \u2014 MCPServerDialog runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a85888976f4f2de31a142161ded913320ae1eebd4ba6c7d2a1fb79f9d091260"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: view.createSubagentThreadViewHandler: FunctionTooLong \u2014 createSubagentThreadViewHandler runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 82 over it, 1.82\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d180764fd744cfbaea265937d41043d3725faffae56ca743a18c581bcc186f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: protection/files.ts: FileTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 409 over it, 1.82\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c902c96d8776f08828028539f0a7458f04b6bf71b952e59b8777e6ccbf316f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Reasoning.useComposerReasoning: FunctionTooLong \u2014 useComposerReasoning runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6b8cdb818d873f121c2d3b90e63f1855983c0313f0c7cfb9c932aba984c773"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: view.createSubagentThreadViewHandler.\u003Creturned closure\u003E: FunctionTooLong \u2014 createSubagentThreadViewHandler.\u003Creturned closure\u003E runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ede4daec6fb7d5ec0b4c623169916dcd5b5d7d586a438f5793e45bb3835f6a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: management.createSkillManagementHandlers: FunctionTooLong \u2014 createSkillManagementHandlers runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/management.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"6769aaa80164254ebd717fdcad2fce0d807d62f48ed6f77c961ff8c60c5273d3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Reasoning.ReasoningControl: FunctionTooLong \u2014 ReasoningControl runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Reasoning.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b555c449b39f297146d479e8143b797750c2c887001a6c91947bab885c2987"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: agentApiKey.createAgentApiKeyMethods: FunctionTooLong \u2014 createAgentApiKeyMethods runs 181 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 81 over it, 1.81\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agentApiKey.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f3f3ff07ed98141d770ea06f9c2a02309cf0da7a9249c0382f8367c639e923"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/response.ts: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: createResponseStorage (305-1109). The bar is 500 significant lines; this is 403 over it, 1.81\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec233afcfa63233943716884df1ffb0edde7ef23f4a725143ffe475f9333c10"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MCPManager: 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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c074228e05986741a38718485e070c8ada321d093e3c8250125d9d97311f58ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatFilterMenu.ChatFilterMenu: FunctionTooLong \u2014 ChatFilterMenu runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ChatFilterMenu.tsx"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"d767e351a5f3a1dbc40efbc53269628c63c88b31fcf11b464ee6efcd66c3b912"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models.createLoadConfigModels: FunctionTooLong \u2014 createLoadConfigModels runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4100035ecf744a590225658a25448720d42613368712053c6cdc8619f6e05580"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github.createGitHubPullRequestSource: FunctionTooLong \u2014 createGitHubPullRequestSource runs 180 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 80 over it, 1.80\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/github.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"050ba31fcd466a30aa4db9e4594ca8f164efdfc6668446a20f29cc47dedcfb89"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: OpenAIImageGen.OpenAIImageGen: FunctionTooLong \u2014 OpenAIImageGen runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"412ee87623f19995ad90a5ebbe305f2c71a51c7697c04a7d8beae9a9310108aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queuedTurns.createAgentQueuedTurnResolver.\u003Creturned closure\u003E: FunctionTooLong \u2014 createAgentQueuedTurnResolver.\u003Creturned closure\u003E runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ab67d558e3cb67bda371bd642aed81a1d881f9fa75926ebe5f2eeada8ecb0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session.createSessionMethods: FunctionTooLong \u2014 createSessionMethods runs 179 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 79 over it, 1.79\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/session.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cbc18e44230a5375e81d02596cf1e35e4681ec623112e25d8188c6184c45ba"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/callbacks.js: FileTooLong \u2014 894 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 394 over it, 1.79\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c8b6066c7eb3d1060e19bc64b0da62d9b69d409d8aff9502b643ba32bb6171"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/memory.ts: FileTooLong \u2014 892 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 392 over it, 1.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06464af0130a773018f87c14499926c658ec6709f1a0886f8e4700bdfb9474d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTasks.useBackgroundTasks: FunctionTooLong \u2014 useBackgroundTasks runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/useTasks.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d8149b1089c97d74a1f2e401d7f21fe1f6e138475e3e91a3ad07d299be276e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConvoOptions.ConvoOptions: FunctionTooLong \u2014 ConvoOptions runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f855886d1710ddbaadfad300fdcd59a806e3dca7dab554f30a95422fce5bd5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models.createLoadConfigModels.loadConfigModels: FunctionTooLong \u2014 createLoadConfigModels.loadConfigModels runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c265f6082eb377d6a1b0ca50fea4371bb10db2e7a2a3bd8d513584b86e60e8e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelBoundContent.projectModelBoundSourceFiles: FunctionTooLong \u2014 projectModelBoundSourceFiles runs 178 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 78 over it, 1.78\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16af95067cb4a3c5f51a97376dbfe12562cb223ce8098763f3fcfec908730fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: view.deriveTokenUsageView: FunctionTooLong \u2014 deriveTokenUsageView runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/view.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6fd595c5f506e90dc90df79556dc0230ea4dde8a82d60b17fa89746911bff02"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/llm.ts: FileTooLong \u2014 881 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 381 over it, 1.76\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6594eac36910a246c59f29754725671b62ca3eeb9da23f5a1d6abfb291cc039"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BotManagers.BotManagers: FunctionTooLong \u2014 BotManagers 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":"client/src/components/Channels/BotManagers.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c3eebc781c26153e6f0b9fbb9d4aa69e076f4590bf669082e87e74aa8128f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMentions.useMentions: FunctionTooLong \u2014 useMentions 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":"client/src/hooks/Input/useMentions.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37c1d6097008e43d85ec8aeb739174317e2025473e4236607048ea77c42435c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useChatOptions.useChatOptions: FunctionTooLong \u2014 useChatOptions 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":"client/src/hooks/Sharing/useChatOptions.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aecc919e69d478538e09b18fb4651ae71b76d8cb9cd5e11e6fdbbc54b312ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Files/useFileHandling.ts: FileTooLong \u2014 875 significant lines (blank, comment-only and punctuation-only lines excluded), about 78% of them inside a single declaration: useFileHandlingCore (242-1213). The bar is 500 significant lines; this is 375 over it, 1.75\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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bf590c1edf8dcc5b7679e66d1c2154c6ed6515b506d700e0efc111000f3631"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BadgeRowContext.BadgeRowProvider: FunctionTooLong \u2014 BadgeRowProvider runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c29c200dd7e1a6241a0fe02b9ae3cecac404344254780d911c87c72bffa2716"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CreateSkillDialog.CreateSkillDialog: FunctionTooLong \u2014 CreateSkillDialog runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1eaceb05e73244fb6174ff49023adfb18592dbf8b1fd9769eec959f250a8b24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PixelCard.PixelCard: FunctionTooLong \u2014 PixelCard runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a913702dad02d572d8e7a99435782ed508d2a51a1c5d7948be00d80afa7378bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PendingSteers.PendingSteers: FunctionTooLong \u2014 PendingSteers runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"24364be59ba924dd364db23b1e33a0a1626cbab2a1dd520380096fa6dfbe61e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillFiles.executePrimeSkillFiles: FunctionTooLong \u2014 executePrimeSkillFiles runs 174 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 74 over it, 1.74\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9f01cd6727e7b8855a32fdcca15036c77d6911249b26a5b8d11b750768ef4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ToolCard.ToolCardImpl: FunctionTooLong \u2014 ToolCardImpl 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":"client/src/components/SidePanel/Agents/Tools/ToolCard.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b651987b0eebb18998161f0812816f420fbe62131eb3f1be43819b076ca096d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssistantToolsDialog.AssistantToolsDialog: FunctionTooLong \u2014 AssistantToolsDialog 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":"client/src/components/Tools/AssistantToolsDialog.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc137b6bd843717bcebfd42ae405e0373822546e349d44a9163d067fcad7020"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bearer.createScheduledMCPBearerHost: FunctionTooLong \u2014 createScheduledMCPBearerHost 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e978d4fdc9f3c70f56eff9280b535ef74ba8c9de39c3245764b9df6d44bb3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.recoverLanePublisher: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.recoverLanePublisher 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9473f5a9c46ecfa8788119b302faadc222ba4fa4ab93f743d166c23adc3ac2fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryEditDialog.MemoryEditDialog: FunctionTooLong \u2014 MemoryEditDialog runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Memories/MemoryEditDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ab0737a6ff3685a9bb31f3786d7770de2e324a1dd5c88563c1bedb6bff1373"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryPanel.MemoryPanel: FunctionTooLong \u2014 MemoryPanel runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Memories/MemoryPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1294b1a42b1fd7420b32f5d79f5e06c7b5e950137a4dda0730a74453c1957d55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createOpenIDRefreshRecoveryService.recoverOpenIDRefreshBridge: FunctionTooLong \u2014 createOpenIDRefreshRecoveryService.recoverOpenIDRefreshBridge runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"57af4a0046c149bcd7629f0bb46506f9cd3066a3f6f84a9e4bed26a06539d039"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lookup.createPullRequestLookup: FunctionTooLong \u2014 createPullRequestLookup runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee64c67fd4c3b42e7a30fc6d9949067db8ddee42f47d975d1e02954f0b7662c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openid/recovery.ts: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createOpenIDRefreshRecoveryService (234-1084). The bar is 500 significant lines; this is 357 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9408367c6f9a44a9a3c737004e35d0280e0b2a6e62139f8bf47d588dce2892fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: triggers/host.ts: FileTooLong \u2014 856 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 356 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb334d8605d56c5268ebb4fafc32d13fdf13f3c42390f79991bcc48faac637ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/user.ts: FileTooLong \u2014 853 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: createUserMethods (58-1215). The bar is 500 significant lines; this is 353 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58321363607a5b4a3816ee4ca897c61d1742fea5f7aa10ae4b43d9f6aa6392c3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProgressText.ProgressText: FunctionTooLong \u2014 ProgressText runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ProgressText.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e518c5a067e6fd397364008dc30452a4aed69d63cbcf1acba9335e9884990fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: roles.createAdminRolesHandlers.deleteRole: FunctionTooLong \u2014 createAdminRolesHandlers.deleteRole runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"088e3656a899de93efa87dfcdf1623a00b08e19447520f5e37e9e7028f0a5835"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/skills.ts: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 349 over it, 1.70\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e31aa84e992f6e7664a7d0fd76adbaecc0111011f693737d4284f68cc736332"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: channels/runs.ts: FileTooLong \u2014 849 significant lines (blank, comment-only and punctuation-only lines excluded), about 71% of them inside a single declaration: createChannelRunHandlers (294-1060). The bar is 500 significant lines; this is 349 over it, 1.70\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44f96dfa5cb6fa74b2cc31cb6b17e90f5d45b5b240adc6e001c1c6d6f9b977ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Inspector.Inspector: FunctionTooLong \u2014 Inspector runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9c1e8ced58581b2a3bee7dcc1abf3cd897a3547a986c343346b72c1605510d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: admission.canAgentGraphPause: FunctionTooLong \u2014 canAgentGraphPause runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34bf7ecaf5507f84793d1cc10693d2fe52e7b6b4a7dca7bfb463a0df6c7230f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: channelIdentity.createChannelIdentityStorage: FunctionTooLong \u2014 createChannelIdentityStorage runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelIdentity.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"442ea4e58f0b141c98726a9257d29abae143d07d7018973907f38134a7db8c4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/deployment.ts: FileTooLong \u2014 840 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 340 over it, 1.68\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bf0038273d31240a3670971be3c52756251e212008d6a190b0dd7159020af7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCP.createMCPToolImpl: FunctionTooLong \u2014 createMCPToolImpl runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db73faa93441bdfc239f510af76973659f328503f1e4b81e21fe58be917d0d8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentPanel.AgentPanel: FunctionTooLong \u2014 AgentPanel runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80be6fd489b33e8cd7652cdfdb57f1580e45f353c8b22bb5fd4738286e1b60e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createSetupService.advance: FunctionTooLong \u2014 createSetupService.advance runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/service.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc5e07a6476e8511c709a33b66fa8904b38c0420a318fe77c2ceb1a2a22a72d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: helpers.useChatHelpers: FunctionTooLong \u2014 useChatHelpers runs 168 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 68 over it, 1.68\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/helpers.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e997eafd2a270445c86864f201eac605f8d578b1dd8fadae8f2dc187a562ffae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resume.createResponseResumeValidation: FunctionTooLong \u2014 createResponseResumeValidation runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65e6225d47d88965f27540164f1ccc06b567953230ad322c8f0ff874309553e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: enrollment.createEnrollmentControllers: FunctionTooLong \u2014 createEnrollmentControllers runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b0a7b30652810add400023d5d7eae2faf3f8e2c9b8e45a1cf44f2386bdbfbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: documents/html.ts: FileTooLong \u2014 831 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 331 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":"packages/api/src/files/documents/html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5855f0bf9da8f5e76848afe2b5d82667244e65731953bd0b11e920ac22e101c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMCPServerForm.useMCPServerForm: FunctionTooLong \u2014 useMCPServerForm runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"863d200b72b9ac6bd297ad88674dfc1a4cda25caad730ef8691f8c7848631931"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSideNavLinks.useSideNavLinks: FunctionTooLong \u2014 useSideNavLinks runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useSideNavLinks.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68afc825467d3af13775765d0fbd25ccc4a14cd626a9dd89ec06ccf6165bf5f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspaces.createSlackWorkspaceService: FunctionTooLong \u2014 createSlackWorkspaceService runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c196aad534b7d72b9fed2e01485ef5629982b0a667281e60a5cead39bb4df37e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPConnectionFactory.handleOAuthRequired: MethodTooLong \u2014 handleOAuthRequired runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca27790674b3074206c86b0ec40ae918b9234c6baa18fcb7abd6a07f95276df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: launch.startGeneration: FunctionTooLong \u2014 startGeneration runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/launch.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c266bb9f2363f8e222f0f15c95a2d7baf168f4e24a74b6256a01946dbab5700f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: langfuse/reader.ts: FileTooLong \u2014 829 significant lines (blank, comment-only and punctuation-only lines excluded), about 63% of them inside a single declaration: createLangfuseTraceReader (485-1234). The bar is 500 significant lines; this is 329 over it, 1.66\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6015c5e06a0b70201027752ec4cfbcfc0963eb6f10a83af12bd98e3e55b825"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hooks/useKeyboardShortcuts.ts: 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":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa094b3a0047acf70f722b0da037cbdecdc850f3b46f4656033578226aa552cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: FlowStateManager: ClassTooLong \u2014 662 significant lines (blank, comment-only and punctuation-only lines excluded), 28 methods. The bar is 400 significant lines; this is 262 over it, 1.66\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"add0d3110ed9f4bb3c9c7887870c9b81b3068e14a7b2e900d74038378437f73e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ModelSelectorContext.ModelSelectorProvider: FunctionTooLong \u2014 ModelSelectorProvider runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcae6d364167ca76f8dcae6878f4c0b87e3b0ceb5b9f846f265e73e801d9a4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: http.createCodeEnvironmentHttpHandlers.pair: FunctionTooLong \u2014 createCodeEnvironmentHttpHandlers.pair runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"911a28067040985a0ad4c82cc9b5a915aaa5d05d57c1756c85841ed6eefc908a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelBoundContent.projectStoredMessageForProvider: FunctionTooLong \u2014 projectStoredMessageForProvider runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"188fdf851cd1deb888b213fc06b7d0b353951a436f0987d9c85d0586d2336f57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bearer.createScheduledMCPBearerHost.bind: FunctionTooLong \u2014 createScheduledMCPBearerHost.bind runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb21d15042b1090d78d69042768f639b61e1f966e6f8f0809fc1db0edfcc7c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: catalog/recovery.ts: FileTooLong \u2014 824 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 324 over it, 1.65\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad810c83a6ebbce90afb42b8aebc640567752aec2f2faa69f28a76afe95392be"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Trace/model.ts: FileTooLong \u2014 820 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 320 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e28fde7782f5939384f9293d6ecf1b3df13333e66871a2e509d3f7828b03c42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Agents/AgentPanel.tsx: FileTooLong \u2014 820 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 320 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a74ed064239991f72a3fd3e08baf6ccf528b1046acf0cfe6d023c0aa3a850113"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: initialize.initializeBedrock: FunctionTooLong \u2014 initializeBedrock 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":"packages/api/src/endpoints/bedrock/initialize.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c1c755eaf8f6113988b6a0d5c74441efa21f522112f257e95bb2ad0c4e4064"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses/service.ts: FileTooLong \u2014 818 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 318 over it, 1.64\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6eda260fe0db72d7acdb2f7fb4885a87a4da666b81c313fc4ae91fe2c1935d6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BaseClient: 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":"api/app/clients/BaseClient.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e601a1f91243a466c40980db7aa8c517df4596fd141a06d91d3ab69d050fbdd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ApprovalContext.ApprovalStateProvider: FunctionTooLong \u2014 ApprovalStateProvider runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1933ca206f72c66df30cc8be66777932bf9326164b2f9d976a11618b679fcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssistantSelect.AssistantSelect: FunctionTooLong \u2014 AssistantSelect runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantSelect.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67d6a83f584945924f2799b76eab1480e8380bbe721d2b98ead61958011654a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: subagentCompletionWakeup.createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E: FunctionTooLong \u2014 createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fb5e95b51893225e5dabe4ec26fdb4b13660ed690ebe44c662bd1c11c1f392"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GatewayApp.dispatch: MethodTooLong \u2014 dispatch runs 163 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 63 over it, 1.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4774f68d7b5f25d4ed7aa654cb7e29e223f6675cde634286bc594f9b8ca1e7e0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: catalog/store.ts: FileTooLong \u2014 814 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: createMCPCatalogStore (349-1036). The bar is 500 significant lines; this is 314 over it, 1.63\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcdd5df7bf9d0dc4806e15a15ab6d114def8c0b38ddf3acf6bff826dbcb51631"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: interfaces/IJobStore.ts: FileTooLong \u2014 811 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 311 over it, 1.62\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd94a66c74a32cd6ef8718c90d6b4524eb1fe2522792743a8ba47e9605b14bab"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/workspace.ts: 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b8985531bb2c844b7ed4f51d477825408d91c9a72f2d6653a920a3a8fb2539"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionService.createActionTool._call: FunctionTooLong \u2014 createActionTool._call runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6020c03fee1d8e40be81a3c8354c43bc1099c75f16506012ca2b9b571abe01b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTextarea.useTextarea.handlePaste: FunctionTooLong \u2014 useTextarea.handlePaste runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.62\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b74a2f82a79bf2ab8739a8a7019401687732bd8c7cf2afbb4c393029662abbe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: flow/manager.ts: FileTooLong \u2014 808 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: FlowStateManager (194-1185). The bar is 500 significant lines; this is 308 over it, 1.62\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9410d310b23a88acd12361ebeb3e61d3e9bbc2f7dc259fd902400abfbd1d206c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: plugins/mongoMeili.ts: FileTooLong \u2014 807 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 307 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a1066c3ed868ea08f549d5fd4b84f2a0b65cac139cd75d3585b8f28d31bb71"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AccessControlService: ClassTooLong \u2014 644 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 244 over it, 1.61\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"42422dde69d8ca6fe9e7cf68c458c9e1ef7696dda301aaac8a4b5b762515a87e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: triggers/outcome.ts: FileTooLong \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 305 over it, 1.61\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4661b0e268e567b712c66de80ebefff9a6f418c576a274b8e17346d60c2a1f0d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChannelSetup.ChannelSetup: FunctionTooLong \u2014 ChannelSetup runs 161 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ChannelSetup.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e5fac7cd8f2d38d88425b759a512f77fb09be66be73773229a76c39f961cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/rebinding.ts: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b426df8f60e032ac507fc54a3e0fb6cd3ac76ca005abc85b8484d78b42c3f4c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/http.ts: FileTooLong \u2014 802 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: createCodeEnvironmentHttpHandlers (291-1058). The bar is 500 significant lines; this is 302 over it, 1.60\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8433de7e4277dc73cdfc1ff769c17f52db56c1d0de20b37bb51fe325d7236dc8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createToolEndCallback: FunctionTooLong \u2014 createToolEndCallback runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ee9bd2a0892ab675c9b6c9d0141b4dff3f3f1a231c001eacb3f62aabd8a664"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createResponsesToolEndCallback: FunctionTooLong \u2014 createResponsesToolEndCallback runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1293}}}],"partialFingerprints":{"codehealthFindingId/v1":"abca73a93a357c69fe91fe53afcd817c17835c5a2d739c9f775c809ed668d5a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogContent.LogContent: FunctionTooLong \u2014 LogContent runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/LogContent.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ac87df1d544dd345b6174ff0fabe1b1f75bcf2e835a7d79265fa228943be26f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ExportModal.ExportModal: FunctionTooLong \u2014 ExportModal runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/ExportConversation/ExportModal.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6ba68a4436b854b0845824d50c72c44f261c9123474f3f664ed1de2de66580"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skillFiles.primeInvokedSkills: FunctionTooLong \u2014 primeInvokedSkills runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"26db1b69ed6e9f25530ece07d799f66dd43384c9277d5a12761533693987b3a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/attachments.ts: FileTooLong \u2014 795 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 295 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":"packages/api/src/code/attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420fe37a4a156684753a1e0e8bc2104a9cf18150da8fd15f324406af5a6f03ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createToolEndCallback.\u003Creturned closure\u003E: FunctionTooLong \u2014 createToolEndCallback.\u003Creturned closure\u003E runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f08eb7248aed8af936f8e8202b6e4cd9a9d0500a086606bb66e52a84f9ab90"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: callbacks.createResponsesToolEndCallback.\u003Creturned closure\u003E: FunctionTooLong \u2014 createResponsesToolEndCallback.\u003Creturned closure\u003E runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc80a19c1408a23277d96382d4e8426df16de8d6384942f781c0fa778fd0e207"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UploadSkillDialog.UploadSkillDialog: FunctionTooLong \u2014 UploadSkillDialog runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/dialogs/UploadSkillDialog.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7bec8d2e7e6797dfd6a801b5164ddd9f12e2096534354661e955eb427ef51f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.registerPluginHooks: FunctionTooLong \u2014 registerPluginHooks runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbdebfe109486015196978623f298da493a28335a706c4f991167c2ba50cb25"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bitbucket.createBitbucketPullRequestSource: FunctionTooLong \u2014 createBitbucketPullRequestSource runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"8974ab9166c2fba9cdccf2595268315ff1afc123ac47812a44430d27ce976aa0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: steer.useSteerState: FunctionTooLong \u2014 useSteerState runs 159 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 59 over it, 1.59\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/steer.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c21ebd33d3311d9e769dd4d99f5296a3a79b8f68d177cc45e5fa0b9d9cee04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/index.js: FileTooLong \u2014 792 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 292 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e6fcc559a67690c840ce49becaf46284d9d45ca0423d48fbb7cf8a4b0616d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/metrics.ts: FileTooLong \u2014 792 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 292 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f5022816aa26548f4ebbfe99fce48be4fe7f20e3e408b5692b5523a70147ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/render.ts: FileTooLong \u2014 790 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 290 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff27e17d453ccbd0109bdf8edde6ff0ae9809b230edf3b836fbecfcb5069c33"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Landing.Landing: FunctionTooLong \u2014 Landing runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Landing.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27641264867be32947e54448759c8228a1d6a7619fdf0dfc806c1bd35192db9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: abort.useAbortHandlers: FunctionTooLong \u2014 useAbortHandlers runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/abort.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3409a2b84c5c58eabee07382de2096178438f4dd1a038bcd53cc697542d4de62"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: slackBotAccess.createSlackBotAccess: FunctionTooLong \u2014 createSlackBotAccess runs 158 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 58 over it, 1.58\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackBotAccess.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3850656bb275e6931282c4912f2ac11d3dceb39da736d2b7e22e40c1c88f8e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: s3/crud.ts: FileTooLong \u2014 789 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 289 over it, 1.58\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7e7a66689edf9ade6af857cb4bbeb051d46c89603745908863065a2ba9eaf8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MultiSelect.MultiSelect: FunctionTooLong \u2014 MultiSelect runs 157 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 57 over it, 1.57\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/MultiSelect.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1c8757acc4a3c9ef4185b8acea0f2d52b7107ed38311692e6907c558893486"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/service.ts: FileTooLong \u2014 782 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 282 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":"packages/api/src/app/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27d8131ad82f7840038001a4d111cf10a80c26377dfc986ae0a79774dca51dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: addedConvo.processAddedConvo: FunctionTooLong \u2014 processAddedConvo runs 156 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 56 over it, 1.56\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"786515ddc89ef9ec58e5f785e2e09bcf2db9b957edf6f49c15bd1ad9b99356cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openidStrategy.processOpenIDAuth: FunctionTooLong \u2014 processOpenIDAuth runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c944b42bc8b612281f8b10b9c375e28b80bbfc0cf2a10ba3eb95f1ce60c6cf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Conversations/ChatFilterMenu.tsx: FileTooLong \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 273 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":"client/src/components/Conversations/ChatFilterMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffe811899bf2cb4b905ab4d35a48701f0a03296d98fedf4c5853536d0d32422"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: groups.createAdminGroupsHandlers.deleteGroup: FunctionTooLong \u2014 createAdminGroupsHandlers.deleteGroup runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"90cf16dab5449d7c1ff70d8d92c030f803e5dee167f6cf3efcd89d4b38b595d3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentPublicRecorder.recordEvent: MethodTooLong \u2014 recordEvent runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"21810cbf97df52702e651290f98fd66b32a75bd32957d6710d9a307a461da6f0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.isValidResult: FunctionTooLong \u2014 isValidResult runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7021523f55109337505acf6712b0d4ccfbf29e540808a6bd74f1e2a795b813"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gitlab.createGitLabPullRequestSource: FunctionTooLong \u2014 createGitLabPullRequestSource runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"62e9dfea92a264b196653985974cb16a8117d6bea37069d656ea35d2b66452c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageRender.MessageRender: FunctionTooLong \u2014 MessageRender runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRender.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c50a2bc4b2ec4f2afee286ded52cb72ea2cd0548f2316098cf74746341bb55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: principals.preparePermissionPrincipals: FunctionTooLong \u2014 preparePermissionPrincipals 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":"packages/api/src/acl/principals.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f811f6c43ba3235321566f1223e6dfa600f8e0d712294147e81fb2e72803aa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: reconcile.reconcileGenerationLifecycle: FunctionTooLong \u2014 reconcileGenerationLifecycle 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":"packages/chat/src/core/resumable/reconcile.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d3c207e47d72b58f15b3d02724d065c349eb1f504fe055b7e30b1eda793ef5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/resources.ts: FileTooLong \u2014 764 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 264 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":"packages/api/src/agents/resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6d8f6008a6abcb7ec3459e276099c593a53c095c2bc916bf034e7c86c4ecb2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Agents/Channels.tsx: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 263 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"412a0d393adc9465b736d144dd1291741e9a47b0dbc8e5370c3d82bc1a56ac98"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Input/ChatForm.tsx: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0c173f5824e1cb1387c21b17b140e9c1a6269a1d5be6493e5f14119a67280d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/prompt.ts: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: createPromptMethods (183-1170). The bar is 500 significant lines; this is 262 over it, 1.52\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39556cdacc0c8d79a096e27e81999a9c453e0883e5a0e49140cc8e373b3a4e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Assistants.Settings: FunctionTooLong \u2014 Settings runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/Settings/Assistants.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"badb34577642e4765431a0c7e4d62fad38582ada8e7ff780525621522c77c8d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: snapshots.createRunFileSnapshotStore: FunctionTooLong \u2014 createRunFileSnapshotStore runs 152 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 52 over it, 1.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/snapshots.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3cb2075dc42e886b854c4d6b531c28d02ff433e3108331a15e4286bb200ded"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Insights/InsightsView.tsx: FileTooLong \u2014 755 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 255 over it, 1.51\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5055ce2ced970ddbe556fd76af7b5dcf06999cc8054687149e3d53838ccbc37d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchPicker.SearchPicker: FunctionTooLong \u2014 SearchPicker runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/PeoplePicker/SearchPicker.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c59284716b06fbfef520261a0adc6bb90e8b69a4347b292010d390bd355149"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bindings.createAgentEventBindingHandlers.register: FunctionTooLong \u2014 createAgentEventBindingHandlers.register runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"260bb7d6943a30abc788fc6367fe914057e562aafe22616f004889d476f26eef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deletionService.createSkillDeletionService.startSkillDeletionSweep: FunctionTooLong \u2014 createSkillDeletionService.startSkillDeletionSweep runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eea67e63ecdd5db9ac781448bc5b57a074971f62f342dda086bf742bfdaef8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: enqueue.useQueueEnqueue: FunctionTooLong \u2014 useQueueEnqueue runs 151 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/enqueue.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bce43322cf98eb454faa24a65de94a6de8f90a2640521225b0dfa45221efe5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BackgroundTaskRegistryClass: TooManyMethods \u2014 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ce4a949c92b9d6e30481a3d83cd147a5a142bc6525c866073fe19415054901"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/userGroup.ts: FileTooLong \u2014 750 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: createUserGroupMethods (94-1218). The bar is 500 significant lines; this is 250 over it, 1.50\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e4d557cc469cdfe161ed04f73c7e3a53af59e7e0ab235de7529fc207c01b28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeEnvironments.CodeEnvironments: FunctionTooLong \u2014 CodeEnvironments runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/CodeEnvironments.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"67153dc7c33497fd8424f9f62b190cce4933c1e2b8bedf05f8095f3b88801226"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useEndpoints.useEndpoints: FunctionTooLong \u2014 useEndpoints runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Endpoint/useEndpoints.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdc83dd98316df9828bc8128547bd8de3e576b102fa43c944efc54b5cb152778"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision.createResponseDecisionSubmission: FunctionTooLong \u2014 createResponseDecisionSubmission runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bcc36dcbb2266bf1042f452496a5d66f6e5547b5e1adee1c564941988f7a31"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: detachedAction.createAgentEventActorDetachedActionLifecycle: FunctionTooLong \u2014 createAgentEventActorDetachedActionLifecycle runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8cf56d60b0276dabf2fd4f1cd6fafcfc258c8d3945887291d02e444089412e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: code.createAdminCodeEnvironmentHandlers: FunctionTooLong \u2014 createAdminCodeEnvironmentHandlers runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fe79cc6c23ac59706dba04a5780dc83192dd30c7e7020c5c5f39551fe787e2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareButton.ShareButton: FunctionTooLong \u2014 ShareButton 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":"client/src/components/Conversations/ConvoOptions/ShareButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"51800765bb6cadce8178585127913dfbd6f60b742bd93f863578a918e2562922"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileContext.FileContext: FunctionTooLong \u2014 FileContext 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":"client/src/components/SidePanel/Agents/FileContext.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eefa445f3e3b8ed8f85a94285a7acb01bab5a630f22eab57f37d661252d74fe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/parts.ts: FileTooLong \u2014 737 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 237 over it, 1.47\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a614134ebd7fe2713a012b4bb48c6c7c029fa3a74fcf77c2863136f6f888a5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: StreamAudio.StreamAudio: FunctionTooLong \u2014 StreamAudio runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/StreamAudio.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"71874ca8421749b93f364873585bcdc29263a63282af2e8bca1c9a73b8d0b263"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model.groupSteps: FunctionTooLong \u2014 groupSteps runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"614ce0d9d430cdcf68afb20815fd31669f1f6f9be5dae0c50bacb067bbc287cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RouteErrorBoundary.RouteErrorBoundary: FunctionTooLong \u2014 RouteErrorBoundary runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/RouteErrorBoundary.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8951479982c92d3369d50453c7f39867b10fbc8deb7d41784477745567fce6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: decision.createResponseDecisionSubmission.\u003Creturned closure\u003E: FunctionTooLong \u2014 createResponseDecisionSubmission.\u003Creturned closure\u003E runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd76c70d97a15cc6e31804a561b15624a750f76889f4c4150aec0419673d8ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSteerRecovery.useSteerRecovery: FunctionTooLong \u2014 useSteerRecovery runs 147 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 47 over it, 1.47\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerRecovery.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ab0ee6a325cf2ca9afe09e1cc6ba5a4c6574089761036d6dc03c716b44650a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ScheduleDialog: ClassTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 184 over it, 1.46\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67bbed93e44485ebafc7a6a0eb28e5bc0b7b2575ffda18b43ae7eacdcfb8ea5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.writeSkillMd: FunctionTooLong \u2014 writeSkillMd runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"045491a5ac4a5975a0295414645cad594f0c249115a7bd88d6722cf4c3741f60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ImagePreview.ImagePreview: FunctionTooLong \u2014 ImagePreview runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/ImagePreview.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e35bffd46c760d6ed35ae97d3b44ca04138fbf36b201ff96f3bc7cb07f2302"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: missing.recoverMissingStream: FunctionTooLong \u2014 recoverMissingStream runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/missing.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"513de785e7c17d86e8b10f64279949882bf3cfe3f1205aab9f286085d7cc1c02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSteerConvert.useSteerConvert: FunctionTooLong \u2014 useSteerConvert runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerConvert.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92a9208c0d312dabc41313ad8ea26a004daff94f37412b6e6045259844a45d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: assistant.createAssistantMethods: FunctionTooLong \u2014 createAssistantMethods runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/assistant.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b17a4c63f709934eed3bc16d288e379fc10f6a628847a581d131703d9acfcef"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Schedules/ScheduleDialog.tsx: FileTooLong \u2014 725 significant lines (blank, comment-only and punctuation-only lines excluded), about 81% of them inside a single declaration: ScheduleDialog (183-992). The bar is 500 significant lines; this is 225 over it, 1.45\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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5fe0b68139cbccb3d75de11673f48cd62e401403d7e0d7b5f1558233359cb9c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: RetrievalCall.RetrievalCall: FunctionTooLong \u2014 RetrievalCall runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bb2cf2b1b0f180e79a48b86462c112930c1bdc43a61f486da7ba314a9a8937"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: acl/accessControlService.ts: FileTooLong \u2014 720 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: AccessControlService (109-1074). The bar is 500 significant lines; this is 220 over it, 1.44\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b43481e28dcddde96b6270fc8b2d7ec1708ed4837f31956daab104dfc2b92ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileAuthoringCall.FileAuthoringCall: FunctionTooLong \u2014 FileAuthoringCall 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":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c88dd7b0811e7da7e44e7eced510cc19276d76a9784ebada271dc81d77bbadd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Review.PendingToolApprovalPanel: FunctionTooLong \u2014 PendingToolApprovalPanel 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":"client/src/components/Chat/approval/Review.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"efae1377edb377630363efcbe3cde9c30e1059d6910db7450d5b14b95a338a3a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: face.drawEye: FunctionTooLong \u2014 drawEye 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":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"373e6143bc2f3299678a7b873f7103a7fb65f04adcdc7f515e940c5eb71b3c8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNewConvo.useNewConvo.newConversation: FunctionTooLong \u2014 useNewConvo.newConversation 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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b4611509f913e62c30d46ad23f7cb4f25576dfb05e4eb3b09e45ddf834acc2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: actions.useDuringRunActions: FunctionTooLong \u2014 useDuringRunActions 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":"packages/chat/src/react/steering/actions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"989a342fca31e5c36663dea0f7e2cc2f2d38ebe9485bcb3bc949503bb8809bb6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LoginForm.LoginForm: FunctionTooLong \u2014 LoginForm runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e520a730d2797f91fbb5bbd66a881be5a4c4adc3776c818a346a807cb6721a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: model.buildTraceModel: FunctionTooLong \u2014 buildTraceModel runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"9873cb3a591ea831ee484792ce1a5dba5c7f2549df749eec8667aba183fd9b80"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: KeyboardShortcutsDialog.KeyboardShortcutsDialog: FunctionTooLong \u2014 KeyboardShortcutsDialog runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/KeyboardShortcutsDialog.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd67ad7a121c8a9f4e0222f9951d21fcfc6f85384ea5ee908994c71b318a8d20"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCopyToClipboard.createCitationProcessor: FunctionTooLong \u2014 createCitationProcessor runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4871d4f5905b123bad3074d8198316566df3ccdbcc53a558e326bfbcb6bdc6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createConfigStore: FunctionTooLong \u2014 createConfigStore runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/config.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5244b0d61173edd9909c8f1725a019789dba2c504f64a40daf7cf38ae8ae732a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.reserveAgentEventActorDetachedAction: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.reserveAgentEventActorDetachedAction runs 143 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f804e505d4e5e736e8463909a8565f3cc4e4cb6d6390999e38f3d8d36fe864"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: triggers/service.ts: FileTooLong \u2014 712 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 212 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30f61bbb7f472524a40318446b2d1d52802c09a55f643b91575e600a24564ae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useFileDeletion.useFileDeletion: FunctionTooLong \u2014 useFileDeletion 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":"client/src/hooks/Files/useFileDeletion.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0abf92e582101d23c5cde15562913ed5eae74975f663e489d6ff5e64fa96a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: token.createTokenMethods: FunctionTooLong \u2014 createTokenMethods runs 142 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/token.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e07ed95815db377c98483d126703b6af3ff88865de9434c453fd88b9eddff1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses/runtime.ts: FileTooLong \u2014 709 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 209 over it, 1.42\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02883f554c8a0647c1b0adaea9f3aa44c458a0b4ba08afff66ad817bb7cdd045"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Card.TaskCard: FunctionTooLong \u2014 TaskCard 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":"client/src/components/Chat/BackgroundTasks/Card.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6534bf5de58dd3ad837468ebdae45cccf949bdf4a923f6d7d48fbd3d959ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InstructionsPromptFields.InstructionsPromptFields: FunctionTooLong \u2014 InstructionsPromptFields 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":"client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced016a3b1f6be856a2ae0392ca6c3ae1061b130474a237ae1e50243a451b152"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DynamicTags.DynamicTags: FunctionTooLong \u2014 DynamicTags 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":"client/src/components/SidePanel/Parameters/DynamicTags.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a4142f0a86481064d56c057608a9df93cf26c602ead41f8034d51f8fe80dd4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Editor.VariableEditor: FunctionTooLong \u2014 VariableEditor 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":"client/src/components/Variables/Editor.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96b7f99f0cfe904ef1ef313c131ebd352340bbf998f00f754a18b5d8e8ea749"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resume.createResponseResumeValidation.inspect: FunctionTooLong \u2014 createResponseResumeValidation.inspect 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":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdec22667a3c0704ffdbf40df83b6b2736ffd08caf01b7a02e46d52639f6e32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: retirement.createResponseRetirement.\u003Creturned closure\u003E: FunctionTooLong \u2014 createResponseRetirement.\u003Creturned closure\u003E 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":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9bd33ba94e377976b1c113ba16059fe289391d0446de0297ba8ff679ade869a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createSchedulesHandlers.createSchedule: FunctionTooLong \u2014 createSchedulesHandlers.createSchedule 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"5314c233707cd9306d487c5c2d88232d68cba5d961b9d49552f3560880212e46"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: message.createMessageMethods.listSubagentTasksForThreads: FunctionTooLong \u2014 createMessageMethods.listSubagentTasksForThreads 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c709bd677a25b0a3431fa54c90db1b7ad904eaf4fae55a61e7bcd353227f22f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/activity.ts: FileTooLong \u2014 704 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 204 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":"packages/api/src/agents/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01984b1437f02a8aee2482bfd7ae072ad8857710d740c533e1f695d6f7f8ed8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/conformance.ts: FileTooLong \u2014 703 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: describeConfigStoreConformance (115-1058). The bar is 500 significant lines; this is 203 over it, 1.41\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8cac3f8d4425ba463994b7a82cb262cb399315d3c9b756a5436f8aac6376de"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/skillFiles.ts: 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":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86405490dbe5e15b9f1e594759c1840a67b80fbcd02f473e874b37df90178036"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ResetPassword.ResetPassword: FunctionTooLong \u2014 ResetPassword runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/ResetPassword.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4f0cac6de036b8154d4ad313f4d9a795a6424a7539d0402b4de29da40b4ac8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BackgroundTaskCard.BackgroundTaskCard: FunctionTooLong \u2014 BackgroundTaskCard runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c8d25424ae76afc322c0c0f2f13db2e2421c3510cb378a4de427a27b0f4c1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Export.MermaidExport: FunctionTooLong \u2014 MermaidExport runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Export.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f75d6fb6c915bc05dcbe65b9597a7558c5775b8b4d7dd0f8a040fdcd19248a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Panel.Parameters: FunctionTooLong \u2014 Parameters runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/Panel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8a1f78bd004272416e6ee497b365a0770c112243c7ed639f8201ae16d96648"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: endpoints.createEndpointsConfigService: FunctionTooLong \u2014 createEndpointsConfigService runs 140 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 40 over it, 1.40\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/endpoints.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb762e8bc8ff91fd5296ac433b65ad2518fb3b958ff7d531c4718f12b7fb27a4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useQueryParams: ClassTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), 20 methods. The bar is 400 significant lines; this is 156 over it, 1.39\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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e010a7c0b3e8a1120819a367ac5d04eb4b778bdf66cc7ea77f26d32e51c58ed"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.handleSkillToolCall: FunctionTooLong \u2014 handleSkillToolCall runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"232e101a3e8c885f5032444fed577cd63def552308902751baf016fddc2fa414"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lease.createEventChildGenerationLeaseAcquirer: FunctionTooLong \u2014 createEventChildGenerationLeaseAcquirer runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/lease.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"869cf24b8185a0b0a78ae74e0245dabe2866942d0009f1d9c230d711cd52b93d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: preset.createPresetMethods: FunctionTooLong \u2014 createPresetMethods runs 139 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 39 over it, 1.39\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/preset.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfaf1876544d0cb7d8e9fe779f18246aa114c5e1a208c20f2b7a3949a191c5a6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useMCPServerManager: ClassTooLong \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 155 over it, 1.39\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":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c6c1ff3acc8d56cb23f61a724bbb2a60d22ed45736e33490085cf558ef9287"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/artifacts.ts: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2446723313e6f26a2423c5ab1254ab36d9aec03635e8794853c7986406c6bf4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/agents.ts: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1c569119eda9fc329c500e062aefd6d2ab0d3926d59fc868d3163c9b5d69a9"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OpenWeather._call: MethodTooLong \u2014 _call runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"217c460f97afe98ba6790a8b930ae16d40ec3995136000d060b11ee1ec816d03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActivityPhaseGroup.LivePhaseHeader: FunctionTooLong \u2014 LivePhaseHeader runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf342f2feeb4f45c76177a35535fb544b69cccbc80da0199a708803d9f700c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCPToolItem.MCPToolItem: FunctionTooLong \u2014 MCPToolItem runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/MCPToolItem.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05f86e2908b30061efbe38ff69557c1b7440fe7b73c915294274423d96b9a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: subagentContent.createSubagentTaskContentHandler.\u003Creturned closure\u003E: FunctionTooLong \u2014 createSubagentTaskContentHandler.\u003Creturned closure\u003E runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8ed328ba65bb47187a146d14bc152407f78a862980fbdfb36408febbd415b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: requests.executeDurableWorkspaceRequest: FunctionTooLong \u2014 executeDurableWorkspaceRequest runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/requests.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce16d201d5f8d2c6a03f328403719204efdfbf04ca332a48e2e1342585ad74d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handler.createConversationPullRequestsHandler: FunctionTooLong \u2014 createConversationPullRequestsHandler runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3dd4a3fb35f89ee6534a5415d8a445fac9db04f716960b80d96d715d7e94982"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationJobManagerClass.finishTerminalJobInternal: MethodTooLong \u2014 finishTerminalJobInternal runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4421}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d1c1a486f2115aee30bc2c0456c5b520d462b828f2a91c8361a7ae29b7799c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.applyRecoveredContent: FunctionTooLong \u2014 applyRecoveredContent runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ba0b7535c40506910f019aa4b65aad66cecc825e7df364ebab8344642fbd00"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedules/handlers.ts: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded), about 70% of them inside a single declaration: createSchedulesHandlers (345-1221). The bar is 500 significant lines; this is 189 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a74e6241bb8140e9450eed09f826a87188865fbe1bc5d3a83672168e6eecbfb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/parsers.ts: FileTooLong \u2014 689 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 189 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff2a9a27fbebe526ebf6de4cad6e904f50092345ecafaa87ffe5318c252196"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/usage.ts: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 188 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":"packages/api/src/agents/usage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7693a4bd036318cdc3c207aab58751b0c8387eb57261d33721a6b0064e2d2a98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentPanelContext.AgentPanelProvider: FunctionTooLong \u2014 AgentPanelProvider runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaf9844c03f31a2ac570c2f76056e04dabf65a0aead3fc80db95c64d8e38e28"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectInstructionsDialog.ProjectInstructionsDialog: FunctionTooLong \u2014 ProjectInstructionsDialog runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectInstructionsDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3362a4f17aec96c30b46efcd3889812f6e73f6e2da3fbf913a91b8e7cac0914"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useTokenUsage.useTokenUsage: FunctionTooLong \u2014 useTokenUsage runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/useTokenUsage.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"94260f5c0d5a829d764a0a0c48bf9a9ad3b23051b6f55bb60df633676c89aadb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: index.createModels: FunctionTooLong \u2014 createModels runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/index.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc18b651e640fc89d3850338f0d4a429b7dca91b6da9d23ae6d0d234de6014"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UserConnectionManager: 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":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4990ab0361b648c7b1d0d0ea8b6e9a059393905fc7ff91e1ec898bee2bbe3b0e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: themes/registry.ts: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5da9079909cc6a818d01a15e76a97767dfecba0de911074babf430ca1050db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: FileSearch.FileSearch: FunctionTooLong \u2014 FileSearch runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/FileSearch.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02539b6b2c3bf2639fd5e18c68c198c9ae1cac2165384d8e4ba836636f1a83e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssistantAvatar.Avatar: FunctionTooLong \u2014 Avatar runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0383060cd9fb1bab689e35c69c69969ebc3862d868815fad71b2af17f4b872"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: processing.createHostEditProcessor: FunctionTooLong \u2014 createHostEditProcessor runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/processing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"046433ff796d2e789aa07575ecfe4d8662b5c95c4c6010979056b5d700ec78f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: execution.createScheduleMCPExecution: FunctionTooLong \u2014 createScheduleMCPExecution runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/execution.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"8911a9639f00d705fb952353c5c2883296483a9ea2126908fd6dfb48d8c109ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activityLabels.groupActivityPhases: FunctionTooLong \u2014 groupActivityPhases runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c7b88f15d67c0216b6e87a22d21e46f8adc7aa0220ed2f04d010b5ae69fe4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: receipts.useQueuedTurnReceipts: FunctionTooLong \u2014 useQueuedTurnReceipts runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/receipts.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc470efa9a85327592921455bed8c4f18a70661d015bbd80c556be8c4774a0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.useEventHandlers: FunctionTooLong \u2014 useEventHandlers runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/handlers.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2861719141d79af2bdc8af4146da3156043a27ca43204bc839046cb0f14541f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hitl/modes.ts: FileTooLong \u2014 679 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: createAgentToolApprovalSession (218-805). The bar is 500 significant lines; this is 179 over it, 1.36\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f017816498f5117801c51aec8aaa6733e2a006e8b351379873606bdae8fc1dd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/view.ts: FileTooLong \u2014 675 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 175 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":"packages/api/src/agents/view.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf7e036b9cf7048adfb9bdcfa0e23c3f56ece62b97486f13eb9efe1e6439f50"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: openIdJwtStrategy.openIdJwtLogin: FunctionTooLong \u2014 openIdJwtLogin runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openIdJwtStrategy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c5ca1de77334cb4c58f0fa77e2142889d27adbf116636d242dae98ec3deb8e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DynamicInput.DynamicInput: FunctionTooLong \u2014 DynamicInput runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5871bb0a33457665ebc09f89ab401270188c653a6f3b3825d6778ba9fe3278"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lease.createEventChildGenerationLeaseAcquirer.acquireEventChildGenerationLease: FunctionTooLong \u2014 createEventChildGenerationLeaseAcquirer.acquireEventChildGenerationLease runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/lease.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"56450780531592b941596c165a3453ef4cfe1c4b5743cc1f05cc35004bf8b0a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: protection.extractNestedSerializedPayloadFragments: FunctionTooLong \u2014 extractNestedSerializedPayloadFragments runs 135 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 35 over it, 1.35\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"41db8810c741d644e6dd56fe0dd2bd42b9c2a2ef6824c6571242a5892069e6d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: triggers/engine.ts: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded). 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":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8a51e8777d727d90f239914b8e22db44789c53181d393c58121635343ee6a7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CodeWorkspaceMenu: ClassTooLong \u2014 536 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 136 over it, 1.34\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99b9e7a9f286fa60292db814b57e109c6f5e26f451130421d914badbb17d2b7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAttachItems.useAttachItems.entries: FunctionTooLong \u2014 useAttachItems.entries runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"571101b9a123f32a086edc00309e92052ed1c1121c3387497efe74400302164a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: artifacts.createChannelArtifactService: FunctionTooLong \u2014 createChannelArtifactService runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/artifacts.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dee57f3053341ce85a961b7c8a6dcfbbee82fd938492c52380940a819ac3a39"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deletion.runSkillDeletion: FunctionTooLong \u2014 runSkillDeletion runs 134 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 34 over it, 1.34\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletion.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2400bf5b29031583520524c64132cb115ddcb476aed082a113d4c7bed6d6a39e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DataTable: ClassTooLong \u2014 533 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 133 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9166c9384a3af37d0775a467f4acd8d29418cc3bdc4a621d753302f2472a138c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VerifyEmail.RequestPasswordReset: FunctionTooLong \u2014 RequestPasswordReset runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/VerifyEmail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f5672090e8eb0af590464f5b1f2d157f7aee0acd0cb40388bc6783e57de393"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: storage.createDeleteFileWithSecondaryStorage.\u003Creturned closure\u003E: FunctionTooLong \u2014 createDeleteFileWithSecondaryStorage.\u003Creturned closure\u003E runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ab79b5e8b742edca11984d9acefbfce35f48dcb6a802597b7c49f088180ce3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: BookmarkForm.BookmarkForm: FunctionTooLong \u2014 BookmarkForm runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/BookmarkForm.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"025ff5165c2a0244ed6279071bd161c7d232214bfa3c778ae9b7a70df0204471"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useCopyToClipboard.createCitationProcessor.process: FunctionTooLong \u2014 createCitationProcessor.process runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"517e1712e13a87ec1e7975c1fa6dd3e355651998197ecf480658300bd7768364"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: review.createResponseReview: FunctionTooLong \u2014 createResponseReview runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/review.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3772cac6ae1ac81368cbab8a3973a608c27c7b505e5428e91d7cde7c34d6273"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/service.ts: FileTooLong \u2014 658 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 158 over it, 1.32\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eedb15f67de1a40fc39614701f42a3fc31672a2751cc8cc1316941dd4ac1445"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/subagentCompletionWakeup.ts: FileTooLong \u2014 656 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 156 over it, 1.31\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1d42dc5f37aed75486ec3547e7a5f67bc364759d8976b97351c3e5e98e321a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: v1.revertAgentVersionHandler: FunctionTooLong \u2014 revertAgentVersionHandler 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"585fc10eed3bf2fd5be59ebb407f0d0b9c5b266c6a47e3da80db988858656f27"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.router.get(\u0022/\u0022): FunctionTooLong \u2014 router.get(\u0022/\u0022) 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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95582d8571a6245322b1d32f0be0968a8b0837b1d28a95bc3d22f30030cf044"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AskUserQuestionCall.AskUserQuestionCall: FunctionTooLong \u2014 AskUserQuestionCall 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":"client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6797d55f31b5c57775aca957d0d6b5ac3881f5e50466c6d5d6f9d11124b3dfcb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: target.useTarget: FunctionTooLong \u2014 useTarget 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":"client/src/hooks/Chat/target.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbcd86dd7ac76fae67e5853a4d7b454067018e4c6f433f287bf50ee757d6769"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modes.createAgentToolApprovalSession.validateExecution: FunctionTooLong \u2014 createAgentToolApprovalSession.validateExecution 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":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d6a1b5d106ca243a49a40501009e3ceb77a9edb03740fc0b8ddad43d8e4f638"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: credentials.createChannelResponseCredentials: FunctionTooLong \u2014 createChannelResponseCredentials 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":"packages/api/src/channels/credentials.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3972b821a8fe9c0c5fa6a075348f89f9c71bea3cf621028b49ebaaa576accf1d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lease.describeLeaseConformance: FunctionTooLong \u2014 describeLeaseConformance 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":"packages/data-schemas/src/contracts/lease.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec01b3a15a6606fefaeb4eccb3d6da9168c0370e39a35c076801b5f0ace0174"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: messages/previews.ts: FileTooLong \u2014 651 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 151 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a05d587d698f9fdf2e80f57b635ca558aa26345522eb544569049780dc76b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/compaction.ts: FileTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 150 over it, 1.30\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20a9adc398b6d3f958083e5e5b91c2b2337e6ee1984137321febac75b406eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ChannelWorker: ClassTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 119 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e0d1a23cbb7223f2213894caa3ed873234ab86e995bf65ff958b0b7f3d7ec"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ToolCallGroup: ClassTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 118 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd50b080f98359ad9b65266f8e27218daed715479a90632afec7506bf254c1d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: v1.createAgentHandler: FunctionTooLong \u2014 createAgentHandler runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4dff63324eb6496e3944be005771e6f3cda19967334589d1c9032b6a7bea03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: langfuse.createAdminLangfuseHandlers.updateConnection: FunctionTooLong \u2014 createAdminLangfuseHandlers.updateConnection runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a487721fd7c055a1c26e287bbb5b39c9d6cb26aed44f9d35db1965c9993a55"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createSchedulesService.deleteScheduleForOwner: FunctionTooLong \u2014 createSchedulesService.deleteScheduleForOwner runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c190fa8f56e01c76bde4c6dbfd411556f1b9dabdb3bddb3d5a852c3f0d46878"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stop.useStopGenerating: FunctionTooLong \u2014 useStopGenerating runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7173af627bb86086c4492302d1d42c207b02e1602e3f7479973d3f636a6f269"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: events.useResumableEvents: FunctionTooLong \u2014 useResumableEvents 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":"client/src/hooks/SSE/events.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95b8348c722d42f8c1fe05e513047e59a5f1d66684d3e99fed11aad83a3436b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host.resolveActivityLabelModel: FunctionTooLong \u2014 resolveActivityLabelModel runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f1d797377d3f76366fadcc24df1f0d170fdaaeb5df957eba37a57dbe91667e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: binding.createChatRunFileBindings: FunctionTooLong \u2014 createChatRunFileBindings runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/binding.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"446521f3a11e818aaaf71e83bcc74e1a07731196596f0be36beeaa0446e870f6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createSchedulesHandlers.updateSchedule: FunctionTooLong \u2014 createSchedulesHandlers.updateSchedule runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"25751cc50e0d66e637f1735ee946610068e32cf5723601e29dff41d24ee9e601"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: favorite.describeFavoriteConformance: FunctionTooLong \u2014 describeFavoriteConformance runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/contracts/favorite.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b3e156afc2b6d39ae7b4b658daa928f66ca77b89a00ea64fb74d905714e17e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/langfuse.ts: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 138 over it, 1.28\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01604eba3e49892ea9d428eddb237b11a81dea0860f9b13f3f1e3f15e869d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/codeEnvironment.ts: FileTooLong \u2014 638 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: createCodeEnvironmentMethods (236-842). The bar is 500 significant lines; this is 138 over it, 1.28\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91a475dfe2814efbee121fd5bfc823dd813bef2f8d3cef5788d052402fee46e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subagents/content.ts: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 137 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":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2902a144e938a9154b1518e346a245864c372decd9b22654e90d9cf8e142c978"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Marketplace.AgentMarketplace: FunctionTooLong \u2014 AgentMarketplace runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/Marketplace.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"af890ed3cf2622a7a6150d3d58cbdd3bf18a00a11abbbf6c7b0830f2ad315555"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchResults.SearchResults: FunctionTooLong \u2014 SearchResults runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc49964ee6ec1074a83f469efe4b199ccf91fda5d916b38c57d22a792932c5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCPServerCard.MCPServerCard: FunctionTooLong \u2014 MCPServerCard runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1fdbee8c4473ee51fa4e907be13288b81b21cb673e8ffff2f56c2f96d042bd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: migrate-agent-permissions.migrateAgentPermissionsEnhanced: FunctionTooLong \u2014 migrateAgentPermissionsEnhanced runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-agent-permissions.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e404f6b8fd3a077d571cd16ad264e37ac5316f5e039894b076ffe6e0843bc4d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: protection.assertResumeRuntimeContentAllowed: FunctionTooLong \u2014 assertResumeRuntimeContentAllowed runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e126d1f20b8fef51f8166128f875a3f1452f9a206b7dd0d73c8401660e2408"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handler.createConversationPullRequestsHandler.\u003Creturned closure\u003E: FunctionTooLong \u2014 createConversationPullRequestsHandler.\u003Creturned closure\u003E runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb223a5ea35e1a1a5d869869dd5478b038fcf1a1c82ea098024f108b8ce3b95c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.settleAgentEventActorReceipt: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.settleAgentEventActorReceipt runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c7eaff2ef0dd27abbc0c5671d8785b16b7dd08c824cfb90370d709d8f7cb6a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MCPOAuthHandler: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6952027906440d35990568cf9a24846896804b4c1698da91bb13d25b533d04"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RedisSubagentTaskControlTransport: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 400 significant lines; this is 105 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee696af17f5cfc1df16370fc4e4c6073a3706a43882e6e1f2a5c2197d8e6ea09"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: chatV1: ClassTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 105 over it, 1.26\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a592ab506ee089f5a9d22b55e94284e463ba4646eac3be4bc3b755e0a33fdb4a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: steering/request.ts: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f48348e7954d8bde9542c7a8070881a4f315c1127686652eb0431f04e2566a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Files.FileGrid: FunctionTooLong \u2014 FileGrid runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Files.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee6a63edb7d38367edd6f4e602e4a6b8bea88e69bb8a26056149193b2cab5dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: HeaderMenu.HeaderMenu: FunctionTooLong \u2014 HeaderMenu runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/HeaderMenu.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c48f3c4bfc10f3492a2f32c510f65e09d69aae8e83cf5fc819f3e77070128b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptName.PromptName: FunctionTooLong \u2014 PromptName runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/fields/PromptName.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ce7199bdc2e10e0efd3ee61ae37efdefc7f87228be9cc3ffd4f92f884cfcec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNewConvo.useNewConvo.switchToConversation: FunctionTooLong \u2014 useNewConvo.switchToConversation runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2563cc4077366f8349b244ed765d3ea07deefcede3fa937e6f5236e4ba2f1b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: schedule.createScheduleMethods.recordRunOutcome: FunctionTooLong \u2014 createScheduleMethods.recordRunOutcome runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5415ce8b78eba6dd8a44d4bdb0000a91f6b6e1ccefd54d07e4bb4fb14ba64f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pool.createPostgresDatabase: FunctionTooLong \u2014 createPostgresDatabase runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/pool.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee352c5d7e5eb131630b171a26a03c75900ac13c44842801f335fce7f5a0d68a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/files.ts: FileTooLong \u2014 627 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 127 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":"client/src/utils/files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"233aa0d2e7aff4bc246ee64eaddf3e5e1b92ddbf9e30b3bff006f920ec59390f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: TwoFactorScreen.TwoFactorScreen: FunctionTooLong \u2014 TwoFactorScreen runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/TwoFactorScreen.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cbcd7dc5aa221226d4848ec9d5676df08a49fa9460c0c3042d591ccd2268206"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Controller.ConvoMenuController: FunctionTooLong \u2014 ConvoMenuController runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/Controller.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"458290b2c70d6f9c486722036b0db6c063923db77eef410fcb69e5ab926e60ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentSubagents.AgentSubagents: FunctionTooLong \u2014 AgentSubagents runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Advanced/AgentSubagents.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91348e90d41a26e1fee0717fcc18956ef99f73e3b58d8c8c4b6eff5e9998f58"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNewConvo.useNewConvo.switchToConversation.\u003Creturned closure\u003E: FunctionTooLong \u2014 useNewConvo.switchToConversation.\u003Creturned closure\u003E runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"769190037a02b24581af623b40585af9cb70cb4560df5d436a704d351151cc84"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPManager.discoverServerTools: MethodTooLong \u2014 discoverServerTools runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff545c3c7e0645fb7507518305295f04a791ed61882165730faeb5148b70cea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: authorizationRetry.createMCPAuthorizationFenceRetryService: FunctionTooLong \u2014 createMCPAuthorizationFenceRetryService runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorizationRetry.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9137195a72aff388921d71d88fd07ecdc276a883c03e1b8ad73f150e39916fb0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: send.useQueuedSend: FunctionTooLong \u2014 useQueuedSend runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/send.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b9f22786ed391fd3ff70b3d7847ae3f562074d2d15a5eaa237f53a1eef01b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Radio.Radio: FunctionTooLong \u2014 Radio runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Radio.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f5784bdad8ddaeb8983914ab4036a91765cb91bf9b85ba6111865c4426f18e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createConfigMethods: FunctionTooLong \u2014 createConfigMethods runs 125 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 25 over it, 1.25\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/config.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfb4d09009a5941aa201f1e42cbc893495df513479ff9174a4d16e9bdcddeb4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/index.ts: FileTooLong \u2014 624 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 124 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":"packages/data-schemas/src/methods/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4d1468b29a1cc7a4ea39ba659c71746d6b967aa6d7a25025bc1f2b2df843da"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Artifacts: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 99 over it, 1.25\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0451bd0d22a86b76d2d0b3ad7fea1ed5b9881123e1acc6fdfa2cd748ae2c2e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/worker.ts: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: ChannelWorker (137-766). The bar is 500 significant lines; this is 123 over it, 1.25\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dab984cbc4d0fe7a68db2cca536c3e29707d11c6a20988a7fab1a8b28c499e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MCP/useMCPServerManager.ts: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: useMCPServerManager (79-926). The bar is 500 significant lines; this is 122 over it, 1.24\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":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94f142ca0a7b742beb06358d55a1dab18dbcf7494dd8f8378ca80b59fb08634"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/transaction.ts: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f17049f1c63724f6dbb6fa431d8f9e5defed76f5331a93898c5905010f4176"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: skills/handlers.ts: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: createSkillsHandlers (327-868). The bar is 500 significant lines; this is 120 over it, 1.24\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c54dfff337cc8ee7bc045f1880993d87b18135384f45fe14b1c4c0ac2faea8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AgentHandoff.AgentHandoff: FunctionTooLong \u2014 AgentHandoff runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c35af253c9a377254d9fbfe578aaed9b6a6d04d694d2a9a17105d29546f7a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionsPanel.ActionsPanel: FunctionTooLong \u2014 ActionsPanel runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/ActionsPanel.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a32bcd3de9161f707917983ca5c7303666f40c90ceefa1215378fa2a5ae37e4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Consent.Consent: FunctionTooLong \u2014 Consent runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/Consent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8808a3f8901c82983c59a00c7e6e0936da5e62c24d683f44a7bd8018b2722b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.projectSubagentActivity: FunctionTooLong \u2014 projectSubagentActivity runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe307bc8dd7c75a8274ef295d60ac6499b1cfbeef9ac6c092583fa938de3369f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: capabilities.generateCapabilityCheck: FunctionTooLong \u2014 generateCapabilityCheck runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b86822dccf481cad5769bb22a72f8642ae5d20184fa5496cc59d7ee5e4afb7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageRow.MessageRow: FunctionTooLong \u2014 MessageRow runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRow.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f893c14504e378286624cca908462bc814e8fd43b6d4c72a13126d88b7deef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ceiling.settleAfterRetryCeiling: FunctionTooLong \u2014 settleAfterRetryCeiling runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6076212d3557916e90fe7aa57ef629734e87501a9a3e8f3287ba0aaf4f521ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/convos.js: FileTooLong \u2014 619 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 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9cb72083cd9b4ffab76d27ef10ccfa0f8233eaf9a2d803096d7f328148013d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/targets.ts: FileTooLong \u2014 619 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 119 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbcebeb1de85eab63e2c11a1161d231776038cbcb035aee91063bcd6396d50c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: WorkspaceChannel: ClassTooLong \u2014 492 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 92 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff94d733807524b1b57b478d08cbd58bd4aa08e063dc95a7ab04853605d1186a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: files/files.js: FileTooLong \u2014 615 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 115 over it, 1.23\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4708230e037b52233dccf6876073da8a642afa6e5d866abc210ec74328998b3b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChatView.ChatViewPane: FunctionTooLong \u2014 ChatViewPane 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":"client/src/components/Chat/ChatView.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb85b6bd421fab7abaa4db8c9326374560c9bf84d13018cc71f6641cad02681f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sources.FileItem: FunctionTooLong \u2014 FileItem 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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1141407003948f5b4ba45495620a5dec26e46cb516efbdcd4a64b97c289a87c8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useNavigateToConvo.useNavigateToConvo: FunctionTooLong \u2014 useNavigateToConvo 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":"client/src/hooks/Conversations/useNavigateToConvo.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e30f9bd3aabac25e89550986791740c54172335c5e6ecda95ce6f98e515203"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: linked.createLinkedInstructionsResolver: FunctionTooLong \u2014 createLinkedInstructionsResolver 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":"packages/api/src/agents/instructions/linked.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4f3e2a4515635e965bce0f120eec7206ee1723f00c8f22962a4b9466d7f948"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bridge.createRefreshTokenBridgeService: FunctionTooLong \u2014 createRefreshTokenBridgeService 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":"packages/api/src/auth/openid/bridge.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"7319d5c19cb0de83c9dc8effd01a2bdc11160b297334b2825fecb72c394cfae9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.resolveCodeWorkspaceEnvironments: FunctionTooLong \u2014 resolveCodeWorkspaceEnvironments 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63133d500f3013554719b949cd70003864b247d0bed59169270c18cb3383160"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Input/useQueryParams.ts: FileTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: useQueryParams (67-828). The bar is 500 significant lines; this is 113 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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3326309955d2eeb1f755283e97b9623744b3afe228650884cc007df6f4b491fb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rum/logs.ts: FileTooLong \u2014 612 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 112 over it, 1.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":"client/src/lib/rum/logs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a369d93879f69ff47ef36a9aaeca3f11a264ef5956fb43a3d820b8d27a524af"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LocalizedDateRangePicker.LocalizedDateRangePicker: FunctionTooLong \u2014 LocalizedDateRangePicker runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/ui/LocalizedDateRangePicker.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2961a74f6788047e4624c6e45f843de6f4a698934f293830da7ee6c0ebb8638c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bridge.getCodeBridgeWorkerStatus: FunctionTooLong \u2014 getCodeBridgeWorkerStatus runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eccbb9265195116c6c74915b97d81d477ea2fc4c7444670d22ffcd659e06b5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPManager.recoverDirectOpenIDBearerConnection: MethodTooLong \u2014 recoverDirectOpenIDBearerConnection runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64214c0c6246c1b8166d90fd85f9429b244a8dc9ea4d1a0de1fa887ecc05b24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: connect.createPullRequestConnectionHandlers: FunctionTooLong \u2014 createPullRequestConnectionHandlers runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/connect.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7537effc3a1f089703591a35c1c2e875aa3d79c00de9bb4e351a0015ce122e41"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createSchedulesService.recordMCPToolAuthFailure: FunctionTooLong \u2014 createSchedulesService.recordMCPToolAuthFailure runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbaf7d69df4d08f1894081731e1296123ff0a93744ca2bcad5e67e00811b6b1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationJobManagerClass.recoverCommittedCreate: MethodTooLong \u2014 recoverCommittedCreate runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"110c586c3f92d03e9e3108ffc957e89732f93fb8d2142b665e7e8898ce52a690"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RedisJobStore.overlayHostSteerParts: MethodTooLong \u2014 overlayHostSteerParts runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6110c8f7ce473db8c222f16a3b5cf559516baf1740e45b410f707aefb121051"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Command.CommandPopover: FunctionTooLong \u2014 CommandPopover runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/popover/Command.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"99004663dd876c2c1e42f8fcfb096808a6617573ceaf2049dd16408521f48d98"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Feedback.FeedbackButtons: FunctionTooLong \u2014 FeedbackButtons runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/Feedback.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7f2cff785a860ceafa98027b3dcd9864bea13f1702faf77716b0a6a998b05c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fileStorage.createFileStorageMethods: FunctionTooLong \u2014 createFileStorageMethods runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/fileStorage.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9431f7a47e30ca3621ce9becb8c4404b8db1262a144e509ba2ec058475a0dc1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: app/permissions.ts: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: updateInterfacePermissions (104-870). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"805a84a47efa15b12d225535794f471356d39d127febe6c0d9cf0ca25230739a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: services/AuthService.js: FileTooLong \u2014 608 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 108 over it, 1.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":"api/server/services/AuthService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5117269b2d63928c1820bd461d8f4b7e06269bcd6dd34885f720a4c374fa2b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Web/Sources.tsx: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 108 over it, 1.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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99d2af04aa12cee235858afa0f6673c8432794cb690d7fd08f1407db47bf36c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: pulls/oauth.ts: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: createPullRequestOAuth (287-969). The bar is 500 significant lines; this is 108 over it, 1.22\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d0568b4ff8edbf7761f874b74118e2a2886a17265bdb2ad5a5f5c97cd2ad33"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: steering/Queue.tsx: FileTooLong \u2014 606 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: QueueRow (126-705). The bar is 500 significant lines; this is 106 over it, 1.21\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7772d30c00b7a4632a1b075bcd4c92f94b538284f9657b60d9479e1d9d4a5bc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SearchBar.SearchBar: FunctionTooLong \u2014 SearchBar runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SearchBar.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3978d646662f84b40606169261ceb15f44ea718d0978460a462494bd44a10f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryCreateDialog.MemoryCreateDialog: FunctionTooLong \u2014 MemoryCreateDialog runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2d10250e82b9422e924ad40efbdf20a3f7a12aa227f49a0bc260f01003f5ef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useReplyWatcher.useReplyWatcher: FunctionTooLong \u2014 useReplyWatcher runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3531602f910428cd33ba7b30f32b781d449de32b2e779b26d76676cd8246c3ad"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.createAppConfigService.getAppConfig: FunctionTooLong \u2014 createAppConfigService.getAppConfig runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75bb1172d5355d208f68117c9938b9d18a9b7047abd33586c45ca826225bcc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: initialize.initializeCustom: FunctionTooLong \u2014 initializeCustom runs 121 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 21 over it, 1.21\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/custom/initialize.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72280a9feae8b81aed7c897c5949e8ff11c733a55587bcd8b8d99bc69d5c577"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Content/Part.tsx: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c5bbf9745b9f8b42f367be5d29a20857c6f7d17a9bf13f45acf2764c41b661"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/tx.ts: FileTooLong \u2014 603 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 103 over it, 1.21\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e825b381bda1e681bb4a7552d376f67fb64c9766274315c3c47c15c8ffe01e92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/attachments.ts: FileTooLong \u2014 601 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 101 over it, 1.20\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9503541b13f942fc31be34021ad91e4391aa977147842eca1f213b3168dece57"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: buildEndpointOption.buildEndpointOption: FunctionTooLong \u2014 buildEndpointOption runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9215f1c858d097123db19740c287d1099c9de2e514e8408cde39f06371c72413"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeWorkspaceMenu.GitContext: FunctionTooLong \u2014 GitContext runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8173518ad097a6d6326109b450eb5fde38e79c0b4e27ca02673579b851ecaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PresetsMenu.PresetsMenu: FunctionTooLong \u2014 PresetsMenu runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/PresetsMenu.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0e9d8e386ac05e6e0d9592dc2eb79c635611970ff7818266ca688b0e0834d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: endpoints.createEndpointsConfigService.getEndpointsConfig: FunctionTooLong \u2014 createEndpointsConfigService.getEndpointsConfig runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/endpoints.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3383adbd693e0157734e40d35b456bd937ed5ec0e8151e2598afff9b9f54321c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queued.planCodeFileUploads: FunctionTooLong \u2014 planCodeFileUploads runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/queued.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"db2d7d0202bad561c3e4c1abe22417d985be498702b86395177df734794605b8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: content.writeContent: FunctionTooLong \u2014 writeContent runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a7518cf35b3e80da094e788857ded7cf85d19a253931d223235ccc74f1815d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/aclEntry.ts: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded), about 89% of them inside a single declaration: createAclEntryMethods (150-993). The bar is 500 significant lines; this is 95 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":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af3d928a5ca9f688b8f019d2ea76fdca54be0b7c9b6d8c937193ee7c2d55c18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: InsightsView.LatestConversations: FunctionTooLong \u2014 LatestConversations runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"214ce2b4c97c99385c7ab83a350a7f88e74230603e111e4bcb3a886b84edf131"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeBlock.CodeBlock: FunctionTooLong \u2014 CodeBlock runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/CodeBlock.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"778a74ecc41671e8d0a50a00c08df05a11b3fea91a4e447f6a30d7d4660e3e7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Dialog.SettingsDialog: FunctionTooLong \u2014 SettingsDialog runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/Dialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"45bba2ac8ca5c51881669c8000199dd912a4b5cc6a188463cd3c982f57b30ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VariableForm.VariableForm: FunctionTooLong \u2014 VariableForm runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/VariableForm.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"41934c99b040879ac4630c79cb878a0bd5d4561a966ecbbccc2be13fa511c35f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VersionPanel.VersionPanel: FunctionTooLong \u2014 VersionPanel runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/VersionPanel.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ae2ab7b308b85eba6707948a9bd02dfea5a34407ad7a232bc88dd329869dae"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useFavorites.useFavorites: FunctionTooLong \u2014 useFavorites runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useFavorites.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dad03f12e8592b34efceef94b3b0f650c5a3687ff69fbe8fd1880eef8018ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bearer.createScheduledMCPBearerHost.bind.resolve: FunctionTooLong \u2014 createScheduledMCPBearerHost.bind.resolve runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c24c6f6bcddc69a2f834bb9f7ea928c4b23f84d7c4694e4c780a46e87711997"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: shared.SharedSubagentActivityDialog: FunctionTooLong \u2014 SharedSubagentActivityDialog runs 119 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 19 over it, 1.19\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/shared.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c4c98639899fdba3627f6cd0fe7d1d8b6df09a1f7b7a3e8e1f51ff525544da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Content/ToolCallGroup.tsx: FileTooLong \u2014 592 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ToolCallGroup (93-850). The bar is 500 significant lines; this is 92 over it, 1.18\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfeccb1ab2c810f6c5943de3e32a4b4970b2ba376c707ff90098c63c02fc652"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ProjectResources: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded), 5 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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfdf0e30e671fd1b81ab1d8b4b0fd573458968fff7ca64b5b7b77224d7848be9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/tokens.ts: FileTooLong \u2014 591 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 91 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokens.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebf1935ec4629edd5ee71023f1230ac3f4b7b25823b43536f552f4ae1ad9d51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Message.Message: FunctionTooLong \u2014 Message 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":"client/src/components/Share/Message.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace87befffe49d805e88ba74ab43fc12b014ec1a04db193b482d6254ccdfdf67"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: users.createAdminUsersHandlers.deleteUser: FunctionTooLong \u2014 createAdminUsersHandlers.deleteUser 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":"packages/api/src/admin/users.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ce81737bc1f5240ec4ecf1a4088237d2c50805ef68a7d3d41ec119c5321e07"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: background.createBackgroundResponseService: FunctionTooLong \u2014 createBackgroundResponseService 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":"packages/api/src/agents/responses/background.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f3b47f4793a0ca5f4ecf3fad183632ca4d69e703a46b126ad54a5d51af231d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: host.steer: FunctionTooLong \u2014 steer 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e5d3eb2043bfe2bac5b8bcf09f1353115b19efffaf3e4239d477e315f1e38e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usage.recordCollectedUsage: FunctionTooLong \u2014 recordCollectedUsage 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":"packages/api/src/agents/usage.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f07ec54e0093d5823245ad32bf11518084b33bed9ab6e43951e8683d61d6912"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: render.makeSlackPlan: FunctionTooLong \u2014 makeSlackPlan 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":"packages/channel-gateway/src/render.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"8909726e336f5ca3c407b39c8155e31e012664b3375f6d6a939637e834b817d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Popover.UsagePopover: FunctionTooLong \u2014 UsagePopover 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":"packages/chat/src/components/composer/usage/Popover.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"acca8484ca37390687d824d01e58e00231fa2bd52837a8a9eb63ccc724f8d805"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: browserSetup.createBrowserSetupStore.update: FunctionTooLong \u2014 createBrowserSetupStore.update 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":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"767fcc71a2446c40313f0e7288cf5ae2fe2f3bae3c1b18b17f8b0511efd3a5ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation.createConversationMethods.resolveAgentEventActorReconciliation: FunctionTooLong \u2014 createConversationMethods.resolveAgentEventActorReconciliation 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6b2ed6979f211e00146d6202f5b593e15b113a7e4a944b86a38c7d61c7c21c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: strategies/openidStrategy.js: FileTooLong \u2014 589 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 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfe2f4d60786493b11c3eee44d3583b5988d29e890f20479ba33ab28cd0c7b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/messages.js: FileTooLong \u2014 589 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 89 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"112c36442e3cc199b79bc8343c8f15404c1b0fdb510ae06d502c017fefe16ef3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/subagentContent.ts: FileTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 88 over it, 1.18\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab7dd2b63adcb1ecb2fb56f475b04494086b3bdd8f894174431b30a432b213a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/face.ts: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ad965500f670e0f08e6c42face3b97dc4348f8089a671869a1365275469e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transport.createResponseWorkerTransport: FunctionTooLong \u2014 createResponseWorkerTransport runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/transport.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b46c7b73afccba26841e0bb46a7dc57e1ed359a4deeb62148d26de5cab0c7e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: identityHttp.createChannelIdentityHandlers: FunctionTooLong \u2014 createChannelIdentityHandlers runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identityHttp.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d28ab03a934fa49108dcbe64645bcc0b196ab785e13611c7609168916ebf812"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPConnection.connectClient: MethodTooLong \u2014 connectClient runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d7806dc78f2453adf4f3dcb7e2b84e1518c641b5cb1d401cca54da5a0c19b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RedisJobStore.transitionStatusInternal: MethodTooLong \u2014 transitionStatusInternal runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82132635a1bf92a5d627a04441876817989b2b25c40f78b4cfdaa3f5f77ad78"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: state.foldAcceptedSubagentEvents: FunctionTooLong \u2014 foldAcceptedSubagentEvents runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"228b139488d8cd16015daec423c48fe111cc8d7633b427c7da7bc476f07511a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skill.createSkillMethods.upsertSkillFile: FunctionTooLong \u2014 createSkillMethods.upsertSkillFile runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86b4a20cd04656d35a3ead9d131c1707c9625278b9336b877144c98473937c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: hitl/policy.ts: FileTooLong \u2014 580 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 80 over it, 1.16\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afb67e3ba2c4a7e7599ddc00cd25421b41f33bd73eda7a660c1a26f951a4c71"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: errors.createErrorHandler: FunctionTooLong \u2014 createErrorHandler 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":"api/server/controllers/assistants/errors.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c19a73d89a0b8396b5bd02fd2f6f99af4d891301acd0abb5e9294a4af50181"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsView.ProjectsView: FunctionTooLong \u2014 ProjectsView 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":"client/src/components/Projects/ProjectsView.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a5711d1d3690f278bd5647a1ff37147cbd957ac1d4a47fc24e9d280f0b06d6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Review.Decision: FunctionTooLong \u2014 Decision 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":"client/src/components/Responses/Review.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c2f8c31bbb4ad77065f7fac5b1b45a54c243dcef7b991744ba44cc1addd7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSideNavLinks.useSideNavLinks.Links: FunctionTooLong \u2014 useSideNavLinks.Links 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":"client/src/hooks/Nav/useSideNavLinks.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"c981071190f00be96683dd4930aee2b6f6f32310d16bec1fc56b469fac563bef"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.createActivityLabelHook: FunctionTooLong \u2014 createActivityLabelHook 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":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a66263a44c3623b3c83e5520c71632cad4756461c7fde7178e5f3aa9589ffa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queuedTurns.createAgentQueuedTurnScheduler.recoverPass: FunctionTooLong \u2014 createAgentQueuedTurnScheduler.recoverPass 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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"b081e7475f7df733efcd81fe368124d6b875185f7562688c45fbe639b823f82b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: skills.injectSkillCatalog: FunctionTooLong \u2014 injectSkillCatalog 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"1589c5d9595689e9af7919dbb9e63f91ea81fa6137db2215a798056efe8c139f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github.createGitHubSkillSyncRunner: FunctionTooLong \u2014 createGitHubSkillSyncRunner 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":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":2228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d9a45e82ccf0a1de672359396035275a1ed20851c737941b9c07ae72581e24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.useQueuedRecovery: FunctionTooLong \u2014 useQueuedRecovery 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":"packages/chat/src/react/steering/recovery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"16430cceb2d8ca21563f151e3bd7685821b0e891cebb66c250c862fd2c404d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: state.prependSubagentReplay: FunctionTooLong \u2014 prependSubagentReplay 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f4e06e8442eeeadd214c2e987406b426f9239dd99369522132dcb5b1f32375"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: file-config.buildMergedFileConfig: FunctionTooLong \u2014 buildMergedFileConfig 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":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"436d53be8a088fd4e23f0f6fd233617c8cdca955ddd0c238c21faf363cef0473"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: web/web.ts: FileTooLong \u2014 576 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 76 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3b1e293cf1a0327fada69ddc82ed75d973b7d4762f1d5b1c7a817c26dc33b7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: tools.callTool: FunctionTooLong \u2014 callTool runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a63e34766e305b4edbf7a49bb5ea8823aea8c9d2e74dde598f4d1ebe9859e04"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: McpOAuthDialog.McpOAuthDialog: FunctionTooLong \u2014 McpOAuthDialog runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/McpOAuthDialog.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfed59f933220b4b1f2584cac92629ef0c0f94126784be3f1c25ef532ead84c9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useSpeechToTextBrowser.useSpeechToTextBrowser: FunctionTooLong \u2014 useSpeechToTextBrowser runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSpeechToTextBrowser.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba84cd2ba244cd34c55e84c36a5ea9107f42e28bd06ce5f56c415e1b287c955"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.handleAttachedWorkspaceEditFileCall: FunctionTooLong \u2014 handleAttachedWorkspaceEditFileCall runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4081}}}],"partialFingerprints":{"codehealthFindingId/v1":"8defb5c2b2db415cc58022d06111bbc3f4527c640ffc4cedd18873833594baa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: postgres.runPostgresCommand: FunctionTooLong \u2014 runPostgresCommand runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"454261e9b239a3a49cc4aed75675c5e416056d52ce3d20016e4703eb4adeadf3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: protection.collectSerializedFiles: FunctionTooLong \u2014 collectSerializedFiles runs 115 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 15 over it, 1.15\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699899b664fe40661fa4a5897154201c4de8d6d294cfa6a87e737a8e3ae8490"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/ThemeProvider.tsx: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3bb992d4050cafb552e97dadac07800a6d7664d21b679e54b0027c773ad9bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: assistants/chatV1.js: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: chatV1 (78-815). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e70e3ded45b08c837b94ebe8110174bfc37202e4318152db46fa5076bf314a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: code/environments.ts: FileTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createCodeEnvironmentRegistry (188-740). The bar is 500 significant lines; this is 73 over it, 1.15\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d1ea74341d2362117122bb29c1669607532c6477391935155591c7a4e91f40"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/bedrock.ts: FileTooLong \u2014 572 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 72 over it, 1.14\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"898f52448b8a58b2eb4434fed266471ce8f38db953691d087c4e5d1988cadb1b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Viewer: ClassTooLong \u2014 456 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 56 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5735f125dbba7e8c3fe34624928d7d92d7066dd8c891a3f0aa7101b3f16bcf8b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openid/flight.ts: FileTooLong \u2014 570 significant lines (blank, comment-only and punctuation-only lines excluded), about 72% of them inside a single declaration: createOpenIDRefreshFlightService (182-697). The bar is 500 significant lines; this is 70 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5c209507ce20abb81f5547a2460b4286e2b936b8b1bb002dea078add08f9ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: errors.createErrorHandler.\u003Creturned closure\u003E: FunctionTooLong \u2014 createErrorHandler.\u003Creturned closure\u003E runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"324a2d0d5e4ae05138cac0d18991a64ce716c9119a7f3aebcc9b6b78e1120312"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Links.OwnedLinks: FunctionTooLong \u2014 OwnedLinks runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Links.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a36209c6ebe21c7bd05076137a2e98214d012819ddf09acf4648e10b65ab51"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VirtualizedModelList.VirtualizedModelList: FunctionTooLong \u2014 VirtualizedModelList runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"344eb188d0f022896b5dcc2e571b6fbf8cd2e8a734bb73c5c09524ff4e2f436b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MemoryCall.MemoryCall: FunctionTooLong \u2014 MemoryCall runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02bd161e4db601ae7980b6105cfee2d64eee1ee8076d97163b3b28e7f51a89c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: face.drawMouth: FunctionTooLong \u2014 drawMouth runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81712e9367e44a017f553c09a915d2ad318980363fe3b53d69bae035ef6e120"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ServerInitializationSection.ServerInitializationSection: FunctionTooLong \u2014 ServerInitializationSection runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"31503619aeb9d098f560275a860fc9c3f24dfc40851b7f58a8a92285f1f792b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsView.ProjectCard: FunctionTooLong \u2014 ProjectCard runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectsView.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19a1ed74754e69f1fed9be0a00f43a2f1f2476d819c23572a7333668bc29748"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: protection.assertResumeToolContentAllowed: FunctionTooLong \u2014 assertResumeToolContentAllowed runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"832f62740dcfd9623eff543eb1add2da01026ef19bff0865a79b3133f4aaba92"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: memory.createMemoryTool: FunctionTooLong \u2014 createMemoryTool runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b95391c64df4154b5e94e3a40e20465d83323d3d2f1ebbf3d0ff5e88a8d3d8c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SubagentThreadTaskStore.controlInvocationAndPersist: MethodTooLong \u2014 controlInvocationAndPersist runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d32d03d2f20b845603d21772c747bffa34990206ef71d1ea0a6f3eccd4d1a0f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelBoundContent.getProviderMessageProvenanceState: FunctionTooLong \u2014 getProviderMessageProvenanceState runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"570ee9047a2b3fb0f552f1e01ad73582d08957718547e300b617b0748a29fd3e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remoteAgentAuth.createRemoteAgentAuth: FunctionTooLong \u2014 createRemoteAgentAuth runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7e9887d5ddabdaaa895636f4e46819c61c296beadefb3eaffa02a4066d3887"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github.syncSkillFiles: FunctionTooLong \u2014 syncSkillFiles runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc939770f484e2952baa1f56f39fd5e4b2b209913209508e7c79be29afe1ab9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContentRender.ContentRender: FunctionTooLong \u2014 ContentRender runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/ContentRender.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4abd975476995e6fac26ccc7fc3c5c5572c4135eec74a2b2cdbac2dcfcf88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: conversation.ChildMessage: FunctionTooLong \u2014 ChildMessage runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"219dc5ddc62dc77f99a30c3af89ac3c73a9436653c8efc3fda45bf4901da8e18"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: stripUIResourceMarkers.applyCitationTextBoundaries: FunctionTooLong \u2014 applyCitationTextBoundaries runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"897c05159c44d4c56236028dcbd55b4508190dea0d629280b3aad996516e0e70"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Breakdown: ClassTooLong \u2014 455 significant lines (blank, comment-only and punctuation-only lines excluded), 2 methods. The bar is 400 significant lines; this is 55 over it, 1.14\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bceba821e8a323da716b5f9e8efc15a021df258a47aec6aaec7a64296dafbdd1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: forms/PromptForm.tsx: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 62% of them inside a single declaration: PromptForm (271-752). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e48c7013c2e71948f283f5d5c6cc4b84708f3240f624c3be6ac1b663bb710e1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: DataTable/DataTable.tsx: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: DataTable (36-787). The bar is 500 significant lines; this is 66 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3106963c8e0fc79fb059b3093a85e322c846a1fd396f5dbf29e4e1016d7fec1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Content/ActivityPhaseGroup.tsx: FileTooLong \u2014 565 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 65 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":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d60381ee09e18c3a8f0cbca5949e363d791794ff988e0b59ec2dee6661a18a0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserController.updateUserPluginsController: FunctionTooLong \u2014 updateUserPluginsController runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"da525cad543f8a9901553140e757caed5e7e93b15551d4d64300b5c561446b2b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useFavoritesData.useFavoritesData: FunctionTooLong \u2014 useFavoritesData runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Favorites/useFavoritesData.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"863657929feedcb80a03506749abf58aa247dbbf465964513f3b7e87e170ec5d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Sources.SourcesComponent: FunctionTooLong \u2014 SourcesComponent runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Sources.tsx"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1f41e18817c60a513e085af1b717cdb22f4a0d14133fa4a00545110268a6b4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useToolToggle.useToolToggle: FunctionTooLong \u2014 useToolToggle runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Plugins/useToolToggle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f681b647d7bc54ffbaf433dbb800014a2f8fb0bc9410c9cdab819a1471c648d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: transform.transformToOpenAIConfig: FunctionTooLong \u2014 transformToOpenAIConfig runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/transform.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5328efcba356a055ecdbaee7689d51bd0ec42cc2ebffd0a1efcd70dd8e409b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: github.createGitHubPullRequestSource.find: FunctionTooLong \u2014 createGitHubPullRequestSource.find runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/github.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"246b5fcd5a18b58b193998b62c848e946eece039f392213a480992dec102a015"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Popover.QuestionPanel: FunctionTooLong \u2014 QuestionPanel runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/ask/Popover.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0eb57efea31f22145cdeb7efc844fd3a5203c4e749bfda498b989fcdabefa3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: accessRole.createAccessRoleMethods.seedDefaultRoles: FunctionTooLong \u2014 createAccessRoleMethods.seedDefaultRoles runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/accessRole.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"70871e986a2f90f0cdf0e2a245493324ccd07f40887d8e2b6e79b58e9698cd7a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mistral/crud.ts: FileTooLong \u2014 564 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 64 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":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd74bf454a7a5566a72332d87dc4160414dbd49bd8ade716e0783927f096179"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/zod.ts: FileTooLong \u2014 561 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 61 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af0d4cf8eed19e79e4e35b00ae7220abf8e8c8300fae368a7506418078072af"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/experimental.js: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40a252e715e3c27e921c82a969888f2c303deaf154200cdf115a8481a32b333"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: LogoutController.logoutController: FunctionTooLong \u2014 logoutController runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/LogoutController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"6994e5a1a97422a63b1cae18b8543253394834427dd246105f3bcf73343bd553"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: usePastedTextEdit.usePastedTextEdit.saveEdit: FunctionTooLong \u2014 usePastedTextEdit.saveEdit runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1034880f2482f4f46cdb59bab85eab5fdee15fd05b9ebabc8f55c83319c7b8da"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: email.createEmailChangeService.requestEmailChange: FunctionTooLong \u2014 createEmailChangeService.requestEmailChange runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"385961d566174a3d2ced016c8ee27f226d1ed3699a8c0953e7f37240a38f9212"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: initialize.initializeOpenAI: FunctionTooLong \u2014 initializeOpenAI runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/initialize.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"490f6dc8b2c42c5100ca4212bea37633d4de001e8a378147288474d1fd4ea144"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: imports.inspectConversationImportContent: FunctionTooLong \u2014 inspectConversationImportContent runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/imports.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2323433d31e6363d48569974174141af3ffc9e4b1ff2554fd7891c718a981d03"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: share.createSharePolicyMiddleware: FunctionTooLong \u2014 createSharePolicyMiddleware runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b48e28ef6f9dc39da81c975c0c0cd782faba808d316e888b33be87e758c113c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: gitlab.createGitLabPullRequestSource.find: FunctionTooLong \u2014 createGitLabPullRequestSource.find runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a256de4ce162f1c37cf5ae15f1b3c6be008fa4d0d7fcd3c978b7919d769372"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.createTraceHandlers: FunctionTooLong \u2014 createTraceHandlers runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/traces/handlers.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9f20517b70d15f1f257a2080408440901e4e1bc5ea9a41ba957801978302d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/actions.ts: FileTooLong \u2014 559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 59 over it, 1.12\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b51950d84b23a9cf0ce07482ca1bbd0db467f4cc81a3bd95fa4acfb7096205d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: reasoningLabels/runtime.ts: FileTooLong \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: createReasoningLabelWiring (265-755). The bar is 500 significant lines; this is 57 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3862ef53eec4a07d84610787977c234676ac68a33a823606cdc4ef8653548916"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Projects/ProjectResources.tsx: FileTooLong \u2014 556 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: ProjectResources (95-671). The bar is 500 significant lines; this is 56 over it, 1.11\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc94ade8061ae3d9ebcffc0ac59ce6d5ded7b41a7a32ba55bae7d2a501e8faf"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: indexSync.performSync: FunctionTooLong \u2014 performSync 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":"api/db/indexSync.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd98b4b2aef12dfbe8beed62e5290da29285d753077f780468828fabb1e92a4f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CategoryTabs.CategoryTabs: FunctionTooLong \u2014 CategoryTabs 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":"client/src/components/Agents/CategoryTabs.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcad5d5dc361e188d7a1e97c4b66105a84778aafebb32744f3f9c7d485213e3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UIResourceCarousel.UIResourceCarousel: FunctionTooLong \u2014 UIResourceCarousel 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":"client/src/components/Chat/Messages/Content/UIResourceCarousel.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d02c015f93a008c3951bff24ee1480dcf01b1577967f50b3ee672d66537c373"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SelectedPrincipalsList.SelectedPrincipalsList: FunctionTooLong \u2014 SelectedPrincipalsList 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":"client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0122026f00e5fcdb193ea78502a938011ff6e1d1f21e86c43a94af7d18259e3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: recovery.createIdleRecoveryLoop: FunctionTooLong \u2014 createIdleRecoveryLoop 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":"packages/api/src/agents/recovery.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aba713fbb4f7f6cb68e2bd555f932b1ce704b6ac11b6a84c96a87f91a161d59"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: types/admin.ts: 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":"packages/data-schemas/src/types/admin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bd8c6ce391b301b8c4630b3308dbce97ec7eb4684df9830f236279b3038f1d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useAutoSave: ClassTooLong \u2014 441 significant lines (blank, comment-only and punctuation-only lines excluded), 9 methods. The bar is 400 significant lines; this is 41 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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa133be13d3045804b7e12f7cdba3b28eefd17d5618dd485f784825c0021ddd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Apps: ClassTooLong \u2014 440 significant lines (blank, comment-only and punctuation-only lines excluded), 1 methods. The bar is 400 significant lines; this is 40 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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3550483834b41ccfafde260e9999999d07da81643f4f7ec0491057a998ada16"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: usage/Breakdown.tsx: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: Breakdown (113-686). The bar is 500 significant lines; this is 50 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fc15ea46e3aefeab1dde8844bf4a5ab28f937258122ec7048091cc04699a13"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PermissionsController.getResourcePermissions: FunctionTooLong \u2014 getResourcePermissions runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PermissionsController.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"144d03a894f1632dae439983578c7d8b9dd07a04fddafd5631db63afe9eaab2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SocialLoginRender.SocialLoginRender: FunctionTooLong \u2014 SocialLoginRender runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/SocialLoginRender.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"346b39555b7b11a46241fd6d3704ccb8593d79f8dda18b59e3e3207f7e58c553"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pane.useResumablePane: FunctionTooLong \u2014 useResumablePane runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/pane.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d463d8d867e51d709ab10c5d316713955866aef44dac93ef1cc33b6222a6d60"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.createActivityPhaseWiring.handlers: FunctionTooLong \u2014 createActivityPhaseWiring.handlers runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2db3929f80cca29873daeae85754e57935ab6b61b4b674cb8f692867f93ef02"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handlers.handleEditFileCall: FunctionTooLong \u2014 handleEditFileCall runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4504}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e56be6cc0586c8241db3afa1d62b7e3454df2b850cdc1e2e06f0d4e897e217"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: lookup.createPullRequestLookup.\u003Creturned closure\u003E: FunctionTooLong \u2014 createPullRequestLookup.\u003Creturned closure\u003E runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b49d98034d31bb40ce83d726cfada11f64ab06a3eeacbb93f6169fc9767e91d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: service.AppService: FunctionTooLong \u2014 AppService runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/service.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"075c9c7e505f847c96842bba8ffbbc9d6b62db3f213e5909905344fc8b5e9975"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: provisioning.createPermissionPrincipalMethods: FunctionTooLong \u2014 createPermissionPrincipalMethods runs 110 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/provisioning.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d51efc41e8dc758bd6014e770a3c8fc9a743e6cc781c872a5bbf83b9fe595c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/groups.ts: FileTooLong \u2014 549 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: createAdminGroupsHandlers (116-781). The bar is 500 significant lines; this is 49 over it, 1.10\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6d734559d27d45f1806f7d8c9578bd01550ef860bc25b086dbb83fa73c3f35"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: routes/share.js: FileTooLong \u2014 545 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 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"525b7d7da641f5b437fa71c857472b88da99122c8a4e8f03dd6e9dbfdc12cf88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: engine/engine.ts: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded), about 79% of them inside a single declaration: LiaEngine (122-717). The bar is 500 significant lines; this is 45 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":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"938a9de3da362c1795d07e406efe357f593d105ca6f58d3b583576e7cf2ff46b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/chatProject.ts: FileTooLong \u2014 545 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 45 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea482ba6716a3559513e5f00e835f7299d9452bbaa7ae845532c35cae2e9637"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ConvoLink.ConvoLink: FunctionTooLong \u2014 ConvoLink runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14617e7f8926931126695e6d54f8697af66229c854ff998fd1de06b2a4760a4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectChatList.ProjectChatList: FunctionTooLong \u2014 ProjectChatList runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectChatList.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7babbafaf6499fd4e0ed5b8aa54e92028fa19ea684d0a5dd3ecbb5c74c90544c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ShareView.ShareHeader: FunctionTooLong \u2014 ShareHeader runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"480a4101b09eaec2e62b725e23b5b356f325b7671d4ccd8990ff240ac1f90fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: models.fetchModels: FunctionTooLong \u2014 fetchModels runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/models.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e523357b38c4391d17ecedc917e3cac398904d8bd19f2c985b8c9f380f09638d"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: libreoffice.buildPdfEmbedDocument: FunctionTooLong \u2014 buildPdfEmbedDocument runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/libreoffice.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c2e2c438bffee08ca91b06a0aacdb4aeb1213c0239bfc357ba9556d22a92cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: upload.createSkillUploadHandler: FunctionTooLong \u2014 createSkillUploadHandler runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/upload.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40536340b86022a90fa87bca63a9e759e625023584eafa522372cf61180c4d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationJobManagerClass.saveRunStepFromEvent: MethodTooLong \u2014 saveRunStepFromEvent runs 109 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7898}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc8f1c5f5fc2d01d7493412011a5ab00f1d62013f5e3920924cd417a059e317"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LangfuseConnection: ClassTooLong \u2014 435 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 35 over it, 1.09\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7bc5fe10d73b5eac938e71169a63f3d6f76b19a73f827aee6d10498c69559ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: admin/auth.js: FileTooLong \u2014 543 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 43 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":"api/server/routes/admin/auth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79605132a6df5bbe4eb4cf52224c4fb8a11d5ac2886c770b64b0d2d6b2b75770"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: responses/foreground.ts: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/foreground.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4a1fba518a7aa48e12f87d4c38c64b41e56ac4b585f9ffb4e6dcc7c874d3ba"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LiaEngine: ClassTooLong \u2014 433 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 33 over it, 1.08\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":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a599e77b013874b2ab346e75dd989cf42c1eec74ee9dca4e137fb02f978458cc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Artifacts/Artifacts.tsx: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: Artifacts (45-711). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b26ff35791e1cde277e392aadccaf4cf2052f69584bad53c2980fb199c923ec"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/role.ts: FileTooLong \u2014 541 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: createRoleMethods (84-888). The bar is 500 significant lines; this is 41 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b656275c11f35bc24cd37afd2cef0227df3e474ad5df096c8ff5e02ae1d4300f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ChangeEmail.ChangeEmail: FunctionTooLong \u2014 ChangeEmail runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/ChangeEmail.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49901022ab57d144599ebd6c25cd9f1e55e73393d154592244ae998536171c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PluginAuthForm.PluginAuthForm: FunctionTooLong \u2014 PluginAuthForm runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Plugins/Store/PluginAuthForm.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"86815df4d26e35a16768731e079872938bbdf4ab34f36a41bd9f0ce53d0b1872"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: AssistantConversationStarters.AssistantConversationStarters: FunctionTooLong \u2014 AssistantConversationStarters runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d89d5ef43533010d4176e95715ed9634ddfce60bf15c9df8f4f58b037d698f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useProjectMenuItem.useProjectMenuItem: FunctionTooLong \u2014 useProjectMenuItem runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/useProjectMenuItem.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb23fde109cd499fb433511af7f5e9cdef8c074c2fa6523174dff4c6eef3fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: encode.createRunFileMessageEncoder: FunctionTooLong \u2014 createRunFileMessageEncoder runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/encode.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c7857ec79b2ab887bbb721f5344f20a6371c07041f6b978158235b3c23980eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: email.createEmailChangeService.confirmEmailChange: FunctionTooLong \u2014 createEmailChangeService.confirmEmailChange runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6518c1c99cf545d91e8134aaf357008eacb9c187a2e5c1959ef560014aafe7f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: policy.createSetupPolicy: FunctionTooLong \u2014 createSetupPolicy runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/policy.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb1f1818636a090ce0dc951646ded0c2bb7ece6793794490cf38136669bd294"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ConnectionsRepository.loadConnection: MethodTooLong \u2014 loadConnection runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d49acd535f0c5614627edaa1925062e6429d4ab495f8f046957bf3f80107e6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: mcpAuthority.assertProofIntegrity: FunctionTooLong \u2014 assertProofIntegrity runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"9776c638baa2d4d1e8d259f54936dec8886c10af7d2cdfeee4a54b447c4aaf7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: digest/view.ts: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1d1070e78f29556a2012aa629bfddecc97876da159cb9b8e7566e921d01bbf"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/subagentActivity.ts: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 39 over it, 1.08\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fe3f4c016971e980943f99573946e3b6a5c5001ebe0b39caef952713d9b05e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: useTextarea: ClassTooLong \u2014 431 significant lines (blank, comment-only and punctuation-only lines excluded), 7 methods. The bar is 400 significant lines; this is 31 over it, 1.08\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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42066d3b1f2bcc539822f2bc51c3818622da3eb3a6b3c01446d7eb2d2df0144d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/systemGrant.ts: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: createSystemGrantMethods (55-802). The bar is 500 significant lines; this is 38 over it, 1.08\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17bb109c321bf4147e3b011369eac3d650c9fa60362571887473e42a88cc0854"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Artifacts/ArtifactCodeEditor.tsx: FileTooLong \u2014 535 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: ArtifactCodeEditor (236-825). The bar is 500 significant lines; this is 35 over it, 1.07\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4073b31f3eb74809ba2cb7ed657f84cfe4512db846e22c6b5d8e9634ccbae0ab"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: UserController.deleteUserController: FunctionTooLong \u2014 deleteUserController runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7e375f1b91e2c50c5b70cedaa29f72209d39552d367859ffaa49494d8e52d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: files.handleFileUpload: FunctionTooLong \u2014 handleFileUpload runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf4736284f1a568d31245b1fb19d87d8e51d0f9df6e5e3bfcdb173f4ba6ddfd"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: CodeWorkspaceMenu.EnvironmentWorkspaces: FunctionTooLong \u2014 EnvironmentWorkspaces runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3056b0f1f176a7e87611f7da60d716245fe1239941cf90d0198c5401d36b6ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Mermaid.Mermaid: FunctionTooLong \u2014 Mermaid runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c00636c53142c556d90d653147a1c1e45455e2c4265be71bda8b4df1ce5846c0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DeleteAccount.DeleteAccount: FunctionTooLong \u2014 DeleteAccount runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4bdbe7686fc6e3d0928702d682d59a7e5d2544cb51bf13af7a3cafe406a4b06"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SkillDetail.SkillDetail: FunctionTooLong \u2014 SkillDetail runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7482ce7ce8d18e07766c659fbeffea8911b440ff96c5ca3742d34594d1310449"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: compatibility.planMatcher: FunctionTooLong \u2014 planMatcher runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b219b4956f1bc96448e932e1d5a07a305e51f13c614db49c7f8037aa4bd0bca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bitbucket.createBitbucketPullRequestSource.find: FunctionTooLong \u2014 createBitbucketPullRequestSource.find runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2bacec8020e9ac6be2907359689dc4c75d2d384488228df38d3c4551751b16"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: env.processMCPEnv: FunctionTooLong \u2014 processMCPEnv runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b31d0f3a7e44b7dc905af8841b7d7e6ff892a04d2809f0d068b747a806a1ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisSubagentTaskControlTransport: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5e5fc7134882150b4310b209132103252792294e3a52d5f0e9bcf2afe7a530"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Stage: ClassTooLong \u2014 425 significant lines (blank, comment-only and punctuation-only lines excluded), 3 methods. The bar is 400 significant lines; this is 25 over it, 1.06\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":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f6ea2f626ed07c412397dd5de4d515b2429583acaa2e8026d681fb54564cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Trace/Viewer.tsx: FileTooLong \u2014 530 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: Viewer (89-643). The bar is 500 significant lines; this is 30 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b559fb3538a9ff8f399c74a9085946c0054abec106363429e4c5b4b5b9427b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Reasoning.Reasoning: FunctionTooLong \u2014 Reasoning runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd1435ee4668af2567402d2c0b9dd948e285f86af276d4b096b5eed9a404eca"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useReplyWatcher.mergeTimestamps: FunctionTooLong \u2014 mergeTimestamps runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f8165891e809b75b031f0cbd1cacbb2216ec1dcdcba17a4a32186d7fca31ea"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: activity.projectPersistedMessageActivity: FunctionTooLong \u2014 projectPersistedMessageActivity runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6258bb5d00a949b7f28136ce225e7b984f79dceaa5f775303d1b56f82226953e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: files.getOpaqueFields: FunctionTooLong \u2014 getOpaqueFields runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b55dd4458675d1448220b09d7c04f22bbf5e224f3c08840181eae98c10acbaa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deletionService.createSkillDeletionService.startSkillDeletionSweep.sweepAbandonedIntents: FunctionTooLong \u2014 createSkillDeletionService.startSkillDeletionSweep.sweepAbandonedIntents runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4ff49cbe9919521ac6c9a16b13e27d5c65bb8a451898da2e695b4cf45da6d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: upload.createSkillUploadHandler.uploadFileHandler: FunctionTooLong \u2014 createSkillUploadHandler.uploadFileHandler runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/upload.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a44bb5a414d7ec4e002575ee450ddea21b4b3557809250648887bd5b26887a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Conversations/PinnedSection.tsx: FileTooLong \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), about 60% of them inside a single declaration: PinnedSection (319-833). The bar is 500 significant lines; this is 29 over it, 1.06\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686abd07d23d6b4d1a4f8d45190cd1e91836011e2c892956048d6e9b1b4e5197"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Ledger: ClassTooLong \u2014 423 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 23 over it, 1.06\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":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f24d6103b23b99c19e3710998e4a735a5d86209a2bb13b4f3f7733ca57e3a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: GeminiImageGen.createGeminiImageTool: FunctionTooLong \u2014 createGeminiImageTool runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1671d490ed40c843de647a70426a6fbf626cc80969db74a0636024e6c31c0b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCP.createMCPToolsImpl: FunctionTooLong \u2014 createMCPToolsImpl runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"705f5fe73b97cfbffbc4527547af62f1028546d74c4af4a015dcc02810269e48"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useReplyAlerts.useReplyAlerts: FunctionTooLong \u2014 useReplyAlerts runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b2d8bc5ee5ed8f628bc097b01a9c4df8c037460d554502dd321b36dc9307df"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useAttachExisting.useAttachExisting: FunctionTooLong \u2014 useAttachExisting runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useAttachExisting.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bf05c49ad7c52a579919b07e86f5cbf509a7398f0a98c47de67d63911783b3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: migrate-prompt-permissions.migrateToPromptGroupPermissions: FunctionTooLong \u2014 migrateToPromptGroupPermissions runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-prompt-permissions.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"34749d6fd2ab7432b3178c6da2ef6d619f7c4a74df769c737d417a696a171bc4"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.createResponseExecutionRuntime.graphOptions: FunctionTooLong \u2014 createResponseExecutionRuntime.graphOptions runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a9a7b5f02660513f1782f0b615fa68eba3b18c62d056b797c293bad49ece9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: bridge.createCodeBridgeStatusPoller: FunctionTooLong \u2014 createCodeBridgeStatusPoller runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"096dfcd0f35eace3ee0ae0f7fbae20def46c9491efaa224f4835825cf367c920"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: priming.selectCodeFiles: FunctionTooLong \u2014 selectCodeFiles runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/priming.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dc0cf20addc3f98e2c6e91ae58f1d84aa0f7b35bb5ae1d2c6da9874c3cfb15"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RedisJobStore.applyMembershipSnapshot: MethodTooLong \u2014 applyMembershipSnapshot runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe09da4d2a74a9ec4c065b4954489ee55bc5ab3d0bf61f3f605e312f8fc8de9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ContentRow.ContentRow: FunctionTooLong \u2014 ContentRow runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/ContentRow.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"de72b37e6e328c15ff8357e19f91556250445b0e968818efd41a11a419beeb79"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MultiMessage.MultiMessage: FunctionTooLong \u2014 MultiMessage runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ee4c3bc4274beef0907d342ffbc1109378a73f1971096966403154995695b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: chips.useSteerChips: FunctionTooLong \u2014 useSteerChips runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/chips.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24a8afaaf5eb3216ee8bd0f838cf45dd50f6bd9b7912d13ce0e62b92839ac24"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.backfillAgentEventActorReceipt: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.backfillAgentEventActorReceipt runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4198}}}],"partialFingerprints":{"codehealthFindingId/v1":"c472b2c46d0688f211362ab46acc3eead748c23362906ae39f7d59e6ea91bb82"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: agents/checkpointer.ts: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 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":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"856c9a3b71505b9bab5db0cf3a88606281b5b9617420ba026de065f9b8428cc0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/review.ts: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5598df1ba23740aa2b14f324fad48d7ce7de7f75bd84ef28c0d8decba5b4b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Integrations/LangfuseConnection.tsx: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded), about 83% of them inside a single declaration: LangfuseConnection (107-676). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f34e2b13370e2142b2f276ee70d46339341f83b10c862527dd9fe44a7bd375"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Agents/WorkspaceChannel.tsx: FileTooLong \u2014 521 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: WorkspaceChannel (33-602). The bar is 500 significant lines; this is 21 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fd4c877adf7578e83912df6800f9315bcf2dca244f5058a492cdd878f3267e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/auditLog.ts: FileTooLong \u2014 520 significant lines (blank, comment-only and punctuation-only lines excluded), about 61% of them inside a single declaration: createAuditLogMethods (303-756). The bar is 500 significant lines; this is 20 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b625b719b2aff89e998465424c3384fbe2a413a1dea92786c5f0a23ffafa42f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: actions.router.post(\u0022/:agent_id\u0022): FunctionTooLong \u2014 router.post(\u0022/:agent_id\u0022) 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":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b0fcc7e2200b51768de795213daeaedc68949d514cf106402e3ec2dda2ccec"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: files.router.delete(\u0022/\u0022): FunctionTooLong \u2014 router.delete(\u0022/\u0022) 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":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"85287dc3a7a9e0c277cf32c3157ad00eb6c5dcae4e194a00e06c833903b5f017"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectsSection.ProjectsSection: FunctionTooLong \u2014 ProjectsSection 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":"client/src/components/Conversations/ProjectsSection.tsx"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"801047c2054f93645b8ebc600b677ae9f75807d8a5b5bf02890ca43a90db65db"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useMCPSelect.useMCPSelect: FunctionTooLong \u2014 useMCPSelect 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":"client/src/hooks/MCP/useMCPSelect.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c991af8fa5e10d6f012e5669f12077f699db349e9e843356f5dae6baa558f779"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useBookmarkItems.useBookmarkItems: FunctionTooLong \u2014 useBookmarkItems 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":"client/src/hooks/Sharing/useBookmarkItems.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46d0e64d4a2c31ca0b44f8724ae2503c4d099e7df4349172fbbe5ee3617380b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: resolved.createAdminConfigReadHandlers: FunctionTooLong \u2014 createAdminConfigReadHandlers 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":"packages/api/src/admin/resolved.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ce1eaada7a0234abe9354479ab5c5fcb38c27aa7ef139d6748d3eebcb9c19b"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: request.handleSteerCancelInternal: FunctionTooLong \u2014 handleSteerCancelInternal 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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18dd58c17283a16cc1974b1bf4647c2b25514ee28bdbbaaa2a91f7ce45b705"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: remoteAgentAuth.createRemoteAgentAuth.handler: FunctionTooLong \u2014 createRemoteAgentAuth.handler 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":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b5d7ada77edd2949b04ebfe61f096aaa7fea97735ad910cfa1c8e3cf1046eb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: deployment.createDeploymentSkillMethods: FunctionTooLong \u2014 createDeploymentSkillMethods 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":"packages/api/src/skills/deployment.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a587a1bf3a16dedb050c5ac4dbf4c6060eaa01775ed7f3a72444e982eb85009f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.claimNextAgentTriggerDelivery: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.claimNextAgentTriggerDelivery 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1f6e8bd03455342819685889075f723f2c4d3c121577d7c88063a578e7c8e5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: openai/handlers.ts: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dea36600d31d9d61d019a9e56be2a0553434067f807fffccecc287eccf12ff"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: FluxAPI.generateFinetunedImage: MethodTooLong \u2014 generateFinetunedImage 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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f3648b32844efab990f7b3cf0b0c44b3be18a007091130de5d0279fd1e923a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: Wakeup.Wakeup: FunctionTooLong \u2014 Wakeup 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":"client/src/components/Chat/Messages/Content/Wakeup.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"009030b230af3333f0250fc0c119d9ea93e69c7fdfaec3a59d4094216f4d9918"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCPConfigDialog.MCPConfigDialog: FunctionTooLong \u2014 MCPConfigDialog 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":"client/src/components/MCP/MCPConfigDialog.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3716a6710a397f8f41868c10bb72adc7619553ba3e475f09e0a469f8a7b14f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ProjectCreateDialog.ProjectCreateDialog: FunctionTooLong \u2014 ProjectCreateDialog 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":"client/src/components/Projects/ProjectCreateDialog.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2e8bb5eef44577fc192cfafe9cdf426db50943f63e65ffa7c926facb80acf6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: VariablesDropdown.VariablesDropdown: FunctionTooLong \u2014 VariablesDropdown 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":"client/src/components/Prompts/editor/VariablesDropdown.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5629a1ef849df17f346b1e8bb81ef86df0e17c01dbef627993d2edfe1bcb4a08"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: useRum.useRum: FunctionTooLong \u2014 useRum 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":"client/src/lib/rum/useRum.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec8ebfca7c15d475a57df7a33de417ad2823035e14fc1ec9414b8ff2d3b9ffb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.createAdminConfigHandlers.tombstoneConfigField: FunctionTooLong \u2014 createAdminConfigHandlers.tombstoneConfigField 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":"packages/api/src/admin/config.ts"},"region":{"startLine":4065}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8291a78ffbe5af382f7ec8e1a2aa8703d5819a73ba11f42549553bace2e86"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: harvest.createBackgroundCodeResultHandler: FunctionTooLong \u2014 createBackgroundCodeResultHandler 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":"packages/api/src/agents/harvest.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"abfe12666e8a99406129376443ce5466d541632f4683f697b2825a7da8e72f32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: queuedTurnHttp.handleAgentQueuedTurnEnqueue: FunctionTooLong \u2014 handleAgentQueuedTurnEnqueue 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":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce9acf3bd8f841eecead617f244a2c0a42c15cb9fc35fffabbbbe8dbccb52d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: session.createOpenIDSessionRefreshService.performIdpRefreshGrant: FunctionTooLong \u2014 createOpenIDSessionRefreshService.performIdpRefreshGrant 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":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1105be06f3c93608389b272f260106805b7de5f0651d8c32246d9333fce0a3"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.mergeAccessibleCodeEnvironments: FunctionTooLong \u2014 mergeAccessibleCodeEnvironments 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":"packages/api/src/code/config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c97f82ad61e3af1695f2e8affd02100c0a48f417e7c3d82d4020c834de65d32"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messageValidation.createMessageRequestMiddleware: FunctionTooLong \u2014 createMessageRequestMiddleware 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":"packages/api/src/middleware/messageValidation.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a22cc78d0d95c84906f7d797ef6b7530e9f82c21c80f23a30c36a790868b44"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: modelBoundContent.createInitialModelBoundAdmissionCallback: FunctionTooLong \u2014 createInitialModelBoundAdmissionCallback 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"61096c79ab8193fe460830c4ff92ad30f2a99847f0cea8a8aa8ecfed31c27bb0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InMemoryJobStore.cleanup: MethodTooLong \u2014 cleanup 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bc19f322e6d0df486408b00ebb23d659a7c947c35e89094493937f8dafdee1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MessageParts.MessageParts: FunctionTooLong \u2014 MessageParts 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":"packages/chat/src/components/messages/MessageParts.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e31651cebca6d62506ec44403d9ff2c7874971651b284a043799a5aa9a5c7f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Trace/Ledger.tsx: FileTooLong \u2014 513 significant lines (blank, comment-only and punctuation-only lines excluded), about 82% of them inside a single declaration: Ledger (124-643). The bar is 500 significant lines; this is 13 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4854f5bd50d6b04e1249d56b243d5dc2e9ee31cb43ae88bc9754af87f513c6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/skillLifecycle.ts: FileTooLong \u2014 512 significant lines (blank, comment-only and punctuation-only lines excluded), about 76% of them inside a single declaration: createSkillLifecycleMethods (139-691). The bar is 500 significant lines; this is 12 over it, 1.02\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"182d255073620f65a18f4d13350205b846c57df273098139e9a5d776546f6701"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: gateway: ClassTooLong \u2014 409 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods, 27 blocks, lines 101-1159. The bar is 400 significant lines; this is 9 over it, 1.02\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e095acf20d11aff40925d056857a36eaafb0a948d83f9482f1703c50c3cf4400"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: manage.syncMessages: FunctionTooLong \u2014 syncMessages runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e612631f9066a51c6f734be387f16bb59506ff03b6b7c1819a69717412d0c1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: context.useSettingsContext: FunctionTooLong \u2014 useSettingsContext runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/context.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a3e4a371232fce30b9492f8a0fb355fa5da32805420717d7366f3705564c19"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: PromptEditor.PromptEditor: FunctionTooLong \u2014 PromptEditor runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/editor/PromptEditor.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a73e5b3733d4780cb8d9b1dc1cb9d56d3338e94a0a44e2a046be7c53e1a814"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: ActionEditor.ActionEditor: FunctionTooLong \u2014 ActionEditor runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8e1793f7dedd75114600a4022e525b5b7cb17e4d7f27e9b6d3bc178d29268e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: MCPCardActions.MCPCardActions: FunctionTooLong \u2014 MCPCardActions runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73315328420bbb1381b79cc9f971dab269cc715a4e4ab39524ee1eebcefdaa1"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: runtime.createActivityPhaseWiring.close: FunctionTooLong \u2014 createActivityPhaseWiring.close runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab829ac599b1cfbf56ddfc170df8787d7dc286fa92a22ebee047f8bf381b70e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: worker.createBackgroundResponseWorkerAuth: FunctionTooLong \u2014 createBackgroundResponseWorkerAuth runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/worker.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f27962836366b766cbc04af3d6f67793d23c98f5f294a4eac7800d32bac04d2"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: subagentActivity.createSubagentActivityStreamHandler: FunctionTooLong \u2014 createSubagentActivityStreamHandler runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a641286c4aaec23f7946516a79faedbacde5c263af0305324bfc351c9be4e01"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: submission.createPrivateTextIngress: FunctionTooLong \u2014 createPrivateTextIngress runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d333e7b74e801aa88a5f1d88788487b0bc8b75f2644f045f5a94f406e7fb5e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: run.createScheduledMCPRunPolicy: FunctionTooLong \u2014 createScheduledMCPRunPolicy runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/run.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2db9c8cd4a40b1d55f7d3ae0a3746218af8558bd46e6f6949b5a89765fa8bdb"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: workspace.resolveCodeWorkspace: FunctionTooLong \u2014 resolveCodeWorkspace runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"688be463516eb74d459259e5f9a09479f95ee785946c1bbf3cfa23a73d8204f5"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: share.createShareMethods.getSharedMessages: FunctionTooLong \u2014 createShareMethods.getSharedMessages runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d6b06c0b3ef1d7a1b3c9469d078cc1fc32d9d526b22ef437403b4c43f1780e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: response.createStoredResponseModel: FunctionTooLong \u2014 createStoredResponseModel runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/response.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef76d3c37ba348e15747e12c539667c6487b22b11b2ecc942e2b5e10ef67f84"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/twoFactor.ts: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 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":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9404e487f2604387bd5946fe1bbb17ae6c5ef62bf3178a856741783ad72eb8ee"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: schedules/bearer.ts: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a355aada73dfcf59919b66f2b7900524cd10f553e7c7fd239d597529dc128944"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subagents/transcript.tsx: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6f73bb84d3d22a40713e0a9c962f0600dc6e4c2c0af06c975f55c04268cbce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: methods/browserSetup.ts: FileTooLong \u2014 505 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: createBrowserSetupStore (66-629). The bar is 500 significant lines; this is 5 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0369db0961a0660763b5e5286d38f11c718744f98773f1302cfd395ba7ef0c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: messages.router.post(\u0022/branch\u0022): FunctionTooLong \u2014 router.post(\u0022/branch\u0022) runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0105870255d077f8d1e5a1adfde25ab958d9a540480be21d531a3027caeea97"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: DynamicCombobox.DynamicCombobox: FunctionTooLong \u2014 DynamicCombobox runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicCombobox.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e21b2deed224aebe6e64bd12e7233db8e7621b82a7d63d6e6511cba8e4938be"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: SchedulePanel.SchedulePanel: FunctionTooLong \u2014 SchedulePanel runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/SchedulePanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ab58a53cbd6b675d11ff56ffcbc03e00531421c1e5001128edc304f050eda6"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: config.buildLangfuseConfig: FunctionTooLong \u2014 buildLangfuseConfig runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/config.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4cb433e934e57461655c8145208b29637d7c77c07390382c5c366a36f4cb441"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MCPConnectionFactory.discoverToolsInternal: MethodTooLong \u2014 discoverToolsInternal runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff24fdb4ffce59267569e3256d1ddf62838a58a590174a5185be3cef4967f45"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: enrollment.createScheduleMCPEnrollmentResolver: FunctionTooLong \u2014 createScheduleMCPEnrollmentResolver runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/enrollment.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd800393651e31f7bbf4b37695ea5b2a3df5c0d3c1def2f383f465606d71089"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GenerationJobManagerClass.takeoverGeneration: MethodTooLong \u2014 takeoverGeneration runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37d91ecc908c2d7444a21cb67139ce1e7a94172cb7d77922587ea1f12b8762b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SlackClient.call: MethodTooLong \u2014 call runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee266f5420f3b2f572bee75a62a5535db4fea4d75e6ee23d384bb5ce10c086f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pluginAuth.createPluginAuthMethods: FunctionTooLong \u2014 createPluginAuthMethods runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/pluginAuth.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"781dbef30028bd0d54e4fd27babba6e8eecafc81c563b8be9e81727bdf9111fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: triggerDelivery.createAgentTriggerDeliveryMethods.publishStagedDelivery: FunctionTooLong \u2014 createAgentTriggerDeliveryMethods.publishStagedDelivery runs 101 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"14914e48d698035b0825907585f837cc537851eff22b3436740c69893010599a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Conversations/Conversations.tsx: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded), about 68% of them inside a single declaration: Conversations (213-720). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c207732fa5f29424d80d810c446b939610925b6ee9c354f794e3881df73b596"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: auth/email.ts: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 2 over it, 1.00\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2aa0d46155c11aaee30fd84218c90cafdc015527deb168fbe55d4a903cd5d4"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/tools.ts: FileTooLong \u2014 502 significant lines (blank, comment-only and punctuation-only lines excluded), about 69% of them inside a single declaration: createMCPToolCacheService (187-664). 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":"packages/api/src/mcp/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00574aa3aa0f863146aa1b310004381b865dc2a4ce27a4ef6c8e22d7181b2b84"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): otel/langfuse-fanout/cmd/langfuse-fanout/main.go:1208-1231 | otel/langfuse-fanout/cmd/langfuse-fanout/metrics.go:261-286 \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":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e03e3b79db426c5f129c3e654c32d03e72b26ff95d05c353d38bf2c6415f1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): otel/langfuse-fanout/cmd/langfuse-fanout/main.go:859-867 | otel/langfuse-fanout/cmd/langfuse-fanout/main.go:935-943 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060otel/langfuse-fanout/cmd/langfuse-fanout/main.go:859\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":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef823ea839e640c799b12cbc225156c1ca3670a6a0a0f20085621abead058c18"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): otel/langfuse-fanout/cmd/langfuse-fanout/main.go:1210-1219 | otel/langfuse-fanout/cmd/langfuse-fanout/metrics.go:263-272 \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 \u0060otel/langfuse-fanout/cmd/langfuse-fanout/main.go:1210\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":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb1900096eba7e881b6a140d19973a3452e7b452a246d6bd8de8a3d250df4cf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: librechat-data-provider: librechat-data-provider: abstractness 0.05, instability 0.00, distance 0.95 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"35b591cd3574dd346cb6df38ca18d345529e3f4ff694f75773034e21ec7d13dd"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseClient (LCOM4 6): BaseClient\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"44bf5c7ec5b76c702164a846db6974cbbea1009b4a2f96914a268b7132ca67fc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TTSService (LCOM4 6): TTSService\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb420f6d0037b367619ddb6664dba339faa8c1a4679dfbfdf0bc7e9e695ea8d6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: STTService (LCOM4 4): STTService\u0027s methods fall into 4 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 4 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd606aca74f6b7e3cb97d7db2aa4e2fe3b25840d790f460bd6ee8a230e72c3fa"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: Skipped: AWS_TEST_BUCKET_NAME not configured: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/__tests__/s3.integration.spec.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5713e0ccfa6737f8e2590c11f143d12888815c2a5dd643b174fce44e3b58489b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: requires a concrete network interface for listener integration: Skipped \u2014 switched off by it.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/host.spec.ts"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"25af7c4df93d100b2904de6d49388372b4c9b9cdb3332b9638f97f557dbcae28"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/code-upload.spec.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"31af1cca118020631b5fbc5565a3e718a2d71e972182f45a2e2afd8a1a0dfa26"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/conversation-management.spec.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d92a4273c6219451f5bdf2090f4a83cffad6d4e1fb97af511c7b640cf024a77"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/conversation-management.spec.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"03718c8c8682842f7eec264f621f1312a324855e2ddbb71189c2aa558879afb4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/enforced-model-specs.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40e7958dedb5da9c1bb11b88e3f669a2af6d1969149f7c6dd25e2f0262439b0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"891f6219655d6ffd811d53e8c0a094a01427061b721f05455de07e3af24511eb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"69565b3a31953c2a94f9a71185f1c7bedac74166411f5c9f056702cb96c8599d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d146e615920cda6d2271392fb208456f408723c514380d48b705431e8710530"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae2cf73b4b48de9e17bf0be9cbeeaa97fafabc1d8676c790ffb0e3761e1e869"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"305bb8a228e49e21e56d4a1e01d604d116a165dc4cef80979f045f7aa0db488d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"79235d7c6c2c7cbe58d1bf22144a871010ed49f2d0025fd876cbd984ebfc053a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-tool-list-changed.spec.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"00810ac76090e1128241cb37ba9e7ffa28191ed08defd551c685be9ef99be546"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/message-visual.spec.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ec51fd69bf91cfbbe70de5aaf4c1a9d3dcc83f6d88f93dfa3afa1e88d94291"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/model-replay-tools.spec.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3fc006629b4502253292cf71b6eba57ad31466ab8226b32776cc6045c842f5"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/model-replay.spec.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba25cd2e6ffba56806b9b0c895ceefe9ab5b3662273b78a01af6dab72cbe0d4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/stateful-code-bridge.spec.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2cfb2fac96e41c09a36c684962a6cfbd4569b759e0ce2ae70561faf91e320b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/stateful-code-bridge.spec.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e572beb0f94fee41b6280ef7047e57a4dc05e48e7ae62a38cbb9c53c379a43"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/chat-context.spec.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3904131b9dc02c67d490aa4c86b428a68e7abb82e4ee3c298932381773ba95"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/composer-position.spec.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3c1b1b77abb7b0025acb26302cd14e965463b265555c22c13a9b416d74cca9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/composer-queue.spec.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c334e8656357360756477f51227a8974e443374ed66b0ce98a1b43e56871edc"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/delete-user-cli.spec.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"33061b96d0fb20d0be5a05db2e3dce6ba9320e7bc3304e988fd76eb07910f9ab"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/drawer-escape.spec.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e029fd6af8345cc36b20f11136bfa9f2b4087144d46395dbbc3b630d0a3f4ee"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/lint.helpers.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2ffa1d05ef6b2c181d642742aa3ef5b6eef4da5d19df6482e32b9ade549c69"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/parts.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d58d1f816277c647a7b9a46339a372096bec59efe54ab5f2182eb7d083b135"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/passkeys.spec.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7a7a77414667ad01986d690881d6edd3dd9dc98032bae6c78574c1340127f6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-drag-rules.spec.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b0688b3cd6f145faafc65525314a126d6abf5475adb647800541df276b68e4"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadbe31bb1126cd80006cefe37c9dc2c30a5297ba5a3b9d46bd4a6c0722d2bad"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c45775537d78dd101a507730470fd795ce23bfbf0bc2059c309d3577f8a4f1e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cd7dd0778b8d944b6658c3a89e389c8d7d6f3dc8ec6eea9c75832d3503dcc2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"288fc0b49e980f8b7e67c97dcbb5e92e7271a8cb83ac4573ecd82c05daa2c69a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3fbc9aba7d9c5fc651ee528d27643b271ba9b94328ffc72c12d204b6813503"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/published-package-peers.spec.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e387787b430b0fc8dbcdf094f2808ebc28add3c11e03cab74ebd35bdbdd41c"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/published-package-peers.spec.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fa91a98723085af22d83b5bcdefae299a26fb570491c05539a178c4367b872"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/queue-owners.spec.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d883449ab50fed6eebeccdd2f07cb1d918c5e63e71e5e1d4ee3191cfc7514912"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/reset-password.spec.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ed70e1adacb8c8379ec57a64d4878eea959015acfe41367157add2229275ad"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/sidebar-row-action-fills.spec.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"df55c714944c6b1a35c12af26aea953fa0c7ee5f0bc4cb72e03105de40162ce8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/sidebar-row-action-fills.spec.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7a0be47dae9efa0131db322852da523284e2668120d8208789472b7d23482a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/stream-events.spec.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"1719563773b44ae69b3f89aaf6cea9a33d91735079229ce4a1995227e208eca2"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/subagent-context-total.spec.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd495f148f254e4c93fba1cc76d681d941e76d3c630bb0cd023785c4c228e1bf"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/temporary-chat-icon.spec.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5baa47d9b2d21e56e19d2e30a761ac34251edd1ec2a93a0874f31aca74f020"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/tool-context-split.spec.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8c357bb05efc713314025fa06b3e4bd4f4993173f66e7e899f9374c6fdcfe6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/tool-steps.spec.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cbd9a2065d05997a836ccce7daebb07a8f2638ec057af53e005c12974028be"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/touch-field-zoom.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"035592ed5c0b6b5374bc95e0b59253b89718b147c9cd1afbcef7008df6096a25"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/ui-scale-persistence.spec.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"28541ab9bffa31bf3b02a1216b2db7099ae8d53e1cc7734327ad9e2fe09998fb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: (unnamed test): Skipped \u2014 switched off by test.skip"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/welcome-disclaimer.spec.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd3fda7134a61f14dde4da10ff9285617a644d64a02cf3dedc003c29810dc64"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a handler reading its fetched response after the test context closed does not fail the test: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/fixtures.spec.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"56757d1c2ae9d75457b3fa67143ea92110ea30eb2cdf34b889aff9d7cfeacc0b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: a handler that never returns does not hold the teardown: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/fixtures.spec.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf064e757b7e029f872d297e2e59af0889ad792bfbcd0ea6e79f99280e1bfc9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: every field primitive and variant resolves its fill, edge, ring and outline the same way in each state @scenario:field-variant-matrix: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/field-variants.spec.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c069127a82711c4ccab0acf757b80264545dfe03ce55430cd0719cbd18889a8f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: audio earlier versions saved to Cache Storage is deleted when the app starts @scenario:tts-legacy-disk-cache-purged-at-startup: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure*, in the test body and in the helpers it calls in the test and test-support code (a helper there that throws when its check fails counts as an assertion) \u2014 so verification routed through a callback object whose members hold the assertions, or through a harness in production code that fails by throwing, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/tts-cache.spec.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24e94bdff38abc3989b587eb1447ad0c5b1448cfaf43818b0564f34c7f65b88"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: renews a code environment reference until the guarded write settles: This test starts work it did not wait for (\u0060guardedWrite\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 30))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.spec.ts"},"region":{"startLine":3474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4abae54dfdb74f43fc0ae1311ff6377ef8d827517ab8db90ca2adb45a9889b2"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: does not cache access built from a stale membership while its eviction is pending: This test starts work it did not wait for (\u0060removal\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 25))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.accessContext.spec.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8aa71079ab74a1e364a9819a06fec53c474fb0403ea1df6ba24b18c56067350"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: skips the cache write when the entry is invalidated mid-build: This test starts work it did not wait for (\u0060cachedMethods\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 10))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.spec.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"979ad1503dc8700b0141978f2bf4dada474d30906472f29868913d197d7593f4"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: starts a fresh build for reads after invalidation instead of joining a stale one: This test starts work it did not wait for (\u0060cachedMethods\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 25))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.spec.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eecc134dab2d910500e561886cfcce77262daf0fe76f8f3b4b9b09a5b33af7a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: runs a delayed second invalidation to evict cross-process stale rewrites: This test starts work it did not wait for (\u0060cachedMethods\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 700))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.spec.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1c6d08ad81e0bb0c00fedc1b531d753b29f18b0258f67829bea6dee32059c0"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: pending modal work owns ingress capacity until settlement (failure=%s): This test starts work it did not wait for (\u0060pending\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 0))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.spec.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0e2f34944f0a4775aee3b15f54aeac6bcc3dac954553e5c2a764bcda484c628"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: holds a fresh pause persistence fence and provider drain, then parks accepted steers before settlement: This test starts work it did not wait for (\u0060abort\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 25))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/lifecycle.spec.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b52392fe72c210a2de4544a2a45aa05ccd5ba3cabc726f09dc49c5c4f387452"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: does not acknowledge volatile job evidence while Mongo cannot persist the denial: This test starts work it did not wait for (\u0060pending\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 30))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/lifecycle.spec.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"216e29a5eb72be3efa2374b910ca9b02d74dc47508aa569799b2820c005697aa"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: blocks tool continuation during both-store failure and records the denial after recovery: This test starts work it did not wait for (\u0060pending\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 30))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/lifecycle.spec.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffd0ca2a474b86ea4ea6c0782244258725ee8cade210cab65a4abbd977ab424"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: extends a grant that never expires on its first use each day: This test starts work it did not wait for (\u0060tokens\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 100))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.spec.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b66a840aab5decf4a35db5796744d48c7bfbf0b62c5a255649089e93e203281"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: starts the part read beside access validation and answers only once it passes: This test starts work it did not wait for (\u0060response\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/parts.spec.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"2091b153b09dd428a03c4f250c5a2df5b57112613ab85edf2069fdea2d5097f7"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: leaves a shared recovery when it stops being silent: This test starts work it did not wait for (\u0060unattendedCall\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.oauthSdk.integration.test.ts"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9f298b121de8d7e57c9664262d90711a6f4857de6f6a1b7ede4f575bcbe24e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: should join an existing PENDING flow via createFlow instead of deleting it: This test starts work it did not wait for (\u0060monitorPromise\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((r) =\u003E setTimeout(r, 500))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPOAuthRaceCondition.test.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8942bb54a5b3e50638c5d2432e7e8de0a250b1a647eebf119b032536c115002"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: cannot disable a replacement generation with a stale capability callback: This test starts work it did not wait for (\u0060oldPoll\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 2))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/__tests__/runtime.spec.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21185d2ac906127de3296cbfa600bf6f8d925526a8236669a52e95b04a7b2aa"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: does not persist a staged refresh or new account when a later %s read fails: This test starts work it did not wait for (\u0060pending\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/accessPermissions.directory.test.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"4157c2af53864c5c85c35ed0820290d4217712d9efa778acffe30fa6fb8619e0"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: userMessagePromise is awaited before saving response message: This test starts work it did not wait for (\u0060messagePromise\u0060, still running when the sleep starts) and then orders itself against it with \u0060new Promise((resolve) =\u003E setTimeout(resolve, 50))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/specs/BaseClient.test.js"},"region":{"startLine":2725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74aef2f505e8a6a9f1d8154b20b0a98748f9b9f298ba3338401b2114bba36b4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates schema indexes before the first assistant lookup when auto-indexing is disabled: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/assistant.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"690b56670d786937beb9ffe0380507950575eca0d97248f165450c1ff0c4f034"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-indexes even when the title matches so every changed field stays current: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.findOneAndUpdate.spec.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"540c5905c6b40ec47dc087ba480807eac305be1a389570ca2cbdd28057e05338"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleanupMeiliIndex handles empty MeiliSearch index: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.spec.ts"},"region":{"startLine":1871}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aae13facfeb3469a0211c1f85aefe886e55e9b6e244f9dd2581617e22367b17"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs the error name and code, never the message: This test sets up 3 test doubles (for example \u0060jest\n        .spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.spec.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4ef8bc6e39da14a9c4d90ef63e147f86cfbd3a9761a7917eb255a525ec39d3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: pins every mutable collection read to one primary snapshot transaction: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.spec.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9e9faa8690f9484f18249746362484b45a43485863cdf1ec447daa40c0a123"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate cached auth user documents on update: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9547d9850cc23b33f6c652d1a6bd5596ff441f1eaadeaf8faf77ff5ae29d4e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits at the barrier when the cache can read but not delete: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a3bb3e02f754a77cb6815766fc9597782473b02e9b2b5c281465f36e67dcd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate cached auth user documents on delete: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6564a13f70bb8f7ee9e599d2d8ccab9980d3aa5672021d8beed1281f9b3f17"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate cached auth documents after a successful claim: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a209c9e9557b3f9db0af73d86b0bf44d2d1a57f178daed2f5734a17543064193"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates cached auth user documents after a successful enrollment write: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":1219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7af18c3668fc42ec78b61d4bca467171bee449abe981bdcb9e26b9ecbb133a4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for cached auth documents to expire when an eviction fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"798cfe66f33f0cc7594eab1971fae80e290be02671e260d479a6918b35fb74ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not wait when the auth user cache is off: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":1354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f475708340c40d157fbdf41523c952f6c057e60082c939648a5f10e46a0dc5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate cached auth user documents on acceptance: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":1518}}}],"partialFingerprints":{"codehealthFindingId/v1":"115ed536fd8c4d34708bb7d7bae7890a9d5b8905614162c45165e4b13785b9e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate cached auth user documents when memories preference changes: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":2258}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae611fe5144d44746190c8e28c66d614800c1f3bee722cea1346ab08f78a99cb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates cached auth user documents: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.methods.spec.ts"},"region":{"startLine":2311}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a18080f90aa9d1f6c1e29213667fdf682bb3282426b4504352bb24ea77e8463"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops listening for the reduced motion preference on unmount: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/__tests__/Spinner.spec.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"528356094018363cdc43cb18937eea4234f4a794cc8b0859a50fc419c51012a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes Escape to the visible top dialog (consumer prevents close: %s): This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/__tests__/dialogToastEscape.spec.tsx"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05e55a8af66d81fd97e8e9a448dba4df4f64e4c0d79c71885e3ae7d6355a6cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not paginate on scroll while the replacement page is loading: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.spec.tsx"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b5cd5523109f45a046c3ff63567e0b302a91d64772d1fd483ce3a1af40b8f5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-arms when the sort changes under a same-sized page: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.spec.tsx"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"b302458b1f36d5e4608389482def04856a859635fa74f514f497a2f1307d1d7a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the selected task only for navigation, not host teardown: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/__tests__/handlers.spec.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab9cd4d092d6b2ef523aef0fefcb496507f9fec8fd2f2cb25fa7fa8ac87e3a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes streamed attachments and image files through the host file services: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/__tests__/handlers.spec.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8c981f9a3d3211f643ac1cb22599adbd98259c68c0dbae8dfada5b619fd02a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the Assistants transport and its server abort endpoint: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/__tests__/adaptive.spec.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f83ffeaf43b5aab6467d56c04df34ca48fd3affe2a577a9a1bdab71c0775d40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not read a notification-click focus as the reader returning: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/__tests__/useConversationSeen.spec.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8cd5638afe9c7f047138e80d13fab569b313cb994d98cf4af761cdb561fbb8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels trailing %s work when the chat unmounts: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/__tests__/useScrollToRef.spec.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c74162bfb2bf4ae90458280980e83480898c72251dc73a7606bcb34822bafb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the latest callback for pending %s work: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/__tests__/useScrollToRef.spec.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0b4755a9e859829eaea752aa9a3bc79c50d73e0359e51605a6d6a29e593503"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads history but defers resume until the host has the saved record: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/__tests__/session.spec.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f9f0cf47935df0579eeb9099a773adcfff28ca6b4c59cfdb2c649c5c640166"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: holds resume back while %s: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/__tests__/session.spec.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f5ddc2919764eb30569fab6a7546d42cd3b1d03cc3934f636e0d9f4339acb9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: in onError still tells the host the turn finished: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec54bc04f7703e4981d76d9784099ddf85c19e40c328fc03351ed7810a3382d4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: in onEvent still ends the turn by its terminal frame: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8468b6df3de74ead5013c9555f7ec17ac77cde94a92ee91bcd0f5f955e6d07d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stays out of the host reducer when it expired: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315816ef166bfafc964801599cd4a6e5842ee6106b862b705a2696f777baa0e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stays out of the host reducer when this chat already resumed it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"d979df94beadc64d7f18679e5e72f0f2d056d149846b0f9175f39a7d19a6bacb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: notifies subscribers of each change: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad5d90380d2e5afc372edc8d4195a9cb25b7d18a537891818112e48639b02b9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not start a turn stopped while its optimistic messages were written: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b7fd7565b420e793b7d1797c2f9b1ddbcf34e05ef14b3fd345886c6b395303"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not prepare a turn stopped as soon as it was submitted: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea997eb52810a7790c157726e709cacb0bd04ba693088c960f022a60cf006d5f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finishes a turn stopped during its optimistic write with its own response: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa0a4ccce1675c75ddbfe79bff179aed1a765a697676995df46230555b0de66"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: asks the host to reload a confirmed stop whose abort frame the dropped stream lost: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"626716a3ba913226f3c5de3ec050bafd226f4880d9880ee70d05ce827fc683df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a failed stop of a start that arrived after it: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bbee921f90a4f58344115e1fb7151723cd930abd0d83907aad2acd64bc2c0d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resumes a pause of a replacing generation with the timestamp the start reported: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d6fb851a4c792443233faa560af5cd382a0cfb6d7b8a47c1047019bdccfca0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles a replacement that finds nothing by the answer of a stop still in flight: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1182}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cff1be0e3c8b1336ff2bea2a28c2ab90851a5f07461257323f0f8e464745cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not carry a finished generation timestamp into a fresh reattachment: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1236}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3a3cadd54e544d117be04d3ce065412195252bdfd1e511765fa6ffb06edd31"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lets a completion callback start the next turn: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"899814d732d706be42f4f6735f9ae623c21b722753357c4e3cf4eb289bdb775a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finishes on %s with the response the turn produced, not the tail of another branch: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9bfe1e1bc00c247bb99e1edd308d600efab734e3aef63eb8aa4c54f625e81f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops a late Assistants start by its abort key: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"443b79653c5f7ccebc04c08a1bbd1f273170252f3b3847b46a0825069b8ab757"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops an Assistants run by the ids its sync frame assigned: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"58393fd68248f7a7923c4b6c01d2fe1b9b8c51918aaa52fc18c782e974c91d3c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles a final frame that asks for reconciliation instead of completing it: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"705398ce7fcde226486630ec33585956e26d435ad2797b344e581c0b255878f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a reattachment the stop found already finished as settled: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"acad00fcb3c15d9a18a2e40faa6f9f3bdbb9aff5354fcfe721c801fc1dea70a4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a start that never got a response (%s) as a disconnect: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1938}}}],"partialFingerprints":{"codehealthFindingId/v1":"78abbe38352d60ee1ef0e485a0a59b5a329aff07ad64a2f41a33ebc04860ed0d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves a replacing generation running when the start it replaced was stopped: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1955}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c2d227e1eb9261f1fbfcf9d7acd3d9e6e32db5db45c934dbb000fca7477091"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a start the server settled before attaching for the host to reconcile: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"016149aa4e3667e8eb850508af8298a35f981c6f5da1c8c1130eedc30a6e4143"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports no message when the named response left the list: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":2004}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ee3dcfd51a1ef611c3385af1df22332ae088f915f024b6cf45120681df9893"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: continues a response with the continue trigger: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":2043}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4342f56d7df60872828ee394fff5aba95b36fb524e81c97257de30669925dbd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the decisions of a pause a status check restores again: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":2353}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bebc797a72d40445884615ca5a650c3b6d1b06adb3de76b9427bc866d751fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops the expiry of a pause the chat no longer holds or that was disposed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":2736}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab3e38f24769e0b4623d554dfabebf19934c00ff1b5e5fff161b99eb862beb4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops an Assistants run by the ids its sync frame named, from that frame\u0027s own callback: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5afa3e7a144ae50ee491f926cee9a35c018518ac1117b6b01ee6dc732d85afa0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reattaches a dropped first turn under the conversation its sync frame assigned: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3265}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f46286e0d3c879e762b1ab67028ee22b47b060828ce5fd909acc4fbd1e0115"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: names the conversation an unframed stop of a dropped first turn settled under: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa2536a01df3128db0b24d63723b87170ba6a5b3551ada7a1de1762e64afbff3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops a dropped turn it reattached to at the endpoint the turn started on: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3501}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c15c2b3f4d65e07e67f1899d752413b5d55b4c1dab7f9c2cb80091ad3fd26e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the response of a dropped turn it reattached to, not the list tail: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3524}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0b49996bf42f18346167268dc855b1819685356d589a1ca7eb1a6ef919ba8b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the response of a reattachment to another generation as unknown, not the dropped turn: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0574de94d17bca28a0166783526e0e0928a3fd8a93f91d7eee91f6254193d87"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the response of a replacement that ended before any frame named it as unknown: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3581}}}],"partialFingerprints":{"codehealthFindingId/v1":"808ae435d073d8859427462f9314457ea367511df48b19e3c41a02483335eba7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the response unknown when a reattachment without a timestamp finds another generation: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3634}}}],"partialFingerprints":{"codehealthFindingId/v1":"6453124e71dd43546c6aeae2b0af8a69390dae555a024e3db384ae1703d84554"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sends the request options of a turn to the generation that replaced it: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3798}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f2fe71c6acc476203a1f7623b4368bc6a2d44acccdfe7e161a9b7bc98d1f84"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reattaches an answered first-turn pause under the conversation the server assigned: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3824}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef5926d316f7a7a27e799e4d87023711f76664bf03f98e9d2279095b959df14"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the assigned conversation of a continuation that dropped before its sync frame: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3848}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d0549271b772d1f411586e7e98cc06192cdfaa3a9f41aa638af8779d50f49c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not end another generation a restored pause reattachment found by its stop: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3953}}}],"partialFingerprints":{"codehealthFindingId/v1":"b64d76cb66dbc9cb991ed2b5bd58d8c185c7b9462f4223a106efde6c7ddf6889"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: addresses a stop made as a newer reattachment clears a restored pause to that one: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":3980}}}],"partialFingerprints":{"codehealthFindingId/v1":"52193cf77f1b18f2f71176631bff86a59a9df9d7e36f62aa8a885b8734c51cd3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers a first-turn pause under the conversation its sync frame assigned: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4111}}}],"partialFingerprints":{"codehealthFindingId/v1":"302080c923d8f6083bd45d80d2a7c0311c4a421508cd7f46cd968be42b0edb10"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the response of a resumed generation no frame named as unknown: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4247}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52e0e0adb37703f87008d1ac66ab0ad26e7288f175adb34f724430862b2a7a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ends a retry that replaced a dropped generation with the unsaved stop sent for it: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4303}}}],"partialFingerprints":{"codehealthFindingId/v1":"24af608e2a1a86cd2f97046f61e14411a1bbc4a358ee9362c4f1311c5c551236"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers a pause on a reattached stream by the dropped generation it continued: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4384}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad58926e3f08018da6ec901bff7540e5bcb313db0806a4ba94cd61e93ef0f627"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the stored tail when a local turn without a named response reattaches: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4408}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fcb67073f210979f55e0b5cafebf89fb12dc98e2ce8ca882130e9f919ff22f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles a named reattachment that finds its generation already finished: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4680}}}],"partialFingerprints":{"codehealthFindingId/v1":"533fdae1e079b9b72ec575719444ac7ac35100eaf51819c887f7f75644138203"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens no reattachment a listener disposed the chat from on its reconnecting notice: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4721}}}],"partialFingerprints":{"codehealthFindingId/v1":"718cc8aeec6a406742a0ffb53b9dae49fac35110c60cdf357f93a3ec2eca456a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens no replacement a listener disposed the chat from on its reconnecting notice: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4734}}}],"partialFingerprints":{"codehealthFindingId/v1":"8059b40691f6756ff9ac57a155670dca2da6ce944ab4b21136968b1496ff671e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops %s when a listener disposes the chat on the streaming status: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4809}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd6308e74b0a881789d9bc481746e670c3b578813479aa8a313cc9695dd008d7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports no response for a turn whose optimistic write failed: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4871}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d649426eb0530146d4fd78e9caa8df1f4b9101c78935aa6e397b5272293ef40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports no response for a turn whose preparation failed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4896}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e4a637fd07594a966538b37c4f266da21eef50519f6ad9623029d0d0599d71"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports an attachment failure the host reducer threw on as a disconnect: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":4970}}}],"partialFingerprints":{"codehealthFindingId/v1":"813d21c24cf15db3f1a1e8fb78045d9e6df200f90e1537c2c43d2bb6c3ccac1a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a resumed start that fails over HTTP as a disconnect: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":5001}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c246b579dfa56b198ab58f4b2c0b83e6c7fee2fd12d952274dcdfee4be182f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a stream that fails while it is read as a disconnect: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":5749}}}],"partialFingerprints":{"codehealthFindingId/v1":"64105bf27f17de5d858331948b31a2fc922bdd285a18e8963e29af05318013b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the conversation a first turn was created under on its finish: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/chat.spec.ts"},"region":{"startLine":5771}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc674fe25652ce5362becd928195a2b1424084062607516d103ffaaef3676c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: (5) a continuation runs on the selection its answer read, so a host that throws later strands nothing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/generations.spec.ts"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7806c733179d7a8b7e5b9092507060f133f7dfb27e22bbedf6a9ba81c283e2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes connection events to their handlers: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/__tests__/subscription.spec.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d234dd0deba2e2acb26f45f59b5f1fc8a95e1af5dadfcfaafc6b2266bff87d2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hands over nothing when the draft is cleared before the fork lands: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/__tests__/panel.spec.tsx"},"region":{"startLine":3017}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf881c71f64f667d3b2ad8f0aa58e723800fbe169e897d93043570df751c9eec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: continues with no draft when the reader asks for the chat without typing: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/__tests__/panel.spec.tsx"},"region":{"startLine":3043}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c44044f83f09046bfbdb0c57c8baf6d1331c59dadb13d46d76c0ea997118d8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resets invocation-scoped approval state when the selected card changes: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/__tests__/panel.spec.tsx"},"region":{"startLine":3155}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb98dbd6e561718ab8faa60851a7a21d57fb034445d1e17dd145d8ab4be383f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves the terminus within its own container across multiple mounted navs: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/__tests__/MessageNav.spec.tsx"},"region":{"startLine":2172}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d7041aeea4fe9c335014b315ac6935e125d5d3999316002d92f191a3797a26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts a queued message in a new chat and drops it from the queue: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9461714dd0527d1373676c0ce2a8ed46ef544e6b4ec659391474ee7592003444"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the message queued when the composer refuses to take it back: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf632ace184aa428212a6d6580e2e84d076463476d6fac8555c3d9b3c1b06d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the parked copy when the composer would refuse (%s): This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53d5bdb3f522f73869b3b0f82f21f214a89b1011157174e7c58b0935329bdf8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-queues a durable row the composer refuses after cancelling it (%s): This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b8d527fdc850b64a6436968b1d7d5871d5696fde93ca91a01712a58c199dc4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the parked copy when the composer refuses (%s): This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"01db10a23f68678623541268f1f003f78ada2c4dde5360de0c53ab81d2b6c6ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels the parked copy only after the composer took the words: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e93ef05e039f31cc33802c6b01a960614f807940b379bb4b86095768fb4597b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: holds the row out of the drain when the parked copy cannot be cancelled: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eed299149570846ce188b23be24a0115e0a6734499059eb0d672f489f7192c1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a local-only row in place when the composer refuses it: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec2d8ac67bd030250ec3c61633a467d2f23bc4e1e632bac524c24bd00d786cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the message queued when the composer refuses to take it for editing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/__tests__/Queue.spec.tsx"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c8d337d20bbf51c0f5a41aa5fa5a1dc642466e67f482f227dadbc8e38da3b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs the subtitle action without also opening the chip: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/__tests__/FileContainer.spec.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbf194d0227dcb9029800048a77efd265873096cc125a911aa1283a0e88b1bc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: aborts an in-flight upload before asking the host to delete it: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/__tests__/FileRowHost.spec.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7601f37263c93d84f3d81d8b248431b92ed0adef2c8de1d2f1c74c6310bd15d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs the chosen row with the trimmed text and consumes the composer: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/__tests__/DuringRunSendButton.spec.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c44e0114d4983d9bd4dc2706d8d4466cdc813b13a542c7df94c211b648b785"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns focus to the composer when the last quote is dismissed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/__tests__/Tray.spec.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2192b96cc8a31d4ad1147769b72029d95ad2e6d466e5606c408f7797f4a2b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps focus on the quotes while another one remains: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/__tests__/Tray.spec.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ee4cb5182741c6721c5a3ac3ff7de42f7f3150dea75eb5cf01aaade68b2612"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the upload abort and pasted-text actions to the staged file row: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/__tests__/Tray.spec.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c561bb308c9a8f4544762430da789f2b79141d8b8f0bb8ce3c679262ad784"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers the paused run before any send or steer routing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/__tests__/submit.spec.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"181c50f4365d63bbc19d21d82759003698e5b248f3d4dbbdd1bcb1f2444b8849"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: Socket Mode leaves rejected Stop unacknowledged for redelivery: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 3 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.spec.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"508e13b5b389efa6ffa83e921e85fde35efad2cd4462e91e59bdb31ca08ce832"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: SDK logging cannot print raw prompts, tokens or malformed payloads: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.spec.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"466e24cc90530a52e871018a39d77dd09de0897ae3fc842981b9ec6dceeaa4b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: builds the shared-server OAuth hooks for the target account: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/user/resolver.spec.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e493a282d8bf170222d636239ff9823f3b23c4015c9c3ff0a50e9ecd05675"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not classify MCP tools with _action in name as action tools: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.spec.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf88fecb576d36a226305204139e477e549bb8d4e477c5c7d5e7956f980da9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not call getActionToolDefinitions when no action tools present: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.spec.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f48efb54d5922bb58d4a6a3282268918c898fac42885f576400444a1d8e375"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: enables ioredis instrumentation when explicitly configured: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/sdk.spec.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce64116f2d437c2f8ac79b2a5ea50390f3d4f479bf5294c8e1ea5ba58bfb6ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: delivers tagged events and preserves legacy in-memory callback arity: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/__tests__/RedisEventTransport.spec.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"29aa50deefa9d6121c0a5eb76dfc07f4ec7af9924c569ee76489ad4661e53f63"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: round-trips tagged events and preserves legacy Redis callback arity: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/__tests__/RedisEventTransport.spec.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"8695d5e7cfe5b3a65423709a123f13118a620a7e33501ba6d77316d78a33f37d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores sequenced events while only internal abort listeners are attached: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/__tests__/RedisEventTransport.spec.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4865961f1db2afb17b4a53b8a67ad7281f7030ab9c2f327aabaf93538791f8d9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: acknowledges evidence TTLs without removing a successor retry member: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/__tests__/RedisJobStore.spec.ts"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"610379bc936deb599b2eacb5692141dd46d2a9ac4d43c767d45141e2fb07ab24"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: confirms initial retention in Cluster membership before returning a created generation: This test sets up 4 test doubles (for example \u0060jest\n    .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/__tests__/RedisJobStore.spec.ts"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"751cb8d65df4a6001bf5501d3871c4d2a1795fcca60e898071a25b57672da847"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates user when manual is true: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/__tests__/s3.integration.spec.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"7144f4573532e03b90c2def6b226d3a88c9e4e5c2fc3928ca2872142881d85f2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not update user when agentId is provided: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/__tests__/s3.integration.spec.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"853d18bff179079bace6ae53a214e936aea26b01f2dc0def43c83476f4601b59"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reconciles an old intent on an active Skill while preserving a live file row: row=%s: This test sets up 30 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.spec.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0ec024621d8c7430f60d82b32433ad613cd1512679f97316ebaf8dee938b3d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fall back to the manager for a missing author (%s): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.spec.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"450a2212d6d50fbe0d1336238734a923360182ca5e09bab8f56ce51b65f5415d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries dependent cleanup after owner permission setup fails: This test sets up 3 test doubles (for example \u0060jest\n      .fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.spec.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e0a0c7c32a6ad80114dad20f64aa4a2fdeb487f6adb84c77b0381b539d1792"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for blob cleanup before conditionally deleting the file record: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.spec.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"69aa76a6ad6649b76e8e9c6a24b104d6e4a1974ed0124f0de419d29e6612a333"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the file record retryable when blob cleanup fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.spec.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f03e34e8c6f89f71a1fa9b3467d4bdd8a4698d27dbc870843dd841e5392e58"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a conflict when a concurrent writer replaces the path: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.spec.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"b10e2dd2493770445514691f29add7fe3fefe53a839023a0ecca70592199057c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a conflict when whole-Skill deletion starts before the file row is removed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.spec.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"602cfcd27131dccda4719397d6977a586cdef867b97bc1d3151fdc342e37733d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete persisted blobs twice when durable skill deletion owns storage cleanup: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/__tests__/import.test.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"57224db587d08ade8de51cda2f6ff3230033ba45ea09b12079efb55619e75ddb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drives held-job acknowledgements even when no Mongo run is active or unbookkept: This test sets up 10 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.spec.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fcfcac2a79bdd6712386a6f94dbc316be355b399656ca54445ed45cab674f8a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replays a half-bookkept MCP run without applying ordinary failure policy: This test sets up 13 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.spec.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d3239669d4b0d509f82de6cbf822210cdb0998e67f25ff072d051628551d04"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-drives the full deletion of the caller\u2019s soft-deleted schedules on list: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.spec.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"60bb71cf4f73a2e594c3f42704d498233c4f5a2f66ffe8fa43a0f550ecd35495"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lazily resolves an upstream token provider for an OBO preflight: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.spec.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fcfb178892b8993a244f7fae6677e0ba007d86630982fea08a11e33a00dad65"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles a pause hand-off after the exact provider drain is confirmed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.spec.ts"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"b015c9f680e4f490bdac2ed9aa66a10e25eed69a55e21a3b5ab29b3a7454d612"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not prune the checkpoint when a replacement owns the conversation: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.spec.ts"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf438ac843fc2a9be981398b75b446f587dc386b311690bdc52b2231f2489940"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prunes the checkpoint of a paused run it does own: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.spec.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d717ce57c5a820fc8c1230dc6850aecad7ae81576e099f644c98f187b7d7a90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not erase on a pause, which is not a settlement: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.spec.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52f71a2049426d1dfbed88fe6984934821b69e6c45221fbd831d05707091c02"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not wait on a non-stop abort source: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.spec.ts"},"region":{"startLine":1314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5147ac7a2fac5013cbab3ab9a96987bc155ecc9c5a36e372ec4838b08102c7e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not wait on a STALE stop stamp (route presumed dead): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.spec.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b681d8cbc1a48cf90b1affb5d92d904f9dc8f21bb7b581f2bc11858264b58e08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses %p payloads with 415 before contacting the collector: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.spec.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9059ce260de55692f0eefafc2a0b4d41ae639e585df01737539337f2f74d2eb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards OTLP requests without forwarding app authorization: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.spec.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac46472fb02f2ee82b40dc6abe8ba3ea8559c3ecc6890b3b7d1a385ff8d9b7f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 502 when the collector request fails: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.spec.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9246e797be386d0cc98d760b3a17be93e8770f95452bab8a083b60b9362ca78b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records collector error status classes: This test sets up 3 test doubles (for example \u0060jest\n      .spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.spec.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4558e0b07203a648f662fb7f5abe593434e0679fcb273f1e669e86fd22b3c030"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers a status or disconnect failure with a stable code: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/connect.spec.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd7d49f87169ac48032373dcf73115de7647be0f006f6e12c4f6f0b38fd7693"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns the pull request for the owner-scoped branch: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0664dcd35ce3c6e01bd74a529dbb03c739529ad02d2dd8fd0adb05834999a78"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: takes the provider from the operator config, never from a database override: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4969b65f5b578ffb554f42a54802ec5e06c496c7750273d50d2ee03e9345bae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates %s only when the provider refuses it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"eab8ff387b6f170403329630ed6c23d8daae5d621c5cfb354eb6bbad1d771ca6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to the server\u0027s token, still held to its list, for a user who has not connected: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bc38dac412bab647e8e18f1a05dd6fa233951e1b5548e7476c3cf4afcae634"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers no pull request, not a configuration error, when nothing can look up: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0ffff9a80dae06ade001554362eb4359b976804f4e89125361d95df63d7701"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers no pull request for %s without reading the user\u0027s token: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fb410f7d0ddf40fdf6c3956a189056d5fffee32ccb394c3ee03064d8cb7a60"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers unavailable, not the server\u0027s token or no pull request, when the user\u0027s cannot be read: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"376777c3ef432800d6e16b49c899cc40fcf7b7613824d49ade1ed64304065fcd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates the user\u0027s own token when a batch lookup is refused with it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00c7889327f8f66b1246e2384320eed14b868f35c45d44761afa82e45ac0b48"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers the batch\u0027s lanes unavailable when the user\u0027s own token cannot be read: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b9a072b0ce0f33bdb4dc848ae11de2ffc99978ff0d23bf7201cbd6ccd8cbe9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: takes the host from the operator config for the batch too: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ddebd11268145ab9f167956226eaef95517e271b26c13507aa0f190c6df70e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers each conversation in the order asked, from one owner-scoped read: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"928adfd2702f7d4383a68190cb4f5c9a32df252cb96ecc8e62711a6da465740e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects %s before reading anything: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"394c2ea7089702f2b23e226b03b5af55ae1ac8d8e454e6f3385bfa1fc72dcc54"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ends a request whose lane read never answers at the configured deadline, not the maximum: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"41979073c73d0c578a0057b70a10c8394a6505893b97208aa9ff351426a5b019"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ends a request whose config read never answers at the default deadline: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":1122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde49531590bcd34b07c780930f955bbfb58bbe91ee71db62bfa78ecd2723d6b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: holds the lane read to a configured deadline shorter than the default: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ab3a25c7f0c9814d0c08ec39e72d2212795c1b08778cdd0d196663979648eb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts no lookup when the reads alone used up the deadline: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eed502f3327c440268c7095f6c6c9ae77e9a935f337c95f740735d3d433cdeb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fail unhandled when the lane read rejects after the request has ended: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.spec.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5ddea5c54c761e3a49b71d3b72824068dd4e3ba43c34b4543371ee569cbf4d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: asks the named provider and no other: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/sources.spec.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f839ac80cdedbb0dc7d7e83c7e2eb13b05444e2fe91240f42ca25396b70c72e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: coordinates the actual SDK parallel graph, rejected sibling: %s: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/admission.spec.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41b9efff3fd27778e9af5db3abf46924f7564ec0802c2ca1f5b4f2cbfadf547"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns original text only from the authenticated private view, with no-store headers: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.spec.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"718e741854a77ec37cbe3f16dbf67e123c3f7210b44956470f25576714ae5a1e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns no original when a stored row has changed canonical text or the key is unavailable: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.spec.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29e4723bd446fd84e5eb8ae96940bd3b6c07faf925cfdb2c75cefe7c6871ebc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the configured timeout to listPrompts: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/langfuse.spec.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b359acb913b5a7ea42a82f45f5f446a00d299c531302672773c29fe748003b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should create middleware that allows access when user has permissions: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"593e10cd7cbe35f9aab575ecc2791c625f1d6398d977bcd8b76113ab19500ae2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should create middleware that denies access when user lacks permissions: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e054b5bae376d7f1d0ed0873dfab369b0de39100f1d04d4fa39600d3019e7eca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle bodyProps in middleware: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b28767c5a3dcd2c887744551286f3e08204900ab3051f08d0072891717d5172"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use skipCheck function when provided: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"c155fecf4be6a2a6eb590ce8c67e49a7fe37a8168096cde357a6aad91c6c999b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle errors and return 500 status: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e12ed5491579ca555ee90fb20652092c38231ad19a159229eaa2d4602f4d180"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle non-Error objects in catch block: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dcf56221013720b1154be1d752e01e9df3753715e3809818af54e8ac3e4100"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle memory access patterns: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b571e66258c89433238d5ef958f19ffd1c6254c94dcebeb248ce8cd31b78cb1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle agent access patterns with skipCheck: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ec75eae16647e589cded59dbc0d9225526e6db5d09f0b8de4aec011ed67882"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle prompt access patterns: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db2e2c87e94ad5f8eff795398c67f1eddaf1918ab16108b52312095b0fcb45d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle bookmark access patterns: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.spec.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5abbf6da148c4d198b7a983588601af2034ac920efe98d62e3b739f88c25db8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return 401 with AUTHENTICATION_REQUIRED error: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.spec.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"906bc740d8672486410dd574243c4e367f2231a0d77e1571ce404283e9a70e81"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return 401 when user is undefined: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.spec.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0731f7842d1a36c2f085f78eb97675164213d48d3f1298e92582c0b904331e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return 403 when user has no role property: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b371363b90a767d479ae881f48ecc912f8de58f8a79a014562fa1bf5c08ac952"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return 403 when user has USER role: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"61acbec35011b321c255596e394f8d4af48310b4f3a9d5be1e00ea0b75fd8332"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return 403 when user has empty string role: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.spec.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2977ca0ac0d0808e2851f63d974b428e348439b7221c01fecca9c25f82d9bd6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call next() and not send response: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.spec.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a304c4aed46ff0cf3d612a27d8e7c9dffde38414cd16992ad5bf910199f11f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves user-scoped config for a lean user without \u0060id\u0060: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/balance.spec.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"711108cab2cd2dff60616afbfb01ca039a7e7ea10533f1ccdbd790adb8f89567"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip if user is not present in request: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/balance.spec.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a31844f476a920726920f7cbc457deef2e2f1129a613624c0d04bead0f5801"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass user identity when resolving balance config: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/balance.spec.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bc1d849511a40d3ef1ce00b88b5e0e9829d22ab19828da51a914dd315a5435e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle database errors gracefully: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/balance.spec.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"2842ce9728e5d78c35a84ba2b26ae994346647dc8c73575c9136f46acc942261"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle getAppConfig errors: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/balance.spec.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6adc0e5e53c42a831a3ac2b62366e510f6487d4235df43ad6f63ace00d31e2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls next() for granted capability inside request context: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.integration.spec.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f82e6536caa2615a9488c9796da407f5e2355761b9dd2b84e47ac3e973ff16"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 for denied capability inside request context: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.integration.spec.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d41bd41fd4d1edea3811e29f4c370eae45366c7b96652336aa3a2bc017c2291"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes tenantId when present on user: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"01319bc4b4261b73cc83ed9cafd8c436acf8e966a7e4570c2cacbc66bb5d98f0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls next() when user has the capability: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5ddc319ae1d600851d86ee03a328c187d9b5d6848d70449061bf04eff106b1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: omits tenant scope for platform-only capability checks: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41109c38cc300fcb5dbd8fd89b28d3fc82ea749c12346cac79fb6b6ea7eddd4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a tenant-only grant for a platform-only capability check: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7d7c0a930ceead9fc163e8fb1e90bc8990f470d03c116249cffe6da37bc268"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses tenant principal resolution across tenant and platform checks: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2533923331e9f0cd21e4f5a3247a7e3c55e3313d67141326038165ec44790fb4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 when user lacks the capability: This test sets up 6 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"235ed18a56fdf627b24eca64da7ee12463ea9b46db53a39972e97ca1be023f15"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 401 when no user is present: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"34770aea7fa1e75fb4191cb78675b74a2526438ba4b140da89c73faf93832e90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.spec.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a93764ff616039ed17b20f90dc6ce1110a7b348b4d060ada8971700a9e8911"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should log blocked login attempts with the request IP: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/email.spec.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"343eda73b04fad7da90341f4cf8c85b5d150fe81c168676f6c9891422124a651"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should log override logins with the request IP: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/email.spec.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"422852934d05b40628160793723149fd7f4b669c438a6db70f9380b53624eb09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should ignore the override when email login is enabled: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/email.spec.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8ce67f71f1b32b2239f62fa1bd9623b9c89ef1f4cedb4c20f0bb0a4a5dfc5f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle ValidationError with single error: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc61991c06784909e309b1e7c0c5124075741d60cdf3079dee20c82f2ecde90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle ValidationError with multiple errors: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c6b9d0f582fa84f61bd6406a6ea2143b55ad3ee3d6609353ae4e989c154c5b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle duplicate key error (code 11000): This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0fae827e994da3c77f29b2dd5b8995d98e2544617ce41751bceb1016ab2b67"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle duplicate key error with multiple fields: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6dccc430a542ca0be7489c66d82eef1f1ecaf2927a847e0ee42c7cf3476876"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle unknown errors: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ade192cce636cd39b75a5c3b4c0d302856246f17fae843bb5fcac92e2837181"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle errors with code other than 11000: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"75993eaaec47dc9fe19ad460b55e8429ee57ac7d8fe47b73ab112a5a0056cca3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle generic errors: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d31dd43c5333fa6d1f9abf6b73523eae4ebd43dbae117f938b382ccf8f50cb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: emits a structured, joinable event for tenant-isolation errors: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"026f69e533fceb49f7f178440d41d4be49b6036bec371bc7d0bf16613468f81a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the captured router mount for tenant-isolation errors: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be5e86217ead3d151ce6f8af79e5bbf8a52416b376b02fbb655c34cb657c245"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle errors when logger.error throws: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/error.spec.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a973b4af0fcfa02b1304b8b2dd3f0528dba35bb059536657772935ef75439e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle JSON SyntaxError with 400 status: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/json.spec.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba09897a1189ceae29df1e7e08676be6df978b8c5dcb008274768f3d8ab40009"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass through non-SyntaxError errors: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/json.spec.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb751965065730bfeabd7693ed4ed6a6247bff0f91659afb2716051c7fdef309"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: accepts a configured provider-specific token subject: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.spec.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b364288f64db82a81cb281a9d6a035f0e7e69b814a07a31eef3a85ed1a478b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes Cognito access-token requirements to the verifier: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.spec.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7147ab2f09c9ac3123b3c4058a4825dbb5b3f6166ff6dcd4a1aff80edb6cebcd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a token that violates %s before querying a User: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.spec.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"496ae75bd0e847d753dfbd7d50c8b53f6a355898a87287faf03ae72f3eabfcbd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an %s client before querying a User: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.spec.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20892a33626527ffc44af2da4ef71db572cf0ee9fd7b78e2c18a87cd10a9faa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: checks the deletion fence after resolving the bound User: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.spec.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc86f252bfdb9f424d2ee4c472490af165014f4456918f5565d6550e70a14221"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not retain a removed binding after app config reload: This test sets up 3 test doubles (for example \u0060jest\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.spec.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d523f4667091f0b3b9c45c27f351048825bd1ad5b63a6c0feec790a94ac8d41"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects the tenantless persistence sentinel before invoking unauthenticated handlers: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/preAuthTenant.spec.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb447cbc54a19cfd1438bf99cb86ad49ffa9b0db126f3fa442464c81e02d07e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips public sharing checks when public is not true: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f1364297fc0305bae27097c1e2a5167c2ccd5a3608a340608544d9ad6f99a8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks non-public skill sharing when role SKILLS.SHARE is disabled: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa6910e6421fe6075c585f970fb6f4185d25ccb23a9ae3217b9a7d8672060d9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows non-public skill sharing when role SKILLS.SHARE is enabled: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c46724671948729ee9303cc1dc7ce3ce5479fed46a9c31fe764d344561f82f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves resource management capability bypass for skills: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa071447840ae2dffa4c9f6e18d251db9131953847f02f5132ac050c77ee1359"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still requires SHARE_PUBLIC when public sharing is enabled: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ee09ba47315409cfff4bb25505b1d102c1570351048b9912bd2b00d85e0968"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requires SHARE_PUBLIC when PUBLIC is granted through updated principals: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f5e20ed1fba9a4377c59852e4fe575ae42d6aff65de363f8f3d49075dacdff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses the role permission lookup for public sharing checks: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"66180c60cff97315b6e238655eb407ffa167adacad1d4b63c09f5bb71667a978"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 401 when user is not authenticated: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4856151795a8fdcc9f70d31e213b7e681ce147ea670376b476fe1cd83600ac30"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects generic sharing for %s: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4477e090e667babdd63c499c2e105000287a9d3ebbf69f9f850ba7e040bda78a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 when role has no permissions object: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0416d3d2f127b24c95866adc38ccff08864fa08a0bbfd0d154f7e9b9bd3d787"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when role lookup fails: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.spec.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea0895ebc6111bdd94b9c488ef4157bf73db4c71b72cacf5491b27ed5752d73"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs the handler after the gate passes: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/terms.spec.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4d1635741b44004ca824cacf84d6a12a33675ceec4ac1ce600245d1d7c8cad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards a gate error without running the handler: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/terms.spec.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"b527d0d608277efed8b197b85594c932c29499122a3d0890b7d62c70c6a2bd6a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not expose the stored key when response projection fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/memory/handlers.spec.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3064eda9b0ecd60a8d54bc6994615236363597c043ea0e760d77d914e673c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes stale results and wakes pending waiters only after guarded completion: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorization.spec.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b726785d4d226970f29e410e749b4163e8a7aa7b379268326f4514e54de3c2b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases the committed tokens unchanged when the publication reports no generation: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorization.spec.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"af968409bd0c93ce02f72ace7e0ab7511699977ebc44581c288ce27524df90c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: writes a second durable intent before teardown token cleanup and fences it afterward: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorization.spec.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec47fe4e52c0e612f006ce714deb6e909451dbfe261089e648671c2fef609f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the configured cadence and registers clean shutdown: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorizationRetry.spec.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1841fe54db1eab62dd052e1f524e24fd7a62611eeaf6cffe24ccd835c71bed69"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes both connection and config generations to the guarded write: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.spec.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4477c9e42b7e0c9ddbcb41d6cff1036cba3d73ad6ab6de515b37b0e06e4c5b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fall back to an unfenced write when a guard is configured: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.spec.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126acbf0b4a5bde772b6774ec37ea8311acc36a1b09b6dcdcb143965861b972"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: inspects against the resolved (admin-panel) allowlist, not the YAML base: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/__tests__/MCPServersRegistry.test.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea614118500710b2524ff35d88fe5829997875125056abb03def3caa62cfc92a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: scopes the config-source cache key by the resolved allowlist (no cross-tenant poison): This test sets up 3 test doubles (for example \u0060jest\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/__tests__/MCPServersRegistry.test.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70a13f2fcfcf5689c02998959df4d77f1fc6d2d110b6d9c74a5026f6cea6c36"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should stagger reconnection attempts for multiple servers: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.test.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7e58a3016ae5d7b37b38d279e49e2ebaa66e6a8f8d1d4afd6b5da792eb54ab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes only token records snapshotted before flow cancellation: This test sets up 13 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.test.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"419b985ebac6d6266ea2c46673acb260f11e1a97638978b5545cc857bc5c73b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not revoke a credential generation created after the teardown snapshot: This test sets up 13 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.test.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2d548d4648c290dc9e7127329cb795c8f46c71566335c37baac460f7971bd4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fences ACL-named viewers without a token and passes the teardown mode through: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.test.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af8f35cf3866a30d4960c49e2b99ea10ddbc294d4dc5f0ecab7f31b12cab43b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells a waiter with no prompt handler when a person is asked to sign in: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.spec.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c00d7b061d5a3c4f1c2863617d895ca5111c5c7fc96c6ef7daeb7ed7e6d537d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries the shared fence and clears local suppression only after it advances: This test sets up 4 test doubles (for example \u0060jest\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e87ec2d2dba9057ab28d41c6b356e6abf2100e8f0175d99ad4b8f761c16008"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not discover custom credentials when either bracketing generation is unknown: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f1cedec002c82c04731d670b7e056522368b557d3be493d74353ebee7b46b6b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves backoff when generation reads intermittently fail: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"537f65cfd57e3a7330e2c6e5ac5212e0e4bec8a897a6af63b36daeb3a7dfa01c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains a known generation when a due retry runs during a cache outage: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faaef5f5406f49402445d596aaaa861a5e35a089b0ab7681f0c37978481f4da"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not coalesce recovery across capability profiles: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0258337eab5099a1f6da41dc3976507be5fc435129414f91c7f216e20f8a2a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps %s discovery request-bound: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"761398cc015c7bff690f075e6de27aed750d32abf2f849f857692d76d95718c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: backs off failed discovery progressively and resets after explicit reconnect: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ac0ac990c005ea0eb2ba8995eef23366a306162271e83d71be675c74243418"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies the configured recovery policy through the catalog loader: This test sets up 7 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"f821c71e948a4b15f0d882325a2e89377e755ae15c5ab00dd3ba6551f186283b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels queued catalog work when the originating request ends: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"e11219799d9d19f9f1c53a15379cdb8efbf61c360d877b989499d6c429579c59"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: recovers a catalog without loading an unused shadowed user API key: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.spec.ts"},"region":{"startLine":2199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bae8db70a1b52862238ffaceac3ed76621c7b25f46edb820cfdc1b3178f72d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: validates a persisted binding through the admitted target context: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1e9949ab8e15e3356afb741411ff133d5a8743c79b0dc91959765f8df4df98"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not mistake a fully consumed request for a lost response transport: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26e9bfdab2a2505adb273f5a58ad30adb887beecb54782aed908d38346d4cd4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops before context work when the request terminates during admission: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d32fe37328d86cf498c5a6cc267f942ad9212e50879ca155b83dd0a5b126849"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects unauthenticated requests before resolving config or auth: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"295fa71a64fd9f007a141182fe04f20a40c814943e0ebd7c493d8589f878866a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when a proxy handler is invoked without admitted request config: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"47746d5985334af73abc62425a886c0648d0ce847d54cea6323728bdd268099f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns an ordinary 400 response for a manager authorization rejection: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc1bec5fd4b6d6183ea8da08375bcba53b92c9de50d83f702d1cbbeed81acab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops before registry and manager work when strict admission config fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"fccfba4b8570cc4c1f7ec6ab18c1bae72f92674209986debd1fea9c188dda7d7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed before manager use when admitted config initialization fails: This test sets up 5 test doubles (for example \u0060jest\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"34df12692fe7fe99c3769188512ac259a96dad99b6796f14f12b3f8cc0790408"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an unavailable config-tier stub before manager lookup: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"591e6fb934f1a9f75ffa6f8e50ee480e60b89dc07f6f59cbdfd82bc4ee1805c5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the recovered YAML target to the manager instead of its failed stub: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a42972a9d7c23590056ee3566eb6bdd1ce84f57502aa9ec61738f3dc57f593"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when failed-target recovery rejects: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"771ace273c6560b05c8c3a8e29d30524897b0e48665c57b97307aff292c1d4fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads the sandbox document lazily and caches only a successful read: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"217f0d23e3bc4bd227d9c3aa8308a3a2cfa4864028f7966b3d6b22b924323704"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes an inherited frame guard when cross-origin ancestors are configured: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"829e816295d3e038b76b8e877b44c2f9dd475431eee5f989c594028c1c174296"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replaces an inherited frame guard with DENY when no ancestors are configured: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"49815602bb9435697dec4a0b5740e90e48b7d94a143ff7f94a8a267e6ccee32d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when trusted sandbox limits cannot be resolved: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"9503afa6a5a041d0ce2ac3d6cd695dda761fe040a74db88e0241bb47e3b78b2e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a sandbox document read after a request-time failure: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"40956cc051203d317d1967cf99931e7e54f6811cbd474973821c8528f922a776"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses request config and rejects requests when MCP Apps are disabled: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbfd2ddb3c04774e0c6e15570ca795208ebbe426073c561bc9750978c271c163"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects oversized live resources and tool replies without serializing them into HTTP responses: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd35d1b454ee7e969eb4ca13892ef94aec21cfdcfde4872ac0920ac08fb98a1b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shares the manager budget with an in-flight initial App resource read: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a764148a0fe23c5b92c18ad156d4db6e126931c2894810d4c0b0fdd4e48488"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 504 when upstream ignores the deadline and does not write its late reply: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.spec.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd17779c74b45cacac0b34482c893243c08261201aa7b79dcf5cf9aad2649e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reserves ordering for a server that advertises no tools capability: This test sets up 3 test doubles (for example \u0060jest\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/ConnectionsRepository.test.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"679e060cec21524dd511f2490c68cb4c0c4f5133a81552e6f0285ef96141658c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries an empty catalog it could not reserve ordering for: This test sets up 3 test doubles (for example \u0060jest\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/ConnectionsRepository.test.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a641dca06c19db8bc66e2a6ccd6849dd3b9c226806f9e90bd956f2089c4502"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should tenant-scope mcp_get_tokens flow locks: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ecb880f6a5f7ec7c8abd0612bdc1c8a0d10d9c7bf2e6dd85a8fe724e6fa465"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return null when no findToken method is provided: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"3620f538607c0a9a40e6cabc7d023d22443fe68da502c012fd76ea138933995c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should clear stale client registration when returnOnOAuth flow fails with client rejection: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fb5ec8bde1c10b688f9d8b5ce933162455fa8140384989adca827ae5e5ea5f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should re-issue the stored OAuth URL when a PENDING flow already exists (returnOnOAuth): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb28045edab3f912f40c8be5d6476a91b6617af651428d3bfd1e1b916b3f3c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should emit oauthFailed when a PENDING flow expires before replay (returnOnOAuth): This test sets up 4 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"6234d023d1c7bae867d74216c30468c914c348b130ca96df3efc9ad7d2b93f1f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should emit oauthFailed when initFlow fails to store flow state (returnOnOAuth): This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb70ec80b8f44c812e496ec46ed3df1f76b225e665eac0bff0bc795dd6673d17"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should log warnings when background createFlow monitor rejects (returnOnOAuth): This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d46c622c15ae8c00d8239e3cf6ab522040ece0727fb986dd25d4e342ad891b8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call initFlow before createFlow in blocking OAuth path (non-returnOnOAuth): This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":1988}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b97b4398e7db33fda4a589f3c920a457f932188aa08abc3c9c65a41328f99b4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should delete stale flow and create new OAuth flow when existing flow is COMPLETED: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d9105cc87dba171cdbd22d21d973ecceb06e9617cc7c8e724d861ea6bcb491"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should silently refresh tokens on oauthRequired without invoking interactive flow: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2733debd6f2161a89cf340840b0de2df1069a191c7739873ce7edbe2b4714ef"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: suppresses interactive OAuth during teardown, then falls back after release: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2251}}}],"partialFingerprints":{"codehealthFindingId/v1":"105b67e8ec305141c0e95fbc9333c6afeca8434f4e11d2bdbbc6b0c10672e6f4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should silently refresh tokens for returnOnOAuth path without redirecting: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4775fcaef450737bdcce881d21d9b3a89d124bcddf67ee3a2cf2726a9ea5dfdb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should fall back to interactive OAuth when silent refresh throws unexpectedly: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2521}}}],"partialFingerprints":{"codehealthFindingId/v1":"b802d417890a9d51d7d6f61fc3c01c1a76e2cef745c3452ff0e5c1c386640a6f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: defers instead of prompting when another replica holds the refresh: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d0f6380423cab320af087fac8a39d29156a5a535753ed15c0180e5c45cb56f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries silent recovery after contention without spending the interactive phase: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2651}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6446ce837fb9a4b5a6736120bda1db038b3aab2474d4e268afbfd6e17cc7175"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should bypass any flow cache on silent refresh and invalidate mcp_get_tokens cache (regression for stale cached token reuse): This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"efefd01da9771ab2fd5528a496c8bf9b5f52a0ac1500b06688640cceab714417"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: completes a pending token flow with the generation its silent refresh published: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2816}}}],"partialFingerprints":{"codehealthFindingId/v1":"696fa941c2b3e7d0bb0e5a59afbda8f4dc15bb966c26473f6e137e208c635ac1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should coalesce concurrent silent refresh attempts into a single redemption: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":2893}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8eb4fc381e7071d4d27e4512d9a863d8e1cb9a11b5dd6a561b8d2777e2ba49f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip silent refresh for 403 OAuth reauthorization failures: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":3459}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1b747b8ddcfa3185d99e5e334f9b7071d049ef05431779ab945caece25e62f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not process already resolved configs for request OAuth handlers: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":3526}}}],"partialFingerprints":{"codehealthFindingId/v1":"798aa8167b9b6b3d968b9ffceb61cd81519067b8e41c47fceb353b6f5f0800b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds request recovery to one silent refresh and one interactive flow: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":3558}}}],"partialFingerprints":{"codehealthFindingId/v1":"638ef210cde5f9d1498a20e395ccd6471a23f15555a10ad52e402b0ee0984575"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not reuse request-scoped OAuth callbacks after connection is cached: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":3657}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4520ab60bcb80319806a3b61f4059dc93ad3897d4b0566adeb7c8eda8302ba4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate completed mcp_oauth cache before falling through to interactive OAuth: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":3920}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2875c5c4af4b3d4010cc8a6eee50138865faffec81ae8d7f68c105d75d5ab03"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not invalidate a completed mcp_oauth flow from another tenant: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4016}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e85ed083c29470452d40b1dc6c1b87836b61cf4ee739cd1f4366674b853f27"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should tenant-scope mcp_oauth flow lookup before completed-flow reuse: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef427ff7bf34fc84d32604c2a541a4b3cfc9ed2e8aa9fca54a40e96f0e20cbcb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should scope the silent-refresh in-flight lock by tenant: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cde55694f8a9608fe450197f7a6986fa99613d2286456140e446b16732eb413"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should restore captured tenant context while silently refreshing tokens: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4272}}}],"partialFingerprints":{"codehealthFindingId/v1":"31aab61c499149f2af5b511b078ba50539d306e3b093bcb6ef4d97bff44a6983"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should NOT delete a PENDING mcp_get_tokens flow after silent refresh: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4337}}}],"partialFingerprints":{"codehealthFindingId/v1":"297621103719e4924894abf63b3e4a97cc3e3475981398641b900fdd272b9918"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should invalidate mcp_get_tokens cache after interactive OAuth stores fresh tokens: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4427}}}],"partialFingerprints":{"codehealthFindingId/v1":"674e25451666fcc2ea88aa035dd37ba713114fb08537bcae21906054dea8354b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not persist callback tokens a second time after the route stored them: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4529}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0cdec0b73f94e5dea68ae0c6b9d760e8349844c4ce73457891f3a5488163f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects callback tokens that do not identify a persisted credential generation: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4609}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1a17d3e1a2bd8c726ec5bc769e4f6f393eac93f34e59815b63535b859206a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not resurrect an ID-bearing callback after a newer generation wins: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4683}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f47ffb30c5120400225b8af75c098f68072573715af7c7a60052db2e28e4811"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects already-persisted callback tokens when the server binding changed: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4764}}}],"partialFingerprints":{"codehealthFindingId/v1":"1268f48d5bb928400e53cc5e1b6a5fbb7cc25067aaf3c39f05af5d60028a3466"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should complete PENDING token waiters with the persisted interactive credential generation: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":4849}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b33b60147b7a77a5e4e74d6c059fb7adab12ded14517347d4c72c8bb4c8cc3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards upstreamTokenProvider into resolveOboToken at connection establishment: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":6599}}}],"partialFingerprints":{"codehealthFindingId/v1":"32123dbeb749d6f13e7c9ee0f86706e2d57add0f5bc2d2bb48419752d0382618"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves a provider lazily after the server is confirmed to use OBO: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPConnectionFactory.test.ts"},"region":{"startLine":6641}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e4de2feef547f398da09b71444a08e4c82710e13a2e003c3ce706c3be70e40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: opens only operator app connections and refreshes their current catalogs: This test sets up 3 test doubles (for example \u0060jest\n        .spyOn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96169bc4a6a37bfa27c1bc3696a9fcfe602125f49ae110c7abf0cac661c3aad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates activity when a cached connection is replaced during an in-flight call: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de46e9bce95f3130eb89524d9cd3d5cbabf7ecc944aef146ad97cdb2de4637a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a real failure racing the Stop at error level: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ad45227d814e04c47ba32ed3c2297294cb1c293af63d9734afa2ab596bb387"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call preProcessGraphTokens with graphTokenResolver when provided: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cb959e12e122d46aa96dc105b525345fc884b88e8a269f2f5ef35e73f796f1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should resolve graph token placeholders in headers before tool call: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d827904c8454dec2713109da7bc30660c57ad41671911a19692a53aeeeb3df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should leave graph token placeholders sandboxed for user-sourced configs: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"318a462cb4f232f3d45735a21cdd8ceaafe2664d670aed1aeb0ea982f54b4676"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves Graph preprocessing for an unrelated server in a scheduled request: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"36add8eb0dc280c263244add66ee0134a51fb2110b3655ed9eb2b9f825d1f08a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass options unchanged when no graphTokenResolver is provided: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1781}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32894254f9c5a5d6dea7520d3ed9eb9fbc701550cf7dcef96c5dadd46a7cfdf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should resolve graph tokens in env variables: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41fd383778c504554c2a57d68161a284c5d18734e66717fee3f9a3bc277022a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should resolve graph tokens in URL: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16519a0e108299f191961a84effedcd00a1e39bdd3f8b1e0cf0669f3da3dead"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass scopes from environment variable to preProcessGraphTokens: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":1958}}}],"partialFingerprints":{"codehealthFindingId/v1":"07626f74f3a0b5cc4f7c51f1098fa2f024ed9e346f2b295717713318475f1fef"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the OAuth credential mutation callback to the connection factory: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f899bf1786650ad367fbe8a0d14838a879555212ef7ea4de735b57c06acdbe78"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should bypass shared app connections for OBO servers and use a user-scoped connection: This test sets up 14 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":3728}}}],"partialFingerprints":{"codehealthFindingId/v1":"155cbfe9ad63f5fa71b300ee4917f62ddaa330b8042b09a40e15787df9565322"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should replace Authorization with the refreshed OBO token on each tool call: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":3804}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfe93cbae2146fb92547ff793ffd7db552f7ffd479890847e043b85c0625b87"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lazily resolves the upstream provider for an OBO tool call: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":3885}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc50e82fabd8f23ee4b6477378e4d37b8dfb36942b3bdb8d59c72645d0670a3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not resolve an OBO provider for a non-OBO tool call: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":3929}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d5da283af62fcb70a0f119c7513b6659080bdb90ef37af90e1dd17719a2758"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the OBO-cleaned config into runtime header processing: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":3956}}}],"partialFingerprints":{"codehealthFindingId/v1":"c73628301d65b7017e838a328981d482dcaac031c08def647407c13f957c2728"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-exchanges past the token cache when the server rejects the bearer mid-call: This test sets up 11 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":4175}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ce7a0ca9b9d759738c51bd35f561655f6304943dc1e66b52a5689c37f0a27c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses a recovered checkout bearer for the first tool request without another session read: This test sets up 13 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":4411}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c4555b9b6611fd225c4e866a9e5fd84285fee23183257c85ad2da6d9ed4656e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the normal checkout path for an existing standard OAuth connection: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":5251}}}],"partialFingerprints":{"codehealthFindingId/v1":"66529a56a007298a39dc60b8b858b5c6ebffc23eae88c52556880591b2447b17"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards an opaque auxiliary URI to the same authenticated server without local template inference: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":5395}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc087c7333625a00321b137dd0ecd1a3ccf337af1173c3a495a2aa0cf127ac7c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: binds the authenticated user and role, forwards cancellation, and awaits activity renewal: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":5424}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0d1f243558cea998d1e277acbd40188554310932e46d7814f1be3c6a107ac3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the existing direct OpenID recovery coordinator and retries once after releasing: This test sets up 6 test doubles (for example \u0060jest\n        .fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":5494}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881f8c08f5027beffaba4475bf1ed33eab041c123a34c7f9defcc697adc83d7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not apply App limits to standard-profile discovery: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d272cad707acc1a86800f60a698e75c8007ed1d130cfbac3d0dd477f9b41c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should forward runtime context to discoverTools in the non-OAuth path: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6354}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5f6929e778abc7f7e2cd1ff8e013a89fb5e866c5ef18bb960b1a16bb28baf1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass useOAuth for servers with configured oauth and no requiresOAuth value: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6699}}}],"partialFingerprints":{"codehealthFindingId/v1":"051a26a85e847b5da9cfaed084b62057c1276b7c7983e4e49e7bafff6446569f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not pass useOAuth for servers with requiresOAuth: false: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6728}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef99eda00fce0e8280ebf86a228280fe6a5119645e659ef94232fd893d6a660"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes tool-list snapshots from user connections to the user-scoped publisher: This test sets up 5 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6757}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a53cf68627d859627ecbf611d67ce4834aab2fbdda04c73e568f301f0132f0b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes a newly recreated durable user connection after subscribing: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6802}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d04529d237ea5fa3226b6c486fdeaac493aa6aaf8e4c0d5c86804750bbf0b1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tears down idle users with a lifecycle teardown: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":7238}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ababc570bd3b2e2ece3c63e96892b0b3b53efb0d59613fe96b5613361739e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels pending tool publications before it starts disposing: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":7422}}}],"partialFingerprints":{"codehealthFindingId/v1":"656ecb9e455f25055c17f66bcb2232176863551a45635b448bd45a2fc2e35556"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: renews the publication lease when an active durable connection is reused: This test sets up 6 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":7863}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e2946360227911850c141d3ec630e3095b11a0c3f05ac52b8877ba9155cc4a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leases a new connection under the generation its own credential refresh published: This test sets up 3 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":7950}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe171ebe886d3a1ea9a2dea2fe186ea7fda8a9f07211608bd8f3a3abc4a1959"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leases a new connection under the carried generation while it is the one currently stored: This test sets up 3 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8014}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6c0027ef286612450661de4d4005601911b10eb86a96cf561eda38d043a2e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps its captured generation when the carried one is no longer stored: This test sets up 3 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8041}}}],"partialFingerprints":{"codehealthFindingId/v1":"decf93c203c0838d15e995ed95a250d4ace16743b9ab433188e2bc7aeee67fb4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-captures the generation before re-reading credentials a change invalidated: This test sets up 3 test doubles (for example \u0060jest\n        .spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8093}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9785e9c13d04fa2dfd466d8a0805130f3a6c465a2ce66b7770fa7d09e6e5462"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should validate resolved runtime URLs without passing resolved configs to the factory: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8301}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4a61c764bba1b760321a399bd3720588c8de1172e6cbdf1324994c05aded97"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should keep graph placeholders unresolved for user-sourced connection configs: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8351}}}],"partialFingerprints":{"codehealthFindingId/v1":"52950f3b6222f4400d4360f5d6cc03c3eb673c23098e51d79d05e7bf85664359"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not clear server cooldowns for ephemeral runtime connections: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8677}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05c87f40a0606132a65d518a679e9007895f90aa6272c0f6fc4879db99f5dad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should still clear server cooldowns for explicit forceNew connections: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":8712}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d354cac584a1ed79bfed4afde2927a5a049656b8f66b06477b8a11ec6e56dc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for credential persistence before recording rejection: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/MCPOAuthTokenStorage.test.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e16bac7218095e2be0286255bd2ff966c80e22286a9314d206d68dfabde0182"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns access when at least one agent is accessible: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dc365cd1c3d8635cd7b2ab32350ad055215b0c1e846d902320a29283e183bb6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 from the access endpoint when no agent is accessible: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"892a06a8e907da8304441377e016a5e3b31a3991114baad1dbc19c546ede57a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 from the access endpoint when Insights is disabled: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c672e5ff111df97118d04ec8e06a3d9f647eb3065ed535987f69423559add5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 without resolving access when Insights is disabled: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da317b699921753358e054adb1918ddf3d20b3305d33329aa694ce8c7d25722"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads all accessible agents for the authenticated tenant: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"70788dab269fe8a38a986ee4dabd70fcfb61f8b6284988c0167ce2ad30b0e112"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sorts and deduplicates an authorized agent subset: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5fa67a64cee9ef15ecc18332eb8a7f4283dd93822083d9a653fe66fb04c6fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 before loading data for an unauthorized agent: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d33c64fa5af8594fce84098e53fd7cb483da8037a53b625d9bdbca0495bfea4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes custom dates and a valid timezone to the data layer: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"112572989eeb6b941faaa59c52cd8166981e93aa5d29107f1559f11757316bea"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses pagination defaults and discards an invalid timezone: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"20dd82efda5468df17af9c68f1379552a1f55d4d24043ff8747c1be44912f572"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: normalizes and bounds search input: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38a39c36443dfa8bc65bf16018c487bef9cf1796a822a2cfc59c7d79126ded8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not run searches shorter than the minimum length: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.spec.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e26c292e4aa0236d22e5506813ccd996d48e0edd3d21d2ac35a45763e8341c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sends the payload over the SSE stream when a stream is active: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sse.spec.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"797c6af3cc6710bb1a6bf3db2f448a237cb67f7b66776bca23aa2d2c797fcc0c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes an authorized provider-only assistant file from %s without a local row: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.spec.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"e840b71ac920fbc3a2fca22228c28fa9a3136d7ec7d9d74e404f67b4e2d4fd71"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries primary deletion without probing an empty reconciled code map: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.spec.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ad65a588097c1dcc54d7cdaedddcfa549e90325b8c05b3063fc33f5ae27fad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: only deletes primary storage for a file without secondary references: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.spec.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a0569af2561bfa2ea50aa125b8955d8c1705be2b4390709b9b5fbd0f01c9e5f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports parking once the file reaches the attempt cap: This test sets up 5 test doubles (for example \u0060jest\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.spec.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b22f43ee574b007f4d29357b0c5f86df734e5257d50ad400cdba54486c4e17"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the cap once, on the attempt that reaches it: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.spec.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23037713747a33e8ffba5ac734b203800452900582810824d302874455590a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not overlap a slow sweep with the next interval: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.spec.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7572b9b681bb86af5a5f524719c0fae5b6013cf28816a1c6ebd59b2be77dc8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed on leadership errors and retries on the next interval: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.spec.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"8098954a734c546b80e7992c68b2ef0f05566ad45695ca829a5fadbc583376ac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs the sweep only on the elected leader and permits follower takeover: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.spec.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"350fed63b59d279866b7fd925704e0a1864c1b90199eabd9633f7e7f695dd93e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prefers a durable storage key when opening the backing object: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.spec.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7c9cf8cb1b1f1bf5b94ef4cf1857495f8b367e35dd61806f29f52153a8ec98"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prefers bearer auth when a legacy key is also configured: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.spec.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64c0cc318858412b8f1f923a6eddc2fc012e50dd99e5581dbca50bc444b1457"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the legacy key when managed bearer auth is unavailable: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.spec.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a77786c81e4541ce4c2121362aa3c69e3b72644aa7125b74ab3bc08452ac7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps OpenAI-compatible and Anthropic discovery separate for a shared URL and key: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/models.spec.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"763109f3b4f7f88f0ebea56e6a176dfb65a205332228be90e30096a1ee6ab71b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does NOT forward configured headers when baseURL is user-provided: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.spec.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"26766ec7e23fc069579895d0676f5f75402d6ae51cd1dda18e2ae3c507b9af77"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the user API key when baseURL is user-provided: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.spec.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76ed940c9bea308f19b987c59b2eced839d14785bd43926084526641877d50"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: DOES forward configured headers when baseURL is admin-trusted (only apiKey is user-provided): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"482955db12f485c05f3f8c1e488161e330df3e22643841b6681cdae5d02f56e0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still coalesces two endpoints that share baseURL\u002BapiKey AND identical headers: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.spec.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3520738bdf78a3673f6e5b6e4b337a29d49f6ca1f817179355d7ccb083690843"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps dependencies a caller supplies: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/providers.reasoning.spec.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2cc414013c53d50371d7dfeca45e0e0d7c4aaf022bcb9918854d16901c23774"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: credential time legitimately reduces synchronous queue allowance below the configured ceiling: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/command.spec.ts"},"region":{"startLine":1668}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22b8cd01768aa9371435644e5c80346a7f1c2611522d704b46d081af64a02a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hands the reported branch and head to the recorder: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b305dbb025e0bb6e1c99afec028b5812db4a3ef0e7e1c0936f62395c190257c3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hands over stdout and stderr, so a link printed to either is seen: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"009ad0b3089f16798b0a787f2d6c05c36e4a4a532484a98cdb80034ee2759d21"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: hands over a detached lane as nulls, not as unknown: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"347203b2ed844a5bf782d89eb7b0c274930220c4e4615a990671b9a5b8890d2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not call the recorder when the worker sent no laneGit: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53a1c42ae5104fd5e5a565c7e962688ee1f19672a82294a3788fe2101f2b94f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: orders reservations by the visible conversation two subagent threads share: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0f38615a4908e6fb66f3de4ec29e358d3ca0cdcbb912a9bbf02788c3ce5679"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not make threads of different visible conversations wait for each other: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"454a4780b76ef94d69aa810c3dcc2a6f43afa47536cc74e49b39f1c6e7419595"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: carries the epoch read at creation into every write, even if the chat moves later: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.spec.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0cb5089ac1705f74b9a1a51052d92b36722a1251d2954749aa8d0f386ceaf3e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records one shared span/outcome for durable %s: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/requests.spec.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d18e23c0353f8213a239d9243eea0a882b1d49c7ad9d54be89d8d1e4bb9590"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: handles multiple trailing slashes in domain: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/__tests__/cloudfront-cookies.test.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"10b8d21aec41fbd8cd6349daad9084801f0e0c2423119c712d74fc0c0963a237"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a valid token whose signed client ID has no configured binding: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/oidc.cognito.spec.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67808f2d19e61a8de71cd5f7479e7cdc04552c50630cb0ade1c52e884728b93"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses a setup token minted before the password reset: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"827c8d97a7b4216346a5648dcce9c7e90f733abd2a97b2652c5dc9b5508a67a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: admits a setup token minted after the password reset: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"53dedd1e7288da91794be23028da3bc28200b152c7bbb6b1a7c38415a088def4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses a setup token minted earlier in the second the password reset landed: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a8e33f515e79c24716cc2af27cc22cc52346e4fbda096c6fd4bc2fb48e411b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: admits a setup token minted later in the second the password reset landed: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88694d0310c234166c19160768c6b609ee8770b4f82725a87e21541fb73bc22"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses a setup token minted before enrollment promoted the account: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5b294176e15407540c3cdf64537578270ffe0767024663abdd5d966ddd6c6e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses an undatable setup token once a cutoff is set: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e5b847927a237e421a553a07037f581875114ecc9cbeb887abb0de6ab2ab2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses when the named account no longer exists: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35d34b9d602d48b5de7f87722501ed619d8e1594eb0bd7906cff2f1774bd0d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses when no setup user was stamped on the request: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"376389217ac7dfd243c7240139580a79adf15b01c384cd877ea1cf4118be8720"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when the lookup throws: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.spec.ts"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6ce01e79de474ca0be021ec684d2afe617fcab2301767f9d7022119edcadc0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits a credential that survives a failed rollback: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.spec.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83b764324af1ea19d575490c7a2ce102ad99105c35c62b2fcbde2489b779e98"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries during startup when more attempts are configured: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/retry.spec.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"12094c3f213f9b29dc99d5989515814b3864ab11cbee2caed3ab91d0fd179467"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: continues background retries when strategy registration throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/retry.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee961025692fee9e79a70008ed8efe2681b8bb1b9cd5230cbe38a9fd22f0a43"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never treats provider metadata as authority to delete another file: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/avatar.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bf9fda10f539e48a742897e40fe6c2a4e2d3614ed2946fd721fe626274a90d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete an ambiguous or mismatched stored file: %p: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/avatar.spec.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"601da7c79d888123d11097646aff436a3a07fbd6842c07685220e194d71f08c1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete an unchanged avatar path: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/avatar.spec.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e0d6ee329437586cce7d5e6d0f7b5bbc26398f540e1675c681045923790167"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: imports and reconciles through plain snapshot, staging, and lifecycle interfaces: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.spec.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1c9988980a6b7168b9ce8accff0ac069a862c65cb2464ae61378de723025885"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: migrates without connecting Mongo and releases its pool: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.spec.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7d9f53241f69b4cf9b65fb2eb9efbabfe8bb9eeb880aceebaef2552444fde4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: warns about every override the switch would apply, Azure groups included, while it is off: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.spec.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4023619d05c2dbb400d8b078a7fb4b36306da8ec9217aad8c7162da1f6adb3ac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lists the overrides it applies, and the groups it leaves out, while it is on: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.spec.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"48dcd71ade8efa4d0d2e8a869eb30c6e26addd5ff76cd4024a0d08eb635b074d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a later shutdown\u0027s safety net when an earlier drain settles late: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/shutdown.spec.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2edf549e5f17bcbd5cca91b38a6576c27895ef9b2a7388cce8c05341f97a177"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: initializes S3 when fileStrategy is s3: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/__tests__/cdn.test.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b3bdcf0673b6d2579acde501b5225926caa7a2fdc30f4d2386532bc56f3892"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: initializes Firebase when fileStrategy is firebase: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/__tests__/cdn.test.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5469736dc946f698f712ee46713d39c8a3e8bb9f176baf114b2bbcae517b1636"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: initializes strategy from fileStrategies when fileStrategy is local: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/__tests__/cdn.test.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a02baa171dbfb3dc89b37c60412752c84c8e0f1509d3253774b102bbf4e06af"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not call any initializer when fileStrategy is local with no fileStrategies: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/__tests__/cdn.test.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d854990728f44a63e2938cf590781dfa9939717176173fa85385395fd64580"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the dedicated bound validator only with a binding authorizer: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/middleware.auth.spec.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3a113a86865b1cd909b1a8bb50bd9f00397a60a758387bb541d8d2baef3d0f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never attempts private bound validation without a binding authorizer: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/middleware.auth.spec.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c24cfedafc95bdf5eb3765784f04104210e45570632d3000a0898687e35800"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not apply the grant handler to ordinary personal keys: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/middleware.auth.spec.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb7f7cfd87dc70307b22560fac895f2604b1917483b526a69d07da498fac6bf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a valid key while account deletion is fenced: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/middleware.auth.spec.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"7556c4a3320f843e48785fc3e757f32157b87025b90871a6c65e07886980c65d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers a failed key lookup with a server error, not an invalid key: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/middleware.auth.spec.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"699fc66caa8f07b161252a1fe0d69a8e7ebdc6fff8c2248d409e54a051c1fd23"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns one bounded public accepted receipt from the authorized live owner: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"216e20d5cc607e2202e2a994af169c7504eba9637390efbd9c74ca30bd489c0c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns the durable applied receipt when settlement races the owner response: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"946d4dcbe65cec39bef8bd0199041d784d5a69ba517a5c73c5ed852824ec92b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reads a tenantless task seed only from tenantless rows: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ec83dfeffae6dce443dc1beb81d9483ad0b740b7f5a9f568caceb763bd57d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns an authoritative rejection when the selected task is no longer live: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2983ead50aa4e8e80a46345693f231bceb70e5fb137191bca83786f284163a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves a missing cancel_message target in the authoritative rejection: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5e2241c169c8a62612120b399b20fbd23b6bd66083d8ee4aadc72a4efbccaa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: makes owner unavailability explicit so the same invocation can be retried: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"25bddec08de7283c7193ea398dd04838138e879bb6a3ce8336c6814fbbf0b9f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a retryable failure when routing cannot resolve a live owner: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb5c9fc1888e11954a278da37e629cf8be712d5ced0269f053977d114de2b21"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a task result owned by a sibling child thread: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.spec.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"d315e4f1472669d5c9c84506cfad848eeb7f8ec4c21da83daa4ad8d203d3ce16"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards codeEnvAvailable to every handoff initializeAgent call: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d62ff3cc5e5c54fd04dc211f61c04114c8317fb9b735f59da652ede11d06b1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards fileSearchAvailable=%s verbatim to every handoff initializeAgent call: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1049521f1e6b9e010dff53fedf2de29222ef2a01617f91398058b0a900ad1d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards resolveWebSearchGrant to every handoff initializeAgent call: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7208682bfc8cd2f0b03a9ba2421550783934396a10bed6e801a1f8f0a98c152"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards resolveLinkedInstructions and recordLinkedPromptUsage to every handoff initializeAgent call: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"410bfb1e64f3f987ec812ef08d3ae5dd565b9ba3a59d40f43943d534152b65ab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards normalized request metadata to every handoff initializeAgent call: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"894c6ee274bde631e32987aeeeb2c57fc7b06adad62a336d3a02633610f0d32b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards codeEnvAvailable=false verbatim so handoff agents respect disabled capability: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb6709720a33f3f3c55a48449be345dc478041c4b8a6224fb2ca504951fc551"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the configured resourceType (e.g. REMOTE_AGENT) to checkPermission: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.spec.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d29ea0eaf2c6feaa36e05a600fbd100b58258186cbeaf0a4f6cb21ad0c0549"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists structured background content using the registry serialization: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b71f510b431fbb2c0964882dd511106822f71f60d1d99e2d6fd008acf8875c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps delivery live for an %s receipt without a projection: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"85635208e7699d7df598b66a21024cf4a21e1434a20353862203a9d580b91394"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: expedites the delivery when only the parent-message projection was persisted: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4c5752f4a7f4ff2b90f8c255fe4e976dde3f7adb1a17e32f10aee59133a543"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retires a preregistered delivery when terminal persistence fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb17d7bcce62cefa66aa5f989cc6a5ca93107f619f2bd6a29786bcecaf88bd16"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists ordinary background failures in the renderer-recognized error shape: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd467f0a8502015ce96ee0f6dc5ee83a5edfd41417c89530d2032ba37d229052"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists a terminal receipt when an admitted background task times out: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63ad8c2721cdb03f62d9f59fe674e850165a9558964e881317c2e4962407239"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops producer heartbeats after the completion lease is lost: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f52bd5684f963527e1ec4488459769238524aa2c002024ed9fa721b2108757"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records filtered detached output as successful side-effect evidence: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ae8a117f44592f97a03e50661e8bfd0dabb24cc65cab3ee63ede64f3b11866"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not claim an unrequested provider abort was owner cancellation: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f65df65a23af19bc0a5a3387dbecf29ca9a46eb936593645843e790fd47228"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not publish an output-only receipt when generated files miss their message anchor: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":2774}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e7289f35e1ab0fb1f3615d90da43a396f7c0e14b18774b1f1d16653633428b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the configured durable completion result size: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.background.spec.ts"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60ad1f93f8db8119c001f19b7434e858f0b602be385a43f6c072ff83915d738"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: pins only the epoch owned by the host stream %s: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/harvest.spec.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"2004c649ee0ef35ac0d7dcdf64813f48092875bb52973de7f0f1f65f5b8da76c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: emits artifacts with the generation epoch that started memory processing: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.spec.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"045a36542e72a9e70a797d50a606a3a47839553de73fbcfd0575b3c45ac5eeb7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fires onWrite after a successful set, but not when the write fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.spec.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b72b46c8258260a7041dcb5dd414c09fc576c8cb99249792325ba6e5386dc5b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards generation cancellation into the automatic memory SDK run: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.spec.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b625fed6a2f6b49afbc3339d6026e32bbdce2e13d444e98287dc0b57b9778a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: pins %s protocol in the TypeScript adapter: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.spec.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3c4ab158d38a840cd1a6dbea58b4cec5091442346c2c884b0e8b7148102050"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds dependency failures as enqueue errors: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.spec.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae853a6b29f7a699273d01523c757224aa4d1e3bb55330cfc7d7a56081f9eff6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not back off when discovery repairs reservations but returns no deliveries: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.spec.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2ee826eff1f3004eee17154117fb00e08e8b2699c8b6d09b0529c14ccc3e86"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reduces empty Mongo discovery reads without losing bounded fallback polling: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.spec.ts"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d564e6ad39dca6fd48e2fedb883a0bfb50b322b36c6f1d9a57bd4b3c349fd39"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not treat a deferred indeterminate admission as an empty queue: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.spec.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fab7a7b04af27ab065194da61a09fb35fdd8dcbcdb19ec5775f340a5c3f0360"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses independent delivery lanes so publication order cannot invert queue order: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.spec.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"43bd3dc0d9e7aa5f90ee91cb07117660b4045532aa89382c7b1758ad88a9edcb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes req through to checkSessionsAlive so JWT auth can mint tokens: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.test.ts"},"region":{"startLine":2211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ef02fcb961875e2201d65e51d468f6cc5ef6a95985219e3822ad05ec24a089"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: authenticates an attached route\u0027s probe for its worker without the managed key: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.test.ts"},"region":{"startLine":2359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2ca0134d42e9a52693addb0ba161c311ab0c548bdc1dce17dad7c3bb45aa161"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds the check by the configured timeout: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.test.ts"},"region":{"startLine":2904}}}],"partialFingerprints":{"codehealthFindingId/v1":"4637ee952fcaf3667d8979f862e623aacc282291d36bd5c1fadeaae6a2de785f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs a failed check without the vector store response body: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.test.ts"},"region":{"startLine":2969}}}],"partialFingerprints":{"codehealthFindingId/v1":"52355aa25db8d03681b9c4f27670ed48dc67802ec076c1fa309bbfe8ca3fc82a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the current tools as existing, not the restored ones: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/restore.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9564f742c7e9764adb7ffb31df115095fa2608c39edcb44d7eb585629d76b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not subscribe when the client disconnects during authorization: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.spec.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4c450c9dd09c8c52d0f815cd8f73210295b8b54eea2361827ce55a88455db7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads effective policy without runtime workspace augmentation and fails closed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.spec.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6793a7539f756bccccc645ce118af622361eab87b28088dad81a19c6ee974720"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels every running task when no ids are given: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.spec.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae04fdcafe55e1e587939f4f5bdb52ad7c1b970642077204f1a3da72e0c93b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses cancellation when the deployment has not opted in: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.spec.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ddeff0e70b3e4d47c7dbeb87cafceb871815cf9d6d1ade80b0618a4ba0e72e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never reaches another user\u2019s tasks: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.spec.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"84677c1870497088a99b47d6e58ac1c255299aa050fd14b62f543f5b9ff35327"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects malformed bodies without accidentally cancelling every task: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.spec.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4367bf47f88cf5feca0cd4478fc1380f9c3c843361abceafe1d587cc68d2df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should fall back to legacy path when pricing is missing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.spec.ts"},"region":{"startLine":1377}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff07727dd081489e166033bb1a7eba8ae934c49f9ccf880122f797cd50e664d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should fall back to legacy path when bulkWriteOps is missing: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.spec.ts"},"region":{"startLine":1398}}}],"partialFingerprints":{"codehealthFindingId/v1":"433945a517c49d098c291ff46a5c26733d70ab46d97a5da3a663a822d3e38548"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recreate billing records after the owning principal is fenced or deleted: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.spec.ts"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"14561769b84dc15fbdba44ff380fc5961893728320373014b12e86376482931e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the seed recovery capability %s over assistant capability %s: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fb51c2c29b6bfe1d7b24e77838a705766046a3e743e10126d189fa86650f88"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns task recovery enrollment %s from its loaded seed: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b47771fb0567c3caf221995782893a6b8a4ecc8696bd00603b81e5a4f22cd2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a bounded public child projection through the owning parent: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf34b66236e051061d3a57d54f2f33491e8b5a86add27cca54965681c8b56d0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: labels a retained continuation honestly when its task ancestor was truncated: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2fa9b9f328fab0f49a7480b860212f024ab6dee6fce2cd8f0eb1cb915d4943"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves usable legacy activity with %s instead of an unsafe reconstruction: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e47ba1f0c5b5eff127e81958ce669558931af662646aac3854c4e406a7655b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reprojects legacy activity only when current-task guidance has a safe transcript boundary: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"5188938ad1c91ea423ca0e6e330619073f7d5b50fe35797f26df67f4c5c1f36e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fences replacement activity to the exact selected task input: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"959f7bdfb4e2c73de1d0720e59bb93146309dba96dee837f6b07d0bb6e7b1f30"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when the selected row carries a mismatched transcript identity: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"7597f2d11fc20d9711ce8073dd4a4e4334a52fba2234dcf35b503161df5538e0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requires tenantless messages when the authenticated request has no tenant: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"a533b6684a823e3b3703c7e9f24bd2906482ebe3ddea55497e19e8a4906a6663"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: normalizes durable %s tasks as %s: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef284d6b9a55009a1417c653094ecd36b529dfd8e2b51f5ac8a948597070bb08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a reserved child with no durable task messages as dispatched: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e4eb8f44c9622b4fea54be8d7122596dd61df0169a12d26961e60d56eebc27"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a child with an active preparation lease as running before its seed exists: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2b0bc02546ae237fac2b766d4eeb78f85f0fc5b82eb1f9aaf3568218d1eb35"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not mistake an older completed turn for the active leased turn: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1bc9697f4a8fcd4b1ac03b789747d4bd02eed3ac3d5c90f7f12f2f04a68a47"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: marks a retained branch whose older task ancestor is unavailable as truncated: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":965}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6581dbcc104464cef5881a5f339b1e35b6f2ea644cdea263a90ee8a882d6d6f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns the same 404 for %s: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab047990301bd5c44cfa5dc2a0799f8e08e52274ab2d72ba5e3e85b4f629aef"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a child id used as its own parent before reading storage: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"75af6d91e5655fd90242e17d17a86901d94df409eb31660e8bc2bd7f73e57fa1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects oversized route identifiers before reading storage: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d41c862ee06d4e9a98591ef37c19ad03db83f88994944b20b0cb5ea3e8bdd09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an oversized task selector before reading storage: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4ef63a7d0b7fb55c349a5400c7de3fac593506d5c98ab35de602dc1764a182"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: marks an unleased running seed as interrupted: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5bbe3692881fa2076faf4bbaa701f60f2fe175cc6c42bc02e4e9887263751b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns one bounded actor projection and batches task discovery: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1118}}}],"partialFingerprints":{"codehealthFindingId/v1":"014f7352e29f40e3485dd3ff0ef2dbd4ee960cc30db3ecc26111ef990ca211e7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: propagates a filled shared task window as truncated child history: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"39aa1dceb27e07bed60208823b58a1fc89edcbfa6ca7fbf24d0fb5e70d138d55"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a derived partial event snapshot running while its exact lease is active: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad7aa85574761dc90071fa8280aeb6c13dfe7b9135acfa208354f5271655319"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: promotes a resumed leased task ahead of a newer completed turn: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7f5737bf4c93a5ac8da7cfe1c63ef3c5582ae8804141dd6a1d9ca97fe1af81"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: redacts event delivery identity from the detailed child view: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7fdd79651006164ef621e89d29503dd1df90325b7deac99e15b72385db0ef5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: derives a completed event task from its ordinary persisted assistant row: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1292}}}],"partialFingerprints":{"codehealthFindingId/v1":"7108c6d2bc0f301991f9880229a8c0630ff47fdb81476cded88a963d781e263b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: anchors an older page through an exact scoped task-message cursor: This test sets up 5 test doubles (for example \u0060jest\n      .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af73f9c9983a25bf15e29478468ec4a51b0b02f47201b808aa059cb26875e12"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: marks a vanished inclusive history cursor as unavailable: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac2978eea19cb9784e97b1cad1672aa511a9c7d18c026dcbd7e1bb34744a6cf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects malformed or combined history cursors before storage access: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f533a11270fc4cde092dc8c2a65e7ff0bb2a131ff7fc61ddcf370e2a46c950"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: projects ordinary and event children together without exposing event delivery identity: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"1976c7be0007b10732956c5f6aed192391af5a370f3fe6d0a447a32ce5516c00"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed for a child parent and does not read task history: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea9c67b74c9d1db6afc8476040348245a4679f5302c6edd471ee3e948c1d01a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drops a mismatched child lineage before the batched task read: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.spec.ts"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a70f7e647b15768aea73aa1ed7761e6c118c08bd49c6270b23c012119ba85d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reclaims an ordering release made due by a held wake signal without waiting for its stale deadline: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.spec.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc099c3bbd8a728c97ce620335da0cfba6bba1a29dd79305fd4b0511f1e4aa2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs each claim pass under the root trace context: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.spec.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a9576d7b3c990633f94a958f23bd8e675d67c6c4cf0494cb7672009b549272"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: bounds a persisted last failure before exhausting its source: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.spec.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"727807e34b90a15585de3da2aa1ce702637ad5c75d9e98ae81eb0de4c12dcdb6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not dead-letter an exhausted row until its source is terminal: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.spec.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d12771d13ab44d4dc7dcf87fd232c2307792ddce39042b8627775d94e17262d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retires a failed detached action that became terminal before suspension storage: This test sets up 6 test doubles (for example \u0060jest\n      .fn\u0060) against 5 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c69f7683bbbd42ca0d27d7b111148f5385c40c827b7f7209bba8cfc243e22a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels a pending suspension when paused-history persistence terminalizes the job: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c409c0526be66c56773f713c940c4a86512d89829cd782525d088df84608542"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases the delivery-owned admission after the child Conversation disappears: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1cfbe27d77cec794a91ce2123c048a57fba0de3ee5e55f5aba75c424210d95a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases the exact action admission after a resumed no-action settlement: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"f652f04dc4db2e6a2a64def4a0a18ebd46a5660bc62e067d0921038789126924"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: seals a persisted legacy turn from a non-resume terminal owner: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0b856a47f3e8f3c272994580ae718102da40f293bc01dd4da8c3509d807282"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replays terminal settlement after the same legacy token was already sealed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43019e20bd27cc2097074fb8c8068ac9ffc2d6e1580f96a94b7ff71e493aad8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: repairs a lost actor acknowledgement from deterministic durable messages before settling: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":2090}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8394ee0cc31d253559e1a900eb0ced8d8fdb719943fdd20e2cccfdc6d78f815"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles the actor receipt before clearing the conversation lifecycle: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":2156}}}],"partialFingerprints":{"codehealthFindingId/v1":"72bcceaf4179f9f5b20185739cf23221563c20d5a31d6f28480e5eb691f93d53"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: honors a compensation that wins the receipt CAS during settlement: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71bdfb1c1b7923ecea03e05cd344645ce85c9061642b8cf343cc0ae59cba08c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replays an applied settlement from its durable resolved lifecycle receipt: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":2445}}}],"partialFingerprints":{"codehealthFindingId/v1":"039cfe38d9fefb117c13e98f5067faf28a7a6e00c8388da8dd3e05e11494102c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lazily migrates a legacy settled receipt before deleting its embedded copy: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":2485}}}],"partialFingerprints":{"codehealthFindingId/v1":"9727c39e239719582a7dcc2580ab2310089f5bdfa91297c399b65bf981ace7d5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never replays a compensated receipt as applied even over fresh run evidence: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.spec.ts"},"region":{"startLine":2582}}}],"partialFingerprints":{"codehealthFindingId/v1":"12da0dd2fd75f679acbe1a56a52cd4c86b6912f4ef0b191b23e1b625abbd8d77"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes a server-only batch through without touching it: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/clientTools.spec.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f33c312fdb5e77bc7d6940fde308e1aa813891649e0e20a26679b98210d44fd5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers a client-only batch without reaching the delegate: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/clientTools.spec.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a2bb694f374f39fa2db1fb15f5bc619bbdebfa1108c7cfc2f653d7e0378074"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes storage truth after settlement and keeps notification failure separate: requested=%s: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/foreground.spec.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b1d4155db75ba92086a902eeccf9cbf3afca176350ac82138b86b73958bfff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains provider output but reports store false on a failed optional save: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/foreground.spec.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e9f4188c921a5555cc026e8a8d0bb2f900e1f397dc05b3899bdbf70bc84d03"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not save or publish a staged success after %s: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/foreground.spec.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1a6176fc1778c781cc8c6aff733228e372065b02f61fa3cebfcc838b184695"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed if a caller skips the tracked-write phase: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/foreground.spec.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"094a29477057ef1deb1dec66be2c036fd51a4239e754fd84d3b0e38a2825f99d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not publish fallback arguments after provider failure (stream=%s): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.spec.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafd89cd3eba06f3c8c8124f156e30b3f2e16ef9896d58f8bcd97f1bd454d4ca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the normalized MCP body to deferred execution loaders: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.spec.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"424c520ff5aa3ac262971368bcd9a803665691a30cdac0b01e2c95af81946ae0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps filtering disabled when both policies are omitted: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.spec.ts"},"region":{"startLine":1230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7175fd57f6da8e1d8a7019f3698e8fdefa0bf010730304fc5d457614a904cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never reads or writes the cache for a Langfuse link, before or after resolving: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/linked.spec.ts"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad1c79c6f8f13f17f3b78f0b5d1e5134bf7e5805abd4730c1e4b00c957718d9d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: emits a durable publication even when private snapshot cleanup fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/session.spec.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b4e0d0306f8dc055efc579e0c4d5525c1e055a2785a00b6ee976ed5eb1c855"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps interleaved parallel text context keyed to its run step: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.spec.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84071673fd40890cef9cf010e2d1b65c14f54271d5e28fae9ce1186f6ceda9a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a parallel lane final inside the run-wide phase: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.spec.ts"},"region":{"startLine":2687}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1b0dbcc85caf25459dd91122acdb26dd817a266d0335c37420b6f36ff91a11"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs per-generation invoke callbacks and collects usage on the fallback path: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/__tests__/runtime.spec.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8a3ce4586f7ec5e0849f90949ef43f04477290981257b7107dea9bfabc7d68"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: suppresses usage collection when the host drops the fill: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/__tests__/runtime.spec.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e58edb56be02fa4c48d6ea28c8165ddedd7a25cc856a3208bceed8b2240845"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes no estimate when generation threw before a label: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/__tests__/runtime.spec.ts"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2ec6b0227346732a5fc2d5fed6ebe1ab1cf02bde583873e0275e1c7b2ffdcd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes a settled empty part when generation yields nothing: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/__tests__/wiring.spec.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02d2afaff80bcec93d94c7f04305728cb2739894522d1f60e5613aa6451c361"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses a safe inspected skill-catalog snapshot during initialization: This test sets up 4 test doubles (for example \u0060jest\n      .fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":1695}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d7f0b687a5b6e5e6ac6ea6982ec05bf59cd9d17f6ef56202779146d499790f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the resolved provider endpoint to getModelMaxTokens, not the custom name: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"197f37c08fabca13e2e9f1203b52ff95d6e5426a0c9a681129ce3c27cac211b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: owner-scopes request file usage updates while preserving trusted tool files: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":2573}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a08947757a1c454455ba65b287437018402f444a1f2f143805df508bf75c54"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not call loadTools twice when the skill declares no allowed-tools: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":3210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5983df25d9d62056e361042b123684d4cd236bd0848f382098c2ad017e9a1735"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips extras already on the agent (agent baseline wins; no double-loading): This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":3237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca051e917b99d58bef1c8d5f006e89cc1e5aa7a409fbd13cfafd0a627cb5150"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not invoke loadTools twice when the agent has no tools and the skill adds none: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":3676}}}],"partialFingerprints":{"codehealthFindingId/v1":"240c16dff57c3352c459ec25ed216b74ae885d143154c79ef3aa89716337a980"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: provisions code files for a skill tool that never names execute_code: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":4723}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a8909c886a0b94455367685b09ac2f1d1bdec2b2c4e2932ba6bcde15684d58"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes threadFileIds (not threadMessageIds) to getCodeGeneratedFiles: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":4769}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9cc894fc3a57ddbb76cb990097b97a8c29c8a4fd0ae8f69c8ff1c384be725f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the code-generated fetch entirely when threadFileIds is empty: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":4875}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a0f42c1a7eef865ed6bc4ae5f0cea7ae44d257b9b9347d9501d236ba6fc07a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: charges a file appearing in both sets against the allowance once: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":4918}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3db2a6b8500d9927df9dcf58ed7c098588a458b736cf2cd66788dfef29f03d4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finds deferred files from the conversation when no anchor is supplied: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":5064}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ac1ebbab71da7c682fb2f64614569f581dbe35965c678fc76dca38ad9766ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps an anchored branch scoped to itself when it references no files: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":5132}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b60b0192083a574bc8693ec8da3e075206d30e6cd49a2b0efd8e8c726f71ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prefers the thread scope for deferred files when an anchor is supplied: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":5161}}}],"partialFingerprints":{"codehealthFindingId/v1":"19816f3be74892d465bf8489ed50071fa6dad0291dd46beea1f614f530447c96"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the thread walk when parentMessageId is an empty string: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":5192}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d39bd3a57e3da0d138277cc0c0a4bd1964a153f5658fe0d78ec6d85c62a4d2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dispatches the convo-file read and the thread walk concurrently: This test sets up 6 test doubles (for example \u0060jest\n      .fn\u0060) against 4 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":5223}}}],"partialFingerprints":{"codehealthFindingId/v1":"039fa0041e872c0be587a06a5e8b4ddf1a255d697d6fb014daf4885411d1b08b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: threads the normalized MCP request body into tool discovery: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":5392}}}],"partialFingerprints":{"codehealthFindingId/v1":"68cb374cf37579d82719f711f20217d942808b67b652663c002567db915437b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: projects saved settings and request overrides (initial: %s): This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":6856}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74f126dfac3e33a5c39f990220e487119f65519b57a0de97081560f91bba615"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the trusted URL profile before projecting saved and request caching controls: This test sets up 6 test doubles (for example \u0060jest\n        .fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/initialize.test.ts"},"region":{"startLine":6980}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54879f9ab37d4eff923b985fda5bd704ef9bfa67bdf1fc7461215cffa71fe32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use default model (gpt-4.1-mini) without temperature removal when no llmConfig provided: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/memory.test.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"8060eb1b30a130edbfb09197ab21829ca57aa97c91de247b0d5b9e82ccf6c4e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use max_output_tokens when useResponsesApi is true: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/memory.test.ts"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ab0743856bff860f8a3238f64a3daa804ee1c06f0e401e96562a6bdcdd58e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use max_completion_tokens when useResponsesApi is false or undefined: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/memory.test.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"547d0a9974c990018c0d8e7c271e7bdc2fb473e4201f9c12af9752655b040bff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 401 when req.user is missing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fbca1f3798ce7d2043bb514b202ecfc9375dcab98f0792baec77076a0b0b22"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 200 with the page payload: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"728f18d191b1dab26e0f07bc63428937e8b755b28dfc52ca820ed375bab1a534"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects malformed \u0060from\u0060 with 400: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c61ac8c8e3dbd0760234cb7d33f46f3da384c8a1a7af5ad968444118d914930"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when the data layer throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0eae43e76ac822b028013a50b740d68572b3e464d42b88dabeb64bfaf34d8a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 200 with the entry: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf8f32f8d3f024799acf18d18f450f541ef59642eed2265ae67bacfb2d26330"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns the verification result scoped to the caller tenant: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf38041d6130785f67abe7a62f7b6bb3d01d87e61cd214042c1938abba11d3d3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when verification throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba8dc837965094d453fcb41e56cc6ccff6f6b26d1e0ceec85a55894214f0d1a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: withholds the rows and answers 500 when a fail-closed audit write fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.spec.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"31aaa0c44bfe09ee92a8ce5de9b101837753f173691342f9bf10343805449199"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses only YAML config when resolving pairing secrets and destinations: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.spec.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8904ff2f34b83696b9e1ceb02c89a54fc772f0852ba8bec4d80ab5c3014802ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: normalizes the bridge base URL before appending control paths: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.spec.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c468cc24f4bd9d39fcf56447329a8cbf3f2898d324ef7b0432401e298004d228"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records code_worker.revoked as pending, then success or a failure entry when it is not confirmed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.spec.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac84894ac7ec3bd3272230c41c567c87d612f6f8329764c481a5333877ccd4d6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not pair a worker when the pending audit write fails under fail-closed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.spec.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fb6daf0de2c90be48dfc4b680b8d0360813d8aa927121da39ca3a086f8b2f1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba13586e87b4c48c1c456b5c94a5c2b314812e6a8bbf4008208863108571bd41"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when getHeldCapabilities throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd5235dbafbdd1eb7148cfe394d99fd182625f9c98c6c4edafa4b0e423bc4c7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns empty capabilities when all principals lack principalId: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2edd6b035451fcac606cab08358b5ce86cd99889a1376db39a387ff5433eb48"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ddb09937fe9966cfbef04bb0b2e758f7a1eae9fe3f94ba6cedbb81f574127a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when getCapabilitiesForPrincipals throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fea5b68ffb2e4ea2284590a86abb54f5d77ea4cc1f95413b969913b6e51103"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns grants for a role principal: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab654dcd50496b390f113be78744807b7db2c25810bc0f12f75c8b0108df55cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 when caller lacks READ capability: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"e598b1191af939cf5689b8e0c9f26d299a344e5cd2cd01232fe807ee302972cf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac590593d2d6c67791c8c227784c9854dbcfca80e25fb36bd730c7cf66b4d4db"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: assigns a grant and returns 201: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"38415331b75387c37cd85f12a5a6593ff61b13628ee471521e9dcd7630011760"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: accepts section-level config capabilities: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d7b9bbdc13b71ac65de0d1d071e635d1eb278eb75c96482e977ee5d76f7f3a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: accepts config assignment capabilities: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df5073284247edc3506f3a64926917bdbd464cd35c2fd2d60d83f90d426f499"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for missing principalType: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"041afa3678832d5253440a775c6d69dcb84bf42d9f21125ffd46b288e094bc19"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for missing principalId: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"38149db9d2237e1370e22deef1881e10414a7783ac13783f67e06903b89e09c3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for group principal type: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ceb1243f15556813df1ae7f56856dbd4abb0e5966304d0ea41bd886b25eede"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 when caller lacks manage capability: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e5c99c2b4d79c93dfef04687225453ad6b1c7e43590b96637e04cba051149f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 when caller lacks the capability being granted: This test sets up 4 test doubles (for example \u0060jest\n          .fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"4400cbd1ce0a7c6c02e38534e9b40902b9dc7fe9e67e1021b4204825cce3f92c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows granting an implied capability the caller holds transitively: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d8babffe2685af3090f8e383956075022ffd34568211a6400260aaf97a89bf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects group principal type before checking capabilities: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"431dbd059d17627e3470800ac264b51a6ae269b3b8659b646523f7909612243e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects user principal type before checking capabilities: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af81da77410760691d91d252d45bd02c227d5c2b7a0683b29af3a3ec8f8acbd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 when role does not exist: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"4408eba0383f0344f2bb087f217af64e3680fe0e2068a0193058ffd3e3968da2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when checkRoleExists throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03bb27a08e9eecb69ad1c2f946592dedba908afc4ba1a512962eb71ea8c15df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when grantCapability returns null: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"05fec17f04c72198dd8d81dca5adc0615a2d3c51e20a4e99117e43ed3d7b76c5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"486bef9508db96c61281dab92ccf5d87407925f16ed70928d1e2d92d51a91a90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 200 idempotently and skips audit emission when the grant does not exist: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d70a11772f0015155d3a82b5b2f5e05f643b45ea23cfc8c178e02a9712625ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: revokes a grant and returns 200: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc993fb7a007e4d966045a85f61197b31529872c05f860362d09f3b08a8b6aa8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for missing principalType: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdf102e1785ecae499e666263eaa631b4327db62dca454c247d1fb1c3ac969a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for missing principalId: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb348bf6ce17d0c5b748696e5631f1ccb8df95ecdc87a358435b41313950d993"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 when caller lacks manage capability: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6bfd6d6352429d1663e14d0ac72a6b5d8c25713dcd61bd3b54f2457eca5b1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for group principal type: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2971ff55dd9400720c786e9cce4c692583d32f9f82a5d7a86bd8a0dfc848e0c2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 for user principal type: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a276fe7dc4c3d4ca34bf39b1e55a7864a746d9d3c17a9bfd370d66ec57eee7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6119c94355722b85e0648a628f02f651ccb31ad5d9856f6796b0841f769339df"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits re-assigning a held capability, marked as a re-assert: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"34842bb1630bbf4dd7e4be1fb1bc4bd9cb1dafc8c3f7071ba2375ec34ad09c7f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fail-closed: an audit outage answers with the stable audit code: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"1319533ca6f9a133396510213ea850214f36c51493e0337ec7c385a1d7605ef1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: a failed grant write leaves a failure entry and surfaces the error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e5ef32fc6e9943457df0fa662cd757462751aa362d32a3be073f6bdb7217115"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fail-closed: a failed revoke audit keeps the revoke, retries the entry and returns 200: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.spec.ts"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"48021d0d40a465402766122d6bf021b3c23acd7125ad3efac4efe8a0aa5cabb0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns groups with total, limit, offset: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"933c9b0a4fce60f2d85b884fd68e9372f8a08e9ab1add2b9ffb2335398855f01"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when countGroups fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb87cde073e70d7846d665a13c5ee1f67958319870442023fd7cdd5dd6933cff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4af507f11e68104e31a0c13d66686b0c9605f84a3c5f4c91a12f7ec19d4b086"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns group with 200: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9f723aa080d1205c0662626c7671614d2361c03ded874d16f7d7140224b468"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when group not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c7f89fcbf20c64a74d5bf6610ddfd6bfb59c9f1beba6efbbd6e853ca7f7199"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c21fdace43a8a70af7dc1ad604d320ab80942690e8cd8dabe41d923197789a9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates group and returns 201: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca868ce4a4fa14ce7e933126cd7dadc3f35c715757fd0d043628bed69754863f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: normalizes memberIds to idOnTheSource values: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e9ace5c132d539ac8614910c0656ffde55691089d8e50cf7f3a0b75c100d07"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs warning when memberIds contain non-existent user ObjectIds: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"3643106d30ba446e879dbe04ddc475e788bcc5362cf4db3296644c97fd831d83"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 on ValidationError: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc822d0650616d12405ff1e72b9389a72646eae4dda4f180abd51b0ba8ab50ec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1372a5f8256b4e354aefe5e9574a16019b1cf552f997854e14caccc856a750"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates group and returns 200: This test sets up 4 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d968adee2bb9b5afabc45211fa8f5cb8c3fcd14d813fea83c1b0dec8b65e16d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates description only: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd51bcd0561cae63414a160172de3075f7345752fc0c198427545e3c5f103e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates email only: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c9084d731f2fb5774bf30a7836dccafaf07bf0150483a9ba9d49fb674a51b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates avatar only: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3233020f55b5d4e0c18e316481397fe22ccb53d8715f9146b8e3dd8dff389b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates multiple fields at once: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"d368a75caeef98fa248e471700e572005bb54db3ae406d654400f15b0d19976e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when updateGroupFieldsTracked returns null: This test sets up 4 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23c49d735b74b04629d226ee0faf8ba60ec1221d0f1b3af6933ffa7e3e3f1a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 on ValidationError: This test sets up 4 test doubles (for example \u0060jest\n          .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42f2bb91716c117b81b2d6ecc08c49546e151a84c77c9e443177051b8c0614f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 4 test doubles (for example \u0060jest\n          .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b2793bda1b1993737ef5d97df8d5a9df56ae8c9ad6cd3714d4f93f255ec83f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes group and returns 200 with id: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"455dbed3331d243423ab97ddb4b7852202b546a177a261480e49895312c4695e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 and cleans nothing when the group is missing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd5d79341684395d5e888412ca0760a55b03206710c3a508056ca6135d89480"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f5a175a9141c7bb51533f3851787fc680e0ad10315c7bcc8dc61dd8406a286"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 and keeps the group when cascade cleanup fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50dc48ff2f0a2eb17c0625c704077336439b6c89a82f7f753dc18e300ed6355"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the config when the ACL removal fails after it: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56bcfb2aeed3cfe83640b1c50e4a7592c488673eeaf8e54a4b1b97e8dc716aa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore the config when a concurrent delete already removed the group: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4aa377223a38ad6b622c0af6e0539c7a03a532c96b9db981b290da5e53b993"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the config when the group state recheck fails: This test sets up 3 test doubles (for example \u0060jest\n            .fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":932}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cc1c131f82a656cfffd830b3fd3895e1bb9710a43f03c24f0e97b1c42732b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the config when the delete fails and the group state cannot be read: This test sets up 3 test doubles (for example \u0060jest\n            .fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"002a3995f427ec3384dc732e76f919677e896adbfb64d6b5e88c45f7b3d6760c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the config from a pre-delete snapshot when the removal rejects after committing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"2265695d23297e377da88ea63141c301ab5a90b5e667a5304607ead7f31c1f72"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: completes the deletion when the config restore itself fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"feed5ebbcf3da2198bef797346b45f39ee3ae67f50d9e17e9fac81328ab5a1f5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats a compensating deletion that throws after committing as completed: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"929598d2c51d7e4679a0f423a909fed83d0f70ed4a11ca413301ff38300203e6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports not found when a concurrent delete won the race during the compensating deletion: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6d2a106a07aad33cd0ae4da6d49d1669a86573962ed9ae8d9d7f5fb6127751"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports GROUP_RESTORE_FAILED when neither the restore nor the deletion succeeds: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a115d2ba4d1458ef251bc29253e51ee41a9883029bd2c178bbca6eb532f66"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore dependents of a group that is already gone: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6376c7e7997720969edcb5c4409f5df5f66c787ce728a003a3f3951d794a11"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: appends a not_found failure entry when the request loses the race: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f637562f4675e59c81abbdd4758a0fc4734d832883713cbbce430fd7bfabe06"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still appends the terminal outcome when member-removal audits fail under fail-closed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f42c2c4720a577bc44276bdbdcd2295ab8764dfbd36a2ec0e852a4e67d0e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never blocks the delete on an audit outage, even when fail-closed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"63301d454b4bc0a7675bbbf97f57e174d8ecb61a13abd5806e8d2122242a085a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans up Config and AclEntry on group delete: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1224}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a519d2e458d60d39e6d6104862257f80d4ffdd1d4b5be709907452638ef1f3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns empty members for group with no memberIds: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"5376f33498cbe607df258e3eb17d27b4145d228c11c4965e1ec882a26cb2718c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: batches member lookup with $or query: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bf0b35bdafa9d8d1ae16783b1788af883c3b7844f2e01e447408f5383bc6ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to memberId when user not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03905450a112ccc541712cd8df2af6b5e0bf359123ffe2835f64834915d5fc1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deduplicates when objectId and idOnTheSource both present for same user: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea06e06debb869e377144475d229eada1eab1c02d2695405069f3bdfbfb864b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when group not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"422cd494235a54ae6fbec3751972d1badb85cc0450350c9b868704e2c12c0ea5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1460}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3127cc06eb25ee52efbe71c85e090eba18a1a8ba3e43172174ae521c331994"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: adds member and returns 200: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"78d0269505758d323aba617b08deae4fd074fc49f3c969589cd0a138971982f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when addUserToGroup returns null group: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d487a21ff0ebac0f26aba8a6d0009afbbc2f9e6161899c83a4f04890ab834610"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 for \u0022User not found\u0022 error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b31698e87f6ff1f54d50bf342cc395c35d8619e79af0e8a7faac17838946e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 for unrelated errors: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1571}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7441ddd1741269be6b02cd8dfc699042a25850e4d395202e1795affd305459"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes member and returns 200: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1604}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6097c1a4e6073479f0b92ef82525c047ec3e633db5681f546215a5a1c40dfd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes non-ObjectId member via removeMemberByIdTracked: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb525988c1c4ff7abf23883519fe9c8e20041b32908f54d7ca156b029ef108b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when removeMemberById returns null: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a445384897a1cf18252bfdeded32a122ead32e4184e064328897effd34ae4f4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to removeMemberById when ObjectId userId not found as user: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb8885435190329b56d10e64df478bd205f88ffc318782abdae8d448464b272"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when removeUserFromGroup returns null group: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc49f4d33f13cac4ce9e94b470af8a3da94c8d44e0f99668b35f7adf8507a08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when fallback removeMemberById also returns null: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1706}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ff2f0f40a264ac0534f14f0ea78d58635ca518bd513bc548def3e002d9b64c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 for unrelated errors: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1722}}}],"partialFingerprints":{"codehealthFindingId/v1":"407fd987d73a2aebfda68736ebe32008f3fd692535df040c620c0a7b7da1bef3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 200 when removing ObjectId member not in group (idempotent delete): This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d20af9f25e4aed6d7dc4b86ac2831fe720a6cd27cc263435953119b851c33a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 200 when removing non-ObjectId member not in group (idempotent delete): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e5b9e467e15b0b96211751ac7150267a5bbb35dff6006b175f8dcd3b53a46d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records group.updated with the changed field names only: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"9826080866505aa3a914094af2a42989a3de6e983d57fc7bd49ba425be67e34b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records no group.updated entry when the write changed nothing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"af63181e743cdf021efb21daa901d91bf1eb93d1b02ace9225aa6fc0d575e9a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records group.deleted: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1868}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec5caa81fad540d3221f5e9cbd5d3336abeb3a18c816a79b89c70c73939d3f7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the members whose access a group deletion revokes: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1889}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac42ca130b568383bcbad4c1c93a896a8e60603c82fcac3ba28be65565f0a5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records group.member_added and group.member_removed when membership changes: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1909}}}],"partialFingerprints":{"codehealthFindingId/v1":"f56278b8e7c8c01e4364d13402bfe68df667d17112818200ca6522fe2404b60a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not record an idempotent add or a removal of a non-member: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d858d52ead95b99a0ca34b4856e88002ca30c5e3bd11ab12ba07b4842aa4e28"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not record when the group is missing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.spec.ts"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e7d248ed9932946225f4abd8e33cfd472759a311bb78deedf3191b8bc55f25"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns paginated roles with 200: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"2331acade31308ce3f668547a95019a058d59fc2e306f84eb0c1352c3cc45fda"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes custom limit and offset from query: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e58014fff3e425790dc9e4971c16ed2769b38ef8223be52fea13d2fe8cc364"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b85a3008088970884efeeb167e4ead74226a4427c19b36c3feef0d3a667154b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns role with 200: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa930a7a072a152fd4b80e576dbd4debe808d68d3f5e1a89457da5d4064831a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41d5151ff14d2ded91495f3556f1a9e72937ca654a1e3aeb847fc0e4b675727"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfbcabb1c180b5492c208af7d56a99eee6970c94951b25b557a86eace705433"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates role and returns 201: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7dc0f4f72e4bdef573a2b982de4648ec44474d3151ee8e0950fac0dad96c1b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes provided permissions to createRoleByName: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3308b5d129cd61c7400b2872f370d73d0242a46bfa7868f7219cb81c340cd2c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 409 when role already exists: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"448dc50a8098203b9fd0183d945a53cad0fa296ab3a2b0cc377e7241d65f4acc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 409 when name is reserved system role: This test sets up 3 test doubles (for example \u0060jest\n          .fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da3e8473b684f8fe11db86db859372d469ee8783af83de7e2abd6cd8a1a6068"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12b5ccbb31623c87633c6dea388fe4f1ff488f71fab70d65f7ab85f9b99c86b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates role and returns 200: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3f4d5c414338ea8ecead4a84d1b16de23ae5f8f571649207a9e6880e37971f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: writes and audits nothing when the description already matches: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0c30ed4faf35333018fb5f68c6cb8c013736e9b2cb62958dd084f8bae81acb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not rename role when user migration fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb9eb07d21fb944d3bec57b6fbca331336dc40fa36a0f539f705118b4e996b9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: renames and updates description in a single request: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c831ef2f63b3260eea1b41d810a6c7ddd823be8c706367087e32703c200986"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 409 when target name already exists: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43e4ed7b1c3101443e65ec285d171c3511ca576a04da29c321e62d444d41c17"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5779e98d1c9b7784cc8fd8a92b24405438223bd0cfedf2cdc1451f8a116332c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when updateRoleByName returns null: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4564b03700a8ed48cc49a50e09121a506b86d93488531a6bb7188a4db0e13c7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rolls back user migration when rename fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32a73dce420fc4a8c73283cc381b2f6dcf477d089509907a6459d3b8cd3535c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rolls back user migration when rename throws: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"284b00683306ac5a2053fb57c93a71ee9defd7547f0ffef48a0b2bf7b8baad50"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs rollback failure and still returns 500: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cf52eee46fcf4daca428eebaebbfb8525dda494f03c6c2f7c2c31a0e003139"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ab4f28c8b3f4395146ddccc7c54d4cc9b48c099b922690a36ad425f447342b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not migrate users when findUserIdsByRole throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"8389aa7c15954b790cb636a21df48b6fe67fb4cff62a0df92ec0962ad301bf35"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns existing role early when update body has no changes: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87badd8cfafa79f7919bfe90420f2ea371c571c8c7f6ffc8be84c0eecb816ba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates permissions and returns 200 with updated role: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf958f1cb51b32701c14a6155abfa28ea0ab62dc806f4b50183fdcc335a4f2fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"f332866b66eafa5c93c957d2bb990b07b7b619a220c7602cbe2db6cd5dfa3733"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6278ffe7701fe169e3aa32381e0718bfebec7d12e8db89bfeba26d344805317"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 and keeps the role when grant cleanup fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1061}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff69d8157cf0a789c55a4beb59eaddc16e8793027a05041f59d1cb2e29086fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores config but leaves ACL entries and grants removed, and audits the grants, when a cleanup step fails: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"40fef9f682add23f7befe30b7070f72b551a7b0e4edae5156c5b86bf5177e6e5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the config restore when cleanup fails after the role was deleted by another request: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b93e70801255e019a5546ff749cc19cd125c98c733ffd7ac24f61e4f057b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores only the config override when the role deletion itself fails: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"c539a80d48a6a9c7c43b5c928ca99280aba2d173aa3940ac13f0ae72b6e69117"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes only the role it targeted and audits grants when that role is already replaced: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45f29a8225b69150270c4e38f1d3e593b4652f7e2721757ebc2c752591347bc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore dependents and audits the delete when the role is confirmed gone after a thrown delete: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa30062bda2a9250c068178cfc7f6269902301f37fbf955c2c67bc8e57729654"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore dependents onto a role recreated under the same name: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41b6a3f8046fbdf68140a991e6ec9e39967e5dcaabb2071024740a6f4913b97"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores nothing and reports a failure when the role state cannot be verified: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36f24f4f06a912834e698beb503c05e3a0c09fae1db2a528740241f50fb62e5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores config insert-only so an override written after the snapshot is kept: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1267}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b655e24c0bf0c38f592982ff0177d112cb1532710ceeb661cfa859592bd0d1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves ACL entries removed when the ACL delete itself rejects: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1291}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd7e2f0b479a8ca66a6bf637d244708afc4cadf0647581e2cc7b8277836736f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates the access cache even when the role is gone after a failed delete: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af62d20eb78ca60ca33c7c88f23959e47e12f3ef120a61dcee1c96946837731"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores config from a pre-delete snapshot and never restores grants when their deletes reject: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ffe5e85a8b5a4823be5114ef5a91f018935b21042c044e56992284d66786c2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore a rejected config removal onto a role recreated under the same name: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a363ea4bcfef153e13d67af2379b35a393b1fe9d4a36dc876207da39433db638"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore a rejected config removal when the role cannot be read: This test sets up 5 test doubles (for example \u0060jest\n          .fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1359}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f8fcc7fa34c8179f3dd5c250c26557a5b580d0f7a6551a70890db8149afe20"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a deferred config restore once the role is readable again: This test sets up 5 test doubles (for example \u0060jest\n          .fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc9dc63d86de791c0be2172e86511433ddf88f773e6d0b8ecbebd5b895333c9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still audits a committed deletion when the access cache invalidation fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1401}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bad7100dff70463c47f560cf4626fc0e514c7d38a59a698dfb0c24e382d6527"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: emits a grant.removed audit entry for each grant removed by the cascade: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1434}}}],"partialFingerprints":{"codehealthFindingId/v1":"243ab54915d38948fb5c539b67ce5b04fdefe3bae86044452bf67ba00a80e0d2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: scopes each cascade audit entry to the removed grant\u2019s own tenant: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1474}}}],"partialFingerprints":{"codehealthFindingId/v1":"02836862e6deaa704ead3ec8a25fb855dfc0a50ccb484a6b926e96b89a036ed2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a committed deletion successful when a cascade audit write fails under auditFailClosed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1535}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd2855955bbf49e6e905415a0ca5e6ffb266d227cfd66b45f034d7d7071eb0d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits grants whose removal rejected after committing, from the pre-delete snapshot: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1560}}}],"partialFingerprints":{"codehealthFindingId/v1":"8361b48d506a010cf7c635459a4f4078e013515f5dde8b457ea6b55af6d0f61a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.deleted as failed when the role delete throws and the role remains: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9fe3bafb235be0147d8995a29558045b5a18655a676a84b4fd7616b868ccae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits the members a failed delete moved and keeps the role: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c68c5aa6cb5e5199e57a449da3693f4ccf4c4a1a9d75f7524089820f6ab878cf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits the members it moved and returns 404 when another request deleted the role: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f530b6589be7cef5bece2afc9cbff389b6c8c8ad73ea6ab161866c4c8f2817d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.deleted success when the delete committed before it threw: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f1e26c180bc7d53542b94e8bfcff487ea0c0bcc542ea9f49c63ed2c8aae11d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 and keeps the role when every cascade operation fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"f118d8532ac623192b49fd62e64e0354cb6dfa9944fbfacbf4cf42244cc17f0b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6e03c8c3984dc77454d1bdefb3ea37a0517148a68bd85520431c51a3e0544e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64e4b5ed08425a094e70ca169f9963087213a083cd5b5556bfee7913ef7a44f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not include joinedAt in response: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1906}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc1c9f6e01e2abb6128695fc2ef178bc4f4091c950512f35c8f2a9f16ef8a26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns empty array when no members: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1922}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff7adf0bf87ec4ebac7c23dc86e737b9b1a645c9bdf2d452bebd67b699d7f052"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff7051ec8c295b2963f12367da8f3a9acbbe76fb3483a99a22e4807a73fcfd2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddb53d4c1bb6762fb6eefa9f63c5b0f7ca9151cb2740d364d19decdec5db799"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: adds member and returns 200: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1963}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfbcf7b820314f2df94313c458b85f7155c8a06602352cc5e67e6485e3d5c57"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records no membership entry when an overlapping request already moved the user: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8fa63da178829b238f91619325c7c7648f8b4e29fd5519bce059877ebab508"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips DB write when user already has the target role: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84c3ba33d8e4b88c95fa323ad49378f375a6dbdae2fa895b7a0691805df23e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd02393edd831cabd352913351b27f2e3ea54e50779073a294c79485199cd24"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when user not found: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2070}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c296474434ebce4e075526862a98790d7e43aec1ee8afb1ab2b8a92f8d2ecb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 when reassigning the last admin to another role: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e69cecb8fb585ced85700385aba04042c62bbc37ddbd57ad0214aa8fda5be6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows reassigning an admin when multiple admins exist: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3aac0475f502ffb3cdae0ee51a5f7113ee21a27264d7782bd0c897cdb96962"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rolls back assignment when post-write admin count is zero: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"190becb5b23ddf9b726f2f93b0a20b2fc965170a576f288a456e8fe11ae92dfd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows promoting a non-admin user to the ADMIN role: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2167}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5547108e9cc6b43761cb8b5b98d268cb59b97d0580288717608b377d9647ce"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"d15d3d18a2c7b5882292992503e0ac3594fc6f9a62fe7c81f5486fd266c20e2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes member and returns 200: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a274ac5f36cd96b72b3b377fbf3666dae968347dfc203e6041d1861bb81a426d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records no entry when an overlapping request already removed the member: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc1121f0514352445ffb08e8827b982b32af8ddcb0563b728762952cfa98db9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when role not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2c7f9de0d73a4c4787abcc614aa8d7f1fce2b6f7150f6ea5f0ff468aa22906"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when user not found: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf77f72219062cb96cae5840ffab1a428416b905b39d52f9e1466066d243e570"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 when user is not a member of the role: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a76ba1fe8cbfb876d450afb427a5ad89e7633af982e9da5255ffa1da3a1377"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 when removing the last admin user: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2329}}}],"partialFingerprints":{"codehealthFindingId/v1":"253a389b1bd8fe9d638d131ae5dc794230010053b4e4b16771ff2f641095add0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows removing an admin when multiple admins exist: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a8af03e398bceaf6494440c86c38dded53d01b7da0638f7bd4938adea9d0a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rolls back removal when post-write check finds zero admins: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a28f5e6d4deab9c79fb2dbe335806f540c2498ee668c0887e5e05111dcfda76"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 even when rollback updateUser throws: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2396}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a9a00ca710e486d2c22c7556ad336f95244513d3683b16da5ed92973868f19"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on unexpected error: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e12ecb0f64abc51789d74b2f89c1420a8f93c0a36c7591703ab0f47914236b5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.created with the caller as actor: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"53aeb4d756e5136bd2f65323e18a4f980ef4e7991a4c34dd62819eebeb3cc7a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.updated with the previous name on rename: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2466}}}],"partialFingerprints":{"codehealthFindingId/v1":"5444727afd892651caeed8dea79b124393cb626567f9aa2bc44a226156634219"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.permissions_updated with only the flags that changed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3d6b65699d6c25df66ec25c820fc12aaf033294aeee6e5ffcb2406628d7263"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not record a permissions update that changed nothing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6fa4cc83add2d8c1a08a0f49a60a88bd0d59fa7e6a0f6a7c084ffbb8967813"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: also records the removal from the previous role when a member is reassigned: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2549}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf703d72952fccb79ff5b85a99e1d59d4c1ea3c45c072d9f1979e20fac2c573"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.member_added as critical when a user is promoted to ADMIN: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2574}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c908a9eb5c1282fc2018d40524d5936b1079fff5a0dd1cc65f98c41d97672a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not record a membership change that was rolled back: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2601}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36f745d0d5c50bac220dc606355beecdbb80d19df61cd1fa005124866f1ac2c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records role.member_removed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2622}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0dfda85362ef52c6e5cb9d61a8a6de1260fe29e83943fb8cfbcb0d104ce488"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 with the validation errors for an invalid body: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.spec.ts"},"region":{"startLine":2745}}}],"partialFingerprints":{"codehealthFindingId/v1":"972759b5489fac3a1318a79bbb3f9bd0506e18c425f3bca2a748c782fbe62fff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records skill_credential.deleted only when something was deleted: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/skills.spec.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc010c4e1a87b284380daebb6c2e11b669d5b68993fade262ba0a405a0a930db"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when findUsers throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03da5010928e84696af57359a05bd19eb96529068e8b5885217bb407a3db886"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 when countUsers throws: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6031b10f4921d5beaaefab39d17e220c9a2b5c2c3c66472c8d60f9fa209d699"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns no users without querying when the query has nothing to match: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9723a253292627efb6605597d26a88ffd39e23a5a48856a5ed238c3450f46ecc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"579a24ddb43b027d10e314ef0c3ad29c7510a656d19e8bfdd9ef2a0fb25f036d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes user and returns 200: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ca81f594fbed705eeee87377007e2f439f14b71091e975c0911d9aa67db19b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns fallback message when result.message is empty: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa42bb3bee25d6db1a99f9e6f1b0c9715743b9d2073b5e07c0ab41e2b0450abb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 400 when deleting the last admin: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0988afe722478109e08ee08813e6dfb5e79cf1ff5f958d741c07b29e270f27"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows deleting an admin when other admins exist: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958fd5f00e1e00bedb140793093ca57dfe907b8eef6fa51297342389a6dd1b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears the config caches after removing the user\u0027s config override, before answering: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9204e1e3a21a78e4cf365f7db58a02879bc26578509ca79015d5eff9320a4c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: runs the shared erasure cascade for the target before removing the user: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1df285b37ce86da1344aa0f9c9fb41d56e95b52381fda31c8c44039d3022ce"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the user, and releases the fence, when the erasure cascade fails: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"654ef59111b9bc3eafb30c9b48526bde81f3e722d21706a28c92b8a33b9f57c2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases the resolved favorite UUID only after a proven Mongo owner: %s: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bb2d2d841a1f4a1b22a4940b741575631dd2337d5d39a79e2947e635cf3149"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not erase when schedules cannot be confirmed stopped: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6df86e19632a8c6c7f4c8da8d12da9cebc8b004b19b5be4693394a5470d5514"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: aborts the cleanup jobs of the target and refuses to erase when a stop is unconfirmed: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb86c44c15114cd71914d3c7d9943531255dcc8bb7034803a924eaf3703e499b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns success even when cascade cleanup partially fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62d7a612b25f7faff4a5caa65b1efdeeea24dce6734c7157d2cff6a1e971ceb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 404 when user not found: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a2514f6e564d79194e5fd7dc71600b3b0de57a27f5e0d1fb635488ce4aab5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 500 on error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f61345958bc07ea3d9bb0f89cf956efb410debda7c0a76359a04f5d433414"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete while another deletion owns the trigger fence: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"322e18a67641af37566e74f050c9c02cb2b1f2423fffd54fa8d9fa6a7d461d5e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns not found without draining when the trigger fence principal is missing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"74648f42a833eb50d5920059918304fe03ff363c12c8520e79d5badf8155ec2b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves durable purge recovery armed when immediate post-commit cleanup fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.spec.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d3c16f77a875230fa18de95bfe0b197dd1e8b4fa25bf263a8bd99e80f3deef0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits ACL and Insights changes together, ACL entries first: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/audit.spec.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"248e9242c1a5862d7832fa0cd1337e393d6e0ffbdb34230d6cd55c2ad4eb894d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still audits Insights with the resource id when the agent lookup fails (failClosed=%p): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/audit.spec.ts"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c82d022ebf520a77503d93998017074b549a5de3e2456d1dedd650defa2a76"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: handles errors gracefully: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/search.spec.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"457bf9cf7bb1199f4d0941463d85d62f9828aec21f9c63e1dd3f7366e4ee7fe0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: decodes through an object URL and releases it: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/__tests__/imageResize.test.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6f48387795fcd91d1b1b6c231b653ab2669a66cdd594b58fe2f32ac9b3f16f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not reset a new conversation when its server id arrives before the URL: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/__tests__/ChatRoute.spec.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9331347efdcfbf14823183e878f9918b0efe3b410791a67ee4185e97ffa410b1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: declines the actual terms modal through logout without binding OAuth or cancelling: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/__tests__/ResponseReviewRoute.spec.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd0ac48e49fb1dc5de50ae5b0083b9bf21777e56b84de2a8f158c27c4b61667"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: initializes HyperDX public-token RUM with privacy defaults and safe attributes: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65ac412da035cb22e1234369d78786349a714aa14f24954c7ccbc7942d60e6c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: captures masked replays only when opted in and stops recording on unmount: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a608f93ea5c3f1886240a682fa101ee4496089132b30dc14d4478f2a80175f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: honors an explicit replay-off policy over a legacy replay opt-in: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc45507d7e0a111ca503e84225a953ff71bd2206c898f3865c9cb8ce60173bb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not start replay on %s even in public-token mode: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"dade254f2dd694e69519f0df53d0bc6092de9ced326d8b57c1abc1e76dbb20b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops recording on an auth-route transition even while a session token remains present: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0415309377b399b2b10dbda43978dccd2dd647e10151b48ca4edf0fc6345005"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops recording when proxy authentication is lost: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c13c78f69eae28909e087f278bdcc15cfaac107a01507943d93c261ee337bea"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stops an active recorder when replay is disabled in startup config: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2b04a523621c141d21b4ae31d6e509027b6cdf0d1c5b57d99e3f4c168cef26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not re-sample general RUM when replay policy changes: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da284e1fff4ba68879fab0fbc497c41ef6f09900d18d320527ee7105649cc51"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the early RUM queue while proxy mode waits for an auth token: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ccd0ca70089296d1dfa5f5c0933c3558fa876aa13cdb8970762222d30c6fd1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not initialize proxy RUM without an authenticated token: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"61f827b55651090746926e2932c3f9c9176660eb3172c3441b3326bc0ad88ab4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: queues SPA route changes through the shared early RUM channel: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/useRum.spec.tsx"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f0d14fe32bb604dae0f64f9f0d53995f4e9e9c90b8866533f49c789c4b9d23"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the exact setup destination when refreshing under a basename: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/__tests__/AuthContext.spec.tsx"},"region":{"startLine":1366}}}],"partialFingerprints":{"codehealthFindingId/v1":"821d9bc9e574a7aee2cd0e1f392bd500dff1533d7810e0831f74c2775c1206d8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: activates after navigation only when the owning saved draft retains the upload (%s): This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/__tests__/useNewConvo.spec.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"778340a292d51262428e88c8b1729e464669971a467b1858335f7e12301a3b25"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains only the owning active answer draft on New Chat (%s): This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/__tests__/useNewConvo.spec.ts"},"region":{"startLine":1746}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03be02229acec54ee9cd37cd31fccc09a1f07141da1e7d133efce9563a036c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete a file claimed by another tab but deletes an unclaimed file: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/__tests__/useNewConvo.spec.ts"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a16ffc361f4229a6a760715afa110df65e56b7a6958882671cb8845e0490d6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stays on a chat opened while the archive request was in flight: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Sharing/__tests__/useChatOptions.spec.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c80e8c202f9438460952c7f5d3ae65cb14068e66c615ace2d4c49dbe00dae3d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves an archived chat for a new one once the archive lands: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Sharing/__tests__/useChatOptions.spec.tsx"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b10ad83bedc727e78e39093e02cd3839517367d4c93535fb912daaaf37049b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stays on a chat it just restored from the archive: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Sharing/__tests__/useChatOptions.spec.tsx"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b12e67a1104327929beb7ac3bb850d669e8aba31f4c40f656bb10bb13cc227"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: seeds sidebar and message caches for a new conversation once the stream id is known: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumableSSE.spec.ts"},"region":{"startLine":1429}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d440d02237bd59d1c5699a2d32d8bdbae656ffd43aec4ed5147a5005825c0c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches the terms status when a send is refused for unaccepted terms: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumableSSE.spec.ts"},"region":{"startLine":3702}}}],"partialFingerprints":{"codehealthFindingId/v1":"283c6533e85e5c56d7d2f10d36bffa89e99b39c51e3200162d67b10e4a30680e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: surfaces CRLF SSE error bodies returned while starting generation: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumableSSE.spec.ts"},"region":{"startLine":3932}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a13f2ff1d7cd8bdbb636932781336ef97975665ff5119f955802e636505341"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses only the error event data from multi-event SSE start failures: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumableSSE.spec.ts"},"region":{"startLine":3957}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dde9a6d82d9a8c728e5f7f27edd74654d53873ff4f8cd2caeb1a39281e4de8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forces fresh status and history reads instead of trusting warm caches: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"79acaaee7ed1ce754a1ebb7399bd9cd8a5777d8b26817d9b95028782b4d9e6ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: answers a second external run that never left the list: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"addda5a99587055e0e1f79abedcdcb984c52c3e4129d67fddcfa7697e1eae205"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: declares an owed successor so the active list keeps being asked: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"a696810928d9ba26ab572f4ba90663b2d86baa9a927d58f3540148bc7cc3e072"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: declares nothing owed while its own run is the one in flight: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"12b97695fbc78d41d80c2915ec21bc1308ec0024a3f73a80b00c69995acfc443"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: declares nothing owed for a turn the server cannot admit: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"360366eb25a9f5f6bc559b86a7cf25f05378eb0b7fc5bda4a7e3788cb7110710"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps listening after the admitted receipt is dropped, until the list reports the run: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"47549a76c240cae170f19d62edc158a6257c1385fd37f9f3454f071bb1410755"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats attachment to a different generation as delivery: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1247}}}],"partialFingerprints":{"codehealthFindingId/v1":"28892e01143a8dcd20bd9e804aeccebb2516596e24c8d3c82fb4591c8b8a0cbf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not let a listed, unattached predecessor deliver the successor: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c0ae82c4dff3d1c4bb1c999d5fb490c43a95b7aacb796e37cc02fdefb1c2913"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: learns the predecessor from a generation seen while the turn still waits: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6d3b3a1935cdb4f66d5dedebd08906f782324b96f8cdeb0ac3bc7190ed116b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: expires the owed state on an absolute window even while its conversation is off-screen: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1487}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b5970b565d23415c8047252425c7ca7456b1c134edc4344db5a3332766da3b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not let a remount\u0027s cached receipt reopen a window that already started: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce1440d727f269d0bbc774db677276519a9aafbc9ac8b2d273b16347544df24"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tracks delivery per queued turn, not per receipt set: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"c617cdbfb70a95952337829d1a7e8621e067e3173c503278654d1a38f519a072"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps one conversation\u0027s owed state when another also owes a run: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"566ffea03099113a54bc9afa3c4c3edd77e4bc5d8b9e07e9b41a9210638c84d1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not treat a live generation as delivery when no boundary is known: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useResumeOnLoad.spec.tsx"},"region":{"startLine":1801}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc452f4ad9597a3876cceb7967a7bddef7f53ba773806e9487f75253538a58f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ON_SUMMARIZE_COMPLETE returns early when target message not in messageMap: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/useStepHandler.spec.ts"},"region":{"startLine":3545}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a5a47b21e8992d76587e493ca7f1dd525f71fb7faf8676745575179d798be9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards a superseded deferred flip so only the latest intent commits: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/__tests__/useDrawerSwipe.spec.tsx"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"67bae2a980a5671e38314b76d23c33ac3cea861131f96b50099f8855b38e4b5d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves a refused automatic prompt (accepted=%s): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/__tests__/useSubmitMessage.spec.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ebdf65dc265a3278e401287d5e531ab79d8ae07168856c615604dc227f848a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reads the tail at call time and appends it to root when missing: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/__tests__/useSubmitMessage.spec.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa8025fcae62ac3a0e5400778a419fee41448af5da9ce777056580ea3ff01ad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not append when the latest message is already in root: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/__tests__/useSubmitMessage.spec.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e04e83345d4ac5ddf4a28579c12e9af1743afcdd08b012225359d366758686"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not append when there is no latest message: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/__tests__/useSubmitMessage.spec.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4f14a2f189ee693cb81cfa54cd54640b0564b49bf8a581124f1c9be51d68bd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replaces a stale selected range when recovering a pending paste after reload: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.spec.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"df38018d73ad172eaa5e3c7faa768c6eef33e50784af259a1f4107e209c753a4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rebases two pending replacements so the earlier paste is not restored stale: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.spec.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c58327eb3f55d7d139a69ab90e775d4006d80d12dec622987746f8b4dca615a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores a files draft whose owning tab has closed: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.spec.ts"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3d32f56e96bc23f3f2b14407caa615baa03eb0c724ce357beee534c157e57e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: submits using the latest conversation-bound callback: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b60a5b06f010b31db4200cace61ae379786ea0f628b221eb5f5ab10efb49260d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should auto-submit message when submit=true and no settings to apply: This test sets up 11 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"31da79a546f4856299746178b2cf07f4b0084a9b98e5a2942a66387015d49d85"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should defer submission when settings need to be applied first: This test sets up 12 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ff781b58ce658e5e55b9700ea4a8166c78f089209fe113a1bc9dfd94b53808"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should retain the prompt after timeout if settings never get applied: This test sets up 12 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"459af2dc672e63b85e9f700d9da55f03c87c245c9c6a3f185b37e84f164de7b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should mark as submitted when no submit parameter is present: This test sets up 11 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbeb0343dcb4f9f1dbbac64bd318dc643b2e0eb01b7ac91077674267b38a9632"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps URL auto-submit pending until the target is ready, then sends exactly once: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbe41ca71b2d956d344a981716816cc586e721be6c5da994e3ab7a0bdb45ad3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: selects the externally seeded engine after settings change: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSpeechToText.spec.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9675539afad5958c88267bbd9849f33189f321871e71d48d550a30cf1ffb180d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: selects the browser engine: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSpeechToText.spec.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2cf405058184fd23f60074f68931ae04be88852573a2e0c8db8ab2f9b0a56f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: selects the active engine stop handler: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSpeechToText.spec.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53424cb01d427a925f55e357559d542c459a3c22bba812968ac96206998ca8b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dispatches an input event when handing text to the composer: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3a9204e47120dfa2dd2fe647d4d445c63d837741c9c536d24aa7e2e8029df0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps long pasted text inline while the composer is the answer box: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec96a10a72358cd88d0b6ba25959a135037645e19474c07e40f8e2fdabcf61a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore a canceled paste when its queued upload later resolves false: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde0ca5598cd1563e66228a4de3ef8d922aebb058fd1a77a2b01b84e05a6cec0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore a superseded source after its editor takes recovery: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"30241326c7aa521295729c45679937e53945dfc852f32c096d70d1807687c4de"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not restore a delayed rejection after the composer changes: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f65af44773382e7f3d0842a1288d45cef2f65d1edfbf11e18f6682db968f955"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the paste when attachment routing rejects unexpectedly: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e705feef921282fae2f47c351853d5b4a3d72862c0b51d3cf7e91a3815f1c9a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears the loading state when clipboard file routing rejects unexpectedly: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92b5a41f035014e617c299900bd41fa43d443adbcef38f6dbdc79f49c2f3835"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes a paste to context while the file config is still pending: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf1b223575db210466c2a220c0e0b4e8fb7b52d43c84140780fe7233f3f0a82"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still rejects a paste once the loaded config offers nothing: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"2335952fb2be15479b03aa7dd2a6aa74add439c5d04f272551b3de4b81d1f10d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: numbers a second paste made while the first is still queued: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01c5c49fd54586c1e293d8bd87236ec7040076cec9e87cdd7907d4b70cee351"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves the composer alone when nothing was handed to this conversation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe36219dfafb61e4ce526239a0183bd81dbcae200dfcdb75eeaab33368a4a14"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes a pasted file without offering the destination chooser: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9fae6b0f20ba4f123f24f3f94defd1e186933286299c6633796138614b8d21"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: holds a paste rather than offering the chooser before the config lands: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"0295e07230886967f0a28d00c6ace6718ccf2f0ddd29fc3b61eb24df042671ca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still honors a destination the caller already resolved: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.spec.tsx"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ddb3bcf80af41b1c16e9b740676853d71e6f7807ab6c20c631fc24773d5deb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a failed catalog walk when the palette opens again: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/usePaletteEntries.spec.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f1da237f1dac4623ed02267d684599a2d44f25565bf276fa7d79f0cdeb7849"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: offers cancellation while an OAuth initialization is cancellable: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/usePaletteEntries.spec.tsx"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ec18ab79be1ad842e5f64f6b17e4967a2aa941146599578edcdc5d4c94d1f0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a connected server with custom variables configurable: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/usePaletteEntries.spec.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb21edde93991f0ef1581547a75f9cc67be6f7170a396e64b1207dc829d0ba4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not send a transcript after the take has been dropped: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/useSpeechToTextBrowser.spec.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8562a982236d4402bd80ca0e0194dd0ef8591af216a18c6387488fc81dfd81e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles only after the final transcript reaches the composer: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/useSpeechToTextBrowser.spec.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3a8c835434de8c28a8ef2d9e85537be70229727ad564d2ce36836484f667c2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: settles after a transcription is written: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/useSpeechToTextExternal.spec.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca47f38957a41da094099b01751dd647138f0d7d538dae4f8d08302768228ec3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores a transcription that lands after the composer is gone: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/useSpeechToTextExternal.spec.tsx"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5726209c452c4544d40e6ba3988a36300b68b39d7b028ed6d02a72a6770bc10"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not request audio after cancellation during cache lookup: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/__tests__/useTextToSpeechExternal.spec.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e2368345985c1e31fa73a5d75cec13e54135b5716f11cd287bda60a2face56"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves file search alone for a saved agent, a plain file or a disabled capability: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useAttachExisting.spec.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd2bbaf7299cdbf832826e968c6604e72b7ad0168f7a4bd7e3f6311f1d5c283"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stages the file it was given, marked as already uploaded: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useAttachExisting.spec.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1cd7456fb5f9a5586ff620913c21204b501d36c56fc60875ece26a5a503a07"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stages a file the shared file map has not caught up with yet: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useAttachExisting.spec.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"623dc9bc816bb8441549992bc9eab5301ea1a3012380d2ddced5b37ea83c0166"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reattaches a file already holding the endpoint limit without refusing it: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useAttachExisting.spec.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a0dc2656b75f2942376b08b6213b3c9abf60498d24d925e9aeb9ca24b963a3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: warns but still attaches a non-OpenAI file on the assistants endpoint: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useAttachExisting.spec.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"431cef96b2b037262e73b8b7cff2e0151e470eace2ddf553dabbb9e96bf0c44c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the resolved agent provider instead of the stale conversation endpoint: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useAttachExisting.spec.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8256c49bff6cbe9a79aa182bdb001ac19e9b83b2010dd39d05a703556dbdf51"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requests recovery for the caught HEIC helper import failure without starting an upload: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7b6093554c75bb34d0e48db7c14a0cc3899f8337442a57f57aa5f77813d754"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes rejected provider audio and localizes the upload error before retry: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb64e7c1948322920120cf3fe12145aa401205b288c14ea7d8b8e344dd382d51"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears the loading state when file validation throws: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a09cd3e29b54a8800d89572341772c9c5fe1bdb5f72d8136f683fbe6582a514"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for a pending resize config before processing an upload: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1ba55d61a4db798c74deaabbce5d98f0f4a5323dc63545d09c02412e2fd3138"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: processes uploads when a resize config error has settled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fcce89defbb410df83d9614b9b921498cd514735bc601fd92aaa2274c9956de"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an image still at the individual size limit after resizing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c69cec36e7d0cb31979afb7333e78e092f07db9bc30040d9788cfae3ab798e0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not announce skipped files when the batch is rejected anyway: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8e52976beb35d4ef0aa69c46b4847aa4f96228bc7944a39067e27ace7aa8a9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies the total size limit to the complete transformed batch: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a45ddef3ab81c6f55d5a890e8aa674649823efd10e674d770b9113394d3d129"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts the config wait for queued batches without stacking the timeouts: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"035784a0743e71be540fcc253086831cdc5bb1dbc4f4fb8a3b2c92fe41b74305"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shares the total size limit across hook instances writing the same files: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb71f32db5fe70008bf4a92dd1d3d737bc59a903cd92488a49103741a542857"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: localizes the image resize success toast with size details: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5e377a585195c3829edf80a75b750d0d19c8beacbc22a57c6d04d5b0f516ba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not activate on upload failure without cancellation: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01323d8200001a84025de2fc72c473233ce9c98f854ef34640a3caf40a14cec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the temporary id at upload start and success: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":2441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb8470c956a3c3ca1e6c2959af03fcb49eef617efe4daae45ce13f3d072e69f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not recover pasted text after a separate file form removes the pending attachment: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 3 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":2570}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc66cfb5e07971110371507fd3f12b6ac0f254f4213b79812191e09a16e324d6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drops an image the browser cannot decode instead of parking it mid-upload: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7d6143ae88fb7e37930c142ab37b019d18d2669a43ebf377f0073302e452ab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: completes the attachment against the id the request was sent with: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/useFileHandling.test.ts"},"region":{"startLine":2841}}}],"partialFingerprints":{"codehealthFindingId/v1":"65313edb8f557742bc57a08074f8e0afd32d6472e0c7993f207283b6356a85e5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: takes failure recovery from the original before staging a pending edit: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"4069d951d4ebc9280a7ec50b1490ffbc4c3b815fdf71d3dc628206451b79e6b9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves the original attached when the replacement is rejected: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3263c98ca71240b08a166332b4d0a65d7fa0fa62dbc7685d5298943b49ec2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes a restored paste record the normal removal path would keep: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ce1838cc85500c651255f3105f6746c10b80084d110ba23dfeed97e6dd6c09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes a restored paste locally without deleting when another draft claims it: This test sets up 6 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a3ca773cbff4bb2ee2744e6f9388c5375a1359c05670351f0ff003e2c52daf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: spares a restored paste whose draft another tab wrote last: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"db596ce0910615d5d3b445da2e2316f1933589c559de388e2990e698009cdccd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: follows the draft a finishing response migrated the claim to: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"6789bdead39980a731caf77830c5b9102a25ae5b6bdb4c170e37015912a9ab5d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains a failed restored-paste deletion for retry: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e8b971b140a09f5a77d5a77ffbb61a7ef1bc9b6159626932dbebaa2b719b32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains a restored-paste deletion the server reports as failed: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e643781e5dba6c34cc253d79a37c5071c8adb5d7648f20d218fc43c9902cf08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not retain a restored-paste deletion the server accepted: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db0a02881ce1fabf9b43a406d8e97ce9b12fe35fac8beec3a695ca66787b3c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: spares a sent paste re-attached from the library: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d0c96ddfc1ee7a57604bb11e221220177e318ce991798073a0e383b2c32946"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: aborts a move into a composer that was reset while the text resolved: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":998}}}],"partialFingerprints":{"codehealthFindingId/v1":"0163ccf85641ddce3473284483f95ae5933ceaade80e762943a968a303fef743"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: aborts a move when the message was sent while the text resolved: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d5636e12c7aa896a2a0b39fdacb086195830ffdab9ebdfbf95dfe9d8a48c72"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete a submitted restored paste when detaching its replacement: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b26ff2cecbed3c2a154af6b57b2272ee41c50945b8ffd0562458e161e86250f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: abandons a queued replacement after the original is sent: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/__tests__/usePastedTextEdit.spec.tsx"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b07f74738e23cc65a0b80152acc30301b273b7ea7219abdc696679c8e03b8a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: checks newly protected text after progressive mounting and before cloning: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/screenshot.spec.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecca909bf94eb3dcdbcaf8baa26d088dea8fbee9b010fca191fd031082b5057e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses a reused DOM node when its transcript identity changes during mounting: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/screenshot.spec.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc5cdb4cdc4fca587afb6f1b8f4d0d6e47bf6a333de366c593f257fe50b0ba4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the failure, asks for stale-asset recovery and downloads nothing: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/screenshot.spec.tsx"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"84df1c55ae303425c79bed93f36afed7c0759fe7a45ca11dc01b77a11f94f6ab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: acknowledges a locally committed final without refetching message history: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/seenSource.spec.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2e856712a212d92cc15e97a3a7b3d3c2f2ee4d93909eab8759c7e036007d8c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: acknowledges a synthetic manual marker from the settled route without refetching history: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/seenSource.spec.tsx"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"566306b2b310cdd59c106a44ae4f6b9ae78ca8dd691ee963a9469ae22e1db9af"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: acknowledges a warm synthetic manual marker without a metadata refetch: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/seenSource.spec.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b9b915fe98ea2a53a34a046b5a49e0faad58351393054a0abb4ab128278bd7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes idle messages before acknowledging a list-only remote reply: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/seenSource.spec.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"43522b120f986f15616ae6ff7fc418d70eebb3552cece7253e7c522060366e21"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: expires a suppression whose focus event never arrived: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/seenSource.spec.tsx"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f4ded85962774f96625dcdc07ee3d310bd29c2851ad0ab10db7c7bdab9e36d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fall back to the unfiltered cache when the canonical read fails: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useExportConversation.spec.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4113861e51a2f8d7bb0fe99dac277d87fc008cfcfb1ff0769cf8123bb78052b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not download a screenshot when a protected row arrives during capture: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useExportConversation.spec.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"4250dd72dc68a2dd1abcc409dcbb62999d524394463253bef11fa93ad45cf69b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not screenshot $kind text: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useExportConversation.spec.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e792084557ee203c46f61230c656a4f471df5ff195fc6d16d15207d99198e1b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells the user a %s export is unavailable and asks for stale-asset recovery: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useExportConversation.spec.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e899bd5415f7933f57cb42f1133bc3b4f8ab84d2bb0f4588d2348a5a6192cc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears the outgoing conversation before resetting: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useNewChat.spec.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0a7de3699770467ce1645bfd73cbc1840d08335d93543c706bdc2a98a9783c5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: spares a draft another browser tab still owns: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useNewChat.spec.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"859f9b4300136b724394b73a6116ae2e2e620f70b40f8e68e79847773572f0f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: spares a pending draft another browser tab still owns: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useNewChat.spec.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"83285b860a7a72262a60dd08b022f6274d903ba697f8188dd8f050f03bdc64e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: loads the library on demand and exports the preset as JSON: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/usePresets.spec.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c13ea157ae11530d14ad3266cffaf63cccb943bb7e387d86bf4a30bc266e3e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells the user when the library chunk cannot load and asks for stale-asset recovery: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/usePresets.spec.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b6b87a88d2fbaed69b6a463c5bf912ff7c5ff2d896b15982ffc1de0a4f7655"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: marks the messages stale so a reply this tab never streamed is rendered: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/__tests__/useReplyWatcher.spec.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b2760441b8d89dbc0694553a80b72d2ed53ed57ad94d79a66d39624118e5fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: suppresses server metadata warmup until the catalog is released: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Config/__tests__/useAppStartup.spec.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae7fc34e924dccee3747c4f51a41c9e67e3b22508b545c898c0d869f9f9f035"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: warms server metadata without discovering MCP tools during app startup: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Config/__tests__/useAppStartup.spec.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"2401d79b88d68423402a92cf506f3779cc082ae53b214d1115f8162f78b235fa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats a legacy null file override as an ordinary staged-file submission: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/__tests__/useChatFunctions.regenerate.spec.tsx"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"020d2686ddf7b51553199790219eb96475bdf0ba6a37c79c989ae027649e81a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: focuses the textarea when a chat focus was requested before navigation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/__tests__/useFocusChatEffect.spec.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3101a1766d21ede9f14102795f6065745b7263ee2663c77c141b703fba0ac440"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never normal-sends into a newer live run on RUN_REPLACED: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/__tests__/useSteering.spec.tsx"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf7986b15661c2fdfbb5f5c130aecaf4feee844f903c46af272af3c341c8db9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps different conversations dispatching in parallel: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/__tests__/useSteering.spec.tsx"},"region":{"startLine":2676}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa0df8b46b9b28d3daf45ec635833c7816a6d55aad6f04695136ffe2fd03f906"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: recovers a missing WebAuthn chunk before its local sign-in catch: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Auth/__tests__/usePasskey.spec.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d676140d99cdc038cddf72bff07472fb7c1fac10e2767e29c0e1299cf8b8e983"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should defer all tools when none are deferred: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d280d7fd31484a64eaa353276812a62eb7b73ac56e3d36d9b2c4493b8d506c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should undefer all tools when all are deferred: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2475a042381c5328bbd58f3bc326a2cbbe087295cf2ab1a20def67746d508480"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should defer all when some are deferred (brings to consistent state): This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"371d3c25a04812b19e1a74e0b7df087205ecbe96e766680f5faf8c617ec031ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should preserve other options when deferring: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2de86a0e55ff0a323c894f15654acb4b415f46f69979bfdc6e4972920ff5f4d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should preserve other options when undeferring: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5a884fa588c554999c2b840d7cafcb5e99471969a617cfa924730d019c2c5a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should make all tools programmatic when none are: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"312f2c21d36272807bbf3b93016bca9f991347d17132f7d81bf3041388bc7c65"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should remove programmatic from all tools when all are programmatic: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53f49841034b390b5be4658941b4c8bd8fe84533fb874aa1f0ba2ce9ae7652c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should make all programmatic when some are (brings to consistent state): This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"250741a2ec81071d6b5de35e2decf653f8fa4e9752a32101b65a5d69475c84ea"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should preserve defer_loading when making programmatic: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"000dc2c95f9e78f295ee810562d5cb465d4e343bcaf53dc96e30dc3e757cbc89"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should preserve defer_loading when removing programmatic: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84d9f36f41b33ec972c531970fc214d4f4753d8698f813d8c8931d97dfbd715"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: toggling off removes the flag and drops an empty entry: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useMCPToolOptions.spec.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f0b14bd331010112be893a1354f70821fe0766ee1ff22775d3960c9176b98"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not couple selection to a metadata request: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useSelectAgent.spec.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb274e58582af953291379f62223943d84afb8deb27db5511e74623d5296aeaf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the composer for the assistants path as well: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useSelectAgent.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad95dbf2e44e8d7d27dc8d48310883a9a70bb9c5ac4db0f8d393162f42cdee37"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears model spec display fields when selecting an agent: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useSelectAgent.spec.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"763d4a65f936119e7317352ebad4163b4d1b5071c3b0e6b482c2fbadac97166d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not carry a prior agent workspace binding into the selected agent: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useSelectAgent.spec.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3279a5291ea0873544768f3ba83506a72c6b4b8b0a30b88505fa712bbf9eda"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves subsequent workspace choices to the active conversation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useSelectAgent.spec.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"67033bf90f5ffa4f7c3af6a5906a266570dbc84ee80b76e33d7f9d249db73e1f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels list fetches already reading the old catch-up: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/__tests__/useMarkConversationSeenMutation.test.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba779e9cfdd7364e1ca285cddba2080b5e76eb8685d0f4bec7d1bd1a0aeaa8c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cancels a point-query fetch already reading the old catch-up: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/__tests__/useMarkConversationSeenMutation.test.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"85aeac45ad3bdddd608c790fed281525e16d05523bc58917f6bf510f24b2721e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves an unloaded point query alone so its initial load can deliver: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/__tests__/useMarkConversationSeenMutation.test.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd57f4bdd0c079573936cc6d05804b988a872e95f259e20b7a5f90dda45404f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restarts the reads it cancelled when the server declines the acknowledgement: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/__tests__/useMarkConversationSeenMutation.test.tsx"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f43ded9d76f0159d3d39e6d28d33f610d704a65149378e42106171c4003c302"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches when a catch-up it did not write settles alongside the unread: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/__tests__/useMarkConversationUnreadMutation.test.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"22086f2b3c4fce06f2324089f167c82dd9d92f1f1154ff744cd9967aa4e32f41"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates the schedules list when deletion returns an error after mutating state: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Schedules/__tests__/mutations.spec.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce28e989036b0e2332cec8cdb830bed0d54a5c4d6573b065e6aed4247c5f1e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps one cache authority and refetches when known receipt ids change: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/SSE/__tests__/queuedTurns.test.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e8388bfb6854f2a53a02ae1dd6ce9c61a4f781cdb2c3e218aba31beaafcaf9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests once a connection made elsewhere shows up: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd67dbbe42fb88bf7f72758df8c382dedfe9e8167e0805908846dcbb5c5a8b88"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests when the first status shows the user connected: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"364d7d23a3dff27e95be17abad95124ec2dc6df2815737622a9e5ce39919a083"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests once on a first status showing the server token: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4bbdd2f1ae0fbd16c9accf471992f98273b54106a8720033c01a654d6b827e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests from the visibility status alone, with the row hidden: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"252aaaf9013d5f089f1a1803979d0b44a72f636e27d7cc6c97a678a3658239f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes pull requests once per change, not on every Settings visit: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"eee4aab5acb84a0155f1e9be4345545960410552ba2f0b854e6d0d2d1d13883c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests when a connection moves to another provider: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4529e029b36bad443808c51cd4b7ed92a9a64930bdc52d78d295097a09c997"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests when the deployment moves a disconnected user to another provider: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb82edc25769d3324cb44a3975b1c77a7223393c90da14c2655220b6bc43511e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts over with the next session, so its first status follows the first-status rule: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3fb87d8bd6db221ac02d05e1efc4844918040451bc2bf29b4dd2d44b5fa6759"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches cached pull requests when another sign-in replaces the grant: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79dd719c70402267f86455eaac1798a26fb66438832ed6bc00b392be5510e51"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reads the status after a failed disconnect even with Settings closed: This test sets up 5 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/connection.test.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5908e64923b010700072c0251da49afc87b30eeb455d903190ba7cd9a7396f60"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: asks at once when the sign-in page announces it settled, however the popup reads: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6820b89028c89dcc223fa91f9072ed8fbbf4206ed7011c71435112bd84de56f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps reading past expiry after its own sign-in settled, until a read succeeds: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e174bcaea5c260594fb40c3f9bbef44bd5d911b577d253b6863234b4e1228ac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still reads a settlement announced just after the flow expired: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"911c8127ddeb101cdb6c84c14587fe4729dfeac8059406437c1c2979edc4f659"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still hears a failure that settles after the grant already showed connected: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e11d75d91e0b969ab1d655002bfdf4fbb48e26ece28705e54e6894d56253539"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: drops a replaced watch\u0027s late answer, leaving the new watch to speak: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"25473940e4971f71777f48055255d924a3d94b3101f55f7f2265760e7dd3e633"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps watching when another flow\u0027s grant shows up, and stops on its own: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6916245e9897223620bcfa1181fd1f46c690d1ef1e3565d5d96fdff26fb165"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps watching through a failed status read: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e96fd1f0bf821971665d92a6055d2c6f3d6a61422d735e030ddfd929544180"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refreshes pull requests when the account it watches turns out disconnected: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"86dcaac5556f148485a93f952e2791b88dff6e8c4a1021de3e8a625bcd769ff2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies an answer asked for just before the flow expired: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"86275d85c3faa9ad0c3139aed60d46ebc001d1425e18f3ea6d9ddbf304034df6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards an answer that arrives after the session ended: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.test.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b15d7e4c0de4be55ae52ff04d8c5ee235c3a8e1a6b53672a193a9726ee40f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates prompt groups, all prompt groups, and prompt-group effective permissions on success: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Langfuse/__tests__/sync.spec.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"372136fc59167088681171642a703174a52a6ca824f0465336d0fe2738f2e958"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates prompt groups, all prompt groups, and prompt-group effective permissions when the sync call fails: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Langfuse/__tests__/sync.spec.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa77681c1f3412b9c312f7777c471a1bbdc2beeabd70f8dd186080cc116a3c1b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still calls a caller-supplied onError when the sync call fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Langfuse/__tests__/sync.spec.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c5aaf3d6152613ac949fe1eb2e9e77f6dd0de265b7d3c649e020b950610b8a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not re-render memoized children when the section re-renders mid-stream: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/UnifiedSidebar/__tests__/ConversationsSection.spec.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"369f12cbd33d7442b0394030b1b03a714d9723f47e0ba388eff492b50a7b5a97"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects files above the configured skill import limit before upload: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/dialogs/__tests__/UploadSkillDialog.spec.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b74061e26b24f112e4948eb1e06943f6fb5e6a85039eb67c0ef1db5ef8cddc0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uploads files exactly at the configured skill import limit: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/dialogs/__tests__/UploadSkillDialog.spec.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa06783653fd4a5c82899c3890349d9733208957262c763ea66413ccb74b772"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores a success that resolves after the dialog was dismissed: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/dialogs/__tests__/UploadSkillDialog.spec.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ac3cddace5774e107fee7fcebf2a67651bae2f96aa0d2f2f35337895d6bc86"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uploads files under the configured skill import limit: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/dialogs/__tests__/UploadSkillDialog.spec.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5248d70c475832c8bf225333b446cb2764b5982f8d93e1b75ca263e9c938781e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses creation when the selected provider catalog is %s: This test sets up 4 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":982}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0528147eba823a9e0fbaa4af5454a21dc36251cac345ec3a9bb8b96f0b84f5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: creates with a native provider alias while another provider has failed: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbcec0644ad1249fc6b471377537943c9f953eb5ee5b9866fea6ec73c729931"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sends the link on create after \u0022create new\u0022 follows a linked agent picking the same group: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"7075c5f7d5a79ba4118e2d35941a903bfdbe4d23a5bbe373bbe0df784d6d6d24"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: handles data state variations: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e47602210bb80189e9b7196987d3ba1587460d21f36fb8c57b7f446901d9c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: memoizes agent data correctly: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"af81cd200a0715e75627de06c1f55d67815a7ebc0069deea77ec91c9c02305ad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats versions as different when only the linked prompt differs: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c0adf445d270891a9dc4c27efbb143e745b7fa896a06c2512286c8be6dce42"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows the Current badge on whichever restricted version the server flags as matchesCurrent, even the older one after a revert: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c138b2b1ee1c0b137656aa0f4523e6a51d296328f35ab1779257a4a4f67098d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats versions with identical linked prompts as active: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"089fa592754934d6ca7a3f05838455d7957e10972cbc94115b7f6b08a8bc9128"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: disabling Code Interpreter clears programmatic MCP callers immediately: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/__tests__/ToolsMarketplaceDialog.spec.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"422ef23e21bf5db789947f48954951d727d002513f7c81eedc759f13bd284e32"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clicking a card star toggles the favorite without selecting the tool: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/__tests__/ToolsMarketplaceDialog.spec.tsx"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d7ef986c06db9353c036a1054cd1040abd02463925afbec410f2a3ca8267ce"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: the marketplace removes %s independently: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/__tests__/ToolsMarketplaceDialog.spec.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"25968c9072451ce68d692ac63adfd9b68b45aec3607db585c5efedd5c0acbad2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: adding subagents enables the retained configuration without touching handoffs: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/__tests__/ToolsMarketplaceDialog.spec.tsx"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2847ff605278dafd0f585ea0dd90203620218c81ee69f4b67a459edd8c7bf2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deferred connect attaches the whole server via the mcp_all wildcard: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ItemDialog/__tests__/McpSection.spec.tsx"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7421552036926105610b23402a247c05ea81acb7072b7dbfa30909dbc1d3263"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deferred connect does not duplicate an already-attached wildcard: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ItemDialog/__tests__/McpSection.spec.tsx"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"d520512a1bf9c0ff637b0ab348ab74a94bea3228a91fdb3139373d43e65d2670"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never migrates keys of a SHADOWED server (normalized slot claimed by another): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ItemDialog/__tests__/McpSection.spec.tsx"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2f7b67ec596e49f0f2083251061fdf8c0c2c68e6eb1d9db54ac8970ed912f5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never migrates entries that belong to a LONGER server sharing this suffix: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ItemDialog/__tests__/McpSection.spec.tsx"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c9602f047e1d001bc45c7d0f447d45594f0481f353b16db80e473b0050e265"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries the permissions fetch when the alert button is clicked: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/__tests__/GenericGrantAccessDialog.spec.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7411ac3b6868b476b9a736ea773ad31e9d1d9b033682ad9e8d4124ce9fcbf3b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards the draft through the shared close path: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/__tests__/GenericGrantAccessDialog.spec.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56cf7803967d2dbfeddd89db31752a8f066b04751b37f1830f6a123f56e94c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves a Langfuse group before submitting, and records usage once: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/lists/__tests__/ChatGroupItem.spec.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"1172ff862f378594a6c6e24ccc1830f26e6b7d8bbcb4e09db9b173daacde91c0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores a second click while a Langfuse resolve is pending: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/lists/__tests__/ChatGroupItem.spec.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d995fc6c924ceafd3b5a42b07daf7288d004240071e20f7f3396aa34bda2bb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows the resolve error toast and records nothing on failure: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/lists/__tests__/ChatGroupItem.spec.tsx"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1045c610ac477d7d42b8c79ae5ac332f19664ba2cbb4a5b633bcce67d331e726"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards a Langfuse resolve that completes after the row unmounts: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/lists/__tests__/ChatGroupItem.spec.tsx"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa95d3921167fbe46a15197ee9047cbae2cd386f82198db5eae5a0df9bfb3473"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the current search page failure when an earlier page request settles later: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.spec.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57cceb434bdf037434d87c8f92b48a3473915fd706cdb5fcf3cd873014863f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches the listed files when a refresh of them fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.spec.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6cb7f1c98f1e83a3fd2b054574ab6acb832cbc7f87189fbde88194b9311680"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: names the file limit when attaching an existing file to a full project: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.spec.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f78f674157d9f1cee1a0240aa784535cf9afc0869c8bf71f700d00dd5b5844"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves a disabled connection when saving edited credentials: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/__tests__/LangfuseConnection.spec.tsx"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ea9d7f4287c7bccf52637db8d328a5235506d758a9f3fc40d3aaafd4a9fc42"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls the prompt sync mutation with the next enabled value when the switch is toggled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/__tests__/LangfuseConnection.spec.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"643b534329d795d8da93e9079232bac3814d3b92a237fea6d04cc070e18399e1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts a new chat when a partial archive already committed the active conversation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/__tests__/ArchiveAllChats.test.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafa40cbefdf54cc39adbbba8839d08af258f5a19dffc9145df7e3c979f223bc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the active chat when archive state cannot be confirmed after an error: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/__tests__/ArchiveAllChats.test.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62c3b7ba19465aeb908db888cae958614639223202c8fa09ec1d51fc9ea5b11"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not refetch when the user opened another conversation before the error: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/__tests__/ArchiveAllChats.test.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ae17cb92ad8f06dd088a394cd189e67e840888b878e8ec4d2bce1445d4ce67"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a conversation opened while the archive-state lookup is in flight: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/__tests__/ArchiveAllChats.test.tsx"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"453e5e78765e42f97921de9547ef33cb38ad3e2a758205ab96e54722dd5b5f2e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not call onCreated when creation fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/ApiKeys/__tests__/Create.spec.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b2667aa4c56bcfc722f23699579398b818391ea97d723b05730f2714196877"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not retry when an empty-page fetch fails without new data: This test sets up 10 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/Conversations.test.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c39aeaa32e30b9a97f68f58421f2363f8a2ba47f4d4f90578057ee9b0e99240"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dismisses the current mobile chat without navigating (running=%s): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/Convo.touch.spec.tsx"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9be1edd02d2d3ae0c39fec393c5836cbffad2ec87877f1df6f433390533a4b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves opening the current chat in a new tab with %s: This test sets up 3 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/Convo.touch.spec.tsx"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2dad07635086b300e3205ed256bfd6f8b28d664ae0c3df4a5c383a185e59e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports the rename ending when the row is removed mid-rename: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/Convo.unpin.spec.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bf1a5b982c418f28a29992df0f3e27867d8ea80ab547a085e121ef0772b2b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards endpoint config to pinned models when the config loads: This test sets up 3 test doubles (for example \u0060vi.mock/jest.mock of an imported module\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d71af3b6501c653cb53eb760530d1f58c0a816c820fd73688e1e643a0d5b87f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps merging when the favorites fetch never delivered: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe58879824748a1f0e0ac5139881219129cb71a576571a5392b5b52c3d33d078"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: prunes keys that are gone once the whole list is known: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c603ea0b0ab31bf29c1f7f8b32f7224dd411d042cf318d730bd096486d487e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not write the favorites array a second time: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ce9abf176a33c87907dddf944842416a5ff76be078a5c29b2c488bf311ed7b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps merging when the order reconciled more recently than membership: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"18723aa0c542c5ecaf7d3dfab55ec4b0c82c17e2bbc2323f4f35ded920b8f002"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves unseen favorite positions until favorites catch up with the order: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"29915d6de72341c18bd005023fcb25ac3d89dd0424d1ea6500bb717b2f2540a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps merging while a favorites write is in flight: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/PinnedSection.spec.tsx"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee17003c328d59b273ef0cab73a408c414469c2e8a8fb09019aac39022dacbe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: confirms the removal with the server and announces only a real move: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/__tests__/unpinDropped.spec.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"4837bf6f49894a744b7e71e6a0e9c45c7db8ca75505a9c934c7603f229a965b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: archives an unarchived conversation and leaves the one it just hid: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/ConvoOptions.archive.test.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c2ce45628c1c72bc26df55c41290b881030b1d0e9fc4d78a056d1d4a7ef1ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves a newer selection alone when the archive resolves: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/ConvoOptions.archive.test.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"672f2e372d3db80bb440752d8d8aed540dbe8bfd02b71e1359d406b43dd486e3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: copies the shared URL through the reusable copy control: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/ShareButton.test.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55fbc5649c195ebd0b966927f9b20f006f7dc048a176252a7a95007d71de14a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not announce a copy that never reached the clipboard: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/ShareButton.test.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acaafedfe6059409a45524355a9e1f939a043398b8b2369c020161c2a43939"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refetches the persisted tail and retries once when link creation misses it: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/SharedLinkButton.test.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bab050939ef14870201fc79cef2475f446405083019b00cc227388deb45f35"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not publish another branch when the selected tail is still unsaved: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/SharedLinkButton.test.tsx"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff126c301113c82dedd74253116cda11f9bc4a17d6dabe236a078e63b96fbe84"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a temporary empty read and publishes once persistence catches up: This test sets up 5 test doubles (for example \u0060jest\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/SharedLinkButton.test.tsx"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf31ddf56bd27cf42025624ea902a807380945e27110f0b960e5828f31a120b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows a precise error when messages are still absent after the retry: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/__tests__/SharedLinkButton.test.tsx"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"355f10df1926316bb7d4574c108d544dd86ae1c28daf7e4ca9f941eece6f07dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves the trimmed title and closes: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/__tests__/Rename.spec.tsx"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a62ca0528beea0f81efa2c51feb0625d2cde64e1968481c67a26ff3edb30f7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves an unchanged title to claim ownership while it is still automatic: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/__tests__/Rename.spec.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d019510bff72886d429df3813e9e83cee56f0aa0b400f24dee92317ded94ab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: closes without a request when the title did not change: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/__tests__/Rename.spec.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e776c3593691ee66cadc4edcc428feef24dab7991f7a74c7bbecd017d9a65ae4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stays open and reports a failed rename: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/__tests__/Rename.spec.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e96b451c6ce944fa6ba3ee349e22ec3a78cd815ba7418ebe119ea51b868bca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells the row when its description exists, and when it stops existing: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/PullRequest/__tests__/RowMark.test.tsx"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"29713c0d5d0fbf54b61c185fc03ffd3d5e2813b55c0bff4d84b9b71e979c5f85"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports no description while loading or without a pull request: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/PullRequest/__tests__/RowMark.test.tsx"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"64feca9a1bda61aa2afcac4dd99e99b7c1d2ca29571ea53a292a234376c46161"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not open the row when the card is clicked: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/PullRequest/__tests__/RowMark.test.tsx"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"be97a9ec2741b45668244c1b7cabf44bf833ba9b73e3d7167725364a42192e1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: switches host transports without changing hook order and restores ordinary chat submission: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/ApprovalContext.test.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"83aca7c7e99d53e916e4db1d9e1880ab2371624aca045963878cf73faf793d1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: saves changed text parts before closing the editor: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/EditContentParts.spec.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"557cb956b38e83013637942c648df24fe2e45365d595f088985ba296743f5d27"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reruns an assistant response with the edited content value: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/EditContentParts.spec.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"431802271a6fc8612cf6cf4ec21c73603aa5d509e11bf7649d7463bfbc5427e3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reruns an unchanged user request with its original text: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/EditContentParts.spec.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f37705138b4ca7971fa17166238c8e2734db817bb7f0e19f37811f369ce9ada"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for a successful save before updating local state and closing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/EditMessage.spec.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b798adb58b7ed1646a13af1cdbcf690db520003ada3f1366bbd1047be87c285"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: writes the save onto the thread as it stands when the request resolves: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/EditMessage.spec.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef857bb7fdf4a4f3ad6b809d74a8c80e240d6f3cc1fc39cdb18feb5c8daced2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: with Enter-to-send off, Enter writes a newline and Ctrl/Cmd\u002BEnter submits: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/ToolApproval.test.tsx"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"859069c5eacbc54527fb11a3bafa4049eee6b331d87e465dcb0ed8af84c22eca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requests the stored part for a bare panel it did not open itself: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/BashCall.test.tsx"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c79908bfe4cb5bc6856fdfd25e024e5a1e865dd088647c2b5d6c510c6339324"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: navigates directly to http URLs when no stored file metadata is available: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/LogLink.test.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"60df899c6c9a162c56dafd4d8255d70a92f0ca82b2e12c8f22051cc158c56eed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reports a thrown fetch to the user instead of failing silently: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/LogLink.test.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8f94f7f0e237dcda59f22f6897e49110455588ccecdb84e5fad82cdd0264b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the authorized file download route when stored metadata is available: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/LogLink.test.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1951ab5ffadf096d84c4d3013afe652ad37bdd4b3dd0a47ae6e260982e669e74"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes downloads through the share-scoped route in a shared view: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/LogLink.test.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"17dacd7d991e03da259c92744e8cf291dd5281950ca1650e2af4a147480ffea9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps legacy code-output handles on the blob download path: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/LogLink.test.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"678eced4af8504630ea732f4b283b0dfaf00715e9ba32c93eaa6c4f5d8fcdbff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the authorized file route and a text filename for owned text-source files: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/LogLink.test.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdb826e8cf5eead6917785effc73ae582822d38a643a936bbf10e8566e9641c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a definitively failed steer whole so it can be corrected: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/__tests__/PendingSteers.test.tsx"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed301389fef7b53926689565b15d56748d22696cf255b66f49f60debef609b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records primary ownership on B while retaining the fixed reviewer on A: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/CodeWorkspaceMenu.spec.tsx"},"region":{"startLine":1036}}}],"partialFingerprints":{"codehealthFindingId/v1":"108a90fcb938a53bf9c84ab3061d2e728410354fc0570368940342db4b7241ed"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: chooses an explicit %s checkout during attachment: This test sets up 5 test doubles (for example \u0060jest\n          .spyOn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/CodeWorkspaceMenu.spec.tsx"},"region":{"startLine":1634}}}],"partialFingerprints":{"codehealthFindingId/v1":"3113aa1283a18ad7dab503348c731fb323513bf64a2dd1dc6c4cc967199c27d9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a failed recovery retryable without changing the chat or preferences: This test sets up 6 test doubles (for example \u0060jest\n        .spyOn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/CodeWorkspaceMenu.spec.tsx"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e74a994386ee16d7bd2d236a65f0755c60f7753f6528a704194118cfa4c0e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows the error toast and submits/records nothing when resolution fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf7e4080b3ec4e7a5bcf672125ea2b0b7ae57a81f1bc6c5052f45e9eda679ac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards a Langfuse resolve that completes after the popover unmounts: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c805fda9b6eb4192e53ab8488cc783ced7b28b1232ba38e0d64420ebb4dad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards a Langfuse resolve and clears the busy flag when a new-chat reset renews the draft token: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f743960d8d8fefb36efda80eea54f1cfdae9b050cbeb47afacd69e5571467c3f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards a Langfuse resolve and clears the busy flag when a navigation starts, before the target conversation commits: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f91d002f0ceb8bf4c42d2990668f5e461630806c9576465372da6eb857cb22"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards a Langfuse resolve and clears the busy flag when the route pathname changes, before the conversation updates: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9c2a88e82f03d91c9b8911d131f7a0556dba2fc7dd809e396a4c7df10bac4e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lets a pending Langfuse resolve complete when a same-path re-navigation leaves the pathname unchanged: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f3faef6877f3c689db6b59afdcbe05cb53160838e4e7038d58bb6e80b5e904"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lets a pending Langfuse resolve complete when a parameter edit replaces the conversation object on a draft chat: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e09440dba0db7f53db8c2ff3e0d31bd4635d34c72b7e262465203bf21af6d52"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: lets a pending Langfuse resolve complete when a same-chat update replaces the conversation object with the same id: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"393374002a2bd5a5112248d724f4e15b19b42ed15b6c1884bd2dba43ce563d1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: shows no toast and submits immediately for a native entry: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"7833b7c0cedfb423f72dd03149cad98eb3f699144312cf1e6c6f5339b1f73dbb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: supersedes a pending Langfuse resolve with a new selection, closing the popover and inserting the new prompt: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/PromptsCommand.spec.tsx"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda4bf2b307c80a28533eb96f4529f71a359d329c0af165105d6b7e463aa1e60"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: selects the requested step when call ids repeat: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/__tests__/Button.test.tsx"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adf749f5d876c4c474e0f64fef712fd209513e0af98a4a6040fe7ed63953f45"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: closing settings retires a pending attempt, including a start response that arrives later: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.spec.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c66dba9bcdba79324e19ef410fa3e4e422e85e73c59da48fb96aa74582d94"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should allow submitting when only the description is changed: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/__tests__/BookmarkForm.test.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14f78aa570a9927bd11ccb091fb8b8d444d2efabf3e9d8b0b4acbcf8f6afacb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not submit when both tag and description are unchanged: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/__tests__/BookmarkForm.test.tsx"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3fd54e1aeb1695ae1762e9f7978944986c95d0032da0a88241d097792aafa5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should allow renaming to a completely new tag name: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/__tests__/BookmarkForm.test.tsx"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eb5592e715176fd2a74eb97e6444e556079ac56a9515dc25044cd2ad61b1a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should allow keeping the same tag name when editing (not trigger duplicate error): This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/__tests__/BookmarkForm.test.tsx"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cdf6ba36dcfb8abca5c8f80afc6da6df6d2437389dd88e13ae25109961b441"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not trigger mutation when mutation is loading: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/__tests__/BookmarkForm.test.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c682cbd8865b978f424ce088762756eb01fefb564604a4879146c6987044876"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle empty allTags gracefully: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Bookmarks/__tests__/BookmarkForm.test.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afc40b251d5534fca0f12a62014b1143bf7585b4d785101dd47a0c7661c4ebf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: ignores setup actions while the sign-out is in flight and resumes once it fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/__tests__/TwoFactorSetupScreen.spec.tsx"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"005e389419e4092294ca5d0ea17a62b6d81d454a8112aac2cad26e62ec1c4915"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a failed finalization with the issued credential instead of replaying acknowledgement: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/__tests__/TwoFactorSetupScreen.spec.tsx"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"58347f9109aedbb33e144f245ddd606e543436ed654347f17b98f02366fcc6bf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls next() when BAN_VIOLATIONS is disabled: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff99c734ecc1dca9df8ba6663aab77f454e6cc26f648330288af02c59ad9c40b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls next() when no ban exists in cache or DB: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c992608b12dcedcdc6e2c14b47cd31f14edc70b087e78854f76806a43bb825b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still rejects a cached user ban: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e61878e8423b91df8948fbb66726acfa1b7ad9100624864972ed98b98e716ba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: caches a persistent user ban only under the user key: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8205839ffd4adcdae4d953c54a1ddb48d3caaa66a1d69b55e4ace3ebae28932"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans up an expired user ban without touching the transport IP: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f58d9f03b39a7f9448002a4dc4584939b0c02c24667edabef41973eb37b3efd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not treat a trigger header on an ordinary request as an exemption: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0814da8031540bf7192f4590dcf45dc142ee9296968a4877e46cad3c35f075"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not query banLogs when cache hit occurs: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"783d4cc093d53020d2a2de69ac6f71a1314b1761da5781435eaf60493560738d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns JSON for a banned browser GET without a request body: %s: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"85811d62ce98bd7e6076507baa2d4f607e8b2c66ccd1e9ac7196fc7fcb269b5c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats a banned queued-turn POST as an early text-saving denial: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90de01c2a1cdb10260db09340e6d9a69dabd015031326fcdcc222e08c948f42"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves SSE denial for a banned browser interactive chat request: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a10deb71cd6bbd9b8b08179ea5d9118be363cdc3601f180c5adc760cb8b82a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves SSE denial when a custom endpoint uses the POST-only name %s: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6652b90247e6b2fa17dcecf59e0b056d46371904331a989891c6922f709be72"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns JSON for a bodyless browser POST to an interactive chat path: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5def538f7086e56df616ae5ba56a54f31260d449c77fdabccafc8c75de0d7f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns JSON for a banned browser agent control request: %s: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"242de7930090dcb53e0a37d02df350b2039316a8df6d080da0772fd204388da3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps non-browser agent chat denial as JSON: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"438f9d613a2d09126f63e9c2c4c5f0ca5288926b47faa2070dab68e6ffc437e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: caches only IP when no userId is present: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4aaf252abeadf814be86c867b23d33407ec8290ad59412602196fe2765cf2c8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans up both IP and user bans when both are expired: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9440c0937336280f8e0ea49f37fb2a80cde6939be378dfef99886cac6f534864"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not write to banCache when ban is expired: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e8b9c07d69bb2d878f26560cd08a9056003912d7c95ecb1382c91cc835a1e7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stringifies numeric user keys when Redis is off: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f27efd879d8659ae3c22ff7626cf9ccd42a7ded6eed1c3e648637d0859690b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stringifies ObjectId user keys in Redis-prefixed cache lookups: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a3c880d1338a402e6094ba18661213a3c8ad73b6c16e26ca2a06e6a2d0666"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stringifies ObjectId user keys from email lookup: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1665ac9f8135d1d2f236ec9e8245dc386cf7543bae56f9101506fb429b78711"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses cache-prefixed keys for banCache.get: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a0a572285ff6abbef1e4cbed1971122332e3b4bdbab112da86aad8e1d40809"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses cache-prefixed keys for banCache.set on active ban: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed7ab7a18c9f9e99ffe11066513c97b049f180b6446512bc3ca37122e5ab5a3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 without caching when expiresAt is NaN-producing: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e8d116eae35cf189c918ee0e3f88df478a8da298b8e0ce67e28f8379386f9d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 403 without caching when expiresAt is null: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"867e7a8673aee79ab6660f9b737fca67a7c3a247c5c382f3291ba157c2d68ab0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs a warning when banCache.set fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"e924d737e3c100be65f8486ea460dc733d814ccc372b717b9f8073396ea0f492"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: calls next(error) when an unexpected error occurs: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/test/server/middleware/checkBan.test.js"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"d349f54911c9ea1276bf353a0e2e1726b7f2e33468aeb5b1f58ace977724a197"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: extends the OpenID session cookie to the reuse window when token reuse is enabled: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/socialLogins.spec.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4a12cdcf65a3720f242c334075a015e6faab4ba0f1dcfc59b2a1847bea8c75"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses SESSION_EXPIRY when OpenID token reuse is disabled: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/socialLogins.spec.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3d77bcf17446f8731294ec760cb1349e746e17c2836780490d71cd6a92ea0a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes OpenID strategy wiring and both retry sources to the API package: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/socialLogins.spec.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbeffa012d1c719ff84f6305d67dae63b5eb7bf87fad30137fc9688e98b994e7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should import conversation correctly: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.spec.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddab59ad344277dc9735fd4953683b0143fbf0888e08983979b3c3678b9c396"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should import conversation correctly: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.spec.js"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"6420a521b7bdfb9ae9208c9ddea1d6e052f026c0bba3c51998d5679ca27a0cf5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should import custom conversation correctly: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 11 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.spec.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d23f4127622391ff363a61aaea54f8b8c253ba6c5222ad0b02c018cf8f0ffe4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fail shared OAuth flows when tool loading is aborted: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.spec.js"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a4b67bca48cd0d7fe6738428a1e4df3750cd51f9245d90f5ccc9197c48c26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use user role when fetching domain restrictions: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.spec.js"},"region":{"startLine":3603}}}],"partialFingerprints":{"codehealthFindingId/v1":"89285b7b006c4eb2ae69675e4ca3d42ac8b3e164ec3c10158ca753b1c2aea318"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: wires the per-request policy resolver over the merged (non-baseOnly) config reader: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a7543e112d5ddb157135292db94573527e59de101f2f178cefbeed45aaba1e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should ALWAYS initialize MCPManager even without configured servers: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f038f8329d41918b8e76ee564486d2e220232050918311d6e0e9e5f5c12fe718"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should initialize MCPManager with configured servers when provided: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d8a1b155a7c928285fbc3ca46cf377422d9af76c8d8fd1f2984a993dc36d343"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sets process-wide recovery capacity from the base config: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"347c55471f236297ab8b064d45e387a567dc2c0df0f9d5ae825035fa52b143a9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should register app connections for graceful shutdown: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc50e9aa85d70703d29d29d488e342b437c0279d46a7e7b97c931a917f788fa"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip app catalog discovery when no configured servers exist: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be453864216b8a1a1db22b4a10702419d6680634383e3ffa3de06e5174463b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip app catalog discovery when mcpConfig is empty: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c72f77ec2831cd4df0b93e0a09a5e7117161f42a025e5d4d1a016f8ebbe4cb7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should merge tools when configured servers exist: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"539c81cb700387e1d73df2f9efeaa5fcc78a56ae2e230af2ccb384ae972cd66e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle null return from getAppToolFunctions: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29a144e34f005749b9146ccdb3ae103163d8454853fe0566aa1b3288c495425"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should support UI-based server creation without explicit configuration: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d258d7028f95706da361da86cc2e017eb2c48676a66f63051bc45053c3ce77"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is registered as the tools-changed handler during initialization: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.spec.js"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"b530c5bc60e6bd106b4aed120734d37b197318b3b0d48bf8f4dffa6102f5b021"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves the effective user policy when a reconnect refresh prepares its write: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeOAuthReconnectManager.spec.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7cdb0c320690d0948032a11163b372beacd1f96ea66d2fa5d0cc692d8d782c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not log raw code-file priming errors: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b817c7ecea848db70520b8f78792db1a9aac3946f64e305ae146e0b92e1de5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not log raw search-file priming errors: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f9b1d0791237a5722482173920722c48d9659ffe560dc9abe2e59fe4bd3e2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should preserve the remote-agent permission boundary while priming files: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fed8c9b923160baa56739680c121ce7b65f5ae6a2a366ee7d4ef5e3a12d1eaf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not decrypt action metadata for an %s: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":1376}}}],"partialFingerprints":{"codehealthFindingId/v1":"880f88549a7a652fb54107881b048a5180e0730270be1b29faddad0cd3d900d6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: numbers the pending MCP OAuth login steps in the order the loader looked the servers up: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":1804}}}],"partialFingerprints":{"codehealthFindingId/v1":"3137015f41d368b2366792a888d88e5af34a6f8f073faacc79e8f4534834ab04"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the configured MCP catalog lookup bound to the definitions loader and to its reload after OAuth: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":1872}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab561976dbb79b11c7c8dd223b9e0f3c97b64001796cbbd9325d1a6d6fe04235"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not join in-flight MCP initialization before replaying pending OAuth prompts: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":2350}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea31f2315f4b7a3cd027e57b6e8b8bba083e52c999f436259b70e6fcc851740"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should preserve OAuth URLs emitted while discovering MCP tools before a silent wait join: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":2578}}}],"partialFingerprints":{"codehealthFindingId/v1":"9398e5c1884189619b922d8977edc9aa53196e17ddaa5d463b67e5359c32e906"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass request body context into MCP tool definition reinitialization: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"6497e5ac5010db69a1cdab2798d8ec64c63549e5d46c09741540471768e6c218"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards OBO context through forced MCP catalog refreshes: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87f3b29ff0095542f3f43fcd1d6b4018b33330a7efbbdd59b301afc820120f0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses host-supplied renewable upstream credentials when loading tools: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":2727}}}],"partialFingerprints":{"codehealthFindingId/v1":"781db844987b24e7e5aebb76bd0f9c89d3cab2bdbb639bd05908e83272b8579e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a deferred OBO resolver separate from direct-bearer credentials: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":2780}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9397af11c6ea91ccd3f5932a80d5c863158b995ae3fd1ff5bc9683135a3e8fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the lane for the requesting user and the resolved conversation: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":3588}}}],"partialFingerprints":{"codehealthFindingId/v1":"133e503e2f7b4fd0b0b8707dcc3a37b47a8f92e30c4117eb0bb5538ba5fb21ca"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes negotiated lane and native sandbox capabilities to the attached bash tool: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":3729}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0f97c689e6f46bb4f4cb1f245c0a93f21d9443e3ed6907fdb38faf462407b0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to registry projection for unknown snapshot versions: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/__tests__/ToolService.spec.js"},"region":{"startLine":4160}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f9c878b898cb5ea00d06ae7139ac01beb8ef9ae6ec786a89cc4b5ecd8a3fdf1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: updates the cache with an empty catalog after a successful connection: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.spec.js"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d83a8a2d7f9b498522e91b5df048cec85829fa25fa4b775b49c2884743ce40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes under the ordering its snapshot was fetched with: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.spec.js"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29e2f181c2a0e21e9d48cd262239d57a20aa207afac6aae426edc30f278ef89"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes request body and Graph resolver into connection creation: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.spec.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"908572887abd111a4d91992e3aa8f7baf0bd8b3a2edefc7b68f273147e36d7a7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the pre-built upstreamTokenProvider closure into connection creation: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.spec.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8003817710fb38e772fd3e4302816dde9b7e5b3776a1ea13c1a42b80b7b46af"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: disposes ephemeral BODY-scoped connections after loading tools: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.spec.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"993c2868b4c565cb8db773d57e4bde40d2a11488657d008412df8f52dcfa2bb0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the file owner when deleting synced files from storage: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Skills/sync.test.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c675af1e8a6745ab0f383fae0ce5e5adf226ab0535da6f448a6afa9b249546a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves the access role outside tenant isolation but writes the ACL in context: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Skills/sync.test.js"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"71336a1fc280245f9dbcf2eaa6af8aea9da002df71566d1b071acfa1aefd0073"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: overlaps the retention lookup with %s storage: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d108c8ae245dcbe6c64bdaf21051e4d6842c80b4af9fd64d68d779537eb4fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips retention metadata for persistent agent file-search files outside all-data retention: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2f29f97acff8654296fbe5255f0cbf0a0613ed5c216c1a58730d4b673eee68"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies all-data retention metadata to persistent agent file-search files: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e3a40dbc0ce19c9552ef6760aa2b56ad2088a881e69e8c5c69a1a694e4c125"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a throttled eager upload with a fresh persisted stream: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1472}}}],"partialFingerprints":{"codehealthFindingId/v1":"effa2ea84979207266b2f0d295be713eddbb3c6f7f1cf6ba7e3d8fb1654d97a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uploads converted image bytes under the converted extension: This test sets up 4 test doubles (for example \u0060jest\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa13dc034658886648c196266c920ae0c1e54306b62602d9c47a13d7aa821c03"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips retention metadata for persistent agent execute_code files outside all-data retention: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"66de9a662c7b898fed75f1a4271ec9054011a5941b124d04ad73093abdbfdd49"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies all-data retention metadata to persistent agent execute_code files: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"493a295eaf41c851166c33f1a74ec184bd4902693c01bc7d5d99308c3deac8dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stores the original file durably for OCR delivery records: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":1817}}}],"partialFingerprints":{"codehealthFindingId/v1":"d979661be673b653e04fce6baac4590a6ef410411845ddbccde7309f38dcb5fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists llmDeliveryPath none for explicit execute_code uploads: This test sets up 3 test doubles (for example \u0060jest\n        .fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94fb43aa01327658201a111e029bb49e9bdccaa180de06f4a43b6ad8d895128"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies retention metadata for generated images when retention mode is all: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":2487}}}],"partialFingerprints":{"codehealthFindingId/v1":"554718bfd6e29d0846c3e85eeaee272a0cd32499b91421233d0287087f7d2040"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies retention metadata for retained non-temporary conversations: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":2522}}}],"partialFingerprints":{"codehealthFindingId/v1":"13163a67654a622966f54a60fbc88979042852c70aff871ba76c8d7877be52b6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps expired retained conversation files on the parent expiration: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"094dd53533cbc2650f0c94c7f12063136ad2432efd70d5847d382db75bd3136a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the converted image format rather than the upload type: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.spec.js"},"region":{"startLine":3429}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4174ff62b1819105f6ec9d3d25fa351851a1b5200c10db83894062a1f5827e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists the exact preflight buffer without downloading it again: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"959da2cc9d02ac2f67bfd214e17ec4e657d26999527cff991a17c7e2e4fa7ded"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not overwrite a reused output when its storage claim is denied: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfbb3ab53bbd26773dc7b7a2638345b6b915d19f1404ff5ab4752950785fe43"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists tenantId on image code output records when present: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"757cccea10c061eb75a4f2be8c2733d7f6c3d55a8133c02fb0f49cdf5f4de65f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes and persists tenantId for non-image code output records: This test sets up 4 test doubles (for example \u0060jest\n          .fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"d560b9dc0a647ed82362a0fca9454f8e57da1f0f8966f49befaacbd46b02faa5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the basename (not the full nested path) to classifyCodeArtifact and extractCodeArtifactText: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ed18b5f901f0e56a592fb16b2b22745769c1186f286374686f9568eaa366a6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should overwrite a previously-stored text value when re-emitting a now-binary file: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"e376b701c40881290099bc3194bb180ac05e9c41e6f7525b604862a7a7e76126"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not invoke text extraction for image files: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"197d51677d07a25382e0eb08812ae0f309d653df4208968c66e14198277b6054"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears deferred-preview lifecycle fields so a prior office record at this file_id stops looking pending: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9e433dfffeead4100cec4ad818bcb5dc4b132a8ca547600e0714b8d17bdc91"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: treats a zero configured limit as unlimited within the hard transport ceiling: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a64f9f00b9ee468b331cc983bed675fbaf0b62183ee5c38fbb8ef6e28a636992"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finalize() runs the extractor, transitions to ready with text\u002BtextFormat on success: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":1511}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb90f2ff0069a4a1c9397d1d9ece6b4681251d36328f27ac21921a6c065967c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finalize() transitions to failed with previewError when extractor returns null (HTML-or-null contract): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bae084b0a0efc0a5836b6aa9fd2a228c0243ab6dd4db520608fb28b8855440"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rehydrates a runtime file by ID before using its storage metadata: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":3257}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a54c88510b7b1340f588f06653f0cc8b2d9a377b34a44148acf332c84dbc43"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks a configured transcript before returning it to the client: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.spec.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15bb9525f5efaa59ac58d915cc5cf0b613348917de977d54ecbb5b4a20d86f9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks a configured filename before reading or sending the audio: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.spec.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b69b915d7efc5698ddb9185024500e421b5748bbd276d1e77347c4474cd7e140"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks uninspectable audio before sending it to the speech provider: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.spec.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92d49692b52e8417e437ad2db95b37ccc1e30e53b0329010a83159fb3872ea4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sends a provider only the text up to the configured cap: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.spec.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd01ee8f42bb5a898260551657df0bbc1b31b8aaf7ad51dd547a029138e042e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses a non-text body before calling any provider: This test sets up 5 test doubles (for example \u0060jest.spyOn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.spec.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aefc1e0329993a53c415117e502bd6934775015fccff35ba62bd38ef2c28ef9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: gives each chunk its own deadline and destroys a started response when a later chunk fails: This test sets up 7 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.spec.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"5080b22a83e0414e396e8295f2cb1f012fe8db12cda2e7d943cbf77475c65fef"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the title provider, cache, and save for a normalized temporary request: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/assistants/title.test.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f87739369bf7763f863a6d5c1f18674b0087b3b15ca6ef9b60825c653a3b96d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replaces a blocked generated title before caching or saving it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/assistants/title.test.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dd08191de04e73693d5d14eeeab8ba8073551416f6d5094e25a9aea6855b56"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replaces a blocked submitted-text fallback before caching or saving it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/assistants/title.test.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"741e852a41db6496191d52487d440eb76e806c4cf0633ea71a5e0a8924c58a39"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves and forwards model-spec skill scope for added ephemeral agents: This test sets up 10 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/addedConvo.spec.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7565f5c8bbd3fba5f45b95ba36960ceb6cb2393d504b2f5004432356a32d817e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: %s: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/addedConvo.spec.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6760a43bf4c73cdc5f25fcadd9c493b63b20f2a50c07df2ee5056cefdb12360"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: binds the resource bearer host to the trusted root, restored=%s: This test sets up 5 test doubles (for example \u0060jest\n        .spyOn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.spec.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1f95abd6bec4ad71e8286238d358ee5b3263c49d10cd25e5225c6b900f741b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts Project lookup as soon as the conversation snapshot resolves: This test sets up 4 test doubles (for example \u0060jest.spyOn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.spec.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"88629ba3ac01bd78a95a8153ce2d832befd426ce3d61eed5838755c4eebcbb88"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: exposes attached-workspace mutations to agent handlers: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/skillDeps.spec.js"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"25645823bd000d4185ed17a91afb644efd5c5847fed99cbd57673468d31ca417"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the explicit conversationId for the cache key and saveConvo (immediate mode): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae40975e70e4a417c0601a16be37ba400ce3d628e8b30b9f96482746d3301331"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to response.conversationId in legacy (final) mode: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4623bf97a13c18a5fe0c2c7ad0dfa78ce6c991f9d8024cbb4d90332c719ccd1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: replaces a blocked generated title before caching, emitting, or saving it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"58dfb2dd1c1d75f9c7a6a370dcc6a249eacaf797350568efec13f21d0a813873"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips generation when neither conversationId nor response is provided: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2411467e072cadbdd114d58ef10ee959a65ee31881f51beafa43a24d4c1735"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards the title without persisting when the stream is superseded: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae15c871c1cc15b1662de68d578351de7bb61264a6a5e20285dfce66406df18"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists a title generated before a user Stop (signal aborted, not superseded): This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b13a2618924d0c38822147584c6f1493766c8616d0ac926af722ac6163acdd5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: caches the committed manual title instead of a rejected automatic title: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.test.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b02668a54bed650a5820892437f689eb8112465629213fc269be3a1f248cac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not reacquire the lock for a write already inside an aggregate update: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Config/__tests__/getCachedTools.lock.spec.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f183e25a80eed54ec134ad933984de0fe9d6ef7d3836b80d0c5a59ca4322fde6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: atomically replaces a legacy global catalog while holding its Redis fence: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Config/__tests__/getCachedTools.lock.spec.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"309ee7e86cf89b90d5aee119c9310d56b76c58a25215f6927e069dd978c418d1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks a configured filename before reading or storing the image: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/avatar.contentFilter.spec.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"421f1fb7b3dd6523865dc0f83927fbafb86218d40b49be8b519cd812b5aa1a7c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks uninspectable image content before reading or storing it: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/avatar.contentFilter.spec.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee12f96e21b8d6958ac4b6d38714eb1e76965357031e74f3c44d3ebda71a9a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the default-off upload path: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/avatar.contentFilter.spec.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d475992facc42fe10d556b4d93b22d1646b2c16ffec7bcb9aa7c8f2709500e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the upload path when the selected file policy has no active patterns: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/avatar.contentFilter.spec.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b76e0ff326c9b4c62594eb6dfcec92684243f79bf82055c0cf5431e022475a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a Config callback live when inspected config resolution omits the server: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/__tests__/mcp.spec.js"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a35fd20427bbb6b9ebe60354082db26c245659f44934ef834d7e191bddce4bf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should use oauthHeaders from flow state when present: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/__tests__/mcp.spec.js"},"region":{"startLine":2130}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e83440ef2070982b0e72470e8e26c1973d2c160542e491f0cdeeb1655a04612"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reads a flow without a snapshot from the principal\u0027s config, not librechat.yaml: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/__tests__/mcp.spec.js"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"f764159b63d1beba9c1084eca05ee5e79fc97ff9f93b31fe99a5b23efcd3fb73"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: turns a rejected override into an error response without calling next: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e413a4e39f92b280912ca5b280d555943db534af2b840bb5c9484c200d851e7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should reject non-enforced model specs for a different endpoint: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e79bdd852b0374fba47831c9ebdc98be3972d15ee639765abd93d00c9d6f6e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks a filtered profile name before a non-agent endpoint is built: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"105c010c85cbbf7c10005d4257dbc9d129ad384d213603fdaa1e4b210e26d035"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies agent-instruction policy to the profile name substituted into a prompt prefix: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fcb059750946835f0ce1af25d875034a7ffe27490df47088a9789e63bdc6be"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not log submitted content when compact conversation parsing fails: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff6d8e810299c0297eb262fd2d407d3dd27e1ea645ce2463131c22b37685352"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not enter the enforce branch when modelSpecs.list is empty: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30eed1d596a13c18c43fd2309de03d3b645b36e08baf1d0e051b28cb3551ac"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still refuses an ordinary request carrying forged continuation metadata and a trigger marker: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/buildEndpointOption.spec.js"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cbe8898e7db477b716e3944c0b341f6203a681c97d99c8bfea067309970d4f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not consume the invite, so a later failure cannot destroy it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/checkInviteUser.spec.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bee22ae5dbd8a880b5d760711f974e251e5888b2c4279c93c250f70fc7ec30"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an invalid invite without touching the token store: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/checkInviteUser.spec.js"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bb2e01612f828d2780a54976b8eb52f91870e2d9e088b05b48a5ac746b4f84"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes straight through when no invite token is supplied: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/checkInviteUser.spec.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf1442513a12ef105f3db7641d29edf7b0c141d56b1e7ddd40f8031bdd211a8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not advertise an original on a denied first turn that is never persisted: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/denyRequest.privateText.spec.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdf4ea1a7116fd2e02e08b8182eac9979d04177123ab7de2baeaa7c1c208378"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed before event or storage when denial hits untransformed private text: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/denyRequest.privateText.spec.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"46359d4c50e625245d3b325b069c75d084f3915c36128a8dee65a9e5b5b084e4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a queued-turn denial before events or storage with %s policy: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/denyRequest.privateText.spec.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d668761abfd0cf35982f1a616cb204560e6e1b26e5e36b90b0de460b770452"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed on a denied Agent submission when its policy was not loaded: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/denyRequest.privateText.spec.js"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb431e8f547593aeca4208940532d7191be2ea55c449885ce34b6de5ebb4bbe2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never stamps or exposes a reply the message write did not persist: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/error.spec.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"677ed8f08cf0e501baaff3bf27acade970a280d1d221b5616a35cea14ce8dc82"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: short-circuits when a bearer user is already set (no cookie work): This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/optionalShareFileAuth.spec.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bd9c679d8a8eb6f5691400ae081c54fcaff046e63d18ed4da0b10cbb87925a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dates the cookie by its own mint stamps rather than discarding them: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/optionalShareFileAuth.spec.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c9fe8281714c7807538db15bb91c83750b50fb5eb37e48be807413dcf57033"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dates an OpenID cookie viewer by its own mint stamps too: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/optionalShareFileAuth.spec.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"21560bec45c401a19d79083e677691a1f5c7aa7d72574cda7dcb7474417e5e57"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not wait for the access marker to be written before continuing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/validate/convoAccess.spec.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89aeb65b9422e8a2bdaaacc39a89b74e27e62ad3cbfdb49093a5e5dfd09fa55"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should prevent file traversal attempts: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/spec/validateImages.spec.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a0d465352d9559e7721a5f20836036664a3de9c8313ff34dab14c0af8c4c42"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should handle database errors gracefully: This test sets up 3 test doubles (for example \u0060jest\n        .fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/roles/access.spec.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff9809288613b49afa29e9534d49a52a2dd9daa2fe2a2ef26dbfd1406d5c1db"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reads YAML-projected limits lazily after startup configuration: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/messageLimiters.spec.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cdee5771a566cc07116e62537c7c1d04ab345373d7ee566ace45c09df935cbe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never logs the raw error when both config reads fail: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/config/app.spec.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f40ddfd3b621972034b1901f0a89bcf764409b5bbdf0178f23d84d75801f1c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never logs the raw error from the strict config read: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/config/app.spec.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3145824b2e6830b972fd6b76d63a507c3e5ee98deca7f122255afff60a7f73"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: withdraws the setup token when recovery lands between the strategy read and the mint: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/__tests__/requireJwtAuth.spec.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"769a391e3f42c0cbbffbdd039b67ab6130453225811b22e11ffde3d52286dcc4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still hands back a setup token when no recovery raced the request: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/__tests__/requireJwtAuth.spec.js"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"341861602604ece1e51cd17c51f999305b7935f591a17c709f037c99584af108"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: withdraws the setup token for a bearer that carries no datable claim: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/__tests__/requireJwtAuth.spec.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fc1cf6c8211107bd9b484a0b005e7041cf88a0982c9dfddabbc453ca893db2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to the browser token only after the advanced session token is rejected: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.spec.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a503ee357db0227a283f8cd645d3bd6824ce1f48c75c9d641e3ff070feeddfb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes a grace bridge published concurrently with logout revocation: This test sets up 4 test doubles (for example \u0060jest\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.spec.js"},"region":{"startLine":2446}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1158ced69923366c706a13b14fc6db0f5674fae51c15a5a3046fa523b30a584"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the grace bridge when the ownership check fails for an undetermined reason: This test sets up 4 test doubles (for example \u0060jest\n      .fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.spec.js"},"region":{"startLine":2482}}}],"partialFingerprints":{"codehealthFindingId/v1":"65970efd2ec4e6e8648a79dea0609a9e369a46f3fa2d3536b777fca50dda0f2c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: removes a prepared durable session when logout wins before publication commits: This test sets up 4 test doubles (for example \u0060jest\n      .fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.spec.js"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"600ad1cfa49aa994e7905378c2dc1e667787619955221a5e7e393052f85d48f8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should return 200 on successful deletion: This test sets up 9 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 24 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6fa8bc7990055cfc2561e4505fd9a94397733ae1980de4958e9c9debaf47ba"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: aborts generations admitted before the deletion fence before erasing messages: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"58214fe89a8c44ac34d22e750ce784f728c79e0bd4079d51f5897167e8ee3e5c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: waits for %s after an already-settled abort: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc92e930e9b00527fbb8d108101bafe9f3c8bb4228136ac878b8db840279569d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains account data when terminal persistence cannot be confirmed: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20894f770e8bc588d542688298639593dacaa44309ab4b8e2cbae7caf6c09be"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when an account generation is replaced before abort: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d6247bfa4a4fe2595930d4b125aac72dc9d526e2c8da912be3ee1d7b3c78ce5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed and releases deletion fences when a provider cannot confirm drain: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"badf6b0c0642e336e92be27dd099c2d9bf69faabb41276dfa29c9e5f9c938d2f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed and releases deletion fences when schedules cannot be quiesced: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87909e6faf0800971d74de1788c914e425f3dd8aff41a39cadf4e6512be03af"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves queued trigger payloads when deletion fails before the user commit: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a847c460017c056f5ba13de7420ce4841018a397ac12a08053ab2606e4b850a3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not purge trigger payloads when the user deletion did not commit: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.spec.js"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f2ca326937c761126d6ba1092392fc71a48b22a5ce6fc54565d128eade16f5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invalidates the tenant-scoped list avatar cache after an accepted upload: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/avatar.contentFilter.spec.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd82f176ccdf2f28c2939e2794a5df2058fc6e94d90fdbb8b75e968ce5bc796"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks an agent avatar filename before database or storage work: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/avatar.contentFilter.spec.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"242df8f5b664a26f7b82ca3b5bbbe4346063724a14c9a1b62da14bf986693264"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks uninspectable agent avatar content before database or storage work: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/avatar.contentFilter.spec.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6b78f83223de4ec6c42b5157e04cbbd5c03ee6feae02a78d586e281814a691"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks an assistant avatar filename before provider or storage work: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/avatar.contentFilter.spec.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"005715b3f9f974f036ee851b1e3edc1dda5bb8dab5d6859409b39a1d260541fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks uninspectable assistant avatar content before provider or storage work: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/avatar.contentFilter.spec.js"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc337d1f165eac888621f2c4e26d55f985a4628bb1a393109f114f2583548547"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: withdraws the session it had already minted when the recheck cannot complete: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/LoginController.spec.js"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aa699de3f9e3f701f5aeb801d6a973b9213e7cf40ea600dad9cc81e4ce1f1c3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails a sign-in closed when the challenge cache holds no challenge for the session: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/PasskeyController.spec.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"482bae32398304d5e94fac8c5386dde53f1e18b4f4e1dca6096868fa8292f845"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: withdraws the session it had already minted for a backup code: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/TwoFactorAuthController.spec.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38385395880c3a402e930eb7225c237da806b34b9cf84188ac1c68378136e86"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: withdraws the minted session when the recheck cannot complete: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/TwoFactorAuthController.spec.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8669427ff5056ec6f312d7f8799640665223473c4e51a519eb2f5f148cda78d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: omits refresh token from admin exchange when OPENID_REUSE_TOKENS is disabled: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/oauth.spec.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9cff23f7b3f766ebd32c61de5707f6ea288b7489e0ab4dfe3b06accbc1fc9b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: includes refresh token in admin exchange when OPENID_REUSE_TOKENS is enabled: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/oauth.spec.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc099b30e7a0bc3e3bcbc139c4169f0852a7b02a0845b3e90899549f11533380"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes the standard OpenID login through the durable generation service: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/oauth.spec.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"30559731155e4a8f2cd9b56354d08e7048d43de58810a7292ac9517a8a2da986"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases a balance reservation that settles after thread initialization fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"b672c7e50edb5c476c5bfeb433517cddcf87d5dd8de14e183b5e777b82d98366"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns not found for an unavailable Project without provider or close-handler effects: This test sets up 9 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"094e3bc08501bd8225b7f38896f32498061bd2053f15f4f352c2f1e6c5288b90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes authorized project guidance to the provider without loading project resources: This test sets up 8 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebc91b0e89633e2010c1b218c189d3d5c4753f9a483949fe2bac5102233767d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not read remote policy state for explicitly inactive selections: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3afdb5d24a96a6d01b5cfb6239523d0e7e25e9bb7b52e30d3ebd072676c3b2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: reuses the persisted assistant read before initializing a safe file-backed message: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cf1087fe6b2f4fe01b966270a000ee449b0c18be7de48bfc4865fa90149f20"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the disabled file-policy path without resolving canonical rows: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa9927a48093de218af4266159588e849bfb97257602fb0330b72d38b28a36e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the balance reservation until a run that continued in the background settles: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":791}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ac2eaf611d7da7c1f199222770cf980357b028103067e69a8f8c0254ec7e09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a new hosted run before provider execution when project guidance exceeds balance: This test sets up 10 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chat.contentFilter.spec.js"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f7bd4a8c0c8acbd737a899f26024a820c5b8235d0fd212a271eff43b8fed1a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the management capability bypass for %j: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee5a4663a702190493add768cd12093e38ff4a42328fe0e9f2bdca741f21dbb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not bypass %j during a transient capability failure: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7355697c133232151c5635f72dc3007e668e7d76a4a3e1e8f895e26099f311"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still allows normal filtered access when the capability service fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d2d650a3eddf6c30e95ac425592df4c6bb517e636b312d5bdb54cff17279e8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: matches listing when the endpoint config is absent: %j: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"28803dd3e90aa144d26da11f3e384a674a55c2096c53327e5f5a65658cd0e3cf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: maps requested model %s and deployment %s to %s: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"05a0364401ce51b0da56f52779814341085533f4b3bbdb4638186f27ce8dcd2c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: starts independent group lookups before either provider finishes: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d550334b8e7949922a3a1b34a44868b9e59b58867ab1fa99a11951386448b36"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns an authorized assistant despite a 503 in the unrelated %s group: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa3fb33aba08687b2dae9b3e216457ba6f6d5cc1cd4f037c97c851cb6ee29ce"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a safe 500 when the only retrieved assistant is denied and another group fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"abec6992a42a56f86878898f30aaff344f4c24119b5bc97c902d0c14a1e15da3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: maps a later group\u2019s alternate deployment to its public alias once per group: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"be93afcafa460b7709ced04f4cb75a8b10549582afe1f395e09367bed784aa0d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns an opaque 404 when every group is missing or denied (%s): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0d21c77e171db688ab6846a4892749fc34fbcfd26882d7e47fe3dc86364ca1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns safe 500, not 404, for a transient %s error in one group: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ed5247747945b401c903edbee81d48aff19649a6ab57a273884177bb909447"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the management bypass for a private later-group assistant: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6c4a4390ba4a4f1e852eae51c52a26597c85195ec308609e5f29973ef6dc06"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps an explicit model pinned to its group even when the ID exists elsewhere: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f624f4108027e647c3c646708ce0021de23bc6dc9062a427c1e9affccb3c096"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: searches only configured assistant groups: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bf8d99c2aacdaa5f6bdaaae1880c97977d34f02c4b68ef89a51b5c0003f285"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not default an explicit unconfigured model: %s: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf06fc09d0b8ef71f6c304eedcee9951a448740948239d3465b0bdb6e797951"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns only a safe 500 for an unexpected private %s error: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eae3f18562e2a924c9fba985edd447580626b7dcf71cf129297b46b863bc681"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps an actual provider 404 opaque: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/retrieve.spec.js"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e5fccdb17ccf542b7066f4ed187f791de062bae2a2cced2c1f3cc75d3666450"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: registers the parent user-message write before detached child dispatch can proceed: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"5903b67f0cd63a5d90ca1bebd7def6565a1301f03f4e8df93f669159eab3b38f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records collected usage as an abort when a resumed run is stopped: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd34b49b4f272d4afe3f9ecc442cfa21ca301bc436dd71ec4197af733c91a95d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: overlaps run creation with checkpoint pruning and joins both before stream processing: This test sets up 10 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 11 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":2837}}}],"partialFingerprints":{"codehealthFindingId/v1":"093684017dab754e979709ff3bca26d6242b84bd8c4cc0fb18884b3da1551e01"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records collected usage as an abort when the run is stopped: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":3346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3d3f0fae28e3b2b2096a011b497cbafc39eb18a21778a2f7481e70656eae04"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records collected usage as a message when the run completes: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f5e943ed2a53331f2ebe430edfced47c958e8917ac5ded399367454ca0e05f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a later non-provider run failure on the generic error path: This test sets up 6 test doubles (for example \u0060jest.spyOn\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":3724}}}],"partialFingerprints":{"codehealthFindingId/v1":"697a3a69bd5cbb89e8872cddd171ecebf1912b41fedb1329077ef33fc50fc24c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows unmarked model prose and ignores a marked sibling branch on resume: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":10446}}}],"partialFingerprints":{"codehealthFindingId/v1":"44b5cb915584f46682bb655c7c030b0dd320d901c87364426aa2d498afccbae3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip avatar refresh if cache already covers the page: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4444}}}],"partialFingerprints":{"codehealthFindingId/v1":"e786ba27f7add805da8fed8d329646f01202fe078033df8d49addd08031d131f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not treat a manager page cache as an ACL-wide refresh after role downgrade: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1e4149991880ad920260329a2e6a3f3de2054a3ff4d715e8848fbf8eeb4799"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should refresh and persist S3 avatars on cache miss: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4486}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a96b68e9ff060b58e8b45d2d4a03099734fb4055fc2e952320e06d67c3399c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should refresh avatars for all accessible agents (VIEW permission): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6dbd8e82ab66a4aa59de94107add23ede273b77d4cfccecc96fda10a944409"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip non-S3 avatars: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4630}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61847c6f008c2af924a6ebadb7a166d1cf99af42fcb768df095119617119120"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should not update if S3 URL unchanged: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d68c83d8ada6f6ee6d19239e201c82d8c8e225b182f17f68ca4f8b92d3a6de"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should process agents in batches: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4698}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3f9f9c27d23c58335141ea9f168601f882998a317829a5075507b1aee9e6f5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should skip agents without id or author: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4751}}}],"partialFingerprints":{"codehealthFindingId/v1":"319067a139658266d58983780a51b2d83cc8a68d385fab1cdbd244d6095a9298"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should treat legacy boolean cache entry as a miss and run refresh: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4841}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e994b10c571ea9050aa8740736bc9d89e3b366daa26869269dba1130dfc2ae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: forwards the originating job epoch with run-step events: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/callbacks.spec.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1fdb6d1238da755cb27cb223e8cd9ce11850e594f7e3b9e8b14b008d17b21e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes root event-child progress through the child activity transport: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/callbacks.spec.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe4486567bafd53d431634b441e851eb982b059aef79855057d34ab5831b131"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes tool preparation and handoff into event-child activity: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/callbacks.spec.js"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e174907423ce55a57fc2b54fa2f48cd613f78c2707dd34c040d25cabbb31338"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: passes the retained-aware runtime counter to checkpoint resumes: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/client.retainedAnswers.spec.js"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ab8aa8e62facd9369a5b77040e2c52a8b184282cf91975fd9b06aaf7b20af5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: discards client delegation on failure and ignores late accepted responses: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"1250cce46e478e1c73a78d51d2bcdaed06ab0c975853ab3545f04bd97fe4dfc2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed on an invalid accepted client call without returning its arguments: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"10222b939dc7aed125540da9266a973161e0aa74c09735a0f3ff5cad6d1ee621"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: enrolls, starts, and settles the remote execution lifecycle: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4abc73ca50f5ed920cd023cded9852219bf34f1b5a20ce6a4df4db8902edfd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: covers artifact writes when provider execution fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"844e46970835a3a20f9b69bc658e2e29eb9fe63f49d0264039d44567a4060d61"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not initialize a provider after disconnecting during enrollment: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1b444ff4e058da3491c9a3d073b554f6a555c889106aec7eb9f94bff16c205"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not treat a consumed request stream as a response disconnect: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"135200f273ab9eb49942da116a8923558d2e4081da4822cef904c20453066f46"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: includes persistent-memory guidance in an inline agent with no saved memories: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ab08a8042c5679fc8b15300d06fa39b456d2b72768075113961e4ae794c03d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses collected usage for the non-streaming response: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e8ee255cfdf2999eec5d5f02228164efcbde86ec8bd770808634361381975a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: streams a raw-free provider error after headers are sent: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"b166037acba3015e53cba1fce9cbfad87e1d2c360b304280e303531ddf976522"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the legacy provider error when protection is inactive: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9d42788b1e38c054bc2c58edde6f6381c3fcc5efefb658aa659006fde9c7ff"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the legacy provider error for %s policy: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"051d807833baf9385e3a566d0d7c97993c0534eb659141fb7bdf96db74971d6d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the legacy streamed provider error when protection is inactive: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb809bc9fb63bfbbea2accdf62dc0fac02d9961db66cf0f04baeae1fe7442e7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rechecks conversation existence after enrollment before initializing a provider: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1673}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca924cebdad54bced1d964287dd7e9f2d0cfe5c9d1e7f7659d1ccd7ddf9477d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a protocol 400 when the envelope rejects a non-JSON payload: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3f56c95e8893727ea59329faf4a14811c1960ab0d0e37459e2005f6ea75bcd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call recordCollectedUsage after successful non-streaming completion: This test sets up 8 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":1992}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d681ac0c0f30dd46421bf2cbf60245b8f0551379bffdbf10cb8955e4cba804e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass balance and transactions config to recordCollectedUsage: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":2017}}}],"partialFingerprints":{"codehealthFindingId/v1":"b473d599885f897fee8ecf39d769df3c5469ab6b90f3cc559c4bbc2067cf1e76"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: threads the OpenAI parent message id through both MCP execution bodies: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"82cff2b84dff58b42a4e8583986bd581d0ae5d9f192532046f5ad3b9d014af72"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass resolveRecursionLimit result to processStream config: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/openai.spec.js"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"026d0bb851f45372301de343177c769fa4829e42ee788eb0374efc6de6b399e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a %s clientRequestId before creating durable state: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa7041efb2a7ab559a3e8024f44287a3a73f91b0cc7472493864512b51d6d19"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects invalid expected predecessor epoch %p before creating durable state: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"080b5e91ed0ed8fefedbcc65bd8ebb4938de51761a7b8b364d5f2105b05f0949"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a non-string %s before admission: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c34171adc510c47acfd885b18d57d2f7488a880421c89648150aed65fb18bf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a recovered steer submitted as an incompatible %s shape: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"957abc16dea7f98890b9a1d7507afc155f2158b2fb70579f4353b9a47bac5fb9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an explicit recovery with %s: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a79eda10513f474c540c1804fca61b45b75a99907d069ddb85514b51a6d10dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an underscore-suffixed parent that is not persisted: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"42be03f669cd068c7f7de5987e237986ccca4852fe7440731b477ab11ab84cc6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows an underscore-suffixed parent when it is already persisted: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b2ff870b4235bf69fadfed465e451b1efda0b6961cb358d80418d522a4c6aec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: defers a trusted trigger resume while its parent generation is still active: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff2cd21976457bb850e8f9c12ac71d6275e331456633a6320eebabe614c0b118"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: labels a trigger parent-state lookup failure as provably pre-admission: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad487fc168b8ede1f9598e2ef398668f57f539e816e3636166fa07d8ce60a5d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deduplicates the active continuation whose admission response was lost: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"d98dadf31a65bb6a2e6713cd72d53ce360a6c96aab3fcd8717194642127d68fd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists and exactly echoes protocol v2 on a newly created generation: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1169}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdebc61e22a65150518f673178890314c5b92ada6791bc40f2b12c1b34ea0cc9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects any session fenced after authentication before generation execution starts: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27dc49d4b6f0c2eed47cffc897ee22c70920eb089f8e2c9d12793c375db2e1d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a superseded automatic occurrence after durable job creation and preserves its outcome: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e511f3095beafefb73a80767ea82921501d7e5cb589e76e9466da75ef1ff2c4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not start a provider when account deletion or replacement wins the startup CAS: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"744b65dbe5e8c020cadd9caac81d772736c0e605ae5c391a598033e1cf58d874"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a queued-turn source nonterminal when provider initialization fails: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dfa4802099e93f2059c9d2e72c7712cf0edbd2e2e23f9f1861c1e60942994d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: commits a queued-turn receipt after provider invocation and before accepting HTTP: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d73ee9858f66e8f693e152d2796bf7b38adde8214810b422d33fd71025fb4bc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed after provider invocation when the queued-turn receipt is unavailable: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"45371a3e33a54994dbdc4a755fb68ffd7eac2df53c5e9ee18f9484376d890406"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: defers a continuation that loses the create fence to a sibling and logs a warning: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2972c515e9e73b4608e0ac162976a514894cd42542f91eeb8148145d5d24863b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps request-scoped MCP connections until resumable initialization finishes: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffacac8aef0d76cd134c2b175b214b64e37cb735720919a4ca1f6bb3bad39366"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: pins a normalized code-environment decision before provider execution: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9c5ea7eaad161a216f4abf28fe6e576c5a4b0293db818cf3e9f19d8547b48f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: stores model spec icon fallbacks and agent ids in early resume metadata: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1729}}}],"partialFingerprints":{"codehealthFindingId/v1":"123fc68eb8466bf8328d1b5ebae07bd53b6624cb324871a3527edebbbc268dcc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records regeneration ownership for exact-ID resume reconstruction: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05fa56ca5d6b375127545d276973b41c4d9ee8f7561cc7f226b08f6b8bcd25f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to the model spec preset endpoint when no icon URL is configured: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"54c57962bae258c75d558d7e9b98e02210951901722e264840dbbb3604f742a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: dedups a retried start-generation request to the original stream: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2053}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb7fb06e62fce161f32a373bfaf1b824107d39e5486ac5627da44b3b5c861b1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: attaches a new-chat retry to a tokenless legacy random stream after owner validation: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2098}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe52af80acbb38fe1065f73fed03ade2a5505f2d9e6e2a417a34c31d92cbaf40"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never takes over a tokenless legacy claim after its job has disappeared: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b6fa262d80699fd2f33bc723f73d11441151c2c9d1edbd803ae097934f0d3e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a tokenless legacy claim that miscorrelates an existing conversation: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b69494f143b02e86bce858961b5eb3e601611463eb436b89252c52ee320dd22"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when the idempotency claim contains %s: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd90e309fe4a140401089deb821e06d814000a75b91ac0a41dfba4706675d832"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when a valid idempotency claim resolves to %s: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2246}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc2da9db20556b3a1320e8547dd091f8efed56c1218fa62426abb195f59a530"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a terminal duplicate without a durable payload on the readiness path: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2294}}}],"partialFingerprints":{"codehealthFindingId/v1":"8598a80f560aaac4c26c244bfb3dff7285f9673e8dad4c5d357060a9ce7623ee"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows a terminal duplicate with a stored FINAL to replay through SSE: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d3bba9a5f9bbf16e8c8a5be92e63d9b4ef92f22207541b9e0976f460fdf452"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: derives the same new-conversation stream for a lost-response retry: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2419}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8fd2b3dde5653e49b396c75f4eff708d2954873a7c96b385581290e417fa30"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resumes a matching live generation when its fixed claim lease was reacquired: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2448}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4c065c15ddd33f361d6957fee08f7ac79b304859f449afbcf8550d12ce2153"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when a deduplicated queued generation lacks its source receipt: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2491}}}],"partialFingerprints":{"codehealthFindingId/v1":"58809d6fb84d65947cd90dd19e90d5eee5eaff8aa0d5aa5638eca1f79b53a67e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: caps a reacquired v2 lease to the immutable v1 live-job protocol: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b553ec268e0a0eaf0a929139a3c5a851bb7b316dc308eb940a0b38f98151fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a settled response when the original job completed and was cleaned up: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2586}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1c65fc5a0d4f69a2ac5558468638cd53d795d4084e0801da141f2e027b0cb8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the v2 settled control only when the durable claim confirms protocol v2: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2624}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e57b87eb61d19a7ec250013b01ec9517e8eb0b6263cd7d098767caed533f85"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not attach a stale retry to a newer generation on the same conversation stream: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2661}}}],"partialFingerprints":{"codehealthFindingId/v1":"039605ed03249d46dce4e33021167848e4ef99f1b9a070e610d36b7d4ee76230"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the v2 replacement handoff only when both claim and live job confirm v2: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f657151940474fa576c2baafc19536055af74d6035ba9edd04466f5c45855071"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: takes over an abandoned old pre-create claim and fences the prior owner: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2748}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b6b2480f46d96e9c9b81377b7edad8ae9edb55f4e6abaa080d88aca20843d0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 503 SERVER_NOT_READY when a fresh claim still has no job (winner is between claim and createJob): This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd387e2d76cef611dc980a7178b70894dca0eb7070f0b3338f2331cc5cadff7e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never starts a second generation when the job lookup fails for a confirmed duplicate: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2831}}}],"partialFingerprints":{"codehealthFindingId/v1":"a183afc0a5d3a15286e29b69b36c9b87c696b83e348b2c6163634f9816632feb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not finalize an unscoped generation when job creation rejects before returning: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2863}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f82a126b005bb403a2d04ed3c859d7f836ef89962ff716129797eece64ceaf"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes and persists the fallback for a raw generation error under a content policy: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef929c8410429c7019617f498f3c0b4ab8a87af0b83778424d31d290b03a517c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a typed generation error under a content policy so the client can localize it: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3052}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f62eed1ffb2ed98be031dba3fdc18e0bc172aae0abf83097614f15785b44683"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes a safe image storage failure during generation and releases the request: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3089}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8ce3992dec6e925d261937ea8e66fdb70e1ace19ccadf9de8a0e4615aa20d6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a typed recovery conflict before acknowledging generation startup: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3158}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ed56b6ee37515b34446850b57c8f96730114347ad1f31453fe7fa5f22701ab"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves the recovery code in the durable error after acknowledging startup: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3187}}}],"partialFingerprints":{"codehealthFindingId/v1":"7841b6c7d03a5001e3e2d74256959721ac1fa1fe9789279b15d73074e0e0f69c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: serializes only allowlisted workspace reason %s: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3228}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9f9560ab649ea4266d88400f6828c50c9ca1b6d70d9b370977964e0f068d5a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves a stateful scope policy denial in the durable initialization error: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3267}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ee72698b4646345b091e7530fc11e8905890bcb37d71d68b78a49009c77174"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a recovery conflict with its actual reason (%s): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcd4b54b5298127476343322fb1dd5e1984ce5de20f5ce81a2b0f3477fe1916"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores a conditional queued send when a newer generation wins the create CAS: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3345}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba3184419f77f1a99a4688f2532931feabb8ded09e09a97e079d97f7af02c8f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a finite fail-closed mismatch when predecessor evidence expired: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3421}}}],"partialFingerprints":{"codehealthFindingId/v1":"5603f8a9105c8a20f43bbb7ae9fff3dffa71fb2d28762f86196bb64122bd8cc0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when a recovered-turn client derives skipSaveUserMessage: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":3517}}}],"partialFingerprints":{"codehealthFindingId/v1":"79708a98fed14ab83d438b611f4b161d5aece3dd5f4ebe95d344fcd4bad5d396"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not persist a protected turn rejected by %s policy during terminal recovery: This test sets up 10 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4053}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6797085940e71f28875078c6cb7707c76d1050c4a99624dc863031e10df168d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not persist an oversized raw identity after a post-ack initialization failure: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4118}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ceb3c1a292b9fc660dfef90c0cd7b81e402e14bf34330aca12f285f3b25b45a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows a follow-up to chain from the persisted failed response: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4201}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fc6a70cc28fcdd8335cea7b89bb0f84424dcd0008b6c781a3135f0835fc429"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists failures raised before generation saves any message: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4233}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15a5c326a15cc4c389c5dbe6ba6bcfb96c6df0e7d6e84c9e76c95159df8d6a0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists a failed compaction without overwriting a maximum-length anchor: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4275}}}],"partialFingerprints":{"codehealthFindingId/v1":"214e058d1a9f57db6c7bb5ec70217a3056dfba18dac7447bdac1dab261644102"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: announces resolved skills at turn start and preserves them in resume metadata: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"701d77b726a717cd6086f755a0fdd853ef9b0ece07f4ecbd6e9f13b79f6aaf9d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the live user identity after generation starts: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4436}}}],"partialFingerprints":{"codehealthFindingId/v1":"8577141b163939155e6f08a0a1ce2e4782747ae437c362f5a577b47097085d2a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: points a failed turn at the trace of the run that failed: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4467}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fa946571971f680dc93247e8dfb11a15021224031dd2be30b3e3ca77397bd0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: tells the trace lookup when a failure came before the run was created: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4512}}}],"partialFingerprints":{"codehealthFindingId/v1":"0629e11b9c6efdf930fcf8df5151b8f86382318a062ba4d8f95727de98de59a2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not overwrite an existing response row: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4545}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e304b2644b5ab6fb9b7d8d39535cb153e2bb62cca9d21e62009888b5110768e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not persist a first turn whose code environment decision was rejected: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4560}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c82725096aea8c11e4325304546835b117d2c89edf72793f0af42afa4ae15a5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists the normalized code-environment decision on a failed first turn: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4653}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69ac56c69c9a64ec92010d6196ba63bd33017202b03cc0bf1dd1b2d894f505c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the decision a failed turn of a saved chat ran under: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4694}}}],"partialFingerprints":{"codehealthFindingId/v1":"476a44bcf663db0cb4a3b491dab2c1242d713e99408b8584a184fbea553f761d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not rewrite the decision a chat already holds: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4716}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c8231f9843dc9957a56faf886892fe4b0c87cc127c77dd71dd5adfeaee8581"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: leaves a saved chat undecided when the turn resolved no decision: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4740}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44612f7573ede1fc37a43f15e4c77d2d80fa387c5bf2ebc757b8b30e1e8616c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects a new conversation whose requested project is missing before creating a job: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4780}}}],"partialFingerprints":{"codehealthFindingId/v1":"356da646cacf70f0c7faff7a85876f06b4954dc85f8f949c39969e93df8fa780"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects project instructions by policy before admission reaches a provider: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4831}}}],"partialFingerprints":{"codehealthFindingId/v1":"212bc79350827674f73d8cd949ed2b829ec800e3348099f1ce399a8d83048b48"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes an actionable MCP initialization failure without an HTTP 401: %s: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4879}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f515289f517f87da372262beed7f83527151d633ec83645bd66f9e6cc069d26"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: never copies a preparation dependency diagnostic into the stream or scheduled outcome: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4944}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32f59267170ecc072a026d5c2ca44496ef3a643680206f29704ed033dc85c1a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finalizes the failed job before releasing the idempotency claim: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":4996}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aef695bdaf27b3fcfd9a2bf7c1e5cfe898d0688836d376fbc6403b4d6d5382"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still releases the claim and pending slot when completeJob fails during init-error cleanup: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5033}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb07f6317f2e29cc5bb9027215b8d6ccc91f0543f5a6c1df7bbbfd23b120e91d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still finalizes and releases when streaming the initialization error fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5062}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5a9a1c1b12e64d9b8691e977b94bc8a821c94bf770c8fb073066d4bc075e13"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: awaits background error finalization before releasing the slot and always disposes: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 4 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4f415227776971e471c26588c1b55a8dfb634c03defec25b598ab6ec913fad"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: claims terminal ownership before FINAL and always finishes the winning claim: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5210}}}],"partialFingerprints":{"codehealthFindingId/v1":"20268c28d6007d05f91b2b1767f79ed8eb9a716b94db03d377fc169773b98f90"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes reconciliation when a BaseClient-marked %s response save returned no row: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5295}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ad651bf77584fbb26b6be9f98cead87abad9e8993d75272bfc1b3656866bb6d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: finishes a claimed request job when FINAL publication throws: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 3 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2018f0c60f3eb3dedb2ae79e3a18529eeb0227986e2cdc0ad801e041310475fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves %s workspace selections in the runtime envelope: This test sets up 9 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":5678}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc446638b4b0e9c1be0e0f6ec63665f850592eb6fdc5f5c07df0ca75b95717e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records reconciliation when persistence fails after an event action commits: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6165}}}],"partialFingerprints":{"codehealthFindingId/v1":"f108eec26debe6dbc5703d46394721bcc40fb59809bb224c2569799ed051a1bc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: records the applied actor history barrier only after both deterministic messages persist: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6257}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac173ea36e47d091bd976bd79f82be11efe67962fd518bf26ca1765e85d0068"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: routes %s event actors through the compatible continuation path: This test sets up 10 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 13 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6381}}}],"partialFingerprints":{"codehealthFindingId/v1":"15641512b6f2770e87fb17719d379024d86c7e294259974cda8e19ab634e596f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains local fence ownership when Redis metadata persistence fails: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6561}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff4adc1f05a5040697e8a3ce46f35a4f327f52a609c5534a4d64e51011261d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not execute a legacy event turn when its durable fence is not acquired: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6638}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7bb309901e457d85e9f081f27f755d32edf8da5e0ab4d5bf78b0a219e1e8c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the legacy event fence open when failed-turn persistence cannot complete: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6707}}}],"partialFingerprints":{"codehealthFindingId/v1":"37505954b303c66cbad23f3e54221a48969a24715fb09734437852b28c696834"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not replay a stale ambiguous legacy fence based only on age: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6780}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd0961e2bdedd550bc6b981ca99519aa1e8a80fbfe9fdf309e6c21e87184e13"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the guard-normalized tenant for a legacy untenanted event actor: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6860}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada0a1ac6f1da9b9b92e44609bc819a4179c3c624006a2269f0a48adc15fdd09"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not start an event actor whose inherited binding expired after the guard: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6896}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2e96cf2a0cef53308878fdfc223ecf372be2956874bf75cc4e5f0132842d12"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: releases the idempotency claim on a 429 only when it won the claim: This test sets up 8 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6936}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5840c27d3924c4f9b7ad63be264229f917e60d62c5a24e56eb515877061740"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed before the limiter when generation ownership is ambiguous: This test sets up 7 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":6968}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a00567e581afd24267f1b654d13fe554e8a242ab7aac08f9c9fe2972d7600fe"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not append the user reference its re-save already recorded: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":7269}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd4aa4972ac5d1bd07cfd348a951f9a548a71760b8fcc63833a8542eb25c81"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not stamp a skipped-persistence turn that persisted nothing to read: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":7438}}}],"partialFingerprints":{"codehealthFindingId/v1":"0376ff6dfbd633038c839bfa48ffc47807645548c71009d8235b2f01c04c9e86"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not acknowledge provider drain until deferred title persistence settles: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/request.resumeMetadata.spec.js"},"region":{"startLine":7465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5a45081947fe42ed2fbe0ca2fe0767e8600e28e0a392240330f37634c5f563"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: enrolls, starts, and settles the remote execution lifecycle: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a7bcc05fff0becf9431ba8557563dfd367d69e4cda78a1208a09674530c77c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: covers artifact writes when provider execution fails: This test sets up 5 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"446f7ef2cf0d474518d9dc1527775324824b3d16f3207b154867c16993610af7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not initialize a provider after disconnecting during enrollment: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"771eca2a03000fdc75aed919960c04fef7cc3425d9313d1e93afa1d8b9b9f8b3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not treat a consumed request stream as a response disconnect: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c2bf97b72b52ba398500bdc6837949135f8de0ad794cbff74d207283460f03"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: includes persistent-memory guidance in an inline agent with no saved memories: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"439de91e038a29c9bba3bb98d99b5e66baa7cdbacab96f86c475faf2c8466cb3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: invokes the graph with the resolved recursion limit rather than the SDK default: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"388589c0d5ffbc07cd6de8816a5ebd0d6a3cc6172e0ebe728b88eedc3caf2b20"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns a protocol 400 when the envelope rejects a non-JSON payload: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":1386}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ef147bead3bb6e40b2087c7f1002a20ec02897c6256b14256735cf49c5482e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-inspects agents after dynamic context is applied: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b25e2fc7f5738479937ec618333f60cc29079f0a3a7fe9ed6886bb3f9619da5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rechecks conversation existence after enrollment before provider or persistence work: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2430}}}],"partialFingerprints":{"codehealthFindingId/v1":"643f0550a4c1f2a37e1dbadb417cd2d232e68f71ff5b3ba460b8f1b9c455c0fc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists completed server tool results for continued history (stream=%s): This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e457664cc17494884d4e910edb9d903d1352dda9d3802890566b346161ab6e8a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call recordCollectedUsage after successful non-streaming completion: This test sets up 8 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2695}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee6c30010895d9b524dcb40f88cb94ffb39bb43aa8c7c58dc970ea00ffdf5eb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should pass balance and transactions config to recordCollectedUsage: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2718}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b013a64fac20f6e78cd38d615c1e8563636bc0c1871ffde9d78fcf4aadab97"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies agent-scoped attachment context before createRun: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2760}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e45e1400d492779925ec02e09e1d1226c5a867e58d7afc66eba145516f4907"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies context to primary and discovered handoff agents: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"673bbd3e31c63cf5bd4c5f35e172bae0155d8f4675d12a9e015b2dae3217c6d0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should call recordCollectedUsage after successful streaming completion: This test sets up 8 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2852}}}],"partialFingerprints":{"codehealthFindingId/v1":"43180dc91c15ec9e222e3c79424e7208066e26e235e0543bba7eb1a8d6aa7f50"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should collect usage from on_chat_model_end events: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2875}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b0e1977ce61d5bc2711cc4e642004bca8cb8d5f30bb2a8a9bf3da8b546048"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses collected usage for the non-streaming response: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/responses.unit.spec.js"},"region":{"startLine":2908}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19c2a45f46033a5c07996e9dc5da5829504e836eed3b183e972a19af4d33aa9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: publishes reconciliation instead of a normal FINAL when the resumed response save returns no row: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3743}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e1c18c49fc0a714c660c0a0bce274ae0f514b69ecc002d89890d22507f16f0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: degrades a failed checkpoint snapshot to scoped no-op cleanup: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3764}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fa926c6f3068350b46ce2d68dc55c33617873aa4eb73aa196bca6ce9603ce3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips finalization when the job was replaced mid-resume: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3779}}}],"partialFingerprints":{"codehealthFindingId/v1":"3744b17edb96645f88f4603e0f02527eabc4e03fb36c41f6f53580728344db08"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not release the slot in the finally when the client already released it on pause: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3859}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f795514c717ea229d0d056838486c9386916241886974004bc4b312bb9bf0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists tool artifacts produced by the resumed continuation as attachments: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3880}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ed0a95f140ce6ae944d8c513720d3ecfd4ae71ca2e51afc399ea795a1a1e67"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: falls back to the aggregated store content when the live client content is empty: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3903}}}],"partialFingerprints":{"codehealthFindingId/v1":"9997141f7cc2b2d9320d5c97a33822eef000c72c92f3ca9f248b1e5e5122bdf8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: strips malformed tool_call parts from the saved content: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d17d8db9f65588e4c82962e230f6d53ec411f714b089fb7b819ed2fafd3622"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: merges previously persisted attachments with the resumed segment artifacts: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf560c35bcdcae2d97ffc39dc367cb6575c649277b4af784100d2111bdad49f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: persists the resumed run context calibration (contextMeta) onto the saved response: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3971}}}],"partialFingerprints":{"codehealthFindingId/v1":"0050df97ef5d7feb3af513d1eeb830a3738415a97fdb5846ee652422598ab233"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: unsets the paused row context meta when the resumed run completes neutrally: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":3990}}}],"partialFingerprints":{"codehealthFindingId/v1":"41069c1b6f74ae7a05f941eb49ec01a210f3125cc82837f21feee06a2ec7fa51"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: attaches client response metadata to the saved message when present: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4035}}}],"partialFingerprints":{"codehealthFindingId/v1":"52961e98f7c66955454cde6f3f6428ea291e8841217aef90209c6ba778a3b497"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not mark approve-only HITL content as user-submitted: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3710f47010cee5033d7ee777a0bd5713674991d59aa3f65d36b4b6d699348d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: generates a title for a first-turn pause before completing the stream: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7073c498a0bf7ba54e608d95d62bb6d618df862a7111b0a4adb95efd9484c6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still finalizes the turn when first-turn title generation throws: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4397}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a99892ea29fcb96dac8b044626920ff937f5a689418126dbb20d4d072e8e5b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-pause: preserves HITL response provenance on the unfinished row: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4494}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b048ff87dd1bf03e6c17c307ab7e99525177f583baf675e6b7882c95c62fcc"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps a re-pause checkpoint when failed-resume terminal ownership is lost: This test sets up 4 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4849}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c6201d385555c4e545025a84999640495b4e7224e0aa035b305b4cf029c954"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not overwrite the job when guarded error finalization itself fails: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/resume.spec.js"},"region":{"startLine":4871}}}],"partialFingerprints":{"codehealthFindingId/v1":"7026712276041ce9466904ffd862a6ee1388c91823fc4f758e3c286a701efc5a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits each actual Insights access transition made by an admin: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdda25ef7dc0619193088eb827fedd54dcc8657cb2fdefb07c517c860388c8b7"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails the request before writing when fail-closed Insights auditing fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e631d5d6c59f59cd279f3d08b3237de3e7a14e723bfe19d09a9b1842c3ae8a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: audits the Insights change with the agent id when the target lookup fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c126b1c7a86c1e92b16b8d52385b6611c41066925c55485bae52ba915229e873"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails the request before writing when the ACL audit write fails closed: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"1546c3be02360cced1568325a191cb896fca289dc6be503edf92c7b506d66b33"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: applies the permissions and logs when the audit write fails with the opt-out: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f518543306f2ffb0bee1a152b6756a01b8b8e757d87aa7328f3b647362045e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses results.revoked (validated) not raw request payload: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d6e2a32e27e134aebbf116ea07ff7fffb5fd12bd16db85e2452e6ab56fe980"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips cleanup when no USER principals are revoked: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadb6f7a4eeee61167cf13882b1e6aa5294464029873f2d70b5546f8b2af5439"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips cleanup for non-agent resource types: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c92165e05ec50ced7eb9b4b06a3d2033d6f164ecd3bcee31934ccd9904b19a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps the committed ACL response successful when cache invalidation fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b5da125fa32380d2033765d2d97f6f6fa88e8e32f5f4890e7bdf0a97ea9934"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: logs error when removeAgentFromUserFavorites fails without blocking response: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/PermissionsController.spec.js"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c89455ef9a791ef3516c0d8fb9eec0979129e0dc31e824184392551d2e1231c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears stale nonce state when 2FA is disabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6d7107b85671399fdf3a6df85d6330e9ac97404b87bd28ddb7907cd48b7aec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: refuses an access token with %s: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e5de9be898cc8900699a2ca644a1473c8c9f056dee313e159f42790355176ae"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows first-time setup without token \u2014 writes to pending fields: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 8 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86f4d464796766d8cbfdcf76bf19b5ce5c684135a5a1d9b306d22cbc8ed475d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: re-enrollment writes to pending fields, leaving live 2FA intact: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a0981110c8c675ee52c0e0eee5bf35b8fef63b9df8cbe3f7e40407e4618b6f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows re-enrollment with valid backup code (persistBackupUse: false): This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa62cd49d6d4b11e62d3a2638b97e05d47a56d8534738c5d3ae3d344378d2f6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns error when no token provided and 2FA is enabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"61507921e505c4138fd562ff685ffb22eb52464e582af5d4655daca3f4973a45"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 401 when invalid token provided and 2FA is enabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0ec86e24564d0de1e8bd4a68f7f2945534a20f9adec88f8cb707ad035715cd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: requires OTP when 2FA is enabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c74c0b159545507ceb3fdfa785c4feeead3305bf04e226e339d2bac4fd15b56"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: includes backupCodesHash in response: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4af8234bcccc1b8e61ef736f18555379cbdf3507444cf4dbfaa46189be7b7e9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows regeneration without token when 2FA is not enabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/TwoFactorController.spec.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eebf1f7aabaf6de928dce8ae6bd3b71320fcf626188d115c30f723d98c8fea2"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: advances the fence after a partial MCP credential batch commits: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/UserController.mcpOAuth.spec.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c760b7cc9207498d06cd6cb3fba1ed716e4ec2e9301335874623594f2d9172"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retires the session hint once sessions are revoked, even when a later cleanup fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5aee431546a49802ee156bfb9d2961b291c323edfdf7b9a173331154f24cffb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retains the account on %s failure: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4f6357131b511b106e080f602512c6b974d6bcb0652cedc2c202bd4dd1fc6b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: proceeds with deletion when 2FA is not enabled: This test sets up 20 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 22 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0030a26765f7b397aefb0552dd77011e293ef979908e4fc297d322f7335051"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: aborts active generation jobs before deleting account-owned records: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed3ec85127a7ad5b49f042ce3cdc4c3ccc808208cef50e1b4d68b2a25fc9b45"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preserves code environment records when revocation marking fails after deletion: This test sets up 8 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdf42ee2560c263e0e7b0df0d4215369b28a1e10f18fa3688b12f01c11e1018"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns error when 2FA is enabled and verification fails with 400: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6f4fb6fb52f77beabdad174e7ed4ecfdceb3b44b7822f966bd2aa9b18ac754"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 401 when 2FA is enabled and invalid TOTP token provided: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bb659df8ecc112ca29e009c608251bf3df6f7bd735a5d0d89618d9556500a53"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: returns 401 when 2FA is enabled and invalid backup code provided: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d50b4f53d764becdc5f1e5ef251ca01bf38c2f14ae1b143c70d8c0b265045c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes account when valid TOTP token provided with 2FA enabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20301ee7383060eec0e0edc2ed92356ff8e592565e4f196d4f815caad34753d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: deletes account when valid backup code provided with 2FA enabled: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUser.spec.js"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"518a768f32b60cf57a56a91091c5034cc31f4d4948eed1508d6ecfdf9a34aff6"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: should disconnect MCP sessions and invalidate tool cache before deletion: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/deleteUserMcpServers.spec.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdb1b855ebfdb1b9604033eedaf0aeb344428a0683866361f226e8490d709dd"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: is a no-op when pluginKey is not an MCP key: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ba04d267cd1a199a63cdc3dbb9924e08dac4aaa97115aa2370e2bd6b4b85a1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears stored state when the MCP server is not an OAuth server: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6d1c75f2a92d53cb9cbd9e09ebb4b8ca12d6b75e10a7ec7ccb095e674b0555"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears stored state when client info is missing: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b0b7b3366a973dfb35995fceadad2d5387c53a692a403d95e99a4ef7099f46"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: resolves the server past a profile hide, so revocation still reaches it: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"602d365ff012c3f77ff91bcf0aebbf02237720a3b4049a52f0770fc92d52e467"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: scopes metadata-missing cleanup to token records snapshotted before flow cancellation: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67b56091bb55b59925928eb1a55dcbe3fdb887d2b0bc2621987fb303c6a792a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears stored state when client info cannot be loaded: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee6a1c0c6d9ed324401165617a9700687d831c2696c13be5bb7511cc7b4b9812"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: clears tenant-scoped and legacy flow state when tenant context exists: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"96c79a26365d32cd9f3b22bc3bc6ceeee4c9bb505def8ee4f11c7194ba21320e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: revokes both tokens and runs cleanup on happy path: This test sets up 7 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 13 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bd3c1c2e2c2693abc4464be311f394483ff576004dbf592096b0bcde485966"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses a retained deleted-server config to revoke before clearing local state: This test sets up 6 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6523e076ef5ef603d84ba0ba0aa727803ca5e62c577584f18869514f3cbfe1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not revoke tokens from a concurrently replaced credential generation: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"893f6f1fe6b433b353262d385f75d4bfeab6604fda32649930423fab47d28971"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: uses the stored revocation binding instead of an edited server configuration: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 1 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"54916b8fae7f354240a00602bf4d630ce157125b14298317b33a6fd0f5be143c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips remote revocation for legacy metadata without a stored revocation endpoint: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0c152eb6db775c59ad554e3131dd1f35c3f1629b26bd59eeaaaffa5a6efec3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: continues cleanup when only one token type is present: This test sets up 5 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/maybeUninstallOAuthMCP.spec.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"516b4240dfe29f8902c2a3554b085afe7a5cb9ec1941dd0edbdafef2c6790bfb"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: skips the probe entirely for an empty server map: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d276a3750f51669d88316c1c25f8101ccb5b15895781ec6695c695293d1540c3"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: inspects, fences, commits, fences cross-replica creations, and disconnects: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3770cda5a6f4ef3c1b9aca445a84d1fe2e9ea0fcd2a4016f5a7876a312ec371"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not fence the valid catalog when update inspection or persistence fails: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26066f1e899ea150c8b69650ff364c63b714728c55d2a3730e57252f4609440"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not commit an inspected update when the distributed fence fails: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e43de6df3dfe6d120bf2e9c3e9c148554cde02dd9c4a5934fc60d6158f01b5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the retained catalog when update persistence fails after fencing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97d05c3c313e969bc5ce61ae680afd837e15dbfd6cb515a1ae02995e1e37eb4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: continues an update when only local disconnect cleanup fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 2 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a000eafec38e8bd578fb34c3d8c7eedc3ae175b11261d5e0f1c45d4b56cb65"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: retries a transient post-commit fence failure before returning success: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9f8202b1019dce0ad2d7c099969cc0457301bfa72221ecdf96fef8a65e2f542"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fences before deletion and fences cross-replica creations before disconnecting: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 9 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3eb833fa72ed7267c345f733cae6df069a5dbe15521c67bb78031edce2d22c"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: cleans credentials created by an authorized shared user during server deletion: This test sets up 5 test doubles (for example \u0060jest\n      .spyOn\u0060) against 2 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aed4da7b21d03e91bb0e3be9bf8f54e08f15c0694fa4d37f5a7c2087d4be64d"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fences a viewer who holds no OAuth token when the server is deleted: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"b271d14269292b3ec95dd309ad7732eaf7dc9e9b83cb8fb762be5be66a689ca5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not delete the registry entry when the distributed fence fails: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"d556c0fc6b15e9d8ef1b5af0a9068f1c80f21693d41f8b786615d2e603d27135"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: restores the retained catalog when deletion persistence fails after fencing: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 2 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/mcp.servers.spec.js"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77d37a15b22c38bb1068e19570ff65ce2b07121561846bc8baa22bdbe82497b"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects an expired source message before loading or invoking a tool: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d7689e63dc28e837ebc4676b107e5fe87d7dcef3d4abd6ec309bda7eefe52"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks a configured tool output before tool-call persistence: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20474adc8a49cba6ca1c8e1d53b7ce6b38b23a188433480b34c5d3041da2ef5"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: does not traverse direct tool output when output filtering is inactive: This test sets up 3 test doubles (for example \u0060jest.fn\u0060) against 1 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3167b8767764dcbd8274b076b39c51d71281d8ee98bf0b064882975863b39d0"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks generated file metadata before downloading or persisting it: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d61f5770e77b10b23655ae6a0ae4742255b42081cfc13bf8ee093906b7dea15"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: preflights every artifact and persists none when one file content is blocked: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a676423f1616a2e357160b7706b3f1a051313e5aa1509e2bfb84982c7689d193"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks a late extracted-text match beyond the persisted preview cache: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5ae38fe8cbf8cb9eae3102b61fab61d31dc1a3766d2a9009c9ef1f26877ac9"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: blocks text bytes reported from an artifact with a spoofed image filename: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2bdf01095a18f81cf8116ceaf0a073f2c19ab8f910f9fa22de573bb0d68dd1"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed on a partial office or document extraction before persistence: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01d46647f8e2e3fe0335af5581d5e2d5d474b9948747966ac3b4cf6e48e0878"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: allows a safe partial extraction when uninspectable compatibility mode is selected: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 3 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7270c35a1fe7c8389e9f654f7ec8a56ecf104a4eb43895c55f590471961cf75f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: keeps compatibility-mode preflight diagnostics free of submitted values: This test sets up 3 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a2e44bead03c0f3e902b0d569f49784387f3c75b896873242cd7d7dfb8bad8"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed before persistence when generated file text is unavailable: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65dfd2e4c6e9cf4dd5118fdc81bfc602698c902370e0ddf0ac06f6b4ff6ab77"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed before download or persistence when the configured artifact count is exceeded: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a326b486f21bc554148433dd5f860a1569811e668d57b59479bbbd890ed307"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects active-policy count overflow even in uninspectable compatibility mode: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0eb40a07dfd0a9ff66dbda8b766a90fbf314fd051f20dc96a6f665de1d6ead"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed with zero persistence when prepared buffers exceed the aggregate byte cap: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 6 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8e8ec9eb39788a1ca8d0e36842522c2f2ecb52f47422097e313b12e3292e89e"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: rejects active-policy aggregate overflow before any persistence: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be178723c5eb8bbadd350d7245fff37d183df9bd29842d8b22ffe9ae6aee53a"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: sniffs a known non-audio artifact before treating transcript policy as inapplicable: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"491f9529c90bb2d2fbab48b6728f2a66310e5389112570763be489532f51cf07"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: still fails closed when an audio transcript cannot be prepared: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 1 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"855d594ad3cef61ce3036852797c05e7bc1cf5e0f5e793f547d098ec6fb9d021"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: fails closed when a text-named artifact sniffs as audio without a transcript: This test sets up 4 test doubles (for example \u0060a double assigned in a shared setup\u0060) against 0 real object(s) of its own, and its only verification is 4 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/__tests__/tools.callTool.contentFilter.spec.js"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"61262cb1f9a6989a7f316126fd50036b1f428adc33747868ed9c0a02c48a20f4"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: triggers message sync when settingsUpdated even if below syncThreshold: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.spec.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e844558eb347f264338bac907085a1f284b679e2b664ca36e7911432c405ec"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: triggers conversation sync when settingsUpdated even if below syncThreshold: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 5 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.spec.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aadb14ecc5e6a473b8bf20e96d4e4a83947fd58cf42381d2036a548a036623f"}},{"ruleId":"D10","level":"note","message":{"text":"Mock-dominated test: triggers both message and conversation sync when settingsUpdated even if both below syncThreshold: This test sets up 6 test doubles (for example \u0060jest.fn\u0060) against 0 real object(s) of its own, and its only verification is 7 check(s) that the doubles were called. It pins how the code is wired, not what it does: it passes with a wrong result and fails when a call is harmlessly reordered or merged. Assert the outcome instead (the value returned, the state left behind), build collaborators and value objects for real or with a small hand-written fake, and keep doubles for the boundaries the test cannot own \u2014 the network, the clock, the file system."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.spec.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"acca9aa1c1119a8c93b73b1eda64f73b269d6e200c00ab13d29795bb5bb1dd5c"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a9d4a8c75534a239ad5328d8a9a3a6c3c8f234c8ac498e4a7e4b6fce4b2a117"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-arm64: \u0060@img/sharp-libvips-darwin-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb9cac83efbb8fb5b1b1714cd7ce06ef46586b0cb953bfde13d5cef10838aa9"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-darwin-x64: \u0060@img/sharp-libvips-darwin-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1442}}}],"partialFingerprints":{"codehealthFindingId/v1":"81de28cedeef63f197969d04616e27ba4aeb27e4375cfebf400bfd8540537a9c"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm: \u0060@img/sharp-libvips-linux-arm\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed930a6d1b3ac4b890509506dec0a58727b515b0b43327cc1a4b4298e79514d8"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-arm64: \u0060@img/sharp-libvips-linux-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1b9a31ae3b29118432d1284fc0c855fbfbf2bc26303258aa349bed6999fa27"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-ppc64: \u0060@img/sharp-libvips-linux-ppc64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b20c11a65955bafb54a0fe488a53c597a9857c6aea42950b92968a57c6553f1"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-riscv64: \u0060@img/sharp-libvips-linux-riscv64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fa7dd2c5433945143e886736f323d34568a1815de5755ea55f247d83db2255"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-s390x: \u0060@img/sharp-libvips-linux-s390x\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1452}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3d0fc4342775e0cda07639d86e20b7ecd506920fa0b1a66c6f1ebfb1f8c2ab"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linux-x64: \u0060@img/sharp-libvips-linux-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1454}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740d28a1384feb307d2f24d03cf2e2e13a5d6eda920a4040480f40df2e9d50b"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-arm64: \u0060@img/sharp-libvips-linuxmusl-arm64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ce0111811bc0c564efe3bc5758a9fe2ff77adefe8940d96c0e94f001dc6bb6"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-libvips-linuxmusl-x64: \u0060@img/sharp-libvips-linuxmusl-x64\u0060 1.3.4 is published on registry.npmjs.org under \u0060LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91fe0a042e1c39cd9d87efaed4be891aa907345e587e25c7d6b01efdaaffd89"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-wasm32: \u0060@img/sharp-wasm32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later AND MIT\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"1135ffbb448d71e8cb7f5d4d9fb10acf52d978f9eb537a0cd1f2166ada470428"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-arm64: \u0060@img/sharp-win32-arm64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501b1efe547a916924b31662388631addbf15548a0d166cc082f57b0eb7a93d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-ia32: \u0060@img/sharp-win32-ia32\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e073ff938556e3b1cdba3c54fe725620ac7ffe9e735802eeadb3dcc853d57"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: @img/sharp-win32-x64: \u0060@img/sharp-win32-x64\u0060 0.35.5 is published on registry.npmjs.org under \u0060Apache-2.0 AND LGPL-3.0-or-later\u0060, which this policy bans, and it is not declared by this repository but is installed by one of its production, optional or peer dependencies, as its committed lockfile resolves \u2014 a transitive dependency ships its licence just the same \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"bun.lock"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"376605ff2c96456f54476e6225693261afc28ecb15a09757b469cf8cfd84bf3d"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: heic-to: \u0060heic-to\u0060 1.1.14 is published on registry.npmjs.org under \u0060LGPL-3.0\u0060, which this policy bans, and it is a production, optional or peer dependency this repository\u0027s committed lockfile resolves \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), 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":[{"physicalLocation":{"artifactLocation":{"uri":"client/package.json"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e0af4bc5ce9cf320f05ccec03a17001403ae36687d25db14723833770024d3"}},{"ruleId":"D14","level":"error","message":{"text":"Banned license: ua-parser-js: \u0060ua-parser-js\u0060 1.0.37 is published on registry.npmjs.org under \u0060AGPL-3.0-or-later\u0060, which this policy bans, and it is a production, optional or peer dependency this repository\u0027s committed lockfile resolves \u2014 so it is installed by everything that depends on this repository, not just by its build toolchain. A package offering SEVERAL licences is a choice and is only charged when every one of them is banned. Replace the package (or the dependency that pulls it in), or record an accepted exception."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/package.json"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5221c97b6b861db266e73300c386b8d26850408221e20fddbeb16790833c770"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/handlers.ts: packages/api/src/agents/handlers.ts changed 76 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 363 in handlers.createToolExecuteHandler at line 5666. 36 of those changes were fix/bug commits, and the other 40 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/handlers.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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5666}}}],"partialFingerprints":{"codehealthFindingId/v1":"0965d792a3ff577aec0ce2872d5e59a8d7f0a920c3b6dd3065f2a11cdddd496a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/request.js: api/server/controllers/agents/request.js changed 63 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 423 in request.ResumableAgentController at line 773. 32 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/request.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":"api/server/controllers/agents/request.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"1307137c5c4f65d93c32b41843df6f07b905c257c0a017a48f61be57287d0434"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/initialize.ts: packages/api/src/agents/initialize.ts changed 55 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 243 in initialize.initializeAgent at line 1215. 23 of those changes were fix/bug commits, and the other 32 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/initialize.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":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"747c592a468e04b09555de38d8f5862b95a4b06e159fa700d26411dd4f123490"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/subagents/panel.tsx: packages/chat/src/components/subagents/panel.tsx changed 39 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 322 in panel.SubagentThreadPanel at line 119. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/subagents/panel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8837785c3c94a1e44733d6d597913ba18ab40f478d5e5379d6d04f2616f45b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/client.js: api/server/controllers/agents/client.js changed 84 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 133 in AgentClient.buildMessages at line 2376. 34 of those changes were fix/bug commits, and the other 50 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/client.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":"api/server/controllers/agents/client.js"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1dfc06db0994328a3d0f0fd8365ad4e8bbdde6732aa4ca8fcd7e432d85a2232"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/Endpoints/agents/initialize.js: api/server/services/Endpoints/agents/initialize.js changed 62 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 152 in initialize.initializeClientWithProvider at line 225. 22 of those changes were fix/bug commits, and the other 40 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Endpoints/agents/initialize.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":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1805fd050d2ddbfbac1e6fee867fab5ce23be679b434721c42a29ca4103e0c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/stream/GenerationJobManager.ts: packages/api/src/stream/GenerationJobManager.ts changed 55 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 163 in GenerationJobManagerClass.attachSubscription at line 5216. 30 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/GenerationJobManager.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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5216}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b08dd65affbfc37b47d8a805fba9076ad964cef81a5bb4af710892b41f9dee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/resume.js: api/server/controllers/agents/resume.js changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 192 in resume.ResumeAgentController at line 779. 17 of those changes were fix/bug commits, and the other 26 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/resume.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":"api/server/controllers/agents/resume.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef1056fdd184a1d0fbfa57f3489d98da60f5f7cbbd0281cdf426afd735fec3c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/conversation.ts: packages/data-schemas/src/methods/conversation.ts changed 59 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 113 in conversation.createConversationMethods.saveConvo at line 2422. 24 of those changes were fix/bug commits, and the other 35 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/conversation.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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffb3d457862d902f46cbe89ef8b533b5a4289b59c8b042e9177263f5712860a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/ToolService.js: api/server/services/ToolService.js changed 68 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 92 in ToolService.loadToolDefinitionsWrapper at line 844. 32 of those changes were fix/bug commits, and the other 36 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/ToolService.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":"api/server/services/ToolService.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"182038667833f40d7d27ed136191dd277abbbbb2a876b5be1684fd12b1afe707"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ToolCallGroup.tsx: client/src/components/Chat/Messages/Content/ToolCallGroup.tsx changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 176 in ToolCallGroup.ToolCallGroup at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ToolCallGroup.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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"318225e4ca522257148a1ee5844b28d3c800d706200eb7393dfca5537e8120b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/run.ts: packages/api/src/agents/run.ts changed 50 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 118 in run.createRun at line 2277. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/run.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":"packages/api/src/agents/run.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f4766920b7f358b8605d90ca8bfa9627e2880eb4964013f6a74db1dc9858ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/ChatForm.tsx: client/src/components/Chat/Input/ChatForm.tsx changed 67 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in ChatForm.ChatForm at line 134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/ChatForm.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":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b80bc91c6aba3b74486f50e0644e4b175ab129e2bb0c81491c0703400f17afb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/stream/implementations/RedisJobStore.ts: packages/api/src/stream/implementations/RedisJobStore.ts changed 42 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 129 in RedisJobStore.deserializeJob at line 5719. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/implementations/RedisJobStore.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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b254891b80204d6b7099bce4fdc6ea93500f6f179c14d9afc88b7eae13bcb9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ContentParts.tsx: client/src/components/Chat/Messages/Content/ContentParts.tsx changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 124 in ContentParts.ContentPartsBody at line 462. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ContentParts.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":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a83d3b7cf08d911e7e36283f5c94ae2308d4c4c1456619386bc3db0855fa9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/message.ts: packages/data-schemas/src/methods/message.ts changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in message.createMessageMethods.claimBackgroundToolResults at line 2174. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/message.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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"741074e8bb45b5a8be460844f17c9a008f309ddffeaebb39a5dd1b9419cd9d1c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/MCPManager.ts: packages/api/src/mcp/MCPManager.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 141 in MCPManager.callTool at line 1523. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/MCPManager.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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae85fe0e8c4ce8fe337435d31411b50e7cee3e44ec6a2be24f481de13af2586"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/openai.js: api/server/controllers/agents/openai.js changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in openai.executeOpenAIChatCompletion at line 290. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/openai.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3b36b23e15de93f5c415abfc3ef16a7b42532b9b48d6969f333500f9ef4818"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/responses.js: api/server/controllers/agents/responses.js changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in responses.executeResponse at line 352. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/responses.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":"api/server/controllers/agents/responses.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"24de5798ca2f50b95152d75c5e3f1af57d854272f3ed120afeb2b3a5eedddc18"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/themes/registry.ts: packages/data-provider/src/themes/registry.ts changed 53 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in registry.resolveTheme at line 678. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/themes/registry.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":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2830fb494abbc9f72e4fe22231ef58e8bacb063221722fe5fe755239a1b1f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/background.ts: packages/api/src/agents/background.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 130 in background.runCheckBackgroundTask at line 2518. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/background.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":"packages/api/src/agents/background.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab4e0a08fdbc7a992ff2ebffb1aba57e9b8564df3b81d9d14ceeb45ddeaf1fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/CodeWorkspaceMenu.tsx: client/src/components/Chat/Input/CodeWorkspaceMenu.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 128 in CodeWorkspaceMenu.CodeWorkspaceMenu 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/CodeWorkspaceMenu.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":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd2aac3b66b86ba5f7c78e56c11796e517425006230a557973e3ec2a5dbba5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/messages/MessageNav.tsx: packages/chat/src/components/messages/MessageNav.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 221 in MessageNav.MessageNav at line 371. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/messages/MessageNav.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9815d7ed65905e173c75d393d8f0d9cb545cea1460665831204e7461c2fbf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/AgentPanel.tsx: client/src/components/SidePanel/Agents/AgentPanel.tsx changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 114 in AgentPanel.AgentPanel at line 468. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/AgentPanel.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":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31f97d3f99567a585199522d6699e033fc84dff5da497db6340bbc166492444"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ToolCall.tsx: client/src/components/Chat/Messages/Content/ToolCall.tsx changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in ToolCall.ToolCall 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ToolCall.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":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"93df4e81dd68ba0e476932b8b3ca0f878822fe04c26d18b320db5773e6d6ceb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/workspace.ts: packages/api/src/code/workspace.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 123 in workspace.isValidResult at line 928. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/workspace.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":"packages/api/src/code/workspace.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa30d8219eb8cb1efd15570c6b7ee3c56932847f0f5208bf3efe78617fc6e7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/app/clients/BaseClient.js: api/app/clients/BaseClient.js changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in BaseClient.sendReservedMessage 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/app/clients/BaseClient.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":"api/app/clients/BaseClient.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b91a605545a376e0d152ee36467aa1c437c739b82fd9048ae1bd7dd5a208c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx: client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 87 in SubagentCall.SubagentCall at line 175. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/SubagentCall.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":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"18abf693ecfc651c45c4d4e727b5ffdcb5a935115b923f2dc75cba71fc5f4ea3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/agent.ts: packages/data-schemas/src/methods/agent.ts changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in agent.createAgentMethods.getListAgentsByAccess at line 2084. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/agent.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":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"6184e500511e0d52ea16917c1217d78409bb7a651bfeb71f23d4834941df358c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/agents/index.js: api/server/routes/agents/index.js changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 104 in index.router.post(\u0022/chat/abort\u0022) at line 625. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/agents/index.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f73a2b79074d5cd961c20242394f91e282d63733d4975be9255396202ed60e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: e2e/setup/fake-model.js: e2e/setup/fake-model.js changed 43 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in resolveResponses at line 3758. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- e2e/setup/fake-model.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":"e2e/setup/fake-model.js"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fba2316a1e208747d4ade2e1461a2c69d5ee97855205a59a92a2a63583293f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/stream/implementations/InMemoryJobStore.ts: packages/api/src/stream/implementations/InMemoryJobStore.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in InMemoryJobStore.createJob at line 292. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/implementations/InMemoryJobStore.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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1213d90073b723c057366be6e5a39e752ff585b722b4d22bf5f049287833197e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/Convo.tsx: client/src/components/Conversations/Convo.tsx changed 27 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in Convo.Conversation 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/Convo.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":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0563cd9524cfdf1a3c3c6401f60b9ca922effb6ab770640bd0cc5b8a7e0fff3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/WebSearch.tsx: client/src/components/Chat/Messages/Content/WebSearch.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in WebSearch.WebSearch 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/WebSearch.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":"client/src/components/Chat/Messages/Content/WebSearch.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c5e89b8492a783b23b3a0e1e8d026feff83a1dc7ba9b4084157959074f79344"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/callbacks.js: api/server/controllers/agents/callbacks.js changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in callbacks.getDefaultHandlers 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/callbacks.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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0d6d67b5223d0a32e140cd9d800a5d6e376453090be8467efc0ee1395b089d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/agents/v1.js: api/server/controllers/agents/v1.js changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in v1.updateAgentHandler at line 1100. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/agents/v1.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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"46889274d45d08fd85a14bcf96905fc7d3e01bc8e03efa839fd7ddb8c0705cf1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/Composer/Palette.tsx: client/src/components/Chat/Input/Composer/Palette.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 151 in Palette.Palette 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/Composer/Palette.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":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf95c35525021ee46d70f4c986cf96a9372169afb92dcbd29c0f2b593c12136"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx: client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx changed 38 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in ActivityPhaseGroup.ActivityPhaseGroup 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ActivityPhaseGroup.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":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f883332912ef94f72d57110c661c03d09f8f935d1202ac724043e781ed12f278"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/app/clients/tools/util/handleTools.js: api/app/clients/tools/util/handleTools.js changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in handleTools.loadTools 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/app/clients/tools/util/handleTools.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":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dec91391eb3be6c1258c37152719c6a9e9be6cb9ec342df5ff3444bc780ed77"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx: client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 106 in McpSection.McpSection at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f088503bab38d285561310d6cf26b537cdaabd05cddc3aa7e269818b1749a5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/stream/resume/load.ts: packages/chat/src/react/stream/resume/load.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in load.useResumeOnLoad at line 42. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/stream/resume/load.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":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"458185ec884a0b289b5b4ecba2a8077457f94b27b8e3edc685c7ba8dc7242056"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/config.ts: packages/api/src/admin/config.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in config.createAdminConfigHandlers.applyConfigChanges at line 4367. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/config.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":"packages/api/src/admin/config.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34807b6b3056e304888f4e49e092c1bdbec9296ce4548cd82a7cedd9f0002c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/openai/llm.ts: packages/api/src/endpoints/openai/llm.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 170 in llm.getOpenAILLMConfig at line 648. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/openai/llm.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":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae593aff2c3548c0ac5613b0b55b7cdd7aafcb7d0b48ab17abac5d1585727a56"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/triggerDelivery.ts: packages/data-schemas/src/methods/triggerDelivery.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in triggerDelivery.createAgentTriggerDeliveryMethods.claimAgentBackgroundToolResultBatch at line 3032. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/triggerDelivery.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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc83e4b8bc4bc1159da0307d6118efcd38b26a4cea7af770fd545a399381a96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/app/resolution.ts: packages/data-schemas/src/app/resolution.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in resolution.foldConfigLayers at line 2354. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/app/resolution.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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ec544195ec458422be81849a7bb6e92300eade4e337d0380580b6fe8762df6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Artifacts/Artifacts.tsx: client/src/components/Artifacts/Artifacts.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 111 in Artifacts.Artifacts 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Artifacts/Artifacts.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe357ea7bb25c6fe77a66703f9c14e4d7a37e1324c509c1cacedd2cdb14a9ee2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/useAutoSave.ts: client/src/hooks/Input/useAutoSave.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 117 in useAutoSave.useAutoSave at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/useAutoSave.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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c232d43dc39ca861e4e6b9ff78333d014f4fb3a103da3dc17ea2a6bf6857a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/subagents/transcript.tsx: packages/chat/src/components/subagents/transcript.tsx changed 34 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in transcript.SubagentControlHistory at line 109. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/subagents/transcript.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f447e7f1f22a6c01d20e2ff6ae157ea9bfc48ada447b492b0d1ad79cff764177"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/MCPConnectionFactory.ts: packages/api/src/mcp/MCPConnectionFactory.ts changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in MCPConnectionFactory.handleOAuthEvents at line 1864. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/MCPConnectionFactory.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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af1660c49f044d445cd898230274c89f2b27f4757f079e93c9e7a121d1e6c3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/Conversations.tsx: client/src/components/Conversations/Conversations.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 71 in Conversations.Conversations at line 213. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/Conversations.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":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdde55a37a4cba0fee94f2ece6702f795075bd1994c80fe8edf8d6987610335"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/schedules/service.ts: packages/api/src/schedules/service.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 103 in service.createSchedulesService.recordScheduleOutcome at line 1450. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/schedules/service.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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"56baf94271f692bc8554d346d83a3d436f41cbf4e3b6c489f0a4ae8ddec83ba9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/index.js: api/server/index.js changed 47 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in index.startServer at line 201. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/index.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"823330cfec4a3d864a79b6df7fb2580f23c049b51f56f7a4bed43dfa6080e1f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/subagentThreads.ts: packages/api/src/agents/subagentThreads.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 57 in SubagentThreadTaskStore.start at line 1591. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/subagentThreads.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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"b977ae5d582d3aa42bab75db5d2badb374837d6b9941c8c52c58da1acd935a99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/Files/process.js: api/server/services/Files/process.js changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in process.processAgentFileUpload at line 809. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Files/process.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":"api/server/services/Files/process.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"486bcbd86dfe16605077af45b72590853c740976df6620f2b76a96abc474fae0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/BashCall.tsx: client/src/components/Chat/Messages/Content/Parts/BashCall.tsx changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in BashCall.BashCall at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/BashCall.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":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2ff88f58dfd099403f0eb0794c4659d42d1fdf5f9643cf6cf78905c1b261f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/composer/usage/Breakdown.tsx: packages/chat/src/components/composer/usage/Breakdown.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 90 in Breakdown.Breakdown 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/composer/usage/Breakdown.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7895b79cd4701b1874c6fc1fad607bcd63795787e777e3f6523ca333b18072"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/UserConnectionManager.ts: packages/api/src/mcp/UserConnectionManager.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in UserConnectionManager.createUserConnectionInternal at line 749. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/UserConnectionManager.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":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb32d28fb413307690f07c3ba40373f33a02ef1378bbe606637079cecec7e005"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/host.ts: packages/api/src/agents/triggers/host.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in host.startRun at line 592. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/host.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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a465630207bb56b5e298acd21e2a8548057f0c4172721598f4c2b97fab3250d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/backgroundCompletionWakeup.ts: packages/api/src/agents/backgroundCompletionWakeup.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 94 in backgroundCompletionWakeup.createBackgroundToolCompletionWakeupResolver.resolve at line 297. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/backgroundCompletionWakeup.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":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e386e6d27414f4ba88fe3e08f4c917e6077605827e78bfa09958aa6c648c64e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/openai/service.ts: packages/api/src/agents/openai/service.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in service.createAgentChatCompletion at line 640. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/openai/service.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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9c1f5cac7c5d8f78e68ac9f7f589e659485402667e83dc1c3b067038ed0131"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/vite.config.ts: client/vite.config.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in name at line 312. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/vite.config.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":"client/vite.config.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"900fd825cefccf26c7299604826c47e67265e37ea51bfb01493398abbfcef23a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ToolApproval.tsx: client/src/components/Chat/Messages/Content/ToolApproval.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 81 in ToolApproval.ToolApproval at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ToolApproval.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":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af7d00285b8779cb91f65e9e77e6dec1ec864fe82ce422eeafd663555ced3e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Files/useFileHandling.ts: client/src/hooks/Files/useFileHandling.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 73 in useFileHandling.useFileHandlingCore.processFiles at line 718. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Files/useFileHandling.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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51c323defb9a473e0a58c72dcbf7f9e669c033bcb14c922d90dd8f5b06163c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/AskUserQuestions.tsx: client/src/components/Chat/Messages/Content/AskUserQuestions.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in AskUserQuestions.AskUserQuestions 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/AskUserQuestions.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":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a940158650da07c6eff3ba79c51cda68ad9d9707ca6b0abbe0302e12ff55b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/convos.js: api/server/routes/convos.js changed 41 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in convos.router.delete(\u0022/\u0022) at line 509. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/convos.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":"api/server/routes/convos.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8667f75d9cb5e26bbbb12afffe4c0975736b02dbebd3be32960a6864d1d0663b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/app/service.ts: packages/api/src/app/service.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in service.createAppConfigService.getAppConfig at line 990. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/app/service.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":"packages/api/src/app/service.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df5741c885c16ac493de43efe2a960bc02aa6961f21335e91b6da323dd6b420"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/theme/context/ThemeProvider.tsx: packages/client/src/theme/context/ThemeProvider.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in ThemeProvider.ThemeProvider at line 469. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/theme/context/ThemeProvider.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4dfa5d210ed68d97193f07487e6086fdc0153e49c30f380af632b5af2318db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ProgressText.tsx: client/src/components/Chat/Messages/Content/ProgressText.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ProgressText.ProgressText at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ProgressText.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":"client/src/components/Chat/Messages/Content/ProgressText.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a67e65aee28d62af1e285bdf70a0c7cf9486ddfd7c4bf21efd2c74b8ccfdb7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/subagents/state.ts: packages/chat/src/react/subagents/state.ts changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in state.reduceSubagentProgress at line 907. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/subagents/state.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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc6a9d8376b8a5c7b05e83fb5b0287fca7488196bcd0f1088eddbca0792d8b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/theme.ts: packages/data-provider/src/theme.ts changed 45 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in theme.collectModeIssues at line 773. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/theme.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":"packages/data-provider/src/theme.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ce47e178d722f642fe3eea004c026fb7fda9ed4f3cef77c747b1ffa34f1b20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/useQueueDrain.ts: packages/chat/src/react/steering/useQueueDrain.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in useQueueDrain.useQueueDrain at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/useQueueDrain.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":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5299a1b1076039702df670a657b50382b813c47eaa3a2476483c928c315cf38"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/stream/metadata.ts: packages/api/src/stream/metadata.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in metadata.sanitizeJobMetadata 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/metadata.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":"packages/api/src/stream/metadata.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c2c8c9a74454c50954a6e2eeb13812dde11c0aeebefbd520f0f83db3ac0cf2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/actor.ts: packages/api/src/agents/triggers/actor.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 139 in actor.executeAgentEventActor at line 226. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/actor.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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"b646da8439af31a1b008ce299c7527c0009e10e075860d00f85c555b0d2ce3bf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Code/Settings.tsx: client/src/components/SidePanel/Agents/Code/Settings.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 59 in Settings.CodeSettings 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Code/Settings.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Code/Settings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2927973cf209891d1bc3c91107fca71be380eb7ebc7fe14187216953c7f82b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/Tools/mcp.js: api/server/services/Tools/mcp.js changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in mcp.reinitMCPServer 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Tools/mcp.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":"api/server/services/Tools/mcp.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"827643a76632b4a5ed91e666346ef1e6c51a49bdc9a6476d015a5e9cc5ab4aee"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/bridge.ts: packages/api/src/code/bridge.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in bridge.getCodeBridgeWorkerStatus at line 413. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/bridge.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":"packages/api/src/code/bridge.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc572f0f2b6fca89cf3e16546a429106ced556d8d8861e108265d8f07fd7d6a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx: client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in LangfuseConnection.LangfuseConnection at line 107. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.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":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"afed2e2ce30f3621ed4f4189f4dc3342c3cde857a30a513c1eed39fbcc2003c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/messages/MessageRow.tsx: packages/chat/src/components/messages/MessageRow.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in MessageRow.MessageRow at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/messages/MessageRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRow.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c8ac1e20244e483a8faf085dd0db11e37ddaec92a81ccba9b442d9811617c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/MCP.js: api/server/services/MCP.js changed 22 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in MCP.createToolInstance at line 1244. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/MCP.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":"api/server/services/MCP.js"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d2545547cbe2610707bcec56ce81f1e0a7868cfc40fb682ead0500d83ba782"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/BackgroundTasks/Button.tsx: client/src/components/Chat/BackgroundTasks/Button.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in Button.BackgroundTasksButton at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/BackgroundTasks/Button.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":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c04822d8779dcf2b20d663851c2319e880646c9f6430e8a8272b135112aa581"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/resources.ts: packages/api/src/agents/resources.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in resources.computeProvisionState at line 453. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/resources.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":"packages/api/src/agents/resources.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5842a083088f3e75f6f0fc95f3f1c7cd3e62fc1f6580727b9c730cb40b9f64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/routes/ChatRoute.tsx: client/src/routes/ChatRoute.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in ChatRoute.ChatRoute 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/routes/ChatRoute.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":"client/src/routes/ChatRoute.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe63c193f0e4ec66f04a0de7dff98c41cb36040de26b10465b711827329d1c72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/AuthContext.tsx: client/src/hooks/AuthContext.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in AuthContext.AuthContextProvider 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/AuthContext.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":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3ae2a59dfd84a48e8276e607272aa51b07504a672fd9bf53b2497a17dbb9c27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/subagents/content.ts: packages/chat/src/core/subagents/content.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in content.foldSubagentEvent at line 219. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/subagents/content.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":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c52fc576abfa26c7fc6891de90584c19b62fd70c492e709388a68e76d7211e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/useSteering.ts: packages/chat/src/react/steering/useSteering.ts changed 32 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in useSteering.useSteering 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/useSteering.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":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd22d43e91cf7a886ad666b9492e894b16925bfd9f2fddf08022d1b50986e436"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/EditContentParts.tsx: client/src/components/Chat/Messages/Content/EditContentParts.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in EditContentParts.EditContentParts at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/EditContentParts.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":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"03016663f6c13ae9572da7416b404c02f5bdc6500d666d0c53c85b7a5feb8aeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/acl/accessControlService.ts: packages/api/src/acl/accessControlService.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in AccessControlService.bulkUpdateResourcePermissions at line 483. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/acl/accessControlService.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":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9ef5400142047da4b6e853bcbb6bf2b03004baba8555ae3254b28868157799"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/AgentSelect.tsx: client/src/components/SidePanel/Agents/AgentSelect.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in AgentSelect.AgentSelect at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/AgentSelect.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":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a30b81c0af43f7f56df9b78e3a38c0f64307c5fa4928fc19200625ecf97b6e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/file-config.ts: packages/data-provider/src/file-config.ts changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in file-config.buildMergedFileConfig at line 1263. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/file-config.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":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dea318ea4d000f32437279183157afec7a8f4817f09872243f2ad1f71e5a79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Schedules/ScheduleDialog.tsx: client/src/components/SidePanel/Schedules/ScheduleDialog.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in ScheduleDialog.ScheduleDialog at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Schedules/ScheduleDialog.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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"3278d3e285016f2c0e421e658b729d42848d20c69cce93c99a915110feeb9ba7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/outcome.ts: packages/api/src/agents/triggers/outcome.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 184 in outcome.createAgentEventTerminalHandler.\u003Creturned closure\u003E 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/outcome.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":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b41d25b739712bd9754f0319c06470997fd7470ea4f894f0b7cee7aada762d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Header.tsx: client/src/components/Chat/Header.tsx changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in Header.Header at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Header.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Header.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5a872c41db11b208b8563f17baf6c7dd879da1f7698d19be86396d378cd9a0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/messages/HoverButtons.tsx: packages/chat/src/components/messages/HoverButtons.tsx changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in HoverButtons.HoverButtons at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/messages/HoverButtons.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/HoverButtons.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fe5c3dee409969c47d83e317a4384063088b0f220488e614f05b14db73cc29"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/config.js: api/server/routes/config.js changed 28 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in config.router.get(\u0022/\u0022) at line 232. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b0320063fc22416a3553dce817323349663297d086c56edd2fa07dca8caab00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/DataTable/DataTable.tsx: packages/client/src/components/DataTable/DataTable.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 102 in DataTable.DataTable at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/DataTable/DataTable.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa06148885c8f756faff2fb244a9a1d636529c590a0ca5f9b52449f90bcf9a7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/Dropdown.tsx: packages/client/src/components/Dropdown.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Dropdown.Dropdown 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/Dropdown.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Dropdown.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b21ac886be43a4bb34656627e249fe8be8d2d26cea119b620f384604c76726"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/assistants/chatV1.js: api/server/controllers/assistants/chatV1.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in chatV1.chatV1 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/assistants/chatV1.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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ac8fe88d93199c2a4cb3d80f4328208b0ec114a24f778005ae806648e7d13b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx: client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in FileAuthoringCall.FileAuthoringCall at line 110. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.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":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8099213f0bfcc61068ff388485152e3f232df1c321a62ed4eef0c2ab34ffcae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/AskUserQuestion.tsx: client/src/components/Chat/Messages/Content/AskUserQuestion.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in AskUserQuestion.AskUserQuestionSingle 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/AskUserQuestion.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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4904f16a3a562af0667d3653e9cf0da96142ddf12e6d7a4437698067c4ae34b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Agents/AgentDetailContent.tsx: client/src/components/Agents/AgentDetailContent.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in AgentDetailContent.AgentDetailContent 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Agents/AgentDetailContent.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":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"069de18021ef5777221a385019da27dcc17672244e2697cadb80689644bfe267"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/ControlCombobox.tsx: packages/client/src/components/ControlCombobox.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in ControlCombobox.ControlCombobox 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/ControlCombobox.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/ControlCombobox.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"092d57457d633e3b58d6556534bee07b3df400989abfcafa02547aa2b155bd5a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/AuthController.js: api/server/controllers/AuthController.js changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in AuthController.refreshController at line 224. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/AuthController.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":"api/server/controllers/AuthController.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5d49e62c00bf318b6b50a4b5a834f68dbe0889234021a7142f25cb19b16ff6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/mcp.js: api/server/routes/mcp.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in mcp.router.get(\u0022/:serverName/oauth/callback\u0022) 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/mcp.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":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"722a0c88464c35db4b5c7e0fed9eb14ea688b8c14ec80d27acf673bd693e3cea"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/UserController.js: api/server/controllers/UserController.js changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in UserController.updateUserPluginsController 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/UserController.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":"api/server/controllers/UserController.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce207363915955540ababb407b4112e7dd61f652f1bdcb1c8d6e679aee0e9816"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/command.ts: packages/api/src/code/command.ts changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in command.createAttachedWorkspaceBashTool.bashTool at line 526. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/command.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":"packages/api/src/code/command.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"103a9913fb1b67d941becc6107c2decf63ac6f49d1cd282911a581c5909558f6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/MCP/useMCPServerManager.ts: client/src/hooks/MCP/useMCPServerManager.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in useMCPServerManager.useMCPServerManager at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/MCP/useMCPServerManager.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":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"436a34c04a3012f95a81b53ecdb82f225aeb816c7c816f519170ea8e3b7c7c0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/utils/convos.ts: client/src/utils/convos.ts changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in convos.updateConvoInAllQueries at line 1663. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/utils/convos.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":"client/src/utils/convos.ts"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"013c24c0201753a810b60bc4aa58afbc03ac35a803d1f31bf9b67ea0a79711ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: scripts/static-checks.mts: scripts/static-checks.mts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in static-checks.unusedCapacity at line 1241. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- scripts/static-checks.mts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"519a7b48255e1e93506362ce727d735ac1a2f000ba07cc4b9c12293075d507f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/connection.ts: packages/api/src/mcp/connection.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in MCPConnection.createFetchFunction at line 1356. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/connection.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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1356}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc55f129a675871a8032e5bc96d7114ff6cd35320b02d4cd1eeffed0394ec33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/PinnedSection.tsx: client/src/components/Conversations/PinnedSection.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in PinnedSection.PinnedSection 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/PinnedSection.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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed3eb06f7e39609e2ad76e83dc03e94270e540d9ca816e14abc526014a8456"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/langfuse/reader.ts: packages/api/src/langfuse/reader.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 131 in reader.createLangfuseTraceReader.listRecords at line 637. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/langfuse/reader.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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"f954e28c5f58d71928471bef1337a554b08f2b44dcf21717467e22f2d2fea59c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/Files/Code/process.js: api/server/services/Files/Code/process.js changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in process.primeFiles at line 698. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Files/Code/process.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":"api/server/services/Files/Code/process.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a14776688e4e08e674a4eafae0b8e2367022d6c5d2949817e20e0116c512621"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Share/ShareView.tsx: client/src/components/Share/ShareView.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in ShareView.SharedView 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Share/ShareView.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":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e45a03567a9defd5563b96e03d203b67ac614594475a0e7965d9f5c0ce94a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx: client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in ExecuteCode.ExecuteCode at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/ExecuteCode.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":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"40b00caf79586e112e8984a096e315784cab27bd72fc52763b76b1516f7fb1c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/service.ts: packages/api/src/agents/triggers/service.ts changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in service.createAgentTriggerService.recoverPurges at line 505. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/service.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":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"65821c5c30718d1910c275e377bb1afb8c3edbf01c48931e911a40bdfecf1602"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Insights/InsightsView.tsx: client/src/components/Insights/InsightsView.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 49 in InsightsView.InsightsView 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Insights/InsightsView.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":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"b796ad0fe926e525f486c491b7037912fe1e9f7c21aba0d5f3b64f6713506bb9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/engine.ts: packages/api/src/agents/triggers/engine.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in engine.createAgentTriggerDeliveryEngine.processDelivery at line 388. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/engine.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":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2409a654da50ea795d18a638ee783ce344363f0507b1f1650a671ed71c0edd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/middleware/modelBoundContent.ts: packages/api/src/middleware/modelBoundContent.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 105 in modelBoundContent.inspectModelBoundContent at line 3507. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/middleware/modelBoundContent.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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e76ee701ac5027c19214ecb6acac876615632fda5317da62641f43fbeffc99ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/useNewConvo.ts: client/src/hooks/useNewConvo.ts changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 48 in useNewConvo.useNewConvo.newConversation 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/useNewConvo.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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3854f6dc3ce55fcca16d6888ab58745dd3da9795df0325643ffadba8da096c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/skill.ts: packages/data-schemas/src/methods/skill.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in skill.createSkillMethods.updateSkill at line 1499. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/skill.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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"f01d15f543d73901322d085e8bc14f208ea333c9308d10f176d329853adc8c0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Trace/Viewer.tsx: client/src/components/Chat/Trace/Viewer.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in Viewer.Viewer at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Trace/Viewer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1b293820dd5f40fb4850093b00c55578ee5dd166a8c3701d9beed0f43754c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/EditMessage.tsx: client/src/components/Chat/Messages/Content/EditMessage.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in EditMessage.EditMessage at line 14. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/EditMessage.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":"client/src/components/Chat/Messages/Content/EditMessage.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f95c9f607e1cc6cdf5146df76a67e49c830560aa1db3fac77ef5e33993acaed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/data-provider/mutations.ts: client/src/data-provider/mutations.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in mutations.useMarkConversationUnreadMutation at line 742. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/data-provider/mutations.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":"client/src/data-provider/mutations.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"316742b1654b018ef16f7d7c058e09ea7eed0ac01190614d360dfa27bae6bffd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/view.ts: packages/api/src/agents/view.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in view.createSubagentThreadViewHandler.\u003Creturned closure\u003E at line 599. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/view.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":"packages/api/src/agents/view.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffb884e779ccfa7c5075400c994006ae0fa3533dfdc70ab484086a797576d6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/oauth/handler.ts: packages/api/src/mcp/oauth/handler.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 58 in MCPOAuthHandler.initiateOAuthFlow at line 803. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/oauth/handler.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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f544e135aa8fedcdc57b3d7fbc55382b016758da0a62cfced016cedc8e4d81"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/web/web.ts: packages/api/src/web/web.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 116 in web.loadWebSearchAuth at line 409. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/web/web.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":"packages/api/src/web/web.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d87f48f00844496053b4ac505468e2817aee09d1541d1bae699a58a4e3162"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/models/plugins/mongoMeili.ts: packages/data-schemas/src/models/plugins/mongoMeili.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in mongoMeili.createMeiliMongooseModel at line 300. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/models/plugins/mongoMeili.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":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37004f2bd4732ccd840386a884b3cc7061a89572ee87f134af9adaf422002e9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/Reasoning.tsx: client/src/components/Chat/Input/Reasoning.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in Reasoning.useComposerReasoning 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/Reasoning.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"64559469dcfaddaf3d6ff5fa5deee4ba38028a835e89e78a5ffb7704257903cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/tools.ts: packages/api/src/agents/tools.ts changed 23 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in tools.registerCodeExecutionTools at line 1251. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/tools.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":"packages/api/src/agents/tools.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"49415d8698d7a6fb27e1d316a8af6a539bd0431b1ed48f80ffc7d91e56baf6a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/UnifiedSidebar/UnifiedSidebar.tsx: client/src/components/UnifiedSidebar/UnifiedSidebar.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in UnifiedSidebar.UnifiedSidebar 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/UnifiedSidebar/UnifiedSidebar.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":"client/src/components/UnifiedSidebar/UnifiedSidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1474bf1606672795e453ec96e05edadca78dfa5cfa2adb95f5d55a3680fabfe1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Trace/Ledger.tsx: client/src/components/Chat/Trace/Ledger.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in Ledger.Ledger at line 124. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Trace/Ledger.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":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaaf839bd8e915a7165b4bfa7fecc311fd53adb3600f962cd1b51a7c7a3a18d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx: client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in OutputRenderer.OutputRenderer 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.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":"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baff326da8178d6e79dbc0e060d358f41393e8c07c75c9cfa5bf66384b9ab07"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/WorkspaceChannel.tsx: client/src/components/SidePanel/Agents/WorkspaceChannel.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 132 in WorkspaceChannel.WorkspaceChannel at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/WorkspaceChannel.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":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b856f7b8f3d062c0a2fb20b0efa105f4239cc5167f4e4f096bb3cd32d02b551"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/subagents/adapters.ts: packages/chat/src/react/subagents/adapters.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in adapters.contentPartsToActivity at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/subagents/adapters.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":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbaba9085b48ff7b128c88cc15e593c2241e7d57bc926ab28976d15b13517bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/google/llm.ts: packages/api/src/endpoints/google/llm.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in llm.getGoogleConfig at line 491. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/google/llm.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":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"3657353cb50d8949312e58bcd346c564bd26cfd282ebb743d7297f1ef36ba4db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/messages.js: api/server/routes/messages.js changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in messages.router.post(\u0022/branch\u0022) at line 282. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/messages.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":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b8c4b81dce3b998549b77941a4226ebedcaecf22763c94b697ca1ce9f9019c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/capabilities.ts: packages/api/src/code/capabilities.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in capabilities.resolveCodeExecutionWorkspaceContext at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/capabilities.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":"packages/api/src/code/capabilities.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c216dab0b2b2f8d09f507f59050a1174770b06b9c3f9a0479c967776fe724898"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx: client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in OpenAIImageGen.OpenAIImageGen at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8b0fe515bef268e592621c2a1def09da28e495db3fb4404abe9256418fa644"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Sharing/GenericGrantAccessDialog.tsx: client/src/components/Sharing/GenericGrantAccessDialog.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in GenericGrantAccessDialog.GenericGrantAccessDialog at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Sharing/GenericGrantAccessDialog.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":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a06669a795ae53f42f5d29e06cc5acc3f87d4836206da286a5334e30209058"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/parts/SteerPart.tsx: packages/chat/src/components/parts/SteerPart.tsx changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SteerPart.SteerPart 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/parts/SteerPart.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/SteerPart.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1885edd0497c9d111a305af25d4e6381601681b372f278cdbbfd91f7bf0150"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/ModelPanel.tsx: client/src/components/SidePanel/Agents/ModelPanel.tsx changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ModelPanel.ModelPanel at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/ModelPanel.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":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"76cac6a11030610b8569857ecfb786f7239ac3db8fde5993649fd47af4aaaf4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/skillFiles.ts: packages/api/src/agents/skillFiles.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in skillFiles.primeInvokedSkills at line 760. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/skillFiles.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":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb97d9410d77c9c416121762740297093daa59b0089964f18d5a8f49221d40b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx: client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in FilePreviewDialog.FilePreviewDialog at line 96. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/FilePreviewDialog.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":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"853d664a7b39a086bd23ab52df96a293433a7981f6546ad9a89bb837d4329a12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/steering/request.ts: packages/api/src/agents/steering/request.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 97 in request.handleSteerRequestInternal at line 424. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/steering/request.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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"b456f208a0070807d1a74fe444d9b365391a29eb6c627935961d70bfcf0deb91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/tx.ts: packages/data-schemas/src/methods/tx.ts changed 21 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in tx.createTxMethods.getCacheMultiplier at line 754. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/tx.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":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27524753aa5cd671a52ec7a25e1fef032a7b026981eb14d71e3e0d201a51d45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx: client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in PendingSteers.PendingSteers at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/PendingSteers.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":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdab758d54d538b4042397b82c855a45fb7fc257556f5cee6aedc3f13ffd841"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx: client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in BackgroundTaskCall.BackgroundTaskCall at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.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":"client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"35006899eb1f03666a5a34a8b29cd6429a7608c2898a971f2bc1a8c5bea85f31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/stream/legacy.ts: packages/chat/src/react/stream/legacy.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in legacy.useLegacyStream 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/stream/legacy.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":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"957c6eb75f8dd55d36f7ac3eee36f5bcebc5ced419b15b3d7ab29769788a3d6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/schedules/mcp.ts: packages/api/src/schedules/mcp.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in mcp.createScheduleMCPPreflight 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/schedules/mcp.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":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f844e7a855f49a2f31603d57f73cf5e16ccbb252c738742023f1f42c307fa33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/schedules/engine.ts: packages/api/src/schedules/engine.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in engine.startScheduleEngine at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/schedules/engine.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":"packages/api/src/schedules/engine.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce103cbbdb5ffe0d7ee74ba2d716bfd0b634f204d427d4587f62b0a191b5ce7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/RetrievalCall.tsx: client/src/components/Chat/Messages/Content/RetrievalCall.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in RetrievalCall.RetrievalCall at line 341. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/RetrievalCall.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":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf0c3c283fa949ff6227eb3efe40adbe14cf8981260af906e6e6c83185f09c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/oauth/tokens.ts: packages/api/src/mcp/oauth/tokens.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in MCPTokenStorage.storeTokensUnderLease at line 580. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/oauth/tokens.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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"47848a3d289150bc3c3705809e10e82e266ee04c7eb5d0e10fb44e28a83ab427"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/app/loader.ts: packages/api/src/app/loader.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in loader.createCustomConfigLoader.loadCustomConfig at line 186. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/app/loader.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":"packages/api/src/app/loader.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377e7602c1164558e5118414537412d16c1071a94ab4db6da4cfb80101941e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx: client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Reasoning.Reasoning at line 171. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3131a667cdfa4f709c26f792d9f848a37d1fc98269b22b5c7a547be136af82"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/schedules/fire.ts: packages/api/src/schedules/fire.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 76 in fire.fireSchedule at line 126. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/schedules/fire.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":"packages/api/src/schedules/fire.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e849df415e08a58dfe1efec34b53d40f83e74b8701539fec6a41c098b87eb8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx: client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in BackgroundTaskCard.BackgroundTaskCard 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/BackgroundTaskCard.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":"client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6befbd38ccac1a0c25747067c0b2e6522c94814bd59e822da6712c23ad62a295"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Channels.tsx: client/src/components/SidePanel/Agents/Channels.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 74 in Channels.OwnedChannels at line 464. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Channels.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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c749ac6151b79373965de1b3737f76af6282fa46e7efb0102f27ef52b8e9a96"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/useTextarea.ts: client/src/hooks/Input/useTextarea.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in useTextarea.useTextarea.handlePaste at line 415. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/useTextarea.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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e17e4eb716cc909e86d851c6da64db5d2e76bb57a4e1f5deb4d21f86adde03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/langfuse.ts: packages/api/src/admin/langfuse.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in langfuse.createAdminLangfuseHandlers.updateConnection at line 491. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/langfuse.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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7daddca9a8ff8285287dddb8eb63d9a2d5331c8ec0e05b2890f645dce9ffa88"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/parameterSettings.ts: packages/data-provider/src/parameterSettings.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in parameterSettings.applyModelFamilyDefaults at line 1742. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/parameterSettings.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":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e178c16da2b24331ee0c517b07680b265bb124b9a89d11e99af83a821c90af6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/subagents/conversation.tsx: packages/chat/src/components/subagents/conversation.tsx changed 24 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in conversation.ChildMessage at line 209. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/subagents/conversation.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"64023abea9273c6e7afa51615cc9b506bd8fddf47259316fb015319bc2a70324"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/composer/QuoteButton.tsx: packages/chat/src/components/composer/QuoteButton.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in QuoteButton.QuoteButton at line 324. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/composer/QuoteButton.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf243046e429401b36d116c1157afbbf65b859b0be28d77900e4002f9ea482d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/UnifiedSidebar/ConversationsSection.tsx: client/src/components/UnifiedSidebar/ConversationsSection.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ConversationsSection.ConversationsSection at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/UnifiedSidebar/ConversationsSection.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":"client/src/components/UnifiedSidebar/ConversationsSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70f79a7a7184b80af19bbe51e808e5be2c3650a70a59e6b563a2411a457cd91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/http.ts: packages/api/src/code/http.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in http.createCodeEnvironmentHttpHandlers.pair at line 675. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/http.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":"packages/api/src/code/http.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1c889d1387665a1bd0e3f386bfb347794de7893022ff39d3ef4f72a5ab97a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/live.ts: client/src/components/Chat/Messages/Content/live.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in live.newestLine at line 303. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/live.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":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"372051a2075ef5014735544beabab8ac3d4c934889d4e00126d9e51792953efe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/OriginalDialog.tsx: packages/client/src/components/OriginalDialog.tsx changed 19 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in OriginalDialog.DialogContent at line 243. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/OriginalDialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/OriginalDialog.tsx"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce9e066892d968e27f8911263092add0f270657f17c48fdfd49387c99354c35"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Nav/useDrawerSwipe.ts: client/src/hooks/Nav/useDrawerSwipe.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in useDrawerSwipe.useDrawerSwipe at line 289. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Nav/useDrawerSwipe.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":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f78bbf1640a650c302f317a8e1bc7a994976158f4a322c9fb3aecc524ab6f0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/app/permissions.ts: packages/api/src/app/permissions.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 136 in permissions.updateInterfacePermissions at line 104. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/app/permissions.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":"packages/api/src/app/permissions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdfdb188cdc56d10a5039f5df8b8f17475fe89d28764786cc85c63f12ededf5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Prompts/forms/PromptForm.tsx: client/src/components/Prompts/forms/PromptForm.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in PromptForm.PromptForm at line 271. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Prompts/forms/PromptForm.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":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee6e73df60e1f5007fe72eea4c0022aab09787e781714cdebf7343934de8886"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/queuedTurn.ts: packages/data-schemas/src/methods/queuedTurn.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in queuedTurn.toRecord at line 682. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/queuedTurn.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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7cffdc3b13f3803809695fd50b0003f20dbd61749ca60c919eec733d591abad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/useKeyboardShortcuts.ts: client/src/hooks/useKeyboardShortcuts.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in useKeyboardShortcuts.useShortcutActions at line 497. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/useKeyboardShortcuts.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":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46c79f21fc6cdf069035cfeb693258b60e9aa5805ed40cbe92a85bbbf6d636c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx: client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AskUserQuestionCall.AskUserQuestionCall at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/AskUserQuestionCall.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":"client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fe74d1d2d844038fd9d470af5e682119b8b55d39b0ef1cbd12382fde40bb33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/ToolCard.tsx: client/src/components/SidePanel/Agents/Tools/ToolCard.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in ToolCard.ToolCardImpl at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/ToolCard.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":"client/src/components/SidePanel/Agents/Tools/ToolCard.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9490ac34224d82c107e3374f71328ead36c5134706b79a1db2185e004ef67a23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/skills/sync/github.ts: packages/api/src/skills/sync/github.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 65 in github.syncSource at line 1625. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/skills/sync/github.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":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb09d5339a4bbe1d87304eee8e0519faa0e5c1b65ec03f8ac270ee5fcfa7e1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Agents/AgentGrid.tsx: client/src/components/Agents/AgentGrid.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in AgentGrid.AgentGrid at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Agents/AgentGrid.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":"client/src/components/Agents/AgentGrid.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb65186aca1fa3af3bac28d02207556b516086a2000d5d5b93821843f171c0f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/parts/activityLabels.ts: packages/chat/src/core/parts/activityLabels.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in activityLabels.groupActivityPhases at line 501. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/parts/activityLabels.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":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4a76a426c3387051cd7b883882fda09fb4f38aad04f857ce4b666145282a0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/schedules/handlers.ts: packages/api/src/schedules/handlers.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in handlers.createSchedulesHandlers.updateSchedule at line 904. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/schedules/handlers.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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca6166abb980a64d43f10bb3fa756c2814f9b6f30d4cf0aade69a2ed87afcff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Agents/VirtualizedAgentGrid.tsx: client/src/components/Agents/VirtualizedAgentGrid.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 95 in VirtualizedAgentGrid.VirtualizedAgentGrid at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Agents/VirtualizedAgentGrid.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":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9354fd0857986edb5e70ffc80c3ebafd587e31f528d678d3ed8c287934c319a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/messages/MessageRender.tsx: packages/chat/src/components/messages/MessageRender.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MessageRender.MessageRender at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/messages/MessageRender.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageRender.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b243395fd4518329987305d57315bd18d78db305138efc2b68ac5d7ca892db6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/parts/DialogImage.tsx: packages/chat/src/components/parts/DialogImage.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in DialogImage.DialogImage 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/parts/DialogImage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4206b47d0a0c014b690ba476a8ba6b6a281c98cd03882dd5b8e8f983d01b1846"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/chat.ts: packages/chat/src/core/chat.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in Chat.request at line 2031. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/chat.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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff4af02ce9da292ff0c0a6ee768136af1de20baee6d49b38050368936dd9cf7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Memories/MemoryEditDialog.tsx: client/src/components/SidePanel/Memories/MemoryEditDialog.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in MemoryEditDialog.MemoryEditDialog at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Memories/MemoryEditDialog.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":"client/src/components/SidePanel/Memories/MemoryEditDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af4b0b8b56c667885663d20c2f2c033498b1a685300f530676fe0cb11f02fd2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/useAskAnswerMode.ts: client/src/hooks/Input/useAskAnswerMode.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in useAskAnswerMode.useAskAnswerMode 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/useAskAnswerMode.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":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1ad4497281f601cefc85439565165c44298f6283d4f41e575042856f11731a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/assistants/chatV2.js: api/server/controllers/assistants/chatV2.js changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in chatV2.chatV2 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/assistants/chatV2.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":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d9608d73ecb169931e01b266dca69ef7e9b33bc2cb046ca0571500b6d44e9a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/files/files.js: api/server/routes/files/files.js changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in files.router.delete(\u0022/\u0022) at line 189. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/files/files.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":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d196f4530c993d155db61f95b5683da5677f63a2f76db08a828e776f309cd2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Channels/Workspaces.tsx: client/src/components/Channels/Workspaces.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 88 in Workspaces.OwnedWorkspaces 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Channels/Workspaces.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":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a65bc62b0cb129a66c650d64041ebd60bdc30e311f5875c49f00e18ae7fcac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/code/workspace.ts: packages/data-provider/src/code/workspace.ts changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in workspace.isCodeWorkspaceEnvironment at line 124. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/code/workspace.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":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"226ccab84e7a0abee58a55023a5e601fec319e4eda552393f6e5c8b080a45bde"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/strategies/openIdJwtStrategy.js: api/strategies/openIdJwtStrategy.js changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in openIdJwtStrategy.openIdJwtLogin 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/strategies/openIdJwtStrategy.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":"api/strategies/openIdJwtStrategy.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b1e23b749221d8a8a6314b6251dec0e73f3b33fa18229b4fcf9793b85eb357"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/config/endpoints.ts: packages/api/src/endpoints/config/endpoints.ts changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in endpoints.createEndpointsConfigService.getEndpointsConfig at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/config/endpoints.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":"packages/api/src/endpoints/config/endpoints.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94ca6e227b3f413cf186e1a474efa0ea200f0530ca30e6106025d93d53de65c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Skills/display/SkillFileViewer.tsx: client/src/components/Skills/display/SkillFileViewer.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in SkillFileViewer.SkillFileViewer 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Skills/display/SkillFileViewer.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":"client/src/components/Skills/display/SkillFileViewer.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a860f9825fa468110fdd96cd68abe84f27bdac636a510131417b57e9a5803710"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Presentation.tsx: client/src/components/Chat/Presentation.tsx changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Presentation.Presentation at line 28. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Presentation.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":"client/src/components/Chat/Presentation.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef4dc056ad87f4db171da3708e10f90480040c962dbf7b6c3f951d1774e9d37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/turns/build.ts: packages/chat/src/core/turns/build.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 68 in build.buildTurn at line 98. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/turns/build.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":"packages/chat/src/core/turns/build.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ef5a4aa37a267ac6d1b31a950798c1801155eaa90e18a086dd60606557fe67"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/anthropic/llm.ts: packages/api/src/endpoints/anthropic/llm.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 85 in llm.getLLMConfig at line 136. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/anthropic/llm.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":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"0017c2a06d63ba0038200e288a04a530da11c070db93bb3634b5cd48fdf6c6b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx: client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in ToolsSection.ToolsSection at line 42. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/ToolsSection.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":"client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ad57e35d634f405635b93da04f3bb6ae8553652818da87cdc7a9192ce766f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/mcp.js: api/server/controllers/mcp.js changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in mcp.getMCPTools at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/mcp.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":"api/server/controllers/mcp.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"32130126f61b2971a109053f587ed1cdf66be3a513a171fa49f7c1c4fcd7b26f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/parts/outcome.ts: packages/chat/src/core/parts/outcome.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in outcome.getToolMeta at line 101. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/parts/outcome.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":"packages/chat/src/core/parts/outcome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb408106fc75bc45d6a3f4ffa713b4690596e6115f24184eca5456aa991180df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx: client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in SetKeyDialog.SetKeyDialog at line 151. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Input/SetKeyDialog/SetKeyDialog.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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e94e3d86e5ebb44d788a5ebaf7c73e31e1b8e82917151cb5acc8a6ceb5f5c55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/generate.ts: packages/data-provider/src/generate.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 109 in generate.validateSettingDefinitions at line 256. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/generate.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":"packages/data-provider/src/generate.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"22add7f08db0178f90654613fde22ec6b28e619a64420e3ea933cb55da285e4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/useQueryParams.ts: client/src/hooks/Input/useQueryParams.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 54 in useQueryParams.useQueryParams at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/useQueryParams.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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6e32fcadb8a74f85eb229eef5344cf47c60adc61ac874ca60bca305480d253"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/tools/definitions.ts: packages/api/src/tools/definitions.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in definitions.loadToolDefinitions at line 225. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/tools/definitions.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":"packages/api/src/tools/definitions.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"54eb2b0464d579bee23bd18f0e020c621c56eb0d4ee81bcfa21e0fde392b7dae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/MCP/useAppBridge.ts: client/src/hooks/MCP/useAppBridge.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 80 in useAppBridge.useAppBridge at line 154. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/MCP/useAppBridge.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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c1886a0e38b11bd1b04736d3c54138849da1126445965af0d6ea6ca893b4cd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx: client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ToolsMarketplaceDialog.ToolsMarketplaceDialog 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.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":"client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d6d072c595adcf991f6bb62ba05a2bbd803fc7cc02341a79eeac4e381140b2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/execution.ts: packages/api/src/agents/execution.ts changed 20 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in execution.resolveCodeExecutionContext 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/execution.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":"packages/api/src/agents/execution.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bb8010813a9a5c87c69f9531ab2be58ffeb3a337ba82ecd8a3da8bc94bea750"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/schedule.ts: packages/data-schemas/src/methods/schedule.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in schedule.createScheduleMethods.recordRunOutcome at line 1490. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/schedule.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":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"a71392a83c8f802385e35135ce336248f83e0e5bc412e0a7e0a7a2d39626680b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/useSteerConvert.ts: packages/chat/src/react/steering/useSteerConvert.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in useSteerConvert.useSteerConvert 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/useSteerConvert.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":"packages/chat/src/react/steering/useSteerConvert.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13e8923e9a745697df69222b72c1c5c82b7841b36603790714702d9d1c1ad3d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Artifacts/ArtifactCodeEditor.tsx: client/src/components/Artifacts/ArtifactCodeEditor.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 78 in ArtifactCodeEditor.ArtifactCodeEditor at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Artifacts/ArtifactCodeEditor.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":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1292a7e5511e028cc552a2bc7b77f4cf301a4a027d0d1b46db6c1f6ebcaa6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/openai/initialize.ts: packages/api/src/endpoints/openai/initialize.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in initialize.initializeOpenAI 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/openai/initialize.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":"packages/api/src/endpoints/openai/initialize.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee501764a9be3f7fb2cf1eebfe1d703a30711443c7cd1aa26efc3fa0c8860ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/roles.ts: packages/api/src/admin/roles.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in roles.createAdminRolesHandlers.deleteRole at line 866. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/roles.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":"packages/api/src/admin/roles.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"202dd1b6162e3b5007a172435502fef9e9a434ab905576168851b768b678d836"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/pulls/github.ts: packages/api/src/pulls/github.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in github.createGitHubPullRequestSource.find 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/pulls/github.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":"packages/api/src/pulls/github.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b215cf2c1a080fe26bbcb15301f7f1f938afd1389014bfddb8b9f87701c6851c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Web/Sources.tsx: client/src/components/Web/Sources.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Sources.FileItem 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Web/Sources.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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"08646f4c3de3d35f73403caccd7d3b8f331ddd5e0536f67d58cf0579a1a79173"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Landing.tsx: client/src/components/Chat/Landing.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in Landing.Landing at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Landing.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":"client/src/components/Chat/Landing.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f445beb0212d5c6f4d104b5eb10ccd3c682f86d7b6ba81e15b589149b58e337b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Wakeup.tsx: client/src/components/Chat/Messages/Content/Wakeup.tsx changed 18 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Wakeup.Wakeup at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Wakeup.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":"client/src/components/Chat/Messages/Content/Wakeup.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c26540e661e8be22fe0f5cf526e65c021b99f06123337a132fac3de008468"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx: client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ConvoOptions.ConvoOptions at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/ConvoOptions/ConvoOptions.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":"client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"189ee8ec272fd28050736bd4b9cae4051449b0035ff9dd58d979fada7fd6788f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/composer/DuringRunSendButton.tsx: packages/chat/src/components/composer/DuringRunSendButton.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in (anonymous) at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/composer/DuringRunSendButton.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/DuringRunSendButton.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a799827da908490fea94d1e292a267735d7789d189f37380154229d0f22a7d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/approval/Review.tsx: client/src/components/Chat/approval/Review.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Review.PendingToolApprovalPanel at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/approval/Review.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":"client/src/components/Chat/approval/Review.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6f210f5ea44eb82e59690be9c93e07eff02d7f09325e7cc5f03d3643eebed7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/skills.ts: packages/api/src/agents/skills.ts changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in skills.injectSkillCatalog at line 678. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/skills.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa5de170678cac69b932953924aae1f9dbddff3604b1f9db87285d86d225097"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/response.ts: packages/data-schemas/src/methods/response.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in response.createResponseStorage.readCleanupIdentity at line 930. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/response.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":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb7d32a2ca0dd5f682c6ad6f774cbf553d3659a2f897ab5ddac559de64fe187"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/Composer/Bar.tsx: client/src/components/Chat/Input/Composer/Bar.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in Bar.Bar 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/Composer/Bar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Bar.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b5fdfb4ed965ee515a2c9056b5ea21e1db39d23b3942f1510a2a28e0599a8c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/utils/env.ts: packages/api/src/utils/env.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in env.processMCPEnv at line 462. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/env.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":"packages/api/src/utils/env.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"135b1ab3b1927750a45fc19182b9b6c376523d464513a3ca0e8fb27b1f5a5f52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Parameters/DynamicSlider.tsx: client/src/components/SidePanel/Parameters/DynamicSlider.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in DynamicSlider.DynamicSlider at line 11. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Parameters/DynamicSlider.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":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a34cff918536235aac20684fe7fa04e7e0b6d57b23f60fa86cba3c6c661f059"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/subagents/stream.ts: packages/chat/src/react/subagents/stream.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in stream.useSubagentActivityStream at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/subagents/stream.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":"packages/chat/src/react/subagents/stream.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7a2374dddc9c1dd526096addd3c998c7887703f87ba72cb75be6642648c06c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/strategies/openidStrategy.js: api/strategies/openidStrategy.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in openidStrategy.processOpenIDAuth at line 662. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/strategies/openidStrategy.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":"api/strategies/openidStrategy.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"438c6e461f81d89ca739c9be8cff7ef5f1546a0d168928026b8adea51cfc4256"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/utils/files.ts: client/src/utils/files.ts changed 17 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in files.validateFiles at line 320. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/utils/files.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":"client/src/utils/files.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"7401e2e2b81cd1b80a335de7e99b8f7c4216f1aa597687ef950d7de2bcc0f55b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Builder/AssistantPanel.tsx: client/src/components/SidePanel/Builder/AssistantPanel.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in AssistantPanel.AssistantPanel at line 42. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Builder/AssistantPanel.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":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba02bb96770de2e9948c340898ec14af8b4112f28da2722630eef1caca30a0ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/steps/content.ts: packages/chat/src/core/steps/content.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 45 in content.writeContent at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/steps/content.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":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa13f9f9ece941b1bb180e2d5ec56b86a3ae53e4cfdc2846408c6fc523118bb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/SecretInput.tsx: packages/client/src/components/SecretInput.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in SecretInput.SecretInput at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/SecretInput.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/SecretInput.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe2048bb1870097ae6d1ed815f6d34c6de6edb14ed847e247bc925677b9e6a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/channel-gateway/src/worker.ts: packages/channel-gateway/src/worker.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 89 in ChannelWorker.execute at line 236. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/channel-gateway/src/worker.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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"69141a0d3539525b950fa99ba3d86c846afd9718d70a426e496d4a609a258d83"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/openai/config.ts: packages/api/src/endpoints/openai/config.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in config.getOpenAIConfig at line 93. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/openai/config.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":"packages/api/src/endpoints/openai/config.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f53cb8646e8b9fc9cf99be404564feebdb45ffab1fdf78aedfc549c198a237"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/chat/turns.ts: packages/chat/src/react/chat/turns.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 53 in turns.useTurns.ask at line 110. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/chat/turns.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":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94113124af9079fb05b776ff8923a156f4333fc8d2e5314ab300fee8ef2010a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/responses/service.ts: packages/api/src/agents/responses/service.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in service.createAggregatorEventHandlers at line 1313. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/responses/service.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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7937cf6d883b80baf0221c5a421a0e16e3c2408da199c34ec755cd7afcd2791"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/share.js: api/server/routes/share.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in share.streamSharedFile at line 244. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/share.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":"api/server/routes/share.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e6fab6132d88f1b2b50ff881235bc8e27b2cefca20fec6418a7d2edb11ede0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/provision/callback.ts: packages/api/src/files/provision/callback.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in callback.createProvisionFilesCallback.provisionFiles at line 120. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/provision/callback.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":"packages/api/src/files/provision/callback.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6841407886d4ee4307f84cda9ff5b0019cf46425c3d5b6a4d8f88f02117d7156"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/ConvoLink.tsx: client/src/components/Conversations/ConvoLink.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ConvoLink.ConvoLink 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/ConvoLink.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":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e157ff1a977075c46baaac4af12330934a7eeb8ef35bad47408f579f7f82c463"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/hitl/admission.ts: packages/api/src/agents/hitl/admission.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 66 in admission.canAgentGraphPause at line 370. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/hitl/admission.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":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba43b43a633a7619bcde3bd7e2c2e27f86dfa0151a4ca099cecfd2be308bc23"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/routes/Search.tsx: client/src/routes/Search.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in Search.Search at line 85. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/routes/Search.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":"client/src/routes/Search.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a26c6710b1e543ba070bd692611361a3944a1422b44d9b989ba6637f6e63d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/catalog/recovery.ts: packages/api/src/mcp/catalog/recovery.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in MCPServerCatalogRecoveryTracker.run at line 530. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/catalog/recovery.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":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed0f4858bb82b940083093e6e7df4bc77747da798c378a9e1ed2fb7ec8ab2c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/users.ts: packages/api/src/admin/users.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in users.createAdminUsersHandlers.deleteUser at line 241. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/users.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":"packages/api/src/admin/users.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"04403ed68fd61c38ca55a64cbe4c5293f2f175b44c7679b0c2f5723bbfcac4cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/share.ts: packages/data-schemas/src/methods/share.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in share.createShareMethods.getSharedMessages at line 1041. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/share.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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8466be3d28fa69adbb52872ca21ced26b47384b9a98640188b7bd2a01919533"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/messages/thread/MultiMessage.tsx: packages/chat/src/components/messages/thread/MultiMessage.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in MultiMessage.MultiMessage 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/messages/thread/MultiMessage.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8a675ed2654218f456b5d46535557b80e4cf41eca8b6f5a9b13577d6870eaa2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/Summary.tsx: packages/chat/src/components/Summary.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Summary.Summary at line 205. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/Summary.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/Summary.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27cc1b879496fa1c98a3910583fdd496ec517d5b00a69fe32b53cc433c2aff3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Messages/Content/Mermaid/Mermaid.tsx: client/src/components/Messages/Content/Mermaid/Mermaid.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in Mermaid.MermaidRenderer at line 198. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Messages/Content/Mermaid/Mermaid.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":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bffa8a002e4474e0cb6bc84b7b1133bf4f05da1dc9169e03c5c2c43aa54004"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/remote/lifecycle.ts: packages/api/src/agents/remote/lifecycle.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in AgentExecutionEnrollment.settleInternal at line 327. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/remote/lifecycle.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"75444e2ac7fe98ebbc94b697cec6ca6c88755f13df1d99c7d7b98f8d54663406"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Prompts/lists/ChatGroupItem.tsx: client/src/components/Prompts/lists/ChatGroupItem.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ChatGroupItem.ChatGroupItem at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Prompts/lists/ChatGroupItem.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":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"541d55d40666837a9247b05bba72542577974308ab6455e104b15171b16bcb45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/memory.ts: packages/api/src/agents/memory.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in memory.processMemory at line 764. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/memory.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":"packages/api/src/agents/memory.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb182cf93ebf8296937d008b2256dea62dd8d0826386929312514a54bd778017"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/Radio.tsx: packages/client/src/components/Radio.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in Radio.Radio at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/Radio.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Radio.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e1488b33c4491c778532558b2c559d825c0dec1919b46d56b6c40e6f2f16e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Prompts/forms/CreatePromptForm.tsx: client/src/components/Prompts/forms/CreatePromptForm.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in CreatePromptForm.CreatePromptForm at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Prompts/forms/CreatePromptForm.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":"client/src/components/Prompts/forms/CreatePromptForm.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a20d077bd109fd905e90ed9711dd3179d7d92116b573e15caaabed52577895"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/auth/openid/recovery.ts: packages/api/src/auth/openid/recovery.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in recovery.createOpenIDRefreshRecoveryService.sendOpenIDAuthResponse at line 719. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/openid/recovery.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":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c337b7377773e8578afce5241b727de3d91bd48dbe6d828452224028fa3e98"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/pulls/handler.ts: packages/api/src/pulls/handler.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in handler.createConversationPullRequestsHandler.\u003Creturned closure\u003E at line 468. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/pulls/handler.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":"packages/api/src/pulls/handler.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"81869f35b60ac3f3f1d40715042671c2a4426af97e43ac254d78a31c378ddfab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/AgentConfig.tsx: client/src/components/SidePanel/Agents/AgentConfig.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AgentConfig.AgentConfig at line 22. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/AgentConfig.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":"client/src/components/SidePanel/Agents/AgentConfig.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"08514c4db898e86c4386e3c872e3ad3a38ac52d4591f2f913ddfd4f463ef69b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/SkillsCommand.tsx: client/src/components/Chat/Input/SkillsCommand.tsx changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SkillsCommand.SkillsCommandContent at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/SkillsCommand.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":"client/src/components/Chat/Input/SkillsCommand.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82a19fb0919a371319d2ce90b7a123a9edd3db2d0610293fce2142621c5b9c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/config/models.ts: packages/api/src/endpoints/config/models.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in models.createLoadConfigModels.loadConfigModels at line 92. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/config/models.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":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"778501e45c78771eddd20e485166ddb28bb1594fd99de634e7d27ce3b78cbce7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/messages/Fork.tsx: packages/chat/src/components/messages/Fork.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Fork.Fork at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/messages/Fork.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/Fork.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9c7ca8ec070c5c3e8ebdb93a6a4e2d8bed2d677c2f205039376b7b22a94c3a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/secrets.ts: packages/api/src/admin/secrets.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in secrets.redactConfigSecrets at line 1916. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/secrets.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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba94733e0756b22e307986142dd2cf3b09f4fa63502a31bfd234dad73379666f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/config.ts: packages/api/src/code/config.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in config.mergeAccessibleCodeEnvironments 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/config.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":"packages/api/src/code/config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1981a3c0b67a75d14e8f2fc8b06eac14b40109028ea27f85ee7eb4649ecac6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx: client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in SkillsSection.SkillsSection at line 120. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/SkillsSection.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":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef2ea0d933711ffde776cdc673af1429d09e33baea3d1ac8001fa6e2ded72a7e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/queuedTurns.ts: packages/api/src/agents/queuedTurns.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in queuedTurns.createAgentQueuedTurnResolver.\u003Creturned closure\u003E at line 568. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/queuedTurns.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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"6934f31320bae5afde33dad2488946e595fb536be63043a1fe377102c572f1ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/custom/initialize.ts: packages/api/src/endpoints/custom/initialize.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in initialize.initializeCustom at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/custom/initialize.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":"packages/api/src/endpoints/custom/initialize.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"0844d63df2324551f73a1824f2a030b5bcecb88794396d587a93993d477afb49"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/subagentCompletionWakeup.ts: packages/api/src/agents/subagentCompletionWakeup.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in subagentCompletionWakeup.createSubagentCompletionWakeupResolver.\u003Creturned closure\u003E at line 604. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/subagentCompletionWakeup.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":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"423a0530ceb547725e6a94503e4e7f0c2dcfa0e59ee6b9ac5d52631a68200d91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx: client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SkillCall.SkillCall 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/SkillCall.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":"client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef24484006a32dc83c7c5b863993b508fdc91b7bff78b947d687bc197ac73723"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/PromptsCommand.tsx: client/src/components/Chat/Input/PromptsCommand.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in PromptsCommand.PromptsCommand 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/PromptsCommand.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":"client/src/components/Chat/Input/PromptsCommand.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5897edbbe8df82a90ce268b3ae783288a54636bb8ce6faa2bffed1ef32f4fc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-provider/src/messages.ts: packages/data-provider/src/messages.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in messages.buildTree 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/messages.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":"packages/data-provider/src/messages.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d4d7d6a9d45af39e812706b5fe798050129018b45c976bc0e76dbe24d42932"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Schedules/ScheduleCard.tsx: client/src/components/SidePanel/Schedules/ScheduleCard.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ScheduleCard.ScheduleCard 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Schedules/ScheduleCard.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":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87f699d9c5112b3da1be42a099b8292e554c4de7cc778f4c837ed416fb1c1a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Builder/AssistantSelect.tsx: client/src/components/SidePanel/Builder/AssistantSelect.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AssistantSelect.AssistantSelect at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Builder/AssistantSelect.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":"client/src/components/SidePanel/Builder/AssistantSelect.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e7591b56b0442f45aeea80c01a8e4b0c03a0405322537b853fc7a8c7db1e6c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/stream/ApprovalLifecycle.ts: packages/api/src/stream/ApprovalLifecycle.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ApprovalLifecycle.pause at line 108. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/ApprovalLifecycle.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":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8eff0b8fa9a3641076118936c268ec34eae0ab020c021e9c56f8fd247b0c24"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/composer/files/FileContainer.tsx: packages/chat/src/components/composer/files/FileContainer.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in FileContainer.FileContainer at line 17. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/composer/files/FileContainer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileContainer.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be0f2eabe8d6c0e6ab01c7b94e3be42ffff1905f77348857ecf59a21dccf112"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/HeaderMenu.tsx: client/src/components/Chat/Menus/HeaderMenu.tsx changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in HeaderMenu.HeaderMenu at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/HeaderMenu.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":"client/src/components/Chat/Menus/HeaderMenu.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee1248ea607ac2da3fbb9c4c80a2776cc3d71cc53464428473c711df30597c92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Parameters/DynamicInput.tsx: client/src/components/SidePanel/Parameters/DynamicInput.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in DynamicInput.DynamicInput at line 11. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Parameters/DynamicInput.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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbb64eefc3b63b5a971eb1586db812a43241d606ac3adde006046138aa529a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/file.ts: packages/data-schemas/src/methods/file.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in file.createFileMethods.publishRunArtifactFile at line 561. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/file.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":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d96c56e655b8eef9749022bbbb43439b1c0d53b8f50d9db3fa9d9b68b4c84bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Share/Message.tsx: client/src/components/Share/Message.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in Message.Message at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Share/Message.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/Message.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc82bbae7c83a0cc02ebf5c3c478c0af80197c484648a09671232b5158a50604"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Projects/ProjectResources.tsx: client/src/components/Projects/ProjectResources.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 72 in ProjectResources.ProjectResources at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Projects/ProjectResources.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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd179f76a5e21d1d58c9fb07ce9f6499f99e53bc1151cfdac113164d1e59fcb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/TokenUsage/index.tsx: client/src/components/Chat/Input/TokenUsage/index.tsx changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in index.TokenUsageIndicator at line 89. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/TokenUsage/index.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":"client/src/components/Chat/Input/TokenUsage/index.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1352d079456e9a4946cd772859bff0de59b8999d4375033b22eccb419babc061"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Channels/Apps.tsx: client/src/components/Channels/Apps.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in Apps.Apps at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Channels/Apps.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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"24502f4c55efa22063fceb4e97ef7e89b7ad7d6f4681481d3cbbcdb42ff85fc8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/discovery.ts: packages/api/src/agents/discovery.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in discovery.discoverConnectedAgents at line 428. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/discovery.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":"packages/api/src/agents/discovery.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"433dc43936fbf8d8d6addbe23ee4b74011c01161d11561a71edea643f39dd432"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/prompt.ts: packages/data-schemas/src/methods/prompt.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in prompt.createPromptMethods.getListPromptGroupsByAccess 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/prompt.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":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37671ee9e8fb4ea42e48265f2a4f67dd127b38d2bc635e29b3e21ea2c3e455c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Trace/Inspector.tsx: client/src/components/Chat/Trace/Inspector.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Inspector.Inspector at line 269. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Trace/Inspector.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":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1c8ba18e84e4bb4cf0c8dda506139c36caad1d43a42152569b42820d2855d0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/ActionsInput.tsx: client/src/components/SidePanel/Agents/ActionsInput.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in ActionsInput.ActionsInput 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/ActionsInput.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":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c58727a302350342416e4b2cd009eaf36494c3ed29fad2c4a0636d77f4c9c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Version/VersionItem.tsx: client/src/components/SidePanel/Agents/Version/VersionItem.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in VersionItem.VersionItem 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Version/VersionItem.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":"client/src/components/SidePanel/Agents/Version/VersionItem.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb59472415431cd2a08a39347cfd0f7d38d63276ce983524d165257591bc6f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/usage.ts: packages/api/src/agents/usage.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in usage.recordCollectedUsage at line 914. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/usage.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":"packages/api/src/agents/usage.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e02d38c9525a941a34202b1136d0b0a61e5c97a6dbdf3916da53936667a498"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/skills/handlers.ts: packages/api/src/skills/handlers.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in handlers.createSkillsHandlers.downloadFile at line 655. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/skills/handlers.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":"packages/api/src/skills/handlers.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"df486d964c8d804b3466841c6b059bd6bf1d4af0720a3181ce47adc642e3d07e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/activity.ts: packages/api/src/agents/activity.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in activity.projectPersistedMessageActivity 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/activity.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e7c9a4d32721537b13c173102160713b5940adb0c377e84cee32b10b7270a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/Providers/DeploymentTheme.tsx: client/src/Providers/DeploymentTheme.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in DeploymentTheme.DeploymentTheme at line 234. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/Providers/DeploymentTheme.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":"client/src/Providers/DeploymentTheme.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46d49fad41dc0b3fdb5114acb4825c53466622884e162a88e9177d79df83405"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/usePaletteEntries.tsx: client/src/hooks/Input/usePaletteEntries.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 69 in usePaletteEntries.usePaletteEntries at line 147. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/usePaletteEntries.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":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a325e081b62251930eb08087dae3a8fbbb54b10d181873d6c12df72806b6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/queuedTurnHttp.ts: packages/api/src/agents/queuedTurnHttp.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in queuedTurnHttp.handleAgentQueuedTurnEnqueue 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/queuedTurnHttp.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":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9107d00e565756807ffa10d556f1a13afeef953bba7318362fc677bd19c13b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/added.ts: packages/api/src/agents/added.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in added.loadAddedAgent at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/added.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":"packages/api/src/agents/added.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e0c6c88d90eacee87ba1fa52a3784125d889440fbd025b7b0bb15d1a967257"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts: client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in useToolCallState.useToolCallState at line 67. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/useToolCallState.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":"client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2ee794884d67ec2be5bd3c2fbc3a61823d33485d6457a4b3bb09ed00791b80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/parsers.ts: packages/api/src/mcp/parsers.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in parsers.formatToolContent at line 328. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/parsers.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":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6c5460392c34979e3c483dea7eccafb295f04a17668baf3e0b6f3de3b7657f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/models.ts: packages/api/src/endpoints/models.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in models.fetchModels at line 187. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/models.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":"packages/api/src/endpoints/models.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8674912120a066ce4c5a2feb743de00eab5925b62ce065ace024c50e4f1202c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Trace/Timeline.tsx: client/src/components/Chat/Trace/Timeline.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in Timeline.Timeline at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Trace/Timeline.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Timeline.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d2a3c7388e2f67eb4a3970fcb27bfccf6fd4cfe46fcafbc81c925e5f6ec622"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/middleware/buildEndpointOption.js: api/server/middleware/buildEndpointOption.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in buildEndpointOption.buildEndpointOption at line 61. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/middleware/buildEndpointOption.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":"api/server/middleware/buildEndpointOption.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2160f2c1ec9456791ff14ea4d513644c58290099a7fc800d20843f9c86018e76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/Endpoints/agents/addedConvo.js: api/server/services/Endpoints/agents/addedConvo.js changed 12 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in addedConvo.processAddedConvo at line 81. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Endpoints/agents/addedConvo.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":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"683f5d95d81e54609cf41d81c0e1852afca456ec4f52ad12158baaa0ff5fd6eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Conversations/useNewChat.ts: client/src/hooks/Conversations/useNewChat.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in useNewChat.useNewChat at line 119. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Conversations/useNewChat.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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"490b8d2f0c6499e448169ebd8af9ea1c7126085a8e7a16d50339dfbf895d2c25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/hitl/protection.ts: packages/api/src/agents/hitl/protection.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in protection.assertResumeRuntimeContentAllowed at line 985. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/hitl/protection.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":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1fba60d9cb9d37f8206f99e1cf5fee7d87d8c71429555191ca0b19ab01d811"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/StreamAudio.tsx: client/src/components/Chat/Input/StreamAudio.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in StreamAudio.StreamAudio at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/StreamAudio.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":"client/src/components/Chat/Input/StreamAudio.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c9845053a3e2234ba8f9a44b1fc085762e137f02af07b7f92ba4f37d45db0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/subagentActivity.ts: packages/api/src/agents/subagentActivity.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in subagentActivity.createSubagentActivityStreamHandler.\u003Creturned closure\u003E at line 604. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/subagentActivity.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":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba922999793996709ab4df0b033dd9d04073b2e91eb72fd1b90d75b030bb81c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/AgentHandoff.tsx: client/src/components/Chat/Messages/Content/AgentHandoff.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in AgentHandoff.AgentHandoff 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/AgentHandoff.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":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3beeb3ec81dde96b632b2d89193624b19e2e923c7121ce426cef220ac803415"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx: client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in SkillsDialog.SkillsDialog at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/SkillsDialog.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":"client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"553b101006c1837ca67b8dc605113628171525698e29c7478dd241a9c1c00586"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/utils/drafts.ts: client/src/utils/drafts.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in drafts.setFilesDraft at line 1231. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/utils/drafts.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":"client/src/utils/drafts.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"027442da8c6ba14f7e1cd6eeb98aec7fc0052e12d6e1d85b8605ff6762c45702"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/pulls/lookup.ts: packages/api/src/pulls/lookup.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in lookup.createPullRequestLookup.\u003Creturned closure\u003E at line 222. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/pulls/lookup.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":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb1126c5c37dde3682176cf51abb7edfb3c06096c42b8796d40f3e2432f51c6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/MultiSelect.tsx: packages/client/src/components/MultiSelect.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MultiSelect.MultiSelect at line 84. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/MultiSelect.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/MultiSelect.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87d7f57d4dc5b7d6ce16ac83b0da43dfc4a0d3f24eebdd864ae194d5f8a221f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/skills/import.ts: packages/api/src/skills/import.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in import.handleZip at line 1004. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/skills/import.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":"packages/api/src/skills/import.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91bf8a9edbceabf050c6671138b8f0c47be905ba8d8cb0dd1c448555367c6db"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/harvest.ts: packages/api/src/agents/harvest.ts changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in harvest.createBackgroundCodeResultHandler.\u003Creturned closure\u003E at line 317. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/harvest.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":"packages/api/src/agents/harvest.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c9c67bc22a71e9375aaa4580127525612e53ce2ab20c7031c1fdd31caa074c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/db/indexSync.js: api/db/indexSync.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in indexSync.performSync at line 193. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/db/indexSync.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":"api/db/indexSync.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e34d895d3f40a9984f880188d46e4b438ad397c8e9b208c05f5e98c8e695f40"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Trace/model.ts: client/src/components/Chat/Trace/model.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in model.groupSteps at line 409. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Trace/model.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8798bcb6b516f873caa4ffcfc919e9c9286652de1d593bbe90aa299c45d5c1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/stream/events/final.ts: packages/chat/src/react/stream/events/final.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in final.useFinalHandler.finalHandler at line 55. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/stream/events/final.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":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9923680fb53e7206cebcea055918fcebc45345091853a8195b9bb0aefc8e15f2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx: client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in MemoryCall.MemoryCall at line 15. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/MemoryCall.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":"client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead00058d32caa31ddadc83f2c937ea609084abcbfb536b855d987b1e2231c0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/data-provider/SSE/queries.ts: client/src/data-provider/SSE/queries.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in queries.useTitleGeneration 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/data-provider/SSE/queries.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":"client/src/data-provider/SSE/queries.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"58acf808d0739b53d989cbd14d55f51586b355f3fa557693c09aaec0ad1da327"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/registry/db/ServerConfigsDB.ts: packages/api/src/mcp/registry/db/ServerConfigsDB.ts changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ServerConfigsDB.update 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/registry/db/ServerConfigsDB.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":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c932d5546aa88c967117eaa7694cdf81ab957da8fa89c83d7b0f750ef797fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/TwoFactorScreen.tsx: client/src/components/Auth/TwoFactorScreen.tsx changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in TwoFactorScreen.TwoFactorScreen at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/TwoFactorScreen.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":"client/src/components/Auth/TwoFactorScreen.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e284e3def881f78353b7165ea69694874f9340ef7cc74ac134b8ff9ce691d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Projects/ProjectsView.tsx: client/src/components/Projects/ProjectsView.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ProjectsView.ProjectsView at line 181. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Projects/ProjectsView.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":"client/src/components/Projects/ProjectsView.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308f9ec8e32d6f254af709467e779c9cd2ef19cb30559f8e912bec8a3574e91"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx: client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in BackupCodesItem.BackupCodesItem at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.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":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9081a6cbbef96ab3f1fbfe2d7b57af914a1f77f15a3da596fc92aeab7731fba1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx: client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ToolIcon.getToolIconType 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.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":"client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be1a36025fe2e42ebd7fcd1c635228fd78c9591bd9d1376af00cb492b79e7ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/encode/document.ts: packages/api/src/files/encode/document.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in document.encodeAndFormatDocuments at line 315. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/encode/document.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":"packages/api/src/files/encode/document.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e035e6d497db115193999547c96b88498f3e12e247e74537ed4d09466ebdf2e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/ActionService.js: api/server/services/ActionService.js changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ActionService.createActionTool._call at line 205. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/ActionService.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":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2a3561e01c595ed2e3d244b53e7fdd2d5b4c7fa63b3535fdf7f924e704e160"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx: client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in SharedLinkButton.SharedLinkButton at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/ConvoOptions/SharedLinkButton.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":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfbe36683f43c0f6bbd5a31eb42b392817f6c6f692a35a94cb527f805b996ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Skills/forms/SkillForm.tsx: client/src/components/Skills/forms/SkillForm.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in SkillForm.SkillForm at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Skills/forms/SkillForm.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":"client/src/components/Skills/forms/SkillForm.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffffc910e07c6786d4b0e0da815acec9b686e1e0669b1f099ccfba2d1e8fff3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/responses/runtime.ts: packages/api/src/agents/responses/runtime.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 86 in runtime.createResponseExecutionRuntime 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/responses/runtime.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":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"204a94aed2d9dc91cb3d71153df494d9066945705e70c901e90cd5c8881464f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/oauth/cleanup.ts: packages/api/src/mcp/oauth/cleanup.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in cleanup.cleanupMCPServerOAuthWithFenceHeld at line 429. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/oauth/cleanup.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":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"575ee24de441dbd3f7057584dbd9eafcc7bc7e79fdd7f3d96f395077fb7992ed"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/VerifyEmail.tsx: client/src/components/Auth/VerifyEmail.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in VerifyEmail.RequestPasswordReset at line 13. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/VerifyEmail.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":"client/src/components/Auth/VerifyEmail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9711dc633f6c1ac62b77e1f16ec8835a768231b3dd1636a39ed87f81629926a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/DataTable.tsx: packages/client/src/components/DataTable.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in DataTable.DataTable at line 224. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/DataTable.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"547faa48c91bd5e67d6110672e7e384badd68a7b72f3c972bf758e15fabaf265"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: e2e/setup/fake-assistants-server.js: e2e/setup/fake-assistants-server.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 56 in (anonymous) at line 407. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- e2e/setup/fake-assistants-server.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-assistants-server.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0f37ba84cc483a3ea169946eedb7718e60eeaea5d65e8a00c80980363eee35"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx: client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in AuthSection.AuthSection at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eba7359591c70a1b1a5a310da662afd223900e4fabf33085fffdc2a723a341"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/BackgroundTasks/Card.tsx: client/src/components/Chat/BackgroundTasks/Card.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in Card.TaskCard at line 34. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/BackgroundTasks/Card.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Card.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c01aa8ee550858f346743153c66f9f7047c1ea7652c378477c45e7716cf8424d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Agents/CategoryTabs.tsx: client/src/components/Agents/CategoryTabs.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in CategoryTabs.CategoryTabs at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Agents/CategoryTabs.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":"client/src/components/Agents/CategoryTabs.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b835f1a2dd27886dc4c97cef78406cfa28976e52792cf57b41cdc575d087a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Projects/ProjectWorkspace.tsx: client/src/components/Projects/ProjectWorkspace.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ProjectWorkspace.ProjectWorkspace at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Projects/ProjectWorkspace.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":"client/src/components/Projects/ProjectWorkspace.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"7070b5fd999b099d0c11a362b894eff9ff4d266dbd5f772eec75faf6cb970166"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx: client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in MCPServerCard.MCPServerCard at line 28. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/MCPBuilder/MCPServerCard.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":"client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b4213879d134c51ec186ae665dc095a05bd2275ef65576545346a07f9ea75c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Web/Citation.tsx: client/src/components/Web/Citation.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in Citation.CompositeCitation at line 61. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Web/Citation.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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0b8830f9055a03526ec34ae5d4aff70aff729c933bd30f547447523762ff45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/useSteerRecovery.ts: packages/chat/src/react/steering/useSteerRecovery.ts changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in useSteerRecovery.useSteerRecovery.retry 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/useSteerRecovery.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":"packages/chat/src/react/steering/useSteerRecovery.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88b40692127e25159590c57b25cd5c1075e58978ffb5e2b3a383d7e9a2d2b1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/guard.ts: packages/api/src/agents/guard.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in guard.createSubagentThreadTurnGuard.\u003Creturned closure\u003E at line 152. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/guard.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":"packages/api/src/agents/guard.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a52c38ead3bf790181a6ef62878560cc9919734393359566d47823d57504ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx: client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in EndpointModelItem.EndpointModelItemComponent at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.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":"client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fcd380a6d065a1033357e34f68bb736781d272dcb1d90a329fa1fc2b61125e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/transaction.ts: packages/data-schemas/src/methods/transaction.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in transaction.createTransactionMethods.reserveBalance at line 534. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/transaction.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":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af3d5a06f84f701b37c33b5c4af5a213b85e6aeeb9973a6de9a7254f2f6c0d7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ApprovalContext.tsx: client/src/components/Chat/Messages/Content/ApprovalContext.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ApprovalContext.ApprovalStateProvider at line 183. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ApprovalContext.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":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32564a99621312fe17049151050180d820b4861303ecefafc1eed17a0eedd1b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Endpoints/CustomMenu.tsx: client/src/components/Chat/Menus/Endpoints/CustomMenu.tsx changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in CustomMenu.CustomMenu at line 19. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Endpoints/CustomMenu.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":"client/src/components/Chat/Menus/Endpoints/CustomMenu.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99ddd147b352db45a8c6664fa9337486002dae7c674168f768877abf436fab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx: client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in index.MCPServerDialog at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b1b968d55c09188df1733448f3fc0fdaca42093df6d1c551a68e189f7de5aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/tools/classification.ts: packages/api/src/tools/classification.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in classification.buildToolClassification at line 413. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/tools/classification.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":"packages/api/src/tools/classification.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b9071a6ce022569a18933d22d534cf52bfe3fdef3563504fb1456372528ebe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/MCP/ServerInitializationSection.tsx: client/src/components/MCP/ServerInitializationSection.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in ServerInitializationSection.ServerInitializationSection at line 17. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/MCP/ServerInitializationSection.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":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8c885e69a86f9c0b725db0d129c8c2e9a4393ce30d4fd16fc8ad742f532fbf"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Channels/Link.tsx: client/src/components/Channels/Link.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 79 in Link.OwnedLink at line 62. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Channels/Link.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":"client/src/components/Channels/Link.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"1849a2cb623d92d85398abc1150fa7199182a2f7fdb3f3ee4484bbefde952e31"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/middleware/messageFilterPii.ts: packages/api/src/middleware/messageFilterPii.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in messageFilterPii.createMessageFilterPii.messageFilterPii at line 129. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/middleware/messageFilterPii.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":"packages/api/src/middleware/messageFilterPii.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"69808bc501050a11d155ffaa0dc102634ecab3cdaeed20b963772d77626e94ae"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/useQueuedTurnReveal.ts: packages/chat/src/react/steering/useQueuedTurnReveal.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in useQueuedTurnReveal.useQueuedTurnReveal 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/useQueuedTurnReveal.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":"packages/chat/src/react/steering/useQueuedTurnReveal.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"56eec7c54e6e219827fb580e080db1f6d116f53a11f2141dcba0a4fa8864b4b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/imports.ts: packages/api/src/imports.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 39 in imports.inspectConversationImportContent at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/imports.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":"packages/api/src/imports.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd930bdb8db45aad9f59b0b96f548936f75f4c2af2a86f23ba64a6c8617130d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/assistants/v2.js: api/server/controllers/assistants/v2.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in v2.updateAssistant 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/assistants/v2.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":"api/server/controllers/assistants/v2.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff21f231a05e5364801678f246a044b9f361ed3f3f8cdc4193fd4eb81ab5b011"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/encode/image.ts: packages/api/src/files/encode/image.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in image.encodeAndFormatImages at line 94. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/encode/image.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/image.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6720b31aa87d80b7c41fe4d565baf2df711f7234911db3111f2d2f7e16e5731"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Share/ShareArtifacts.tsx: client/src/components/Share/ShareArtifacts.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in ShareArtifacts.ShareArtifactsContainer at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Share/ShareArtifacts.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":"client/src/components/Share/ShareArtifacts.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"272fb3e8ef4cb7db7ebbc004b2a451935eae4b1d3420298d0d1eab8ead812432"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/attachments.ts: packages/api/src/agents/attachments.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in attachments.collectAgentAttachmentStats at line 242. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/attachments.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/attachments.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"be54a32bc6cd9781dcd8092dc83669ba7c31fa17a07e24705a8e5051c4da24d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Messages/Content/RunCode.tsx: client/src/components/Messages/Content/RunCode.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in RunCode.RunCode at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Messages/Content/RunCode.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":"client/src/components/Messages/Content/RunCode.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"425b3d3714acea337badff3b2a222269623dbc6af45b831769eac92430d731ac"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/openai/transform.ts: packages/api/src/endpoints/openai/transform.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in transform.transformToOpenAIConfig 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/openai/transform.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":"packages/api/src/endpoints/openai/transform.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8894d689e4964a7b02ca7a2efa6781394809cf973daff5494dca55eea5c8f0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/utils/artifacts.ts: client/src/utils/artifacts.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in artifacts.getArtifactDownloadFilename at line 129. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/utils/artifacts.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":"client/src/utils/artifacts.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"610cd7574eacfeadd307b51853a8ab94a4fe9c3310fc48b806b209e2ec822247"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/LoginForm.tsx: client/src/components/Auth/LoginForm.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in LoginForm.LoginForm 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/LoginForm.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":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8db90ff6fdbafaacd3a8a7cb0c359ce125781f4d4b9d8477fca29f9f09836a3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Parameters/Panel.tsx: client/src/components/SidePanel/Parameters/Panel.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Panel.Parameters at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Parameters/Panel.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/Panel.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5bf262ea9a4e53d5e02229ab4b957ed05875449f937434f8fefabd67b1f215"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/Badge.tsx: packages/client/src/components/Badge.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in Badge.Badge at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/Badge.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Badge.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"350ea98db44a7b02705d772c679d2835057deeb162d6dc70d499192e7211b77f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/Composer.tsx: packages/client/src/components/Composer.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Composer.Composer at line 103. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/Composer.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Composer.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"426cdd74e48c2fe06fac910817691ae5a2254e0ca3f99025165f02f9715fd814"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/app/clients/tools/structured/FluxAPI.js: api/app/clients/tools/structured/FluxAPI.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in FluxAPI._call at line 198. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/app/clients/tools/structured/FluxAPI.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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2effd5693658366266f09c9454de5de61ebf20c4c469da28a1c3e1fbe1208adc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/LogContent.tsx: client/src/components/Chat/Messages/Content/Parts/LogContent.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in LogContent.LogContent at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/LogContent.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":"client/src/components/Chat/Messages/Content/Parts/LogContent.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e945123ec8bdaf29ea62cf0f62772af213fa2df1cecd3a43de128e6eafcb7f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Skills/dialogs/CreateSkillDialog.tsx: client/src/components/Skills/dialogs/CreateSkillDialog.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in CreateSkillDialog.CreateSkillDialog 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Skills/dialogs/CreateSkillDialog.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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"309ee3c213e6ae2cbb15ac4e8795cfed48092b97d264dca550fd7564badcad33"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Trace/preview.ts: client/src/components/Chat/Trace/preview.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in preview.buildPreviewIndex at line 309. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Trace/preview.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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce58a35472eb3424578e31b1d9eaff045dc94b990618ac2ecf7c571fa1cc305f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/flow/manager.ts: packages/api/src/flow/manager.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in FlowStateManager.monitorFlow at line 746. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/flow/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":"packages/api/src/flow/manager.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f06a325b80327088fbf33ed0dcb6a84ab2c406489e962e743252a94c337907"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/Threads/manage.js: api/server/services/Threads/manage.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in manage.syncMessages at line 257. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Threads/manage.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":"api/server/services/Threads/manage.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef15ce8cf3fa3aca280c2df9dbbe4c48aec891a7580ecc9fd53a801d1f41fc5d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/submit.ts: packages/chat/src/react/steering/submit.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 47 in submit.useSubmitSteer at line 36. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/submit.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":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c73717b85f97d706385a64096f2a8e4c688468edd70336541bbccb1288945e1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx: client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in TwoFactorAuthentication.TwoFactorAuthentication at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.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":"client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd4a84cabac27433d7b0edc06456527d221ce269d148f1ac33116c411c9c7fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx: client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in MemoryCreateDialog.MemoryCreateDialog at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Memories/MemoryCreateDialog.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":"client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd914401bfe9b5d4541078f01e4fec8bbd6fc61fa464a318eaf2c3a5eeb3ae9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/channel-gateway/src/app.ts: packages/channel-gateway/src/app.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in GatewayApp.dispatch at line 110. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/channel-gateway/src/app.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":"packages/channel-gateway/src/app.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0b2344b39cf3981b75122afa6ec1e493ac8f2027ca6ec03c8b71c90ca2cb14"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/Settings/Dialog.tsx: client/src/components/Nav/Settings/Dialog.tsx changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Dialog.SettingsDialog at line 22. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/Settings/Dialog.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/Dialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0d03d7cc698d6df2e0ddee462e9a0a33f711b2b386e27763b643ae7314d652"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/Registration.tsx: client/src/components/Auth/Registration.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in Registration.Registration at line 22. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/Registration.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":"client/src/components/Auth/Registration.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1454efec771a0e1f307cc66bb777a1d7078a2ce344ace78bed7587771664cdb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/load.ts: packages/api/src/agents/load.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in load.loadEphemeralAgent at line 74. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/load.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":"packages/api/src/agents/load.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"5874df314abf436f5a6347ae1c2a5671c94805fa32a0fa841deeda32609b11d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/Providers/AgentPanelContext.tsx: client/src/Providers/AgentPanelContext.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AgentPanelContext.AgentPanelProvider at line 37. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/Providers/AgentPanelContext.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":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"538715b211f39edcb9cb61b2ae29ed5386d86fa2bda848fb4bf7d521be8397b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/enqueue.ts: packages/chat/src/react/steering/enqueue.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in enqueue.useQueueEnqueue at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/enqueue.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":"packages/chat/src/react/steering/enqueue.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1926b0391adc1739921bdc16bdc21d41843589ebc47dae8a9cd156b8265ea3b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/PixelCard.tsx: packages/client/src/components/PixelCard.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 44 in PixelCard.PixelCard at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/PixelCard.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d8e0b9bd34f376579c5418c57a96ead8d1e09bf11ff4a4f13182d9b3c95eb6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/messages/useConversationSeen.ts: packages/chat/src/react/messages/useConversationSeen.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in useConversationSeen.useConversationSeen at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/messages/useConversationSeen.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":"packages/chat/src/react/messages/useConversationSeen.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e8fdf35501d7d314218ff0c1e618d371b0820ac7d089d82cd7c6c169eb3426"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/storage/s3/crud.ts: packages/api/src/storage/s3/crud.ts changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in crud.extractKeyFromS3Url at line 669. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/storage/s3/crud.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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d9d583d7e31b4cc7085cbbcc83c68d1fc346c272ba3d606721a6ac79265b2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/ui/LocalizedDateRangePicker.tsx: client/src/components/ui/LocalizedDateRangePicker.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in LocalizedDateRangePicker.LocalizedDateRangePicker at line 68. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/ui/LocalizedDateRangePicker.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":"client/src/components/ui/LocalizedDateRangePicker.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9f8fe1eff55436ed9ef196a6e333b081ae46b25e584aed42c4eb65c7458ea5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/PermissionsController.js: api/server/controllers/PermissionsController.js changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in PermissionsController.updateResourcePermissions at line 69. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/PermissionsController.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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6aac50d93b252723df40da75ee768569838852f1f6c005892b31ecfcb2818c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx: client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in EditPresetDialog.EditPresetDialog 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Presets/EditPresetDialog.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":"client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df3383c92d7a89e60d667bc4b9e592c719cc13d7c6f0f5e3a22119cd91402bd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/utils/oidc.ts: packages/api/src/utils/oidc.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in oidc.processOpenIDPlaceholders at line 354. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/oidc.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":"packages/api/src/utils/oidc.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"479485c73f2c3ea8461d9a11901d59e3e4a8354972a02734dc96536dd426d076"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/files/host.ts: packages/api/src/agents/files/host.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in host.createRunFileHost at line 77. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/files/host.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":"packages/api/src/agents/files/host.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"0955b24e2b295ba108abd2ca6e67fa57f7ce9f1fe403151b366153236c6b9a4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/chatProject.ts: packages/data-schemas/src/methods/chatProject.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in chatProject.createChatProjectMethods.addChatProjectFile 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/chatProject.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":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a45542a90672a3da287e0be9a0c2835bab56d7fb13810ef033347d0a4db888c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/delivery.ts: packages/api/src/agents/triggers/delivery.ts changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in delivery.prepareAgentTriggerDelivery 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/delivery.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":"packages/api/src/agents/triggers/delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ad658b49e6b264ab13a3191a857b53cb838b1c9e6b60bac459d76008bc99dd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Chat/useTokenUsage.ts: client/src/hooks/Chat/useTokenUsage.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in useTokenUsage.useTokenUsage at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Chat/useTokenUsage.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":"client/src/hooks/Chat/useTokenUsage.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5e6cc90c73c4cf5ed3b63ddc941aebf6050ffedc66e9884577ff581be0298f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/channelRun.ts: packages/data-schemas/src/methods/channelRun.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in channelRun.createChannelRunStorage.admit at line 386. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/channelRun.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":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c60a0e9a72596ab5c3813ed66cda215bab998de97c1d8957b209bd04bdb60b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx: client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in AgentHandoffs.AgentHandoffs at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.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":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"db19e2ec483116c98074554f5e90e956d242f79d9da3883fd7444c6f4ae989c5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/stream/implementations/RedisEventTransport.ts: packages/api/src/stream/implementations/RedisEventTransport.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in RedisEventTransport.handleMessage at line 895. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/implementations/RedisEventTransport.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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94e2b98de2eb0826b8d484b833ccdf941697b80a59ddafb54577115b71f5706"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/ui/AdminSettingsDialog.tsx: client/src/components/ui/AdminSettingsDialog.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in AdminSettingsDialog.AdminSettingsDialog at line 95. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/ui/AdminSettingsDialog.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":"client/src/components/ui/AdminSettingsDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1edc62bff3510d0466e7db44e1d02622a513a36e6b90a94386f6330e49098c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/utils/groupToolCalls.ts: client/src/utils/groupToolCalls.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in groupToolCalls.groupSequentialToolCalls at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/utils/groupToolCalls.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":"client/src/utils/groupToolCalls.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d1cd6c151612dbe9f3838414abedc17873c46988451a1e54a22193a53c997"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/shortcuts.ts: packages/chat/src/core/shortcuts.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in shortcuts.resolveComposerKeyDown at line 266. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/shortcuts.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":"packages/chat/src/core/shortcuts.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"151761a2aa18d9d9e3461f2df59a8f11dd7ad1d66e406d65453ebf15f4dcc167"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/AuthLayout.tsx: client/src/components/Auth/AuthLayout.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in AuthLayout.AuthLayout at line 13. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/AuthLayout.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":"client/src/components/Auth/AuthLayout.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9635838ad18081621e4798b5a7dfcbf3f64e89dfdebd07b49044212888ffcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Skills/forms/CreateSkillForm.tsx: client/src/components/Skills/forms/CreateSkillForm.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in CreateSkillForm.CreateSkillForm 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Skills/forms/CreateSkillForm.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":"client/src/components/Skills/forms/CreateSkillForm.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"56baab1d6b4e07b76ea97bd6416fab9a9f20a0ce13ebd68079d5562ae590c10b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Presets/PresetItems.tsx: client/src/components/Chat/Menus/Presets/PresetItems.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in PresetItems.PresetItems 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Presets/PresetItems.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":"client/src/components/Chat/Menus/Presets/PresetItems.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8e4c43c91c6a05e85944249b3f137e6912f0e01f3daa065c41f2d012800d27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/ConvoOptions/ShareButton.tsx: client/src/components/Conversations/ConvoOptions/ShareButton.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ShareButton.ShareButton at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/ConvoOptions/ShareButton.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":"client/src/components/Conversations/ConvoOptions/ShareButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"04282488ca9059c29659853620116861c07ea830ac4a44ebbff60175df7877a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/Files/Table/DataTable.tsx: client/src/components/Chat/Input/Files/Table/DataTable.tsx changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in DataTable.DataTable 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/Files/Table/DataTable.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":"client/src/components/Chat/Input/Files/Table/DataTable.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"550889b28557d66cd9e16e18f662b2331e12d77c1de1c9ac0520e0bbea3baa46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: e2e/setup/fake-code-server.js: e2e/setup/fake-code-server.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in handle at line 243. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- e2e/setup/fake-code-server.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-code-server.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"33de20f68ed4ec6216102dd55ed9a67a2d4ad15d90169b6b6f033fcbddbe3689"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/parts/rail.tsx: packages/chat/src/components/parts/rail.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in rail.useFoldPath 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/parts/rail.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ea2802c139c0845df3db9553adfa79e6b7cb880235fdaea4211b3bf6196483"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Builder/ActionsInput.tsx: client/src/components/SidePanel/Builder/ActionsInput.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ActionsInput.ActionsInput at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Builder/ActionsInput.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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"74784fc1d609f1511e021cf49682dc1c639b9411b26333ac01e98993773150fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Conversations/running.ts: client/src/components/Conversations/running.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in running.groupConversationsByStatus 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Conversations/running.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":"client/src/components/Conversations/running.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"89347a4da1a626ddf19685d216289b7ce1abd9d1b7a05837032276fb9e9b1a59"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/lifecycle.ts: packages/api/src/code/lifecycle.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in lifecycle.reconcileCodeEnvironmentLifecycle at line 24. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/lifecycle.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c26a6c83b51563a4b949921ebf6cf7bbf7606db886198a1a28ba240427b0b79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/activityLabels/host.ts: packages/api/src/agents/activityLabels/host.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in host.resolveActivityLabelModel 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/activityLabels/host.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":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e460d784c14b842e9f301068a9f86d9efa281fff46d6ee78ea7010ad07441f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Prompts/fields/PromptName.tsx: client/src/components/Prompts/fields/PromptName.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in PromptName.PromptName at line 17. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Prompts/fields/PromptName.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":"client/src/components/Prompts/fields/PromptName.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0713844424d856968749442ccc58ca661ee48727a2d7c347bc2c00d7cc95dfc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Endpoint/useEndpoints.ts: client/src/hooks/Endpoint/useEndpoints.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in useEndpoints.useEndpoints.mappedEndpoints at line 134. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Endpoint/useEndpoints.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":"client/src/hooks/Endpoint/useEndpoints.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"55054a5c014cda31064fd72e4e80cc9d506fe42f95644eec71ace2bb6a1090de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Agents/Marketplace.tsx: client/src/components/Agents/Marketplace.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in Marketplace.AgentMarketplace 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Agents/Marketplace.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":"client/src/components/Agents/Marketplace.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce479c9118d25a4c0d621566e9fb879dd02125d96e8f8ec68d7f1128541ae37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/skills/management.ts: packages/api/src/skills/management.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in management.createSkillManagementHandlers.wrap.\u003Creturned closure\u003E at line 267. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/skills/management.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":"packages/api/src/skills/management.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0aee45de00f42916a31dfaab49f25ce3f34294e499162211e915b4ea0232b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/pulls/gitlab.ts: packages/api/src/pulls/gitlab.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 36 in gitlab.createGitLabPullRequestSource.find at line 209. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/pulls/gitlab.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":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4090c56ead15bd45b3ffa3d6360b66caff0d02c2718a2e91c7c4aefb5e96b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/groups.ts: packages/api/src/admin/groups.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in groups.createAdminGroupsHandlers.deleteGroup at line 373. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/groups.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":"packages/api/src/admin/groups.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"68195d4fd18cb6f7cd00eb08f9d13744d244ce787f23244fe3149f27b28fbc1d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/SearchBar.tsx: client/src/components/Nav/SearchBar.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SearchBar.SearchBar at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SearchBar.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":"client/src/components/Nav/SearchBar.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0711415d393d3b9ed20a773113a56a5ea2fb120634ca79e152d16eb33fecfdbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Parameters/DynamicTags.tsx: client/src/components/SidePanel/Parameters/DynamicTags.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in DynamicTags.DynamicTags at line 10. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Parameters/DynamicTags.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":"client/src/components/SidePanel/Parameters/DynamicTags.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea6a8d02fc7ffdad838900c113c50cb0fc2657e7e86821a3b319ae380b41f0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/decision.ts: packages/api/src/code/decision.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in decision.resolveConversationCodeEnvironmentDecision 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/decision.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":"packages/api/src/code/decision.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee30822278e77600494d9f931f3a3895ac125f9f154689f9133e4d70cc0f3a8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/receipts.ts: packages/chat/src/react/steering/receipts.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in receipts.useQueuedTurnReceipts at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/receipts.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":"packages/chat/src/react/steering/receipts.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"730904069df6e83514fdefe372902ed95bfc233d07edf486195bf4018fd4427a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/data-provider/Files/mutations.ts: client/src/data-provider/Files/mutations.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in mutations.useUploadFileMutation at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/data-provider/Files/mutations.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":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad321e57dfda39bc954123b8ab16a672571a22dbb52e907b4020ac48bd8465a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/middleware/balance.ts: packages/api/src/middleware/balance.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in balance.buildBalanceUpdateFields 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/middleware/balance.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":"packages/api/src/middleware/balance.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecdc4925848bbaf698074cd2383790cf6447190a1453126ce6715e042d9f2274"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/codeEnvironment.ts: packages/data-schemas/src/methods/codeEnvironment.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in codeEnvironment.createCodeEnvironmentMethods.createCodeEnvironmentWithinOwnerLimit at line 565. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/codeEnvironment.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":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"06754dd150b388feaea159646f9d4cde8a085f5f7a2bf409a88b6e25a579cec6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/messages/generations.ts: packages/chat/src/react/messages/generations.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in generations.useGenerationsByLatest at line 38. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/messages/generations.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":"packages/chat/src/react/messages/generations.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"01fa039d3e768abc0e000a912be461fbcb3457ab464279c482a99ad524a775fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx: client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in StackedToolIcons.StackedToolIcons 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.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":"client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"30be9098ada517bd299b7b3286040ba26e106bd506e094b3d0c0e5872343854a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Bookmarks/BookmarkForm.tsx: client/src/components/Bookmarks/BookmarkForm.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in BookmarkForm.BookmarkForm at line 19. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Bookmarks/BookmarkForm.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":"client/src/components/Bookmarks/BookmarkForm.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5561cfcff22cd0acb8102d024e686d05a1a97d490f79196e42cc8ce5084b92"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/Providers/BadgeRowContext.tsx: client/src/Providers/BadgeRowContext.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in BadgeRowContext.BadgeRowProvider at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/Providers/BadgeRowContext.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":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6fe91c5d6f018f98029b5461f589fdc93fa5a9ad34d8343a4dc1b719bdc9b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/app/clients/tools/structured/OpenAIImageTools.js: api/app/clients/tools/structured/OpenAIImageTools.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 50 in OpenAIImageTools.createOpenAIImageTools 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/app/clients/tools/structured/OpenAIImageTools.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":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"421b502a573e57c6ac7461a5c5b19c40acf0e688c28e164f912f85625ee4a8d1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/rag.ts: packages/api/src/files/rag.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in rag.createVectorFileDeleter.\u003Creturned closure\u003E at line 135. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/rag.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":"packages/api/src/files/rag.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f5bdf37fe39d18717b917a5caa8963af18f1b5f6b6784c165d14a282f151bbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/messages/previews.ts: packages/api/src/messages/previews.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in previews.nestedAttachmentCalls at line 255. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/messages/previews.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":"packages/api/src/messages/previews.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee80e40419f8faab7c4772285ac713e3753f1edb3db06e003c029fd133a9d808"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx: client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in SearchResults.SearchResults at line 175. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Endpoints/components/SearchResults.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":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"07102503b7019aeac066594c975459dd03bd814988c0a5f919a8274e9b8f7257"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/utils/import/importers.js: api/server/utils/import/importers.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in importers.processConversation at line 444. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/utils/import/importers.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":"api/server/utils/import/importers.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c50458611c4d8ee5f86264a912481d1863a1359ea3b342cf710c931a7e97bc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/tools.ts: packages/api/src/mcp/tools.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in tools.createMCPToolCacheService.updateMCPServerTools at line 310. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/tools.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":"packages/api/src/mcp/tools.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"af47cd2e7b585ff34bb30fc0f3814484fde898e8c81641e75bc5924c92f45861"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/AgentFooter.tsx: client/src/components/SidePanel/Agents/AgentFooter.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AgentFooter.AgentFooter at line 22. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/AgentFooter.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":"client/src/components/SidePanel/Agents/AgentFooter.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d018e4246139f9d5eb2e0a7eeae4160d46972c81f35011e4d45c6fd26380e5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/channels/service.ts: packages/api/src/channels/service.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in service.createChannelHandlers.update at line 220. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/channels/service.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":"packages/api/src/channels/service.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3c77f0dfbd56082ad538f67a2a82ad09c752538129170dabfdd31826e898e9e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Search/ApiKeyDialog.tsx: client/src/components/SidePanel/Agents/Search/ApiKeyDialog.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in ApiKeyDialog.ApiKeyDialogContent 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Search/ApiKeyDialog.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":"client/src/components/SidePanel/Agents/Search/ApiKeyDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"964836563d18dcf409f99ecfbb86d58af36e9de4ba00b759b61a191b67e9abde"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/Composer/Thinking.tsx: client/src/components/Chat/Input/Composer/Thinking.tsx changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Thinking.Thinking 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/Composer/Thinking.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":"client/src/components/Chat/Input/Composer/Thinking.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"16783f95a8e4f484dd148fb38e72f7d747fce4720869954500150dcd1eb82684"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/composer/bar/hint.ts: packages/chat/src/components/composer/bar/hint.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in hint.composeHint 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/composer/bar/hint.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":"packages/chat/src/components/composer/bar/hint.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"75697ed1d476aa18b12475ce74d4f83ec6f212a317a87b516bd6ddaa33f2cc0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Sharing/useChatOptions.tsx: client/src/hooks/Sharing/useChatOptions.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in useChatOptions.useChatOptions 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Sharing/useChatOptions.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":"client/src/hooks/Sharing/useChatOptions.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"812df6edf71587b5687d7cc45aab097dc524437ab934d3bf43d504fd47cbf359"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/auth/LogoutController.js: api/server/controllers/auth/LogoutController.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in LogoutController.logoutController at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/auth/LogoutController.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":"api/server/controllers/auth/LogoutController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5297be4c16b5c6e5c80e8863573dc8aa9b0f5f966e11a0dcca88b4c66c72854e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/middleware/checkBan.js: api/server/middleware/checkBan.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in checkBan.checkBan at line 82. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/middleware/checkBan.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":"api/server/middleware/checkBan.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f82023d035406b7345f0cf4848c0dc76d982d6a5a7799c9aeb1d56fb5fc0c45"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/oauth/obo.ts: packages/api/src/mcp/oauth/obo.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in obo.resolveOboToken at line 293. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/oauth/obo.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":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"24cbf8f50e34504e1b80b14ec7ab8d6eccedb23cea19b5784f44956252469658"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/bindingResolver.ts: packages/api/src/agents/triggers/bindingResolver.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in bindingResolver.createAgentEventContinueResolver.\u003Creturned closure\u003E 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/bindingResolver.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":"packages/api/src/agents/triggers/bindingResolver.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a55db27080ec8257ab4f89793d0742a68271ac5feb135cdb3d390addb75f7f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx: client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SharedLinks.SharedLinks 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SettingsTabs/Data/SharedLinks.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":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"01824a6216fd4b1233cceb05ec4dc666acf25f0db80774323c5cf8a5b5098eda"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/files/images.js: api/server/routes/files/images.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in images.router.post(\u0022/\u0022) at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/files/images.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":"api/server/routes/files/images.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a0caa54877b6b95b954640a41ab116722e6dff6cd813541936d57ef361a219"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/channelIdentity.ts: packages/data-schemas/src/methods/channelIdentity.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in channelIdentity.createChannelIdentityStorage.saveChannelIdentity 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/channelIdentity.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":"packages/data-schemas/src/methods/channelIdentity.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fb129fdc2665e3a1de94b0b94b52c22147ed8380078edfde4660956c638d94"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx: client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in ProgressText.ProgressText at line 6. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d2bb8396225adb49bbf21b2bfe6637aa32a7f60c60594f49a4fd75ec854d44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/lib/rum/useRum.ts: client/src/lib/rum/useRum.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in useRum.useRum 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/lib/rum/useRum.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":"client/src/lib/rum/useRum.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b751f947049369b70c727faff2dafd0c9f0cf44e93189bf7369efb6c55e98b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/middleware/remoteAgentAuth.ts: packages/api/src/middleware/remoteAgentAuth.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in remoteAgentAuth.createRemoteAgentAuth.handler at line 390. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/middleware/remoteAgentAuth.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":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"050025b267d6eda9df840893ab04ba39501dde981d0faa3ff2af3bae4cd7ef46"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/environments.ts: packages/api/src/code/environments.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in environments.createCodeEnvironmentRegistry.listAccessibleConfigurations at line 505. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/environments.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":"packages/api/src/code/environments.ts"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"2325b7f503d3cf16ca86340c0b36ad7c085bc449045d8f91e12d7575d134c244"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx: client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in VirtualizedModelList.VirtualizedModelList 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.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":"client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1dd9155d2dbf63ea5f3db613809963eddfefdb4ec1e624941b484ef7ce693c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Schedules/SchedulePanel.tsx: client/src/components/SidePanel/Schedules/SchedulePanel.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in SchedulePanel.SchedulePanel at line 15. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Schedules/SchedulePanel.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":"client/src/components/SidePanel/Schedules/SchedulePanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"9105714c74605b807a0d4f269ab48683ff29d97c95f3e368f3cb5ece7675f71a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/ToolArtifactCard.tsx: client/src/components/Chat/Messages/Content/Parts/ToolArtifactCard.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in ToolArtifactCard.ToolArtifactCard 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/ToolArtifactCard.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":"client/src/components/Chat/Messages/Content/Parts/ToolArtifactCard.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a4290e919b7064b4e3b003cfd046c830996942e7133f84d3c9229fc336380f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/triggers/envelope.ts: packages/api/src/agents/triggers/envelope.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in envelope.parseAgentTriggerEnvelope at line 332. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/triggers/envelope.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":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67bead967ce2cb9327638cfac7b8741e5e04c9bf3103a87c3106b50a157e271"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/catalog/store.ts: packages/api/src/mcp/catalog/store.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in store.createMCPCatalogStore.getCachedTools at line 654. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/catalog/store.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ceeee4a9f010952a4b9e3f3281fe0d6bed85cfe92fda62626278a35e94b937"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/images/authorization.ts: packages/api/src/images/authorization.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in authorization.createImageAuthorizationMiddleware.authorizeImageRequest at line 456. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/images/authorization.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":"packages/api/src/images/authorization.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"1788ab1519a4f2f6f4f94e8df4ae9b76a75551e39a4e8b2b5fcf014fa38d0091"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/langfuse/config.ts: packages/api/src/langfuse/config.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in config.buildLangfuseConfig at line 249. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/langfuse/config.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":"packages/api/src/langfuse/config.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9b43288bfc854604a9e735ceafa017360df448b780bffc7298155d5467b913"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts: client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in useLazyHighlight.useLazyHighlight at line 87. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.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":"client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ecd2b4fc42cca55a1dd23830dd0c66a967834c30714945350ddeaec0509b6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/code/process.ts: packages/api/src/files/code/process.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in process.processCodeOutput 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/code/process.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":"packages/api/src/files/code/process.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"b977ab3c6c99dcd686ba3845ab518a2e6e10e455cff89a89db22c645b61afe84"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/messages/useMessageScrolling.ts: packages/chat/src/react/messages/useMessageScrolling.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in useMessageScrolling.useMessageScrolling 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/messages/useMessageScrolling.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":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"608dc55a01461f6b24665a10f66d59b3afe47346c16620653a5aff5ee4a566c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/strategies/ldapStrategy.js: api/strategies/ldapStrategy.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in (anonymous) at line 97. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/strategies/ldapStrategy.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":"api/strategies/ldapStrategy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e06314f159d5cb83acb443ad1afb78173c433a23fd623eeebcce8b1d25a247"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Messages/Content/CodeBlock.tsx: client/src/components/Messages/Content/CodeBlock.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CodeBlock.CodeBlock at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Messages/Content/CodeBlock.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":"client/src/components/Messages/Content/CodeBlock.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fda36482fe1c45c60ac8bc28f0e16cc330af9548fa0ef711a627212ba29ac79"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/components/CollapsibleText.tsx: packages/chat/src/components/CollapsibleText.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in CollapsibleText.CollapsibleText 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/components/CollapsibleText.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/CollapsibleText.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c91de681663dd9370ae67ba29c377b5880d2cc69eed4d4f574d70425187d93"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Messages/Content/Mermaid/Export.tsx: client/src/components/Messages/Content/Mermaid/Export.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Export.MermaidExport at line 56. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Messages/Content/Mermaid/Export.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":"client/src/components/Messages/Content/Mermaid/Export.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ca7761c473bb74cfa9cc63cd1d90a913746fd49980908bd6a87333849d1cbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/steering/runtime.ts: packages/api/src/agents/steering/runtime.ts changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in runtime.drainAndBuildInjections at line 102. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/steering/runtime.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":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf71aa0a31e5dd8d6636a9eca6b9a4165b18b391ea1e44f335dc7b195bb56607"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/composer.ts: packages/chat/src/react/steering/composer.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in composer.useComposerTake 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/composer.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":"packages/chat/src/react/steering/composer.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"607ac416a88625ba7586f79609503da6e66813a51c3b9a34105e81c2dd3fc44b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Agents/Tools/items/catalog.ts: client/src/components/SidePanel/Agents/Tools/items/catalog.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in catalog.buildCatalog at line 121. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/items/catalog.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":"client/src/components/SidePanel/Agents/Tools/items/catalog.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db2365a11dddcfdd1a3e087a4b77964e4e85714f12e14172a385c6ad9c09419"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/useTextToSpeechExternal.ts: client/src/hooks/Input/useTextToSpeechExternal.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in useTextToSpeechExternal.useTextToSpeechExternal at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/useTextToSpeechExternal.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":"client/src/hooks/Input/useTextToSpeechExternal.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ccb52c80a80bcaaea242e225c7e85987fcdbf2033a70c227e512b79d06f99de"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/retention.ts: packages/api/src/files/retention.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in retention.computeRetentionExpiry 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/retention.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":"packages/api/src/files/retention.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6509a18448383c86daa30f6dba52c9202d1a20713d1c1ec52bf5130378daea7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx: client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in EndpointItem.EndpointItem 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Endpoints/components/EndpointItem.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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1d10a5f353d5c0c2f1d11c511a1ffd2835421893179dc91d22a88b71439a8a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: e2e/setup/fake-rag-server.js: e2e/setup/fake-rag-server.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in handle at line 163. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- e2e/setup/fake-rag-server.js\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-rag-server.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"0edcfb425646175cacc73f5c104066087cefaa4ab2a9c371843690a5fe321077"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/memories.js: api/server/routes/memories.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in memories.router.patch(\u0022/:key\u0022) at line 316. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/memories.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":"api/server/routes/memories.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"0743741eacf565655922677064981d888e2841af1f52361c69721ae3c10ec249"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/Image.tsx: client/src/components/Chat/Messages/Content/Image.tsx changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Image.Image at line 27. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Image.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":"client/src/components/Chat/Messages/Content/Image.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e48c20360b8ad9a2ed130a59cd50c2b7f041c8d7f04766a8639b996f0fb4435"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/controllers/tools.js: api/server/controllers/tools.js changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in tools.callTool at line 110. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/tools.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":"api/server/controllers/tools.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8d6b7735512b595d034f48c058c7503e2ef468f59777205de6343da8fbf117f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/auth/passkey/handlers.ts: packages/api/src/auth/passkey/handlers.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in handlers.createPasskeyHandlers.authenticatePasskey at line 602. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/passkey/handlers.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":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff8bb50fe326ea44d60ccbb7413d6cf5612ab4fc2f69b53a031b4c014739132e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/client/src/components/Avatar.tsx: packages/client/src/components/Avatar.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Avatar.Avatar 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/client/src/components/Avatar.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Avatar.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"574867f40ef5506bf7c4ef491b2184bb2ce1e71157a73edeea1b447e0246670d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/subagents/parents.tsx: packages/chat/src/react/subagents/parents.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in parents.ParentSubagentsProvider at line 35. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/subagents/parents.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/parents.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4200948534a66f56e381a7eb323bb1e6edc3683a6fb5b7353e851fe170baaa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/app/conformance.ts: packages/data-schemas/src/app/conformance.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in conformance.describeConfigStoreConformance at line 115. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/app/conformance.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":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d481abfb553b6675ba485bf185b7bd6bc754c82c9a94ac860f5d979efa9c849d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/agents/actions.js: api/server/routes/agents/actions.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in actions.router.post(\u0022/:agent_id\u0022) at line 102. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/agents/actions.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":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf56d8ccfa1a1e21ee4b104bd5c1f14641b65f6fe55a558320b66bd5c0af4f0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/anthropic/helpers.ts: packages/api/src/endpoints/anthropic/helpers.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in helpers.configureReasoning at line 75. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/anthropic/helpers.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":"packages/api/src/endpoints/anthropic/helpers.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e58de02dc068efc6af5a7f3081ebbe8f09ba44531be7472f90dfb876fc912d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/middleware/requireJwtAuth.js: api/server/middleware/requireJwtAuth.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in requireJwtAuth.requireJwtAuth at line 101. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/middleware/requireJwtAuth.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":"api/server/middleware/requireJwtAuth.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13ac4bb94d00708d259944e51174d9bbfb1ee394ecd09429f17ce42adcd6719"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/hydration.tsx: client/src/components/Chat/Messages/Content/hydration.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in hydration.PreviewedToolCallPart 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/hydration.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":"client/src/components/Chat/Messages/Content/hydration.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"094a703935c1d977daf2d9dc91f7932d73f6cc0f83021f6e3fcb7e123ac55890"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/app/clients/tools/structured/OpenWeather.js: api/app/clients/tools/structured/OpenWeather.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in OpenWeather._call at line 173. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/app/clients/tools/structured/OpenWeather.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":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdf4c928a6774173453d9581489fe2d0464127278327990e5eb808ec7cd46f3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/lane.ts: packages/api/src/code/lane.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in lane.createLaneGitRecorder at line 79. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/lane.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":"packages/api/src/code/lane.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"402a706d9d4ee2004cd685d2750fc7c3dc7e086e4dde6d8cd3981afecb013753"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/endpoints/google/initialize.ts: packages/api/src/endpoints/google/initialize.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in initialize.initializeGoogle at line 28. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/endpoints/google/initialize.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":"packages/api/src/endpoints/google/initialize.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55dbc6006e919420641f20009d9880f4100bec0f29094f2903493f0e30159f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Plugins/Store/PluginAuthForm.tsx: client/src/components/Plugins/Store/PluginAuthForm.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in PluginAuthForm.PluginAuthForm at line 87. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Plugins/Store/PluginAuthForm.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":"client/src/components/Plugins/Store/PluginAuthForm.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8b4d6d20cfa1cb57a78e4e602825ef599497d65bda2f18de509c81636e341e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/modelSpecs/reasoningOverride.ts: packages/api/src/modelSpecs/reasoningOverride.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in reasoningOverride.applyRequestReasoningOverride at line 318. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/modelSpecs/reasoningOverride.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":"packages/api/src/modelSpecs/reasoningOverride.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ae435c4ce69f64aa3504b924e9eec2b243295286171f190151d4ff6e5143ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/strategies/samlStrategy.js: api/strategies/samlStrategy.js changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in samlStrategy.createSamlCallback.\u003Creturned closure\u003E at line 192. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/strategies/samlStrategy.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":"api/strategies/samlStrategy.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e1f0ffeeaf871a238fb63312eec416a02b3639928c4f734a4c47ff4294932d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/data-provider/Messages/retention.ts: client/src/data-provider/Messages/retention.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 34 in retention.retainMessages 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/data-provider/Messages/retention.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":"client/src/data-provider/Messages/retention.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63c42ce5ec7a84150366cc27c2399a1f76d0d0ad0f4cfa7110bd6cbfad3edad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/SearchContent.tsx: client/src/components/Chat/Messages/Content/SearchContent.tsx changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SearchContent.SearchContent 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/SearchContent.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":"client/src/components/Chat/Messages/Content/SearchContent.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd9209db1c2352c93f21ce20123bba0c0f0de5ba841ecfa8306009cce72d467"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/schedules/authorization/enrollment.ts: packages/api/src/schedules/authorization/enrollment.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in enrollment.createScheduleMCPEnrollmentResolver.\u003Creturned closure\u003E at line 43. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/schedules/authorization/enrollment.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":"packages/api/src/schedules/authorization/enrollment.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea79731839df24daf327e1d7192cea7cd140e70afa1afa1bda2bee61f91618b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/services/start/tools.js: api/server/services/start/tools.js changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in tools.loadAndFormatTools 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/start/tools.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":"api/server/services/start/tools.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8267203c1c07b6555bec8064421bbb35e71acf2e402617055a3d9a360740c96a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Nav/SettingsTabs/Balance/AutoRefillSettings.tsx: client/src/components/Nav/SettingsTabs/Balance/AutoRefillSettings.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AutoRefillSettings.AutoRefillSettings at line 28. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SettingsTabs/Balance/AutoRefillSettings.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":"client/src/components/Nav/SettingsTabs/Balance/AutoRefillSettings.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a547898e230216fe57113fadb4589b44bcdbf9164cce91e0768fca733a7005"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/TwoFactorSetupScreen.tsx: client/src/components/Auth/TwoFactorSetupScreen.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in TwoFactorSetupScreen.TwoFactorSetupScreen at line 58. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/TwoFactorSetupScreen.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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f186138da82930774976aa0a31155085a2c0c426a132b471b72c1438e07fa5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/app/changes.ts: packages/data-schemas/src/app/changes.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in changes.getConfigChangeWrittenPaths at line 551. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/app/changes.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":"packages/data-schemas/src/app/changes.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f83f88fb6eae367aad713b80c743fd372200065d76e9ba78837fdbf906dd579"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/useSteerEscalate.ts: packages/chat/src/react/steering/useSteerEscalate.ts changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in useSteerEscalate.useSteerEscalate at line 47. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/useSteerEscalate.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":"packages/chat/src/react/steering/useSteerEscalate.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7bc4873ebf7c518d54be68632c39a755fd25544f509d01c2cd1d866acb6e27"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.tsx: client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in ModelSelectorContext.ModelSelectorProvider at line 59. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.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":"client/src/components/Chat/Menus/Endpoints/ModelSelectorContext.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2dcdd9cdb000c7087ef7b5a856732089a29e2db36cd9b6ff260b5647383280"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/Memories/MemoryPanel.tsx: client/src/components/SidePanel/Memories/MemoryPanel.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in MemoryPanel.MemoryPanel at line 33. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Memories/MemoryPanel.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":"client/src/components/SidePanel/Memories/MemoryPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ab1d13bdf7803f8ac3d603afa6d5373cfdf8fea5da8b66f78bbf734c2f7c52"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/middleware/error.ts: packages/api/src/middleware/error.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in error.ErrorController at line 61. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/middleware/error.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":"packages/api/src/middleware/error.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"081eb99b5ebecac46f0a80502c18a501fb893f61e44ef43195c1634d6a774f9d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Input/useMentions.ts: client/src/hooks/Input/useMentions.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in useMentions.useMentions.options at line 156. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Input/useMentions.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":"client/src/hooks/Input/useMentions.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b92828af9c7c2af25d2156bba8efdfc44e2f8442fa9ef39b980c14400f29dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/recovery.ts: packages/chat/src/react/steering/recovery.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in recovery.useQueuedRecovery at line 18. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/recovery.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":"packages/chat/src/react/steering/recovery.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd2e4da5ef6fe9bb50b3ab954496e17fdcd261f316ce6d0beac8f6afced3c72"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/responses/completion.ts: packages/api/src/agents/responses/completion.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in completion.createResponseCompletion.finish at line 280. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/responses/completion.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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18dd2ad2a850523f57b2d281a646307e28c81a435af32ba72a86aa219a25a32"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/encode/audio.ts: packages/api/src/files/encode/audio.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in audio.encodeAndFormatAudios 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/encode/audio.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":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6add2d1fa05a7057acbde638165731a8a6a1858e550f7447244b8c029d4fe003"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/instructions/linked.ts: packages/api/src/agents/instructions/linked.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in linked.createLinkedInstructionsResolver at line 274. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/instructions/linked.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":"packages/api/src/agents/instructions/linked.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfedacb2484d6ac3fbc18cd7a167203b76b3dc89409f1e13fb7f7a64f7f9b8e8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/models/plugins/tenantIsolation.ts: packages/data-schemas/src/models/plugins/tenantIsolation.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in tenantIsolation.applyTenantIsolation at line 124. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/models/plugins/tenantIsolation.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":"packages/data-schemas/src/models/plugins/tenantIsolation.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12c9fac68a6075c2927745518140a1daaa422015433cb942bdbdbb42f2d91fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/utils/axios.ts: packages/api/src/utils/axios.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in axios.logAxiosError at line 44. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/axios.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":"packages/api/src/utils/axios.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ed3756089366e9d9075f323b823918744a98bfba1ba58c7826238b3818608f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/responses/stored.ts: packages/api/src/agents/responses/stored.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in stored.createStoredForegroundResponseReader.\u003Creturned closure\u003E at line 228. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/responses/stored.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":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4025eb184a37d34a04fd38f104c8a1d812f29526c672e1c807f4f61c85cb4430"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/middleware/moderateText.js: api/server/middleware/moderateText.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in moderateText.moderateText at line 15. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/middleware/moderateText.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":"api/server/middleware/moderateText.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c86845fd742b9d3c662847bd60d5a2512a1d7be5b6e52c63cee3d20602307c0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/shared-links/access.ts: packages/api/src/shared-links/access.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in access.createSharedLinkAccessMiddleware.canAccessSharedLink at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/shared-links/access.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":"packages/api/src/shared-links/access.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce02d0a42c75a3d66309d4bd775865cd08abf265b3539cbdd867dbaad5bdea7"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/encode/video.ts: packages/api/src/files/encode/video.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in video.encodeAndFormatVideos at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/encode/video.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":"packages/api/src/files/encode/video.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"746bc958027e96501c32ad08b6c5dd87e86b1c73cd2f8207b4497638ae21178c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Messages/Content/SiblingHeader.tsx: client/src/components/Chat/Messages/Content/SiblingHeader.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SiblingHeader.SiblingHeader 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/SiblingHeader.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":"client/src/components/Chat/Messages/Content/SiblingHeader.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f248fe90d4bc5b25e5339c99978eca03e85a4c582fafe100c274a792cd9e4d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/rum/proxy.ts: packages/api/src/rum/proxy.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in proxy.proxyRumRequest at line 220. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/rum/proxy.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":"packages/api/src/rum/proxy.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccc797b440f4558a14b1baa7b43807069c0cd9689121b03603fa563348e6815"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Endpoints/EndpointIcon.tsx: client/src/components/Endpoints/EndpointIcon.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in EndpointIcon.EndpointIcon at line 17. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Endpoints/EndpointIcon.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":"client/src/components/Endpoints/EndpointIcon.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c5cc5e9583250a8b851a564dd2ee2c4ce74a923f67137ac758b7063c02fea6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx: client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in SelectedPrincipalsList.SelectedPrincipalsList at line 22. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.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":"client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3326e8deb640a23cfa07430a9788ae8b72ca2672067274fb564fbaf7218f530e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Channels/BotManagers.tsx: client/src/components/Channels/BotManagers.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in BotManagers.BotManagers at line 87. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Channels/BotManagers.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":"client/src/components/Channels/BotManagers.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe7022a0e82b03e110e3a090ac311ae765d2cbe6bfd4660c06d9fb21957bf213"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/code/delete.ts: packages/api/src/files/code/delete.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in delete.createCodeFileDeleter.\u003Creturned closure\u003E 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/code/delete.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":"packages/api/src/files/code/delete.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d7f5b163d21ef106e2465d354292ac66dee41f2d1a29415fc4402f805ea91a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/mcp/ConnectionsRepository.ts: packages/api/src/mcp/ConnectionsRepository.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in ConnectionsRepository.loadConnection 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/ConnectionsRepository.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":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"03941f2aaf62c9c24bb3d5c4f922855f07ec4b3a88d7340619e448f99f358225"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/routes/assistants/actions.js: api/server/routes/assistants/actions.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in actions.router.post(\u0022/:assistant_id\u0022) 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/assistants/actions.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":"api/server/routes/assistants/actions.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00075a972c9aced62dd34ab8d32509d2ad3c07017347993986148b0ff995d19"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/langfuse/feedback.ts: packages/api/src/langfuse/feedback.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in feedback.sendFeedbackScore at line 143. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/langfuse/feedback.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/feedback.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"565668afe0410477d462fc5c88b4fb193db3001b3a85de3f66acef84c3cbf8d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Conversations/usePresets.ts: client/src/hooks/Conversations/usePresets.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in usePresets.usePresets at line 31. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Conversations/usePresets.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":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f603b834f15986ed7b6333c93971f8825b491a7e0f9e5f04f1f235903c1aa386"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/chips.ts: packages/chat/src/react/steering/chips.ts changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in chips.useSteerChips at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/chips.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":"packages/chat/src/react/steering/chips.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb799be0e05ed49f3e8b34eca8589f71bc9dc1f01355ce8e85d7f3a1722148df"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Skills/dialogs/UploadSkillDialog.tsx: client/src/components/Skills/dialogs/UploadSkillDialog.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in UploadSkillDialog.UploadSkillDialog at line 88. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Skills/dialogs/UploadSkillDialog.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":"client/src/components/Skills/dialogs/UploadSkillDialog.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51bf8313d415da88a7347ca84008bd5e71db84b7c18eed005ca1edad9d2a014"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx: client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in MCPCardActions.MCPCardActions at line 40. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/MCPBuilder/MCPCardActions.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":"client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"3508daf35b05fee65d39b5c5ac66ce1d5e8383e4ff2ffc87f5c42a3c866e3bd3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Files/useAttachmentPreviewSync.ts: client/src/hooks/Files/useAttachmentPreviewSync.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in useAttachmentPreviewSync.useAttachmentPreviewSync 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Files/useAttachmentPreviewSync.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":"client/src/hooks/Files/useAttachmentPreviewSync.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9655ba449e10c8acda217ff2401b6d16afe257f9994d877b5c32377ceed6aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/react/steering/actions.ts: packages/chat/src/react/steering/actions.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in actions.useDuringRunActions at line 20. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/react/steering/actions.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/actions.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"210a887d67d29df6eb88a4bdf9e2bc6a00370f6a77741338a9a7fe9c22225b88"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/code/instructions.ts: packages/api/src/code/instructions.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in instructions.createRepositoryInstructionLoader.\u003Creturned closure\u003E 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/code/instructions.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":"packages/api/src/code/instructions.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc2f7139250344289be49142dcb5d89a6a33fad7068fe4406bb1e0df6e77068"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/server/socialLogins.js: api/server/socialLogins.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in socialLogins.configureSocialLogins at line 83. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/socialLogins.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":"api/server/socialLogins.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1214164eea487392cff786861fce27b4a393d3e77a963338623b0280ed37872"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/admin/catalog.ts: packages/api/src/admin/catalog.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in catalog.createAdminConfigCatalogHandlers.getConfigCatalog at line 521. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/admin/catalog.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":"packages/api/src/admin/catalog.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f69459a143f7e3ca04ce2d01db64a90910e4342c842061840fece7c21dc4aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: api/strategies/socialLogin.js: api/strategies/socialLogin.js changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in socialLogin.socialLogin.\u003Creturned closure\u003E 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/strategies/socialLogin.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":"api/strategies/socialLogin.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ca3cdc76ead5137b231ade17a2d9b4cedc332c77b0034a384affc508adc71f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/credentials.ts: packages/api/src/credentials.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in credentials.bootstrapCredentials at line 276. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/credentials.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":"packages/api/src/credentials.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"99809cee591ed326d020838b2b93286618139252ab69d46d5a0092ab42514eca"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/data-schemas/src/methods/insights.ts: packages/data-schemas/src/methods/insights.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in insights.createInsightsMethods.getInsights at line 288. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/insights.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":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010160eaa1b776b4b32df5463519cd42a2ff1797cd84ffdfafcee9535a9528b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/channels/identity.ts: packages/api/src/channels/identity.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in identity.createChannelIdentityService.issue 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/channels/identity.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":"packages/api/src/channels/identity.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd3c13ac30987cef6f64f6da7f919d3485ed9990606d69f2614a0345b5fca53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/memory/handlers.ts: packages/api/src/memory/handlers.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in handlers.createMemoryManagementHandlers.updateById at line 72. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/memory/handlers.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":"packages/api/src/memory/handlers.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26c994b0d06deae6fd18ccbe02b7e056cb84d3f4018af3ddf3298eb67cc4cc3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/chat/src/core/parts/approval.ts: packages/chat/src/core/parts/approval.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in approval.buildApprovalPreview at line 110. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/chat/src/core/parts/approval.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":"packages/chat/src/core/parts/approval.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"107a653b3f7eb86c7d0ed6637acdc8c76c1499b201b1220b52431a4e21fc2fbc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/hooks/Plugins/useToolToggle.ts: client/src/hooks/Plugins/useToolToggle.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in useToolToggle.useToolToggle 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/hooks/Plugins/useToolToggle.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":"client/src/hooks/Plugins/useToolToggle.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe65a7fb2ab6b73cad4a71e6eef7bd665628b9f4459d5bcb7ea30bf35f0098d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/SocialLoginRender.tsx: client/src/components/Auth/SocialLoginRender.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in SocialLoginRender.SocialLoginRender 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/SocialLoginRender.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":"client/src/components/Auth/SocialLoginRender.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65f6fd8c58a53012b0bc8ee9cc88c001f538e2805eeb0a4e6122376ab06615e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/files/speech.ts: packages/api/src/files/speech.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in speech.createSpeechChunkProcessor.processChunks at line 57. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/speech.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":"packages/api/src/files/speech.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffa73096aaf6588576b55489d18282d680e1ecf5d44c5b599a0e02abc2b2ec6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Channels/Links.tsx: client/src/components/Channels/Links.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Links.OwnedLinks 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Channels/Links.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":"client/src/components/Channels/Links.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"af214206c6263817111c2416be74274ab6ff0640e922e57983c7999961d55d28"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: packages/api/src/agents/checkpoints/deletion.ts: packages/api/src/agents/checkpoints/deletion.ts changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in deletion.createCheckpointDeletionReclaimer.\u003Creturned closure\u003E at line 182. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/checkpoints/deletion.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":"packages/api/src/agents/checkpoints/deletion.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b560398481d3d201e7787ae5b70e787b832f0437d0d2cf43572d9f0d2f0f6c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx: client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in SortFilterHeader.SortFilterHeader at line 19. Frequent change and high complexity in one file compound: schedule the 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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Input/Files/Table/SortFilterHeader.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":"client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"05532a8ede1346621a8aeda81b05348bb87f817e819df23c38a18aaeba1e135b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client/src/components/Auth/Login.tsx: client/src/components/Auth/Login.tsx changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Login.Login at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Auth/Login.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":"client/src/components/Auth/Login.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a915375ca5872ce331beb1fac88ac37c902671718dcf23ac502cb52fa06293e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/stream/interfaces/IJobStore.ts: packages/api/src/stream/interfaces/IJobStore.ts changed 45 times in last 90 days and 23 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 IJobStore.isStopConfirmed at line 950), 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: \u201C\uD83D\uDD04 fix: Restore MCP Sign-In Prompts After Reload (#17604)\u201D; \u201C\uD83D\uDEE1\uFE0F fix: Retain Execution Ownership Until Terminal Persistence (#17598)\u201D; \u201C\uD83E\uDDF7 fix: Promote Unapplied Steers to Durable Queued Turns at Run End (#18028)\u201D; \u201C\uD83D\uDC18 fix: Preserve Authored Skills Across Approval Resumes (#17630)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/interfaces/IJobStore.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":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45719585247c56ca0f694a488435d55df0428fe19b51ce4919bf3ca15da1ac5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/AuthService.js: api/server/services/AuthService.js changed 14 times in last 90 days and 11 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is AuthService.verifyEmail at line 319), 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: \u201C\uD83D\uDCEA fix: Require Email Delivery for Password Reset Links (#17823)\u201D; \u201C\uD83D\uDEC2 fix: Only Hand Out OpenID Access Tokens the Bearer Verifier Accepts (#17904)\u201D; \u201C\uD83D\uDD10 fix: Retire Credentials by Their Committing Write and on Opt-In 2FA (#17504)\u201D; \u201C\uD83D\uDD10 fix: Apply Base Config Overrides Before Sign-In and Refuse Script Policy Links (#17351)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/AuthService.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":"api/server/services/AuthService.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d02d62f20e7eae0317aa4760c7d171894963a4e4b82a5a28331471234db194a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/errors.ts: packages/api/src/agents/errors.ts changed 13 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 14 (its worst body is errors.getModelStreamFailure at line 156), 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: \u201C\uD83D\uDEA6 fix: Keep the Gateway Message on Classified Rate Limit Errors (#17903)\u201D; \u201C\uD83D\uDC21 fix: Bound Tool Approval Admission Work (#17387)\u201D; \u201C\uD83D\uDCE1 fix: Explain Model Streams That Die Mid-Response (#16415)\u201D; \u201C\uD83D\uDCE3 fix: Surface MCP Credential Failures During Tool Loading (#16323)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/errors.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":"packages/api/src/agents/errors.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c35fa878a0fc40579983eb9be5fa49d9b894a21eac09aaff6beb4310f8d497"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/middleware/abortMiddleware.js: api/server/middleware/abortMiddleware.js 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 abortMiddleware.handleAbortError at line 172), 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: \u201C\uD83D\uDDD1\uFE0F fix: Drain Assistants Runs Before Erasing the Account (#17937)\u201D; \u201C\uD83D\uDD12 fix: Restrict Stop to the Generation\u0027s Owner and Contain S3 Ingest Stream Errors (#17256)\u201D; \u201C\uD83D\uDE48 fix: Mask Emails and Drop Personal Identifiers From Logs (#17048)\u201D; \u201C\uD83D\uDCB0 fix: Bill Stopped Agent Turns From Provider Usage (#15889)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/middleware/abortMiddleware.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":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aede3af4aa724522bc7ec2e10351f4d35d33c95921220d07e1842812ef1be2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/backgroundCompletion.ts: packages/api/src/agents/backgroundCompletion.ts changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is renew at line 45), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C\uD83D\uDEEC fix: Settle Background Tool Results Before the Server Shuts Down (#16365)\u201D; \u201C\uD83D\uDCEC fix: Show Background Results Still Waiting for the Agent (#16363)\u201D; \u201C\uD83D\uDCEE fix: Count Undelivered Background Results as Outstanding (#16343)\u201D; \u201C\u26A1 fix: Deliver Waiting Completion Wake-ups the Moment They Are Ready (#16339)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/backgroundCompletion.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":"packages/api/src/agents/backgroundCompletion.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc52653a51908d6b9b9c7832b1fd32f7b515c714ceedc673b82d6bf1eddf612c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/data-provider/src/types/queuedTurns.ts: packages/data-provider/src/types/queuedTurns.ts 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 1 (its worst body is queuedTurns.getPromotedSteerRequestId at line 107), 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: \u201C\uD83E\uDDF7 fix: Promote Unapplied Steers to Durable Queued Turns at Run End (#18028)\u201D; \u201C\uD83D\uDCF0 fix: Preview Pasted Text Without Blocking Sends (#17962)\u201D; \u201C\uD83D\uDEBF fix: Bound Chat Message IDs and Remove Backtracking (#17388)\u201D; \u201C\uD83D\uDEF6 fix: Preserve Canary Sync Resolutions (#16361)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-provider/src/types/queuedTurns.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":"packages/data-provider/src/types/queuedTurns.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0888321c2eb53395b42b0a4cbe935a833c1646117904f05dca0d2e01a49eb606"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/hitl/runtime.ts: packages/api/src/agents/hitl/runtime.ts 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 runtime.buildHITLRunWiring at line 59), 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: \u201C\uD83E\uDDE9 fix: Match mcp:\u003Cserver\u003E:\u003Ctool\u003E Tool Approval Patterns Against MCP Tool Keys (#17902)\u201D; \u201C\uD83D\uDFF0 fix: Normalize File Edits Before Approval (#16543)\u201D; \u201Cfix: Enforce Tool Approval Policy on Headless Agent Runs (#16467)\u201D; \u201C\u26D4 fix: Bind Tool Approvals to Generation Scope (#15724)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/hitl/runtime.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":"packages/api/src/agents/hitl/runtime.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7778132a6e3805f692b97054887be660445ff58a36e8ddf500e93d2089a56ad4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/auth/passwordReset.ts: packages/api/src/auth/passwordReset.ts 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 8 (its worst body is passwordReset.createResetPasswordController 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: \u201C\uD83D\uDD10 fix: Retire Credentials by Their Committing Write and on Opt-In 2FA (#17504)\u201D; \u201C\uD83D\uDD10 fix: Hash Passwords on a Worker Pool and Surface API Key Lookup Failures (#17261)\u201D; \u201C\uD83D\uDE4A fix: Keep API Keys and Internal Errors Out of Logs and Responses (#17258)\u201D; \u201C\uD83E\uDEAA fix: Boot-Paint a Cached Theme Only for Its Signed-In Owner (#16926)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/passwordReset.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":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"34da9fc5d873685212d7c2fea4acfa534f75b85879f6872dfafc5a1fcf83e9eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/utils/errors.ts: packages/api/src/utils/errors.ts 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 errors.getSafeErrorMetadata 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: \u201C\u23F1\uFE0F fix: Bound Outbound Calls Made Inside a Request (#17263)\u201D; \u201C\uD83E\uDDAB fix: Bound Error Text Before URL Redaction (#16532)\u201D; \u201C\uD83C\uDF75 fix: Support Renewable MCP Credentials for Schedules (#15908)\u201D; \u201C\uD83D\uDD23 fix: Encode Images From Storage Keys (#15851)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/errors.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":"packages/api/src/utils/errors.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe5f0cbd9fb97a4d36c8c6cafdb0c5f1f22d0782dd65b0b383db21c736519b5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/Files/Code/crud.js: api/server/services/Files/Code/crud.js 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 12 (its worst body is crud.batchUploadCodeEnvFiles at line 200), 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: \u201C\uD83C\uDF33 fix: Preserve Primary Files Until Secondary Cleanup Succeeds (#17228)\u201D; \u201C\uD83E\uDDF9 fix: Let File Deletes Succeed When the Code API No Longer Serves the Ref\u0027s Profile (#16671)\u201D; \u201C\uD83E\uDEA2 fix: Keep One Code File per Sandbox Destination (#15817)\u201D; \u201C\uD83D\uDEDF fix: Recover CodeAPI File Uploads After Throttling (#15784)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Files/Code/crud.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":"api/server/services/Files/Code/crud.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6e79fcf2bb52a62c45f0f4617a56e82836b8a054b872d62d02afe2e566997d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/checkpointer.ts: packages/api/src/agents/checkpointer.ts 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 12 (its worst body is checkpointer.hasDurableAgentInterruptCheckpoint at line 564), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C\uD83D\uDEE1\uFE0F fix: Retain Execution Ownership Until Terminal Persistence (#17598)\u201D; \u201C\uD83D\uDD02 fix: Preserve Subagent Checkpoints Across Tool Approvals (#18007)\u201D; \u201C\uD83E\uDEAC fix: Fence Agent Checkpoint Ownership and Cleanup Recovery (#15680)\u201D; \u201C\uD83C\uDF43 fix: Serialize Index Builds and the Agent Edge Cleanup for DocumentDB (#15670)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/checkpointer.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":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"b818e93a68804b139b8c6141ec18e78e40fa90a767514c9408b4919e09dd345c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/routes/auth.js: api/server/routes/auth.js 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 4 (its worst body is auth.getCloudFrontAuthCookieRefreshResult at line 61), 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: \u201C\uD83D\uDEAA fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956)\u201D; \u201C\uD83C\uDFE8 fix: Restore Strict Tenant Startup and Sign-In (#17441)\u201D; \u201C\uD83D\uDD11 fix: Keep Passkey Sign-In Reachable When Email Login Is Disabled (#16254)\u201D; \u201C\uD83D\uDEC2 fix: Rate Limit Authenticated 2FA Management (#16565)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/auth.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":"api/server/routes/auth.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"df435a6364b017f22e2e6339aebd85c7bcb88eb76ca4142864f484e89d178b83"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/failures/terminal.ts: packages/api/src/agents/failures/terminal.ts 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 10 (its worst body is terminal.createTerminalRunErrorObserver at line 86), 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: \u201C\uD83D\uDEA6 fix: Keep the Gateway Message on Classified Rate Limit Errors (#17903)\u201D; \u201C\uD83E\uDDEF fix: Return Approved Tool and Generation Error Text Instead of Raw Exceptions (#17508)\u201D; \u201C\uD83D\uDCE1 fix: Explain Model Streams That Die Mid-Response (#16415)\u201D; \u201C\uD83D\uDDE3\uFE0F fix: Keep Provider Error Text on Unclassified Agent Failures (#16034)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/failures/terminal.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":"packages/api/src/agents/failures/terminal.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6db538d69a2e343cc712ccb42667b570b69e4ae10ae10f02910610ef2b23de3"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/files/encode/utils.ts: packages/api/src/files/encode/utils.ts 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 10 (its worst body is utils.getFileStream at line 293), 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: \u201C\u23F3 fix: Bound Blob Storage Image Reads by the Image Fetch Budget (#17932)\u201D; \u201C\uD83D\uDDC4\uFE0F fix: Skip Attachments Deleted by Storage Retention Instead of Failing the Turn (#17910)\u201D; \u201C\uD83C\uDF9E\uFE0F fix: Deliver Opted-In Custom Endpoint Media Safely (#15937)\u201D; \u201C\uD83D\uDD23 fix: Encode Images From Storage Keys (#15851)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/files/encode/utils.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":"packages/api/src/files/encode/utils.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f98729de057dbc22695f5623a697b3c707b20ee5e23293b92c25c4c9a0476091"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/Chat/Messages/Content/Files.tsx: client/src/components/Chat/Messages/Content/Files.tsx changed 7 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 1 (its worst body is Files.Files at line 6), 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: \u201C\uD83E\uDD4B fix: Unify Steering and Chat Attachment Presentation (#18116)\u201D; \u201C\uD83E\uDEF8 fix: Right-Align User Message Images (#16404)\u201D; \u201C\uD83D\uDCD6 fix: Preview Extracted Upload Text (#15946)\u201D; \u201C\uD83D\uDCC4 fix: Serve Stored Text for \u0022Upload as Text\u0022 File Downloads (#14723)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/Files.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":"client/src/components/Chat/Messages/Content/Files.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"20fbfb91515aa787ad156ffe7c9b309b0bdbf0e17449e09ec1c9f07dd5b51f09"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/SidePanel/Agents/Tools/ItemDialog/ItemDialog.tsx: client/src/components/SidePanel/Agents/Tools/ItemDialog/ItemDialog.tsx changed 7 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 ItemDialog.ItemDialog at line 15), 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: \u201C\uD83E\uDD0F fix: Keep Long Agent Names Inside Handoff Rows on Phones (#17764)\u201D; \u201C\uD83C\uDF9B\uFE0F fix: Smooth, Compact Code Workspace, Checkout and Approval Selectors (#16789)\u201D; \u201C\uD83D\uDC6F fix: Separate Subagents and Handoffs Into Native Tools (#16761)\u201D; \u201C\uD83D\uDCF1 fix: Fit the Tool Library and Skills Pickers to Small Screens (#16067)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/ItemDialog/ItemDialog.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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/ItemDialog.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c7490d2bd64450982d8225f353a0e40947cbcf7ef1c4c24fb5a77ead3efd2f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/data-schemas/src/methods/config.ts: packages/data-schemas/src/methods/config.ts changed 7 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 config.createConfigStore.create at line 253), 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: \u201C\uD83E\uDE9C fix: Base-First Config Precedence, Profile Lifecycle and Role Renames That Keep Their Profile (#17352)\u201D; \u201C\uD83D\uDD10 fix: Apply Base Config Overrides Before Sign-In and Refuse Script Policy Links (#17351)\u201D; \u201C\uD83D\uDD11 fix: Use Admin-Stored Web Search Credentials at Runtime (#17323)\u201D; \u201C\uD83E\uDDFE fix: Validate Principal Config Overrides Against configSchema (#16433)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/config.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":"packages/data-schemas/src/methods/config.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a0254e53202ef10fac5311838d6380925874b2c5980aa30d8cf837f7f3305b"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/cache/cacheFactory.ts: packages/api/src/cache/cacheFactory.ts changed 7 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 cacheFactory.limiterCache at line 197), 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: \u201C\uD83E\uDDEF fix: Outlast Failed Auth Cache Eviction on Credential Changes (#16435)\u201D; \u201C\uD83D\uDD02 fix: Reuse Redis Caches Without Changing TTLs (#16154)\u201D; \u201C\uD83D\uDEA2 fix: Reconnect Keyv Redis After Replica Failover (#15502)\u201D; \u201C\uD83D\uDD6F\uFE0F fix: Decay Violation Scores With a Configurable TTL (#15153)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/cache/cacheFactory.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":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1029df2afcc03e988b51726551d20a8e2cef12b1a4c93dd6cc10ec01889271c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/data-schemas/src/utils/transactions.ts: packages/data-schemas/src/utils/transactions.ts 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 transactions.supportsTransactions at line 41), 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: \u201C\uD83D\uDD27 fix: Fence Channel Startup and Transaction Capability (#17831)\u201D; \u201Cfix: Guard transactional channel writes (#17770)\u201D; \u201C\uD83D\uDDC4\uFE0F fix: Restore Transaction Capability Detection (#17735)\u201D; \u201C\uD83C\uDF43 fix: Restore Amazon DocumentDB Compatibility Across Trigger and Subagent Writes (#15375)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/utils/transactions.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":"packages/data-schemas/src/utils/transactions.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"61645bdd724ccbc113435d5df4800980864c7dc3bd7be8081b1bc2bbcd78ff5f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/Variables/Editor.tsx: client/src/components/Variables/Editor.tsx 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 Editor.VariableEditor at line 66), 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: \u201C\uD83C\uDF9B\uFE0F fix: Align Agent Instruction Controls and Theme Ownership Icon (#17730)\u201D; \u201C\uD83D\uDCC4 fix: Mirror Agents, Prompts, Skills and Other Pages for RTL (#17268)\u201D; \u201C\uD83C\uDF9B\uFE0F fix: Smooth, Compact Code Workspace, Checkout and Approval Selectors (#16789)\u201D; \u201C\uD83D\uDDD3\uFE0F fix: Hide Unsupported Schedule Variables (#15053)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Variables/Editor.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Variables/Editor.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e626b5b3f9755709f265540ed8f0a7073e7d14d31600d3eb265086cab45407a9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: config/reset-password.js: config/reset-password.js 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 11 (its worst body is reset-password.resetPassword at line 29), 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: \u201C\uD83D\uDD10 fix: Retire Credentials by Their Committing Write and on Opt-In 2FA (#17504)\u201D; \u201C\uD83E\uDDEF fix: Outlast Failed Auth Cache Eviction on Credential Changes (#16435)\u201D; \u201C\uD83D\uDD11 fix: Invalidate the Auth User Cache After a CLI Password Reset (#16257)\u201D; \u201C\uD83D\uDD12 fix: Hide Password Input in Reset CLI (#14923)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- config/reset-password.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":"config/reset-password.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"c314385005eb8f1e4789d5afb2919dff3227399632fb17f357efb6ea782e6e4f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/Endpoints/agents/title.js: api/server/services/Endpoints/agents/title.js 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 13 (its worst body is title.addTitle at line 35), 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: \u201C\uD83E\uDDEF fix: Guard SSE Writes and Interval Cleanups Against Crashes (#17462)\u201D; \u201C\uD83D\uDDB2\uFE0F fix: Enable Running Chat Menus and Preserve Renamed Titles (#16697)\u201D; \u201C\u2712\uFE0F fix: Persist a Generated Title Before the Turn Ends (#16137)\u201D; \u201C\u23F3 fix: Separate Temporary and General Chat Retention (#15734)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Endpoints/agents/title.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":"api/server/services/Endpoints/agents/title.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"100aa7e82a57a565cf55205ab7ac8d867777fadcac00b9d8555f545930a72ce2"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/oauth/csrf.ts: packages/api/src/oauth/csrf.ts 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 12 (its worst body is csrf.shouldUseSecureCookie 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: \u201C\uD83E\uDEAA fix: Boot-Paint a Cached Theme Only for Its Signed-In Owner (#16926)\u201D; \u201C\uD83D\uDED6 fix: Scope OAuth Binding Cookies to the Public API Path (#16649)\u201D; \u201C\uD83E\uDEA2 fix: Restore MCP OAuth Browser Binding (#16634)\u201D; \u201C\uD83D\uDD12 fix: Refresh MCP OBO Tokens From the Live OpenID Session (#15334)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/oauth/csrf.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":"packages/api/src/oauth/csrf.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23c519a677d49e6933a75e3678fe2dba1a5817c017872f63313cebd07d8d3b6"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/utils/tokenizer.ts: packages/api/src/utils/tokenizer.ts changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is tokenizer.countBoundedTokens at line 14), 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: \u201C\uD83E\uDDEF fix: Guard SSE Writes and Interval Cleanups Against Crashes (#17462)\u201D; \u201C\uD83E\uDE9A fix: Count Large Prompts in Bounded Tokenizer Chunks (#16305)\u201D; \u201C\uD83E\uDDFE fix: Count the Tool Results a Tool-Limit Stop Retains (#15893)\u201D; \u201C\uD83E\uDDE2 fix: Bound Tokenizer Work Per Input (#15246)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/tokenizer.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":"packages/api/src/utils/tokenizer.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c310487c2a15667cebe1900bc6c0f407f89e479a989d6a441b90bf1fcb5c87"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/controllers/auth/oauth.js: api/server/controllers/auth/oauth.js changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is oauth.createOAuthHandler.\u003Creturned closure\u003E at line 29), 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: \u201C\uD83D\uDCE7 fix: Log User IDs Instead of Emails in Admin Panel Auth Flow (#17032)\u201D; \u201C\uD83C\uDF9F\uFE0F fix: Preserve OpenID Logout Token Hints (#15653)\u201D; \u201C\uD83E\uDDFA fix: Discard Stale Session Tokens at OpenID Login (#15668)\u201D; \u201C\uD83D\uDD12 fix: Refresh MCP OBO Tokens From the Live OpenID Session (#15334)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/controllers/auth/oauth.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":"api/server/controllers/auth/oauth.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd02fb3f74d72d2116a948850c6fc9a6fab4b1990da93bf7a7d1276a751c20ca"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/utils/message.ts: packages/api/src/utils/message.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 15 (its worst body is message.getThreadData at line 237), 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: \u201C\uD83E\uDE92 fix: Strip Provider Attachment Payloads From Terminal Events (#18003)\u201D; \u201C\uD83D\uDCF0 fix: Preview Pasted Text Without Blocking Sends (#17962)\u201D; \u201C\uD83D\uDEBF fix: Bound Chat Message IDs and Remove Backtracking (#17388)\u201D; \u201C\uD83E\uDD62 fix: Exclude Prompt Inputs From Terminal Events (#16112)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/message.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":"packages/api/src/utils/message.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"00b5c815f53713515d30eb2da43eb4cf14b9cc5e202f6829e2067dbd20a1d3f1"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/routes/oauth.js: api/server/routes/oauth.js 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 1 (its worst body is oauth.router.get(\u0022/openid\u0022) at line 114), 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: \u201C\uD83E\uDE9F fix: Serve the OAuth Error Page for Connect Callback Failures (#17946)\u201D; \u201C\uD83C\uDFE8 fix: Restore Strict Tenant Startup and Sign-In (#17441)\u201D; \u201C\uD83E\uDDFF fix: Bind Login Flows to the Browser That Started Them (#15880)\u201D; \u201C\uD83D\uDD10 fix: Redirect OAuth Browser Navigations Instead of Rendering JSON (#15440)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/routes/oauth.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":"api/server/routes/oauth.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c133fdc8983b2c6c90f9aef6157d1cbbe2b7814418fe41c328d10ca06311e46c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/auth/openid/errors.ts: packages/api/src/auth/openid/errors.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 5 (its worst body is errors.reloadOpenIDSessionIfPersisted at line 40), 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: \u201C\uD83D\uDD10 fix: Retire Credentials by Their Committing Write and on Opt-In 2FA (#17504)\u201D; \u201C\uD83E\uDDE6 fix: Restore OpenID Refresh After the Session Store TTL Expires (#15983)\u201D; \u201C\uD83E\uDEAB fix: Recharge Direct OpenID MCP Bearer Sessions (#15704)\u201D; \u201C\uD83D\uDEAE fix: Require Sign-In After Missing OpenID Sessions (#15655)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/openid/errors.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":"packages/api/src/auth/openid/errors.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e11def4cf6aac96500ad2f3bdbac124821c432622c0182308dbd1efe55a472f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/oauth/tokens.ts: packages/api/src/oauth/tokens.ts changed 4 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is tokens.getActionOAuthAgents at line 14), 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: \u201C\uD83E\uDEE2 fix: Keep OAuth Credentials Out of Logs (#17409)\u201D; \u201C\u23F1\uFE0F fix: Bound Outbound Calls Made Inside a Request (#17263)\u201D; \u201C\uD83D\uDD11 fix: Decode Action OAuth Credentials After Decryption (#14698)\u201D; \u201C\uD83D\uDD70\uFE0F fix: Guard \u0060expires_in\u0060 So a Token Response Cannot Outlive Its Credential (#15321)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/oauth/tokens.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":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a748737e13222083f8ce6df05f4beda9c874c33f433328650fd7774884595ddf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx: client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is MarkdownErrorBoundary.render at line 63), 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 Untagged Chat Code Fences Plain (#17986)\u201D; \u201C\uD83D\uDCAC fix: Mirror Chat Messages, Markdown and Code Blocks for RTL (#17267)\u201D; \u201C\uD83D\uDDBC\uFE0F fix: Give a Phase\u0027s Files Their Own Media Row (#15435)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.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":"client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"494b013eea903c2a7888814b386cb60f9036dfd7caeac27d665b34ff59cc4a85"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/Chat/Messages/Content/markdownConfig.ts: client/src/components/Chat/Messages/Content/markdownConfig.ts 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 2 (its worst body is markdownConfig.getRemarkPlugins at line 53), 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 Untagged Chat Code Fences Plain (#17986)\u201D; \u201C\uD83D\uDCAC fix: Mirror Chat Messages, Markdown and Code Blocks for RTL (#17267)\u201D; \u201C\uD83E\uDDEE fix: Currency-Safe Single-Dollar LaTeX via Micromark Tokenizer (#15181)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Chat/Messages/Content/markdownConfig.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":"client/src/components/Chat/Messages/Content/markdownConfig.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d2a243e8e2356a0c197c3561dadac5d6997af5a868253c9858d36664902783"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/SidePanel/Agents/Tools/ToolRow.tsx: client/src/components/SidePanel/Agents/Tools/ToolRow.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is ToolRow.ToolRowImpl at line 53), 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: \u201C\uD83C\uDF9B\uFE0F fix: Smooth, Compact Code Workspace, Checkout and Approval Selectors (#16789)\u201D; \u201C\uD83D\uDCF1 fix: Fit the Tool Library and Skills Pickers to Small Screens (#16067)\u201D; \u201C\uD83D\uDCCF fix: Size Agent Builder Tool and Skill Rows (#15134)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/SidePanel/Agents/Tools/ToolRow.tsx\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolRow.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"797efad3d5a0c7da2de7886bbc095e2a4b5da247c8313dced9826c28159a1d0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/data-provider/SSE/mutations.ts: client/src/data-provider/SSE/mutations.ts 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 mutations.submitAskAnswer at line 125), 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: \u201C\u2705 fix: Submit Tool Approvals When the Generation Epoch Is Unknown (#17928)\u201D; \u201C\uD83E\uDDF7 fix: Promote Unapplied Steers to Durable Queued Turns at Run End (#18028)\u201D; \u201C\uD83E\uDED7 fix: Drain Quoted Excerpts Into Mid-Run Steering (#15175)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/data-provider/SSE/mutations.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":"client/src/data-provider/SSE/mutations.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d8ec3cad44f4b4e1f3f3f723fba152f0fd574c6302f5f5b5a63d085a3fdd7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/stream/jobStoreCapabilities.ts: packages/api/src/stream/jobStoreCapabilities.ts 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 2 (its worst body is jobStoreCapabilities.assertJobStoreV2 at line 71), 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: \u201C\uD83E\uDDF7 fix: Promote Unapplied Steers to Durable Queued Turns at Run End (#18028)\u201D; \u201C\uD83D\uDEF6 fix: Preserve Canary Sync Resolutions (#16361)\u201D; \u201C\uD83E\uDDEB fix: Verify Early Stream Recovery (#15676)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/stream/jobStoreCapabilities.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":"packages/api/src/stream/jobStoreCapabilities.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e1769dc91569dabc77e118cc16b48bef982ccb9d9ce2eae21d5cee53c9a0ba"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/steering/media.ts: packages/api/src/agents/steering/media.ts 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 15 (its worst body is media.stampSteerPartMedia at line 235), 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: \u201C\uD83D\uDCF0 fix: Preview Pasted Text Without Blocking Sends (#17962)\u201D; \u201C\uD83C\uDF92 fix: Bound Agent Attachment Context (#15694)\u201D; \u201C\uD83E\uDED7 fix: Drain Quoted Excerpts Into Mid-Run Steering (#15175)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/steering/media.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":"packages/api/src/agents/steering/media.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceacaf77638afcd5dc9a60d2ae853870125dd68fd51d22c50258c0e9e5fc0767"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx: client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ArchivedChatsTable.ArchivedChatsTable at line 50), 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: \u201C\uD83D\uDDC3\uFE0F fix: Enlarge Archived Chats and Align Conversation Icons (#17440)\u201D; \u201C\uD83D\uDCCF fix: Truncate Long Titles in the Archived Chats Dialog (#16754)\u201D; \u201C\uD83E\uDE79 fix: Stop Archived and Shared Chats Dialogs Crashing on Open (#14886)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.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":"client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"758c0f3cc45b124bce2b4f2951ba02b340016686084ecb56e4a7497ac0948493"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/initializeMCPs.js: api/server/services/initializeMCPs.js 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 initializeMCPs.initializeMCPs at line 92), 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: \u201C\uD83E\uDED7 fix: Bound MCP App Responses and In-Flight Work (#16300)\u201D; \u201C\uD83E\uDE82 fix: Release Stalled MCP Catalog Recovery Without Dropping Refreshed Tokens (#15871)\u201D; \u201C\uD83D\uDEC2 fix: Back Off MCP OAuth Discovery (#15783)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/initializeMCPs.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":"api/server/services/initializeMCPs.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa68531dd63c243f91e3254549553fff117425c4d4c521cb3bb6549aed800868"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/utils/files.ts: packages/api/src/utils/files.ts 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 14 (its worst body is files.sanitizeArtifactPath at line 298), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C\uD83C\uDF9E\uFE0F fix: Deliver Opted-In Custom Endpoint Media Safely (#15937)\u201D; \u201C\uD83E\uDED9 fix: Surface Document Extraction Failures (#15651)\u201D; \u201C\uD83D\uDDC2\uFE0F fix: Resolve Code Interpreter Destination Collisions (#15449)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/files.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":"packages/api/src/utils/files.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"834e1a16947bf835356c3e6bedf38426a79224b8bcca38747de812a483801584"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/mcp/registry/MCPServerInspector.ts: packages/api/src/mcp/registry/MCPServerInspector.ts 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 9 (its worst body is MCPServerInspector.inspectServer at line 76), 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: \u201C\uD83E\uDEAB fix: Recharge Direct OpenID MCP Bearer Sessions (#15704)\u201D; \u201C\uD83E\uDDFA fix: Funnel MCP Catalog Work Through a Shared Gate (#15429)\u201D; \u201C\u2702\uFE0F fix: Strip Redundant Server-Name Prefixes from MCP Tool Keys (#14732)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/registry/MCPServerInspector.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":"packages/api/src/mcp/registry/MCPServerInspector.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"68069d5220bd73ffdaca77020a060a80efc1588ba0931f59d50ce9ae4a302e6e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/agents/transactions.ts: packages/api/src/agents/transactions.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is transactions.calculateStructuredTokenValue at line 123), 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: \u201C\uD83C\uDFE7 fix: Initialize Debit-Created Balances With Configured Allowances (#18056)\u201D; \u201C\u269B\uFE0F fix: Make Ledger, Plugin, Memory and Preset Writes Atomic (#17463)\u201D; \u201C\uD83E\uDE99 fix: Price 1-Hour Prompt Cache Writes at the 1-Hour Rate (#17208)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/agents/transactions.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":"packages/api/src/agents/transactions.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c65a4ae584be259e93b5f0c531e6a10c8b96f708c629b4bb71f0e0d9fa2ec9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/storage/local.ts: packages/api/src/storage/local.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is local.createLocalFileDeleter.\u003Creturned closure\u003E at line 50), 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: \u201C\uD83D\uDD17 fix: Encode Local Storage URLs and Reject Nested File Names (#17949)\u201D; \u201C\u23F1\uFE0F fix: Bound Remaining Outbound Calls With Timeout Budgets (#17468)\u201D; \u201C\uD83E\uDEA0 fix: Erase Vectors in Their Recorded Namespaces (#17457)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/storage/local.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":"packages/api/src/storage/local.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbceda0a7ef67a55f3025a18732f8e6b320af33d3489893312b60d69e14c7f7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/data-schemas/src/methods/memory.ts: packages/data-schemas/src/methods/memory.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is memory.createMemoryMethods.setMemoryById at line 147), 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: \u201C\u269B\uFE0F fix: Make Ledger, Plugin, Memory and Preset Writes Atomic (#17463)\u201D; \u201C\uD83E\uDEB4 fix: Surface Persistent Memory Before First Save (#16301)\u201D; \u201C\uD83E\uDDE0 fix: Correct Memory Token Accounting (#15224)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/data-schemas/src/methods/memory.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":"packages/data-schemas/src/methods/memory.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51a14505bb6ef1f9336a991fd0fa429e17b33ad43f11e32999cd566554a2dca"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/storage/cloudfront/crud.ts: packages/api/src/storage/cloudfront/crud.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is crud.getCloudFrontFileStream at line 286), 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: \u201C\uD83C\uDF33 fix: Preserve Primary Files Until Secondary Cleanup Succeeds (#17228)\u201D; \u201C\uD83D\uDDFE fix: Route Cross-Region Attachments Through CloudFront (#16082)\u201D; \u201C\uD83E\uDEA3 fix: Decode S3 Object Keys from URLs (#15426)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/storage/cloudfront/crud.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":"packages/api/src/storage/cloudfront/crud.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacdb97c245a53524f453f9d010104b40854c6616b022c4b3ca75662cfa41d0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/cache/cacheConfig.ts: packages/api/src/cache/cacheConfig.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 4 (its worst body is cacheConfig.getRedisCA 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: \u201C\uD83D\uDC93 fix: Detect Silently Dead Redis Sockets With Deadline-Bounded Heartbeats (#15539)\u201D; \u201C\uD83D\uDEA2 fix: Reconnect Keyv Redis After Replica Failover (#15502)\u201D; \u201C\uD83D\uDD6F\uFE0F fix: Decay Violation Scores With a Configurable TTL (#15153)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/cache/cacheConfig.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":"packages/api/src/cache/cacheConfig.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3c3e794dfcceccbcd1ed292601f8bd907a5975bc41f39d458e61b548c2a19f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/Endpoints/agents/backgroundCompletion.js: api/server/services/Endpoints/agents/backgroundCompletion.js changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is backgroundCompletion.preregisterBackgroundToolCompletion at line 30), 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: \u201C\uD83D\uDCEE fix: Count Undelivered Background Results as Outstanding (#16343)\u201D; \u201C\u26A1 fix: Deliver Waiting Completion Wake-ups the Moment They Are Ready (#16339)\u201D; \u201C\uD83D\uDCEC fix: Persist Background Results Before Parent Rows (#16101)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Endpoints/agents/backgroundCompletion.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":"api/server/services/Endpoints/agents/backgroundCompletion.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"5612d6d759209a66da7fdcfd913fbc2587e53170c71faa105806458f2944979e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/mcp/oauth/OAuthReconnectionManager.ts: packages/api/src/mcp/oauth/OAuthReconnectionManager.ts changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is OAuthReconnectionManager.canReconnect at line 261), 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: \u201C\uD83D\uDD10 fix: Stop an MCP Credential Refresh From Fencing Its Own Connection (#15863)\u201D; \u201C\uD83D\uDEC2 fix: Back Off MCP OAuth Discovery (#15783)\u201D; \u201C\uD83D\uDC3A fix: Stop Routine MCP Teardowns From Failing Concurrent Tool Calls (#15333)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/oauth/OAuthReconnectionManager.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":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"252c538aaa12f79ad53dc9930d73760d133f76351451d7c9f89341d56eb14729"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/auth/twoFactor.ts: packages/api/src/auth/twoFactor.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is twoFactor.confirmTwoFactorSetup at line 747), 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: \u201C\uD83D\uDEAA fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956)\u201D; \u201C\uD83D\uDD10 fix: Retire Credentials by Their Committing Write and on Opt-In 2FA (#17504)\u201D; \u201C\uD83E\uDEAA fix: Boot-Paint a Cached Theme Only for Its Signed-In Owner (#16926)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/twoFactor.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":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bfc5bb447063462b96c4ac6717b5ed7ebb0cf6067c38e75c94dd61ab3e135a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/Files/Local/images.js: api/server/services/Files/Local/images.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 5 (its worst body is images.processLocalAvatar at line 114), 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: \u201C\uD83D\uDD17 fix: Encode Local Storage URLs and Reject Nested File Names (#17949)\u201D; \u201Cfix: Match Image Media Types to Their Bytes (#17230)\u201D; \u201C\uD83E\uDE92 fix: Strip Cache-Bust Suffixes From Every Local File Read (#15991)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/Files/Local/images.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":"api/server/services/Files/Local/images.js"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cdca944bbac209940eb2783420a2a9ce8a5e765db53cf7001444bfa00ea57d8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/components/Messages/Content/Error/ProviderError.tsx: client/src/components/Messages/Content/Error/ProviderError.tsx changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is ProviderError.ProviderError at line 54), 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: \u201C\uD83D\uDEA6 fix: Keep the Gateway Message on Classified Rate Limit Errors (#17903)\u201D; \u201C\uD83D\uDD4A\uFE0F fix: Keep Attachment History From Locking Conversations (#16690)\u201D; \u201C\uD83D\uDDE3\uFE0F fix: Keep Provider Error Text on Unclassified Agent Failures (#16034)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/components/Messages/Content/Error/ProviderError.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":"client/src/components/Messages/Content/Error/ProviderError.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eff22b1fb428dfca33293979bb281af2af14efd3cad6123f91218f16ad14bcb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/tools/format.ts: packages/api/src/tools/format.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is format.checkPluginAuth at line 30), 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: \u201C\uD83D\uDD12 fix: Return Approved Error Text From the Remaining Structured Tools (#17934)\u201D; \u201C\uD83E\uDDEF fix: Return Approved Tool and Generation Error Text Instead of Raw Exceptions (#17508)\u201D; \u201C\uD83D\uDE4A fix: Keep API Keys and Internal Errors Out of Logs and Responses (#17258)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/tools/format.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":"packages/api/src/tools/format.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d7bea8bb881d1c389f39beb7acf657c5817447f1b2b7c9098bc87f8a2f22ff"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/tsdown.config.mjs: packages/api/tsdown.config.mjs 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 3 (its worst body is neverBundle 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: \u201C\uD83E\uDDA6 fix: Bound Spreadsheet Text Extraction (#17824)\u201D; \u201C\uD83D\uDD10 fix: Hash Passwords on a Worker Pool and Surface API Key Lookup Failures (#17261)\u201D; \u201C\uD83C\uDFCB\uFE0F fix: Bound Host File Edits Outside the API Event Loop (#16677)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/tsdown.config.mjs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/tsdown.config.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d1e53d8fab69e9c529ae0795c3a0b9bce7037a6557da0ccc4bbd798a73f9f5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/utils/sendEmail.js: api/server/utils/sendEmail.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 10 (its worst body is sendEmail.sendEmail at line 95), 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: \u201C\uD83D\uDCEA fix: Require Email Delivery for Password Reset Links (#17823)\u201D; \u201C\u23F1\uFE0F fix: Bound Remaining Outbound Calls With Timeout Budgets (#17468)\u201D; \u201C\uD83D\uDCE7 fix: Pass \u0060requireTLS\u0060 So \u0060EMAIL_ENCRYPTION=starttls\u0060 Requires STARTTLS (#16656)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/utils/sendEmail.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":"api/server/utils/sendEmail.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e63b20226ab4d98a55493e95a5b899b61ff649c72a4dd24e28fa084bb786b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/app/checks.ts: packages/api/src/app/checks.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is checks.checkCredentialDatabase at line 181), 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: \u201C\u23F1\uFE0F fix: Bound Remaining Outbound Calls With Timeout Budgets (#17468)\u201D; \u201C\uD83D\uDD11 fix: Use Admin-Stored Web Search Credentials at Runtime (#17323)\u201D; \u201C\uD83D\uDD10 fix: Hash Passwords on a Worker Pool and Surface API Key Lookup Failures (#17261)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/app/checks.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":"packages/api/src/app/checks.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9101af8a55e8207703ba0052911f22c99f6e4bcca5a2c55e2ac60fa5ea92f80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/auth/exchange.ts: packages/api/src/auth/exchange.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is exchange.exchangeAdminCode at line 149), 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: \u201C\uD83D\uDD10 fix: Keep the Admin OpenID State So PKCE Holds When the IdP Omits S256 (#17478)\u201D; \u201C\uD83D\uDCE7 fix: Log User IDs Instead of Emails in Admin Panel Auth Flow (#17032)\u201D; \u201C\uD83E\uDDE7 fix: Redeem Admin OAuth Codes Only Once (#16513)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/exchange.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":"packages/api/src/auth/exchange.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"819b4eb1f45cd9141fe043ae06b29cb25ee88a399880d78a0e9c9811e3bdbbe5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/utils/conversation.ts: client/src/utils/conversation.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 3 (its worst body is conversation.isTemporaryConversation at line 4), 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: \u201C\uD83E\uDEB6 fix: Time Out Client Refresh and Trim Lodash Imports (#17467)\u201D; \u201Cfix: Keep Manual Unread Reminders in Date Groups\u201D; \u201C\uD83C\uDFC3 fix: List Every Running Chat in the Sidebar\u0027s Running Group (#16668)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/utils/conversation.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":"client/src/utils/conversation.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74110e4a399fdbf12bbce1ed471ae4474608ebcadf797e6fdb9eaa990048424"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/strategies/process.js: api/strategies/process.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 14 (its worst body is process.handleExistingUser at line 24), 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: \u201C\uD83D\uDD10 fix: Apply Base Config Overrides Before Sign-In and Refuse Script Policy Links (#17351)\u201D; \u201C\uD83D\uDD01 fix: Recover Concurrent First SAML, LDAP and Social Logins (#16779)\u201D; \u201C\uD83E\uDEAA fix: Guard Null Avatar URLs in Social Login (#15747)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/strategies/process.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":"api/strategies/process.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61fd44607b7513ef6c27c89d2f51b345ca3ce4f9400e95a7ba2c4736de876cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/auth/saml.ts: packages/api/src/auth/saml.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is saml.findSamlUser at line 55), 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: \u201C\uD83D\uDD10 fix: Apply Base Config Overrides Before Sign-In and Refuse Script Policy Links (#17351)\u201D; \u201C\uD83D\uDD01 fix: Recover Concurrent First SAML, LDAP and Social Logins (#16779)\u201D; \u201C\uD83D\uDCCC fix: Keep Pinned Chats Pinned Through a New Turn (#15230)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/auth/saml.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":"packages/api/src/auth/saml.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654ba79cd865d0ac98e522fd81c0d5d5b6d5863f59dab0dbfc0b4db56e1f7c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/server/services/OboTokenService.js: api/server/services/OboTokenService.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 11 (its worst body is OboTokenService.isRetryableOboExchangeError 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: \u201C\uD83D\uDE48 fix: Mask Emails and Drop Personal Identifiers From Logs (#17048)\u201D; \u201C\uD83D\uDD12 fix: Refresh MCP OBO Tokens From the Live OpenID Session (#15334)\u201D; \u201C\uD83D\uDD70\uFE0F fix: Guard \u0060expires_in\u0060 So a Token Response Cannot Outlive Its Credential (#15321)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/server/services/OboTokenService.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":"api/server/services/OboTokenService.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa6fc91fb3d37ef1300bc1049b32c7757e530f0c18247775425cf8b6ded40a0"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: client/src/data-provider/Schedules/admission.ts: client/src/data-provider/Schedules/admission.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is admission.admit 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: Order Server Snapshots Against Pending Read Intent\u201D; \u201Cfix: Fence Reply Read State and Preserve Snapshot Clears\u201D; \u201C\uD83D\uDDD3\uFE0F fix: Refresh the Sidebar When a Scheduled Run Fires or Settles (#15631)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- client/src/data-provider/Schedules/admission.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":"client/src/data-provider/Schedules/admission.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d22e599150d4205fdd6b27e395a6a6c6e901b02b719275f1a624f1a019df119"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/utils/code.ts: packages/api/src/utils/code.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is code.getCodeApiRetryAfterMs at line 24), 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: \u201C\uD83D\uDD01 fix: Retry Code API Rate Limits That Reject Before a Workspace Call Starts (#16453)\u201D; \u201C\uD83D\uDEDF fix: Recover CodeAPI File Uploads After Throttling (#15784)\u201D; \u201C\uD83D\uDDBC\uFE0F fix: Stop Reporting a Failed Sandbox Image Read as an Unreadable Format (#15453)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/utils/code.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":"packages/api/src/utils/code.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc98026c25e9e7b24f2075c9253ac48e7d768892bb37f3ede2e31ea87a05a33f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: api/app/clients/tools/util/fileSearch.js: api/app/clients/tools/util/fileSearch.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 7 (its worst body is fileSearch.primeFiles 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: \u201C\uD83E\uDED6 fix: Skip Blank RAG Queries Before Embedding (#16231)\u201D; \u201C\uD83D\uDD22 fix: Normalize PDF Citation Page Numbers (#15731)\u201D; \u201C\uD83D\uDEE4\uFE0F fix: Align File Search Citation Paths (#15650)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- api/app/clients/tools/util/fileSearch.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":"api/app/clients/tools/util/fileSearch.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfbcbdb98ffac18d26c24f1882bd6ecc4b9323a1ec4db3492fb5bbbeb0947b9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: packages/api/src/mcp/authorization.ts: packages/api/src/mcp/authorization.ts changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is authorization.completeMCPAuthorizationWithTokenWaiters at line 63), 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: \u201C\uD83D\uDEEC fix: Land MCP OAuth Callbacks on Waiting Connections (#15876)\u201D; \u201C\uD83D\uDCC7 fix: Stop an MCP Credential Refresh From Fencing Its Own Catalog Recovery (#15865)\u201D; \u201C\uD83D\uDD10 fix: Stop an MCP Credential Refresh From Fencing Its Own Connection (#15863)\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 13:02:53 -05:00\u0027 --until=\u00272026-11-13 13:02:53 -05:00\u0027 --full-history --no-merges -- packages/api/src/mcp/authorization.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":"packages/api/src/mcp/authorization.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3364c65f9949ebbed0e78ef5bc360a35798a9fae88c1111fb306e1f09af44058"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 200 significant file(s) lose their only recent owner: packages/data-provider/src/parts.ts, packages/client/src/theme/themes/clickhouse.ts, packages/data-provider/src/themes/registry.ts, packages/api/src/auth/twoFactor.ts, packages/data-provider/src/theme.ts, packages/data-provider/src/themes/types.ts, packages/api/src/pulls/handler.ts, packages/api/src/auth/email.ts (\u002B192 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9e0e43c5813e695c58b59114d62ee810d500bb8202cb5557b5c9163905310624"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 160 significant file(s) lose their only recent owner: packages/api/src/middleware/modelBoundContent.ts, packages/api/src/agents/activityPhases/runtime.ts, api/typedefs.js, packages/data-schemas/src/methods/mcpAuthority.ts, packages/api/src/agents/subagentTaskRouting.ts, packages/api/src/agents/triggers/outcome.ts, packages/api/src/langfuse/reader.ts, packages/api/src/protection/files.ts (\u002B152 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f7ff92696d5f85c3d5c4090af28329a603ad07fed2fd28fb889f6fa618834b7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 5 significant file(s) lose their only recent owner: packages/api/src/prompts/service.ts, packages/api/src/agents/instructions/access.ts, packages/api/src/agents/instructions/linked.ts, packages/api/src/prompts/types.ts, packages/api/src/prompts/native.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1476010a6e7f9081f35f10b00c4720e15a08200883a2948b9e1eb0d3b63b7e7e"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 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 (366 single-owned of 2224 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; 2224 of the 4039 production source files in this repository met that bar). They are anonymized user #4 (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: packages/data-schemas/src/methods/insights.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe doing it in a different way later on. but we want that the user needs to folllow the oauth flow. \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":"packages/data-provider/src/actions.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9229deffcde92777744a54e37fc5644eb976383b546d35a6017c5dc7703d8c77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add agent models (agentsModels) \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":"packages/data-provider/src/config.ts"},"region":{"startLine":5261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a021a20d93b1739c50af84ab7218a72779c655199b0879059d9f72714382c2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add agent models (agentsModels) \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":"packages/data-provider/src/config.ts"},"region":{"startLine":5324}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a6cc14edcf4af2b794b9fc63b9d84013f57f68ef0d8981cbade8578127e761"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u0060label\u0060 needs to be changed to the proper \u0060TranslationKeys\u0060 \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":"packages/data-provider/src/types.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2b298e2842a2ba9f9db218229438ffebc24e194c82686ddfb164acd698d15e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO help needed \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":"packages/client/src/components/InputNumber.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffe252d748e68bd143881b0751b227906a9a30f943e4904f6b3e47b788f2a63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle streaming for non-text \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":"packages/chat/src/react/stream/content.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb784ec8eaa9b7570ac36713ed7ed60c55289f5c9c9cd08f78d52a18fca3a9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this dynamic to the language \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":"packages/chat/src/components/composer/files/kinds.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03d677b50923236419871bc715b187295b2cd4f6703b6dbb413533005ab00b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO in the future we should use a scoped config getter (APPLevel, UserLevel, Private) \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":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"15ef2611540378a8926346640b41ae53f7121ce9168dd6518363f033848b85ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Refactor callers to use config.requiresOAuth directly instead of this method. \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":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c1dde20b72e0da50933b0794f33a15e6e2d7b6a721e4312fdc99b4ef1c8fa6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: PDF artifact support requires a document content block path \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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5150}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a9eb5d93e080724d76f2af42e35f9ee1dfc7437ad9c0f9e2cd1b3dc68c997c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should not be a dynamic localize input!! \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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0420fd9a3786b9abbac28e07e84042f4275c15df1f6766c1498dde3828caa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should not be a dynamic localize input!! \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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd7bc19fa438a3db87815526c3a4df0afe320c38fcc247cd944c30d19f945db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: custom logic, add to payload but not to conversation \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":"client/src/components/SidePanel/Parameters/DynamicDropdown.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ac8b073f78aa186579feffd0353917876067b03e9b2a0b71c0dd5661f9bac3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: custom logic, add to payload but not to conversation \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":"client/src/components/SidePanel/Parameters/DynamicDropdown.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d6d1187dcae135876e242807ff65b0e964b6db475d71fc677d24cc1008d7a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: custom logic, add to payload but not to conversation \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":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd7ec57aa3ccc9f0c8a4a89cab71e5bd79d1c642fac20b09d58d576b76add05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: show toast, cannot be empty. \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":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"731a63f1cfe8784f577c42eba1034ffc4906dd81d62ce60e8cf5c2ef87e0fb0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow endpoint definitions from user \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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"e381f351e38306f25abe36e3b7ad96dfa992705e1da931f8324ee9b0bc3e9323"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add custom endpoint models defined by user \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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bdc464eae81c530c6f8e1f7d91c6dc1ba7121e5e543b0293f407d48f6e1cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle other user provided options besides baseURL and apiKey \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":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"10529f1d7f0b83533d28fe63d3ce3b503ce85eb513956c592b4ddc75fb04c0c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO to refactor when tools come from tool box \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":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c520d63a69fa6425a96cb26fe3a655ba30a2fabc4ccb17eb72dad762ac24d53b"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository is a published package (\u0060package.json\u0060 without \u0060\u0022private\u0022: true\u0060) and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"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 \u0060packages/channel-gateway/package.json\u0060 makes this repository a deployable product (line 10)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/package.json"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"39eb1851d1ce7955689a70a59e47370d34ae201f1f05c03ef3f96af0cc19dd3d"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isLlmDeliveryPath\u0060 spells \u0060Llm\u0060 where 19 names in the project spell it \u0060LLM\u0060: 19 of 21 names in project LibreChat spell the token \u0060LLM\u0060 (19 of 21; unit: names in project LibreChat containing \u0060LLM\u0060). Peers: packages.api.src.agents.activityLabels.runtime.ActivityLabelLLM (packages/api/src/agents/activityLabels/runtime.ts:10); ActivityLabelHookOptions.resolveLLM (packages/api/src/agents/activityLabels/runtime.ts:155); ActivityLabelHostDeps.resolveLLM (packages/api/src/agents/activityLabels/wiring.ts:201); ModelErrorTrackerCallback.handleLLMError (packages/api/src/agents/failures/tracker.ts:9); memory.normalizeMemoryLLMConfig (packages/api/src/agents/memory.ts:71). Rename to \u0060isLLMDeliveryPath\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/refs.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c80941b7a838c5c24de4d268968aeaa49075be67043bc1c56d5609e56ae1d80"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060tokenTTLSeconds\u0060 spells \u0060TTL\u0060 where 33 names in the project spell it \u0060Ttl\u0060: 33 of 35 names in project LibreChat spell the token \u0060Ttl\u0060 (33 of 35; unit: names in project LibreChat containing \u0060Ttl\u0060). Peers: AdminConfigDeps.overrideCacheTtlMs (packages/api/src/admin/config.ts:990); meta.getCatalogModelsTtlMs (packages/api/src/admin/meta.ts:23); avatars.getAvatarRefreshCoverage(coverageTtl) (packages/api/src/agents/avatars.ts:101); avatars.getAvatarRefreshCacheTtl (packages/api/src/agents/avatars.ts:127); avatars.getAvatarRefreshCacheTtl(fallbackTtl) (packages/api/src/agents/avatars.ts:127). Rename to \u0060tokenTtlSeconds\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa0b5eb805d22e50e6bb7ac245e097d5000cfb813a392edf2e32049aab3e381"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060extendFilesTTL\u0060 spells \u0060TTL\u0060 where 33 names in the project spell it \u0060Ttl\u0060: 33 of 35 names in project LibreChat spell the token \u0060Ttl\u0060 (33 of 35; unit: names in project LibreChat containing \u0060Ttl\u0060). Peers: AdminConfigDeps.overrideCacheTtlMs (packages/api/src/admin/config.ts:990); meta.getCatalogModelsTtlMs (packages/api/src/admin/meta.ts:23); avatars.getAvatarRefreshCoverage(coverageTtl) (packages/api/src/agents/avatars.ts:101); avatars.getAvatarRefreshCacheTtl (packages/api/src/agents/avatars.ts:127); avatars.getAvatarRefreshCacheTtl(fallbackTtl) (packages/api/src/agents/avatars.ts:127). Rename to \u0060extendFilesTtl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/usage.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a74ff7f5fee87fd4ab818417402a8615ca81c6f0fdb1ff77645c43d2b3bb679"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060enableHTML\u0060 spells \u0060HTML\u0060 where 32 names in the project spell it \u0060Html\u0060: 32 of 33 names in project LibreChat spell the token \u0060Html\u0060 (32 of 33; unit: names in project LibreChat containing \u0060Html\u0060). Peers: Description.isHtmlDescription (client/src/components/ui/Description.tsx:26); configHtml.createConfigHtmlSanitizer (client/src/utils/configHtml.ts:26); configHtml.createConfigHtmlTextSanitizer (client/src/utils/configHtml.ts:52); markdown.generateMarkdownHtml (client/src/utils/markdown.ts:314); mcpApps.getInlineResourceHtml (client/src/utils/mcpApps.ts:421). Rename to \u0060enableHtml\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Tooltip.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8ae1423838cff7f9c98b5742e82e9b05c61e8f95546192e45664517787aeeb"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060openAPISchemaToZod\u0060 spells \u0060API\u0060 where 127 names in the project spell it \u0060Api\u0060: 127 of 129 names in project LibreChat spell the token \u0060Api\u0060 (127 of 129; unit: names in project LibreChat containing \u0060Api\u0060). Peers: BadgeRowContextType.searchApiKeyForm (client/src/Providers/BadgeRowContext.tsx:25); DragDropContextValue.useResponsesApi (client/src/Providers/DragDropContext.tsx:11); BarProps.useResponsesApi (client/src/components/Chat/Input/Composer/Bar.tsx:188); PaletteProps.useResponsesApi (client/src/components/Chat/Input/Composer/Palette.tsx:165); AgentUploadTarget.useResponsesApi (client/src/hooks/Agents/useAgentUploadTarget.ts:16). Rename to \u0060openApiSchemaToZod\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"033a1ee1c76a923b3c9c3660e0ce7d13573b4fd87f1a9d7c093a881cc61f597f"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060validateAndParseOpenAPISpec\u0060 spells \u0060API\u0060 where 127 names in the project spell it \u0060Api\u0060: 127 of 129 names in project LibreChat spell the token \u0060Api\u0060 (127 of 129; unit: names in project LibreChat containing \u0060Api\u0060). Peers: BadgeRowContextType.searchApiKeyForm (client/src/Providers/BadgeRowContext.tsx:25); DragDropContextValue.useResponsesApi (client/src/Providers/DragDropContext.tsx:11); BarProps.useResponsesApi (client/src/components/Chat/Input/Composer/Bar.tsx:188); PaletteProps.useResponsesApi (client/src/components/Chat/Input/Composer/Palette.tsx:165); AgentUploadTarget.useResponsesApi (client/src/hooks/Agents/useAgentUploadTarget.ts:16). Rename to \u0060validateAndParseOpenApiSpec\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0bc3b52e404ea5140fcf1878d2b94a02973b434a8ca608bf6eeadf3e4e40bd"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060isLlmDeliveryPath\u0060 spells \u0060Llm\u0060 where 19 names in the project spell it \u0060LLM\u0060: 19 of 21 names in project LibreChat spell the token \u0060LLM\u0060 (19 of 21; unit: names in project LibreChat containing \u0060LLM\u0060). Peers: packages.api.src.agents.activityLabels.runtime.ActivityLabelLLM (packages/api/src/agents/activityLabels/runtime.ts:10); ActivityLabelHookOptions.resolveLLM (packages/api/src/agents/activityLabels/runtime.ts:155); ActivityLabelHostDeps.resolveLLM (packages/api/src/agents/activityLabels/wiring.ts:201); ModelErrorTrackerCallback.handleLLMError (packages/api/src/agents/failures/tracker.ts:9); memory.normalizeMemoryLLMConfig (packages/api/src/agents/memory.ts:71). Rename to \u0060isLLMDeliveryPath\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c31c8e16843bb658b0b5369a87f5d6796a35f6a6b5c4687c01d0e1c85744cc6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock saveConvo to return the expected fields\u0022 repeats the code it sits on: 5 of its 6 words (mock, save, convo, return, fields) are already in \u0060saveConvo.mockImplementation((req, fields) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/specs/BaseClient.test.js"},"region":{"startLine":2509}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f97896ebe2002c212cad07451ac839018b41a3dfc17a1a25bff38aaa1d406a8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the saveMessageToDatabase method\u0022 repeats the code it sits on: 4 of its 5 words (mock, save, message, database) are already in \u0060TestClient.saveMessageToDatabase = jest.fn().mockImplementation(() =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/specs/BaseClient.test.js"},"region":{"startLine":2726}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7dbf22e58a8753d81b22d8ac7cb6a8f726fe171802b9604abf3fc8ebe61361"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create SearchClient\u0022 repeats the code it sits on: 3 of its 3 words (create, search, client) are already in \u0060this.client = new SearchClient(\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":"api/app/clients/tools/structured/AzureAISearch.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d75afaac601986f4807be334aee6e4690fa649a2198e0c406d37c1430bedadb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert to target format\u0022 repeats the code it sits on: 3 of its 3 words (convert, target, format) are already in \u0060const convertedBuffer = await sharp(inputBuffer).toFormat(normalizedTarget).toBuffer();\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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fceb5c28f234b966e67c56263c9212edaa3574a3b7642ee9888291bd3e86d1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find all resources the user has at least VIEW access to\u0022 repeats the code it sits on: 4 of its 5 words (find, resources, user, view) are already in \u0060const accessibleResourceIds = await findAccessibleResources({\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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6db56d2259be4b5ff8faa7a9abdce47117e5c9ba90ca3d6d079777ea991927a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get effective permissions for all accessible resources\u0022 repeats the code it sits on: 4 of its 5 words (get, permissions, accessible, resources) are already in \u0060const permissionsMap = await getResourcePermissionsMap({\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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"0249085750583f801323411c91cbb0624c23fdba64522a06cc2b9004d9e8548e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check ui_resources attachment\u0022 repeats the code it sits on: 4 of its 4 words (check, ui, resources, attachment) are already in \u0060const uiResourceAttachment = results.find((r) =\u003E r?.type === Tools.ui_resources);\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":"api/server/controllers/agents/__tests__/callbacks.spec.js"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4fc6dde45528ab34ab0956259b64606c3e2c4ddda06434130be8ebca0ac28e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check web_search attachment\u0022 repeats the code it sits on: 4 of its 4 words (check, web, search, attachment) are already in \u0060const webSearchAttachment = results.find((r) =\u003E r?.type === Tools.web_search);\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":"api/server/controllers/agents/__tests__/callbacks.spec.js"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"082aa8ad809df62a89c59220d48c445d662344bc334d432e0a0f0284a733c936"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 12 comments in this file only repeat the code they sit on (lines 4241, 4673, 4702, 4721, 4884, 5066, 5073, 5176, 5227, 5279, 5682, 5922), for example \u0022Mock agent - with both endpoint and provider\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.test.js"},"region":{"startLine":4241}}}],"partialFingerprints":{"codehealthFindingId/v1":"5612b039767d1c2e40fd8078a8cf9476915850113643569577d6d99f83fd05ed"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create tool loader\u0022 repeats the code it sits on: 3 of its 3 words (create, tool, loader) are already in \u0060const loadTools = createToolLoader({ req, res, signal: execution.signal });\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":"api/server/controllers/agents/openai.js"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef32dd8b37a9fa75d4d32485bcfbe29a33cd8d8bd477d96ca4993c19996044"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find agents the user has remote access to (VIEW permission on REMOTE_AGENT)\u0022 repeats the code it sits on: 7 of its 8 words (find, agents, user, remote, view, permission, agent) are already in \u0060const accessibleAgentIds = await findAccessibleResources({\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":"api/server/controllers/agents/openai.js"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4d6081632ba30bcfd210cb53994f29c89289a9e125cd57677dce0d0c78f2807"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create tool loader\u0022 repeats the code it sits on: 3 of its 3 words (create, tool, loader) are already in \u0060const loadTools = createToolLoader({\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":"api/server/controllers/agents/responses.js"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"d964819ac072a0c512e111b5c598df5a61337a5d93fbc2743cf964c4cf5217ab"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find agents the user has remote access to (VIEW permission on REMOTE_AGENT)\u0022 repeats the code it sits on: 7 of its 8 words (find, agents, user, remote, view, permission, agent) are already in \u0060const accessibleAgentIds = await findAccessibleResources({\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":"api/server/controllers/agents/responses.js"},"region":{"startLine":1609}}}],"partialFingerprints":{"codehealthFindingId/v1":"50239c1448d87bb566db402e211fd4ef7d1724088a854853366d6dc3c33eee3d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert OCR to context in incoming updateData\u0022 repeats the code it sits on: 5 of its 6 words (convert, ocr, context, update, data) are already in \u0060convertOcrToContextInPlace(updateData);\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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee695a2766b40da3785385df31c16e79f94be7c30755e840afdbbed2f861edd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create agents for User A\u0022 repeats the code it sits on: 3 of its 3 words (create, agents, user) are already in \u0060agentA1 = await Agent.create({\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":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":3494}}}],"partialFingerprints":{"codehealthFindingId/v1":"55453b50b400a77d1c740a73bbe41601b434001122663c86940793c6043a9c7e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create an agent for User B\u0022 repeats the code it sits on: 3 of its 3 words (create, agent, user) are already in \u0060agentB1 = await Agent.create({\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":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":3554}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a00f869dceab8270a4972821e3ef45641ec6068f8be89c138fdd69a3bdefcfe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a promoted agent\u0022 repeats the code it sits on: 3 of its 3 words (create, promoted, agent) are already in \u0060const promotedAgent = await Agent.create({\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":"api/server/controllers/agents/v1.spec.js"},"region":{"startLine":4201}}}],"partialFingerprints":{"codehealthFindingId/v1":"28cb29024d0d56b07d602ba415e91964db5bdae5d1721b4afbc5235743118bf5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Restore original fs.readFileSync\u0022 repeats the code it sits on: 5 of its 6 words (original, fs, read, file, sync) are already in \u0060fs.readFileSync = originalReadFileSync;\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":"api/server/index.spec.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9feca232f9e0b9a4d926103aee2383813b67fe76b805be1022bfbf557a5f18"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a test user\u0022 repeats the code it sits on: 3 of its 3 words (create, test, user) are already in \u0060testUser = await User.create({\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":"api/server/middleware/accessResources/canAccessAgentResource.spec.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c7d8c4e5eed8f8cc057b6b436c44509c5bc7c2666886b36f4479981ac13cd5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create ACL entry for the other user (owner)\u0022 repeats the code it sits on: 4 of its 5 words (create, acl, entry, user) are already in \u0060await AclEntry.create({\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":"api/server/middleware/accessResources/canAccessAgentResource.spec.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"492d4f81bb195932a6da5d9cc87a41d8e44e705b84398cdb35d2d3ace5d34414"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 38, 144, 391, 535, 543), for example \u0022Create a test user\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessMCPServerResource.spec.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c02a84e2b39d6986e2ce95ad7ae1d8910dbf4dd5e2f2710bf735d56259f4a2d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 28, 40, 78, 98, 602), for example \u0022Create test role\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/fileAccess.spec.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"764bf97aa86f44a9d1329d97f1591560eaab9b1773ea4989a15411e88ad0829c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the logger from @librechat/data-schemas\u0022 repeats the code it sits on: 5 of its 5 words (mock, logger, librechat, data, schemas) are already in \u0060jest.mock(\u0027@librechat/data-schemas\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/roles/access.spec.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8e45461b6ccaf4152482a67bfc752c761867b3c30975f578ddab8168a6be1f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create limited role with no AGENTS permissions\u0022 repeats the code it sits on: 5 of its 6 words (create, limited, role, agents, permissions) are already in \u0060await Role.create({\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":"api/server/middleware/roles/access.spec.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60eab76da12b70939411077d9a14b553c5eb44490454303147ea3311b5f8e95"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Admin has both USE and CREATE\u0022 repeats the code it sits on: 3 of its 3 words (admin, use, create) are already in \u0060const result = await checkAccess({\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":"api/server/middleware/roles/access.spec.js"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b491c6ac1d1647213614581f59d7b3593b130c6598495d1b59aaec27b63bab4f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock getRoleByName to throw an error\u0022 repeats the code it sits on: 5 of its 6 words (mock, get, role, name, error) are already in \u0060const mockGetRoleByName = jest\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":"api/server/middleware/roles/access.spec.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"3980e5f5f11df90b9a6521a1e11d228c648cd4b36b189c8911d8e5f98cd9edaa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check event type is valid\u0022 repeats the code it sits on: 4 of its 4 words (check, event, type, valid) are already in \u0060if (!VALID_STREAMING_EVENT_TYPES.has(eventType))\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":"api/server/routes/agents/__tests__/responses.spec.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dd33b1a41469cbd0782194520cc2024ab58344733dc86018b15db450017b43"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create test user\u0022 repeats the code it sits on: 3 of its 3 words (create, test, user) are already in \u0060testUser = await User.create({\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":"api/server/routes/agents/__tests__/responses.spec.js"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf7940023c0b0bac718c04d824d7541227d4d5b1b332dc908b506238db1d6fa6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create test agents with the test user as author\u0022 repeats the code it sits on: 5 of its 5 words (create, test, agents, user, author) are already in \u0060testAgent = await createTestAgent({ author: testUser._id });\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":"api/server/routes/agents/__tests__/responses.spec.js"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe58fbfb84ad523b349623d897607ac8e733bff9ec8f8f602e7f07a39484f78"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for reasoning item in output\u0022 repeats the code it sits on: 4 of its 4 words (check, reasoning, item, output) are already in \u0060const reasoningItem = response.body.output.find((item) =\u003E item.type === \u0027reasoning\u0027);\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":"api/server/routes/agents/__tests__/responses.spec.js"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5cf70e693d95a626821836ec9ff183f7a9a2455850d76194c32e4bfba3e205"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Seed default roles using our methods\u0022 repeats the code it sits on: 4 of its 5 words (seed, default, roles, methods) are already in \u0060await methods.seedDefaultRoles();\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":"api/server/routes/files/files.agents.test.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc483cbea17b8680133429f4b60b914ec95ef762628266b5a768587dc235d3a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Seed MANAGE_AGENTS capability for the ADMIN role\u0022 repeats the code it sits on: 5 of its 6 words (manage, agents, capability, admin, role) are already in \u0060await SystemGrant.create({\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":"api/server/routes/files/files.agents.test.js"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4c6bcbf2710731447c2a350f2f67b40aa499ae92e4d7aa3ca8568f0ec3e4f6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create app with admin user (otherUserId as admin)\u0022 repeats the code it sits on: 5 of its 5 words (create, app, admin, user, id) are already in \u0060const testApp = createAppWithUser(otherUserId, SystemRoles.ADMIN);\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":"api/server/routes/files/files.agents.test.js"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b83903f738cdbc6091bba7c8cc53aa0d19f7545f711e0b588111f6009b4d7c4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Seed default roles using our methods\u0022 repeats the code it sits on: 4 of its 5 words (seed, default, roles, methods) are already in \u0060await methods.seedDefaultRoles();\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":"api/server/routes/files/files.test.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"eefa8c8b764e7973cc65483b6d886a84c255a166c22cb8dfe698e85b8d09a65b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock getAppConfig to return undefined\u0022 repeats the code it sits on: 5 of its 6 words (mock, get, app, config, undefined) are already in \u0060getAppConfig.mockResolvedValueOnce(undefined);\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":"api/server/routes/files/multer.spec.js"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c4ac3fc94de2e92a4374596a897b3cf9ef65059333dfd13671b26bd4dfdccf"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock appConfig with fileConfig\u0022 repeats the code it sits on: 4 of its 4 words (mock, app, config, file) are already in \u0060getAppConfig.mockResolvedValueOnce({\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":"api/server/routes/files/multer.spec.js"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"995bfa02337015bfbceae8ba30400a0b48bc3fd85557b24bed49646394db4e53"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify that getAppConfig was called\u0022 repeats the code it sits on: 4 of its 5 words (get, app, config, called) are already in \u0060expect(getAppConfig).toHaveBeenCalled();\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":"api/server/routes/files/multer.spec.js"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2dfd914858798361cbf0240016c06cb14a854de0d3b1448bcb55a03a80c563"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 11 comments in this file only repeat the code they sit on (lines 166, 449, 665, 687, 744, 871, 887, 896, 936, 945, 1110), for example \u0022Create test users\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/prompts.test.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c80eda716efac78b1edc2be2b9308dbfb2ba5db7cac95f2480bf08922e0ee09"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create read stream from the file\u0022 repeats the code it sits on: 4 of its 4 words (create, read, stream, file) are already in \u0060const fileStream = fs.createReadStream(filePath);\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":"api/server/services/Files/Azure/crud.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f41bea65d980223214da6734438b6d519d82850857a302bdac9956276122303"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock strategy functions\u0022 repeats the code it sits on: 3 of its 3 words (mock, strategy, functions) are already in \u0060jest.mock(\u0027~/server/services/Files/strategies\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"4080dca00511597308eb28e26281f3f8c2beeb809688e726252aeb25b8e72c9a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock convertImage\u0022 repeats the code it sits on: 3 of its 3 words (mock, convert, image) are already in \u0060jest.mock(\u0027~/server/services/Files/images/convert\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e45114d3abe4d4fac9b9e12cd1e10c833d9a8695d03e554c942701dd7c9e7a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock determineFileType\u0022 repeats the code it sits on: 4 of its 4 words (mock, determine, file, type) are already in \u0060jest.mock(\u0027~/server/utils\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.spec.js"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"85543f0907dbe1ecf02281d452e3249559f4189d64e29447453c0872570e789f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock Graph client\u0022 repeats the code it sits on: 3 of its 3 words (mock, graph, client) are already in \u0060mockGraphClient = {\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":"api/server/services/GraphApiService.spec.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"53cf86094f9a65b9e16419a68ab9e70760ecd257a8bdfe287156768bb1cbaefe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock tokens cache\u0022 repeats the code it sits on: 3 of its 3 words (mock, tokens, cache) are already in \u0060mockTokensCache = {\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":"api/server/services/GraphApiService.spec.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9bdd73d28cb796846bc85f79aad3f3b82a15cd5e73b03531ce9fd391d4b15d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock OpenID config\u0022 repeats the code it sits on: 4 of its 4 words (mock, open, id, config) are already in \u0060mockOpenIdConfig = {\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":"api/server/services/GraphApiService.spec.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f0bf88e835c2f01656295566ea5e3d201b9c9a06428eae074713bd3243ab939"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 15 comments in this file only repeat the code they sit on (lines 16, 699, 722, 728, 761, 767, 1325, 1331, 1360, 1481, 1517, 2334, 3224, 3278, 3628), for example \u0022Create mock registry instance\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.spec.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab1288ca9e8221619859379f53aa04bb063548ec745fffc7188fdbd8fc7ca59"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 32 comments in this file only repeat the code they sit on (lines 71, 402, 427, 453, 459, 494, 551, 612, 634, 679, 737, 753, 769, 1486, 1496, 1542, 1552, 1619, 1794, 1813, 1826, 1836, 1842, 1966, 1976, 2022, 2032, 2100, 2152, 2228, 2246, 2317), for example \u0022Seed default roles\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.spec.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfea64e77cd54bd20cf1521b2136a12dab81405b604373b4a2279f5cb999ce1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the retrieveAndProcessFile function for each file\u0022 repeats the code it sits on: 4 of its 5 words (mock, retrieve, process, file) are already in \u0060retrieveAndProcessFile.mockImplementation(({ file_id }) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/processMessages.spec.js"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"a902fae49be3961a8491c9ddca486cdd6ed64fa3d8ea4ad621d671a8b9c7fbb2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the target message is at the root level\u0022 repeats the code it sits on: 4 of its 5 words (check, target, message, level) are already in \u0060if (\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":"api/server/utils/import/fork.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e77cf6143e4ec57841067d7fbf292fb0875eb0f0eb6497fc5e4bdb12e7fa705"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check user message\u0022 repeats the code it sits on: 3 of its 3 words (check, user, message) are already in \u0060const userMsg = savedMessages.find((msg) =\u003E msg.text === \u0027Hello Claude\u0027);\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":"api/server/utils/import/importers.spec.js"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8c0cf4fac322f36c2b1c0dd85e34bd4e7f1a04977bf4682d8809134b1a3869"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check assistant message\u0022 repeats the code it sits on: 3 of its 3 words (check, assistant, message) are already in \u0060const assistantMsg = savedMessages.find((msg) =\u003E msg.text === \u0027Hello! How can I help you?\u0027);\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":"api/server/utils/import/importers.spec.js"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b665d58d449ae08e289a302bffa3118a1c171f75f84a5e067dadfc5a4052b74"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock createSocialUser to create a user\u0022 repeats the code it sits on: 4 of its 4 words (mock, create, social, user) are already in \u0060createSocialUser.mockImplementation(async (userData) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/appleStrategy.test.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe88c40b045d2647160c10657024b0d07a0313f729b3fac4fcaae0873bab143"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock findUser to return the existing user\u0022 repeats the code it sits on: 4 of its 5 words (mock, find, user, existing) are already in \u0060findUser.mockResolvedValue(existingUser);\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":"api/strategies/appleStrategy.test.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6eb47592783696a0967e9d348cb5f29bb2c8efb176e72adeb47466e6086ea2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grok Code Fast model\u0022 repeats the code it sits on: 4 of its 4 words (grok, code, fast, model) are already in \u0060expect(matchModelName(\u0027grok-code-fast-1\u0027)).toBe(\u0027grok-code-fast\u0027);\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":"api/utils/tokens.spec.js"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbed42636ece0e8d9c3fa2d781a72f27b4c550f0268b25c77f3bd03598640631"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grok Code Fast model\u0022 repeats the code it sits on: 4 of its 4 words (grok, code, fast, model) are already in \u0060expect(matchModelName(\u0027xai/grok-code-fast-1\u0027)).toBe(\u0027grok-code-fast\u0027);\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":"api/utils/tokens.spec.js"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"54693a17bdc700fe15f446de9089a41c6e766c5c892751b2202c8bb94f77e6df"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fallback to generic error with contextual title\u0022 repeats the code it sits on: 4 of its 5 words (generic, error, contextual, title) are already in \u0060return {\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":"client/src/components/Agents/ErrorDisplay.tsx"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8ec6fd9ca07d7d8f58f5163df16e3db6bc86bccf21ae8904c2dcff26cef9db"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock matchMedia\u0022 repeats the code it sits on: 3 of its 3 words (mock, match, media) are already in \u0060Object.defineProperty(window, \u0027matchMedia\u0027, {\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":"client/src/components/Agents/tests/Accessibility.spec.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5818703abdb50be3e5532196693986d6f3cce0ec77cb659483128e3dc0d9ccc7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock react-i18next\u0022 repeats the code it sits on: 4 of its 4 words (mock, react, 18, next) are already in \u0060jest.mock(\u0027react-i18next\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/tests/Accessibility.spec.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f578d63231de677b31065dd0621ee63265cbcbf9e4300c10e747fed76db435"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock @librechat/client toast context\u0022 repeats the code it sits on: 5 of its 5 words (mock, librechat, client, toast, context) are already in \u0060jest.mock(\u0027@librechat/client\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/tests/Accessibility.spec.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c0fbe7d1d0b170112bdce601c43db8d8f69de6a28d67d64456cf596206647b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock SmartLoader\u0022 repeats the code it sits on: 3 of its 3 words (mock, smart, loader) are already in \u0060jest.mock(\u0027../SmartLoader\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/tests/Accessibility.spec.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5281d7c44539f193a5b167f3a9b9563b911c3ad9d2dc427660479af96f7af56e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock useLocalize hook\u0022 repeats the code it sits on: 4 of its 4 words (mock, use, localize, hook) are already in \u0060jest.mock(\u0027~/hooks/useLocalize\u0027, () =\u003E () =\u003E (key: string) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/tests/CategoryTabs.spec.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ae5a871e0040ff39dcf13969de18c706ad70044d22b72e10b52618d8419705c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock matchMedia\u0022 repeats the code it sits on: 3 of its 3 words (mock, match, media) are already in \u0060Object.defineProperty(window, \u0027matchMedia\u0027, {\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":"client/src/components/Agents/tests/ErrorDisplay.spec.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d4fa31aa52ae69f9264deaf3dd55f077c53f8cf35e6bd1a5dad99c921a2a3cd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022only require captcha if we have a siteKey\u0022 repeats the code it sits on: 4 of its 5 words (require, captcha, site, key) are already in \u0060const requireCaptcha = Boolean(startupConfig?.turnstile?.siteKey);\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":"client/src/components/Auth/Registration.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3186be1de8dfbd75cc76e63d0ac28202358d5e7a5dd9f688edaa3533552f0c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the localize hook\u0022 repeats the code it sits on: 3 of its 3 words (mock, localize, hook) are already in \u0060jest.mock(\u0027~/hooks\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/MemoryArtifacts.test.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"431d39bd1bfccb7d8bfddd1164106bfaddc564eede852338c4bd5038c89ee3bd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the MemoryInfo component\u0022 repeats the code it sits on: 4 of its 4 words (mock, memory, info, component) are already in \u0060jest.mock(\u0027@librechat/chat/components\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/MemoryArtifacts.test.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e040d1a47e865d9109f79e10b2fe65ff71ed5bacf2e3b04718aee8c9a88b1e1e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the UIResourceRenderer component\u0022 repeats the code it sits on: 4 of its 5 words (mock, ui, resource, renderer) are already in \u0060jest.mock(\u0027@mcp-ui/client\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/UIResourceCarousel.test.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ea933f8e9540a08c094ba84fd3d8a0f4321ef5d61213e701e7e8a4f0165895"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock handleUIAction utility\u0022 repeats the code it sits on: 4 of its 5 words (mock, handle, ui, action) are already in \u0060jest.mock(\u0027~/utils\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/UIResourceCarousel.test.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"14610b88b962b5c089b8a126ca6188f78307321c655a264b3c2215b6af5e808c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock AgentFooter to provide a save button\u0022 repeats the code it sits on: 5 of its 6 words (mock, agent, footer, save, button) are already in \u0060jest.mock(\u0027./AgentFooter\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75cd8eddf668630182c401804e8ef86dc1732dfca6f91e0ff0badd5f45704cb"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the agent query with version 2\u0022 repeats the code it sits on: 4 of its 4 words (mock, agent, query, version) are already in \u0060mockAgentQuery(mockUseGetAgentByIdQuery, {\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":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"24382117fc83088f23c4eb2ba0f24192ff4bc6ab93e2e1f016230c40d2de6450"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the agent query with version 2\u0022 repeats the code it sits on: 4 of its 4 words (mock, agent, query, version) are already in \u0060mockAgentQuery(mockUseGetAgentByIdQuery, {\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":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab35b61baaf2fb6106ae31627eb0e5665263ce0d12641152b03b1719bc46f0c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the agent query\u0022 repeats the code it sits on: 3 of its 3 words (mock, agent, query) are already in \u0060mockAgentQuery(mockUseGetAgentByIdQuery, {\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":"client/src/components/SidePanel/Agents/AgentPanel.test.tsx"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4594a8d3c88905dc394df91c777279e9a3a3860f103902c8bdfb51319efa496"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the AgentPanelContext\u0022 repeats the code it sits on: 4 of its 4 words (mock, agent, panel, context) are already in \u0060jest.mock(\u0027~/Providers/AgentPanelContext\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Version/__tests__/VersionPanel.spec.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af78030e6cdf031c252621270d7607b7adc9bbf1b32e7e2665cdd3948778096"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022wait for successful form submission before uploading avatar\u0022 repeats the code it sits on: 5 of its 6 words (wait, form, submission, uploading, avatar) are already in \u0060console.log(\u0027[AssistantAvatar] No assistant_id, will wait until form submission \u002B upload\u0027);\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":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c1da74cfd51b5f7a058591b3f42e64e1d003603f7f79e86c992fa48823b10c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Auth type enum\u0022 repeats the code it sits on: 3 of its 3 words (auth, type, enum) are already in \u0060export enum AuthTypeEnum\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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a802cf227905f74d8b3156b737b9a5719d4a6ada02e5e29a0f8867f88256128f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Authorization type enum\u0022 repeats the code it sits on: 3 of its 3 words (authorization, type, enum) are already in \u0060export enum AuthorizationTypeEnum\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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d267e662517dc161fff805456574ca9aa423669c48ec4996ab4dbcac4fa9bf72"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Form data interface\u0022 repeats the code it sits on: 3 of its 3 words (form, data, interface) are already in \u0060export interface MCPServerFormData\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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae971e8b3de18878e85cda5c051d7b11b349921231bd130257db53b16b03e02e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Default form values\u0022 repeats the code it sits on: 3 of its 3 words (default, form, values) are already in \u0060const defaultValues = useMemo\u003CMCPServerFormData\u003E(() =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd24492897248c3400ccb3beb303fb6d5f44dbf804a60628f17c433505eef410"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the value exists in enumMappings\u0022 repeats the code it sits on: 4 of its 5 words (check, value, enum, mappings) are already in \u0060if (stringValue in enumMappings)\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":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd4c8a256d713bddd40aadc20139b2f08ce30b9acabd8018d40283b268a7e48"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if file is from local storage\u0022 repeats the code it sits on: 4 of its 4 words (check, file, local, storage) are already in \u0060const isLocalFile = file.metadata?.storageType === \u0027local\u0027;\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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"807a59ff058db9614c676552dbc63eb47906a6ef51bb4b2dd7838f9c580067b2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch titles for ready conversations.\u0022 repeats the code it sits on: 4 of its 4 words (fetch, titles, ready, conversations) are already in \u0060const titleQueries = useQueries({\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":"client/src/data-provider/SSE/queries.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b38fd7244d5ba332043dd93abaa18e97433a4b01c61becf3252ec611ff63afe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the useLocalize hook\u0022 repeats the code it sits on: 4 of its 4 words (mock, use, localize, hook) are already in \u0060jest.mock(\u0027~/hooks/useLocalize\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useAgentCategories.spec.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b09133e75a901160e1736fb976b1c59b1e11fbb22b24f8b249376cf462e0ab4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the data provider\u0022 repeats the code it sits on: 3 of its 3 words (mock, data, provider) are already in \u0060jest.mock(\u0027~/data-provider/Agents\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/__tests__/useAgentCategories.spec.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a0128c4429f803c2cf69258de21fa962fa8c6aa31e70f4277d68c8e2b66f17"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create initial preview with original file\u0022 repeats the code it sits on: 5 of its 5 words (create, initial, preview, original, file) are already in \u0060const initialPreview = URL.createObjectURL(originalFile);\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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02e128f7804caa016a22e315e4d01265628f828df56e1a26fa39d66f5785a37"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Reset mock for window.history.replaceState\u0022 repeats the code it sits on: 5 of its 6 words (mock, window, history, replace, state) are already in \u0060jest.spyOn(window.history, \u0027replaceState\u0027).mockClear();\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":"client/src/hooks/Input/useQueryParams.spec.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e7fe4658a7c467f4bc6cf8b439d969aed426ee097ab97ff8f23ba278c21aae"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if specific permission bit is set\u0022 repeats the code it sits on: 4 of its 5 words (check, permission, bit, set) are already in \u0060const checkEffectivePermission = useCallback(\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"214f478d41320e4e6142539068713f2dea174bca59a3426da1b5016595e0ed6a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock data-provider auth query \u002B startup config\u0022 repeats the code it sits on: 6 of its 7 words (mock, data, provider, auth, startup, config) are already in \u0060jest.mock(\u0027~/data-provider\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Plugins/__tests__/useToolToggle.test.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b274494e2834959a86219833f1b2dfe9003b9fecb920b74c7bdb5f07ba9090fc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Extract current shares from permissions data\u0022 repeats the code it sits on: 4 of its 5 words (current, shares, permissions, data) are already in \u0060const currentShares: TPrincipal[] =\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":"client/src/hooks/Sharing/useResourcePermissionState.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc917290fc54909a6bfb1b78a397ff08315aefce6a837bc6fcb2af6150ee429e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Atoms with localStorage\u0022 repeats the code it sits on: 3 of its 3 words (atoms, local, storage) are already in \u0060const localStorageAtoms = {\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":"client/src/store/prompts.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d0de445d2af881ea6198ca4a87bdff4b008269b5b0888f81f5380d60a8b6e7"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock the Feather icon from lucide-react\u0022 repeats the code it sits on: 5 of its 5 words (mock, feather, icon, lucide, react) are already in \u0060jest.mock(\u0027lucide-react\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/__tests__/agents.spec.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c34b569ff85978f94c3bece9291a4a6f138d43b37f9a0053594670c46b039ca"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if endpoint is in the filter or its type is in defaultEndpoints\u0022 repeats the code it sits on: 6 of its 6 words (check, endpoint, filter, type, default, endpoints) are already in \u0060if (\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":"client/src/utils/endpoints.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c13eece0bd76fecd8a9e55cf896c0a1428695daac35d90d7b38edc51d35dbd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new File object with the converted blob\u0022 repeats the code it sits on: 5 of its 6 words (create, new, file, converted, blob) are already in \u0060const convertedFile = new File([convertedBlob], file.name.replace(/\\.(heic|heif)$/i, \u0027.jpg\u0027), {\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":"client/src/utils/heicConverter.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"507bf1d21649c1442d3e9f9719ad444584ec5b452b08366cf0b7c4ffed2be9c6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock window.matchMedia\u0022 repeats the code it sits on: 4 of its 4 words (mock, window, match, media) are already in \u0060Object.defineProperty(window, \u0027matchMedia\u0027, {\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":"client/test/setupTests.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"05cd4829667db7cd4374e21cfd44d3163a5a761d965e904dd1172737d3d13f0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock window.matchMedia for tests\u0022 repeats the code it sits on: 4 of its 5 words (mock, window, match, media) are already in \u0060Object.defineProperty(window, \u0027matchMedia\u0027, {\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":"client/test/setupTests.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d336f3ddee436c60751fd1c9b60769279241c52cdf4accafaa5ec894dbe07653"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 8 comments in this file only repeat the code they sit on (lines 27, 40, 54, 101, 131, 195, 238, 246), for example \u0022Set up MongoDB memory server\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/__tests__/migrate-prompt-permissions.spec.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfcd190cd3d135da5377f7b54f8242e36bb6dc73fcd8b513e5bebb5694836b9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete all node_modules\u0022 repeats the code it sits on: 3 of its 3 words (delete, node, modules) are already in \u0060directories.forEach(deleteNodeModules);\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":"config/packages.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a263bfeb5b11e763797be9c35da454521f82b0687e8d4befab5e86a1ff63e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fetch latest repo\u0022 repeats the code it sits on: 3 of its 3 words (fetch, latest, repo) are already in \u0060console.purple(\u0027Fetching the latest repo...\u0027);\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":"config/update.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d291a9932fa29cc818b67f76a48a1911212fe5c2c8bce8c3f3ff5791f85239"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Switch to main branch\u0022 repeats the code it sits on: 3 of its 3 words (switch, main, branch) are already in \u0060console.purple(\u0027Switching to main branch...\u0027);\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":"config/update.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9c30ddcd93ff2b11d01f21e09cde76b58b5a1daf17c2c4f0602c5fbc4f9ee0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete all node_modules\u0022 repeats the code it sits on: 3 of its 3 words (delete, node, modules) are already in \u0060directories.forEach(deleteNodeModules);\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":"config/update.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1694cbe4d2650fab83915051f356b98c5d9d890efebe872e1c87dc4b86626f2c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Delete all user sessions\u0022 repeats the code it sits on: 3 of its 3 words (delete, user, sessions) are already in \u0060await deleteAllUserSessions(userId.toString());\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":"e2e/setup/cleanupUser.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"68dbdf1192e1cad704b2cdc50bbaa47075a5a56f8dbd444e1ec85d67f861aa32"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Admin-panel override: allow the fixture\u0027s origin for this user.\u0022 repeats the code it sits on: 6 of its 7 words (admin, override, allow, fixture, origin, user) are already in \u0060const put = await request.put(\u0060/api/admin/config/user/${userId}\u0060, {\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":"e2e/specs/mock/mcp-allowlist-override.spec.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92e970d26c5d3f9ba0981da75eba51fcb3680628187f57b26863e02637a2f99"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grant permission to another resource\u0022 repeats the code it sits on: 3 of its 3 words (grant, permission, resource) are already in \u0060await service.grantPermission({\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":"packages/api/src/acl/accessControlService.spec.ts"},"region":{"startLine":1530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc5b5788440d3a5c265b9b4a6417170fc8451b20996e5c1a31286867244296a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock getMCPServerTools to return tools for each server\u0022 repeats the code it sits on: 6 of its 6 words (mock, get, mcp, server, tools, return) are already in \u0060mockGetMCPServerTools.mockImplementation(async (_userId: string, server: string) =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/load.spec.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"24d23d699d55522d1463cce1587f3181a81df57457aee5108828282cc5a04ada"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set up abort controller\u0022 repeats the code it sits on: 3 of its 3 words (set, abort, controller) are already in \u0060const abortController = new AbortController();\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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e92d6ea5a2cbd64a9f13e92738c2fe3bdf1be0860680e36f1fe784b598453d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create event handlers\u0022 repeats the code it sits on: 3 of its 3 words (create, event, handlers) are already in \u0060const eventHandlers = createOpenAIHandlers(\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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"39f7dd6e3fe062e6f075215a0a4a5861fda731f7811616a1b64d1d0376bffc46"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Only new-file is in request set\u0022 repeats the code it sits on: 4 of its 5 words (new, file, request, set) are already in \u0060requestFileSet.add(\u0027new-file\u0027);\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":"packages/api/src/agents/resources.test.ts"},"region":{"startLine":1348}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8ba20a9f3eb4c9de67cd958568d3d1cb0f9f84233049fd79100f4a287c615b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 8 comments in this file only repeat the code they sit on (lines 1388, 1798, 1804, 1854, 1917, 1933, 2060, 2073), for example \u0022Get the calls to updateAccessPermissions\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.spec.ts"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb30df1ace2bdaf64cee8df668e23e8252fa09100bdd0ef56c3c97e5415bef2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Spy on ioredisClient.on\u0022 repeats the code it sits on: 3 of its 3 words (spy, ioredis, client) are already in \u0060const onSpy = jest.spyOn(ioredisClient!, \u0027on\u0027);\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":"packages/api/src/cache/__tests__/cacheFactory/sessionCache.cache_integration.spec.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b075c03236035c505d787f32a311dd8f847b8fb75cf140a349f0eced8d1e692"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check mongoose connection state\u0022 repeats the code it sits on: 4 of its 4 words (check, mongoose, connection, state) are already in \u0060if (mongoose.connection.readyState !== 1)\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":"packages/api/src/cache/keyvMongo.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cff2019a9c7ad4260de3352cba4f7f4bf091fcbe76e878a7ad6faca6869ad39"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Call electSelf on all instances in parallel\u0022 repeats the code it sits on: 4 of its 5 words (call, elect, self, instances) are already in \u0060const results = await Promise.all(instances.map((instance) =\u003E instance[\u0027electSelf\u0027]()));\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":"packages/api/src/cluster/__tests__/LeaderElection.cache_integration.spec.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"3079c2ce9316f570ea3df546e892aacae75f8feb841e7fec75116882675cdb77"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create 10 instances\u0022 repeats the code it sits on: 3 of its 3 words (create, 10, instances) are already in \u0060instances = Array.from({ length: 10 }, () =\u003E new LeaderElection());\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":"packages/api/src/cluster/__tests__/LeaderElection.cache_integration.spec.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6b69614c4447d1af26141db13f1aa8cdbc5f84773611a224b0e0d80d913654"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Call isLeader on all instances\u0022 repeats the code it sits on: 3 of its 3 words (call, leader, instances) are already in \u0060const results = await Promise.all(instances.map((instance) =\u003E instance.isLeader()));\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":"packages/api/src/cluster/__tests__/LeaderElection.cache_integration.spec.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f92d799758bfab8cd0c46bd457bb3bd90d50f556ec6760d65d2b5b623219b84"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Call isLeader on all instances to make them \u0022leaders\u0022\u0022 repeats the code it sits on: 4 of its 5 words (call, leader, instances, leaders) are already in \u0060await Promise.all(instances.map((instance) =\u003E instance.isLeader()));\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":"packages/api/src/cluster/__tests__/LeaderElection.cache_integration.spec.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"08400949813b0bf0d1da90ffd39960ed079aa09e056fb70dd935ab6a8704700a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 11 comments in this file only repeat the code they sit on (lines 606, 726, 1460, 1651, 1733, 1852, 1936, 1944, 2005, 2033, 2137), for example \u0022Mock signed URL response\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.spec.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b944c98e41684a474ddec16f566f1149a3b7b152bd0d219a582da894489050"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create flow with very short TTL\u0022 repeats the code it sits on: 4 of its 4 words (create, flow, short, ttl) are already in \u0060const shortTtlManager = new FlowStateManager(store as unknown as Keyv, {\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":"packages/api/src/flow/manager.test.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2957ec09b743b965e7653a66144fcebe56b3579ae7edcb14be7aa102820fed4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for error code\u0022 repeats the code it sits on: 3 of its 3 words (check, error, code) are already in \u0060if (\u0027code\u0027 in error)\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":"packages/api/src/mcp/__tests__/MCPConnection.test.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"954e25d9f2e008716720c4030b0feabe36214c80920b705b73326404da8b2728"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock authorization server metadata discovery\u0022 repeats the code it sits on: 4 of its 5 words (mock, authorization, server, metadata) are already in \u0060mockDiscoverAuthorizationServerMetadata.mockResolvedValueOnce({\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":"packages/api/src/mcp/__tests__/handler.test.ts"},"region":{"startLine":2513}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97222a9383ad0013245b378be0f0af6f01b4e397ad6c53e6faf32ec0fec7f84"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock authorization server metadata discovery\u0022 repeats the code it sits on: 4 of its 5 words (mock, authorization, server, metadata) are already in \u0060mockDiscoverAuthorizationServerMetadata.mockResolvedValueOnce({\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":"packages/api/src/mcp/__tests__/handler.test.ts"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"98600e385264d7217e3070031388ee76d7db0e3a30076c813f5e1f3ce503ebad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock authorization server metadata discovery\u0022 repeats the code it sits on: 4 of its 5 words (mock, authorization, server, metadata) are already in \u0060mockDiscoverAuthorizationServerMetadata.mockResolvedValueOnce({\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":"packages/api/src/mcp/__tests__/handler.test.ts"},"region":{"startLine":2609}}}],"partialFingerprints":{"codehealthFindingId/v1":"3028ea44f52eebb968d35527001045a329f44133255059d2eaf41f8bf4e4a331"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock authorization server metadata discovery\u0022 repeats the code it sits on: 4 of its 5 words (mock, authorization, server, metadata) are already in \u0060mockDiscoverAuthorizationServerMetadata.mockResolvedValueOnce({\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":"packages/api/src/mcp/__tests__/handler.test.ts"},"region":{"startLine":2658}}}],"partialFingerprints":{"codehealthFindingId/v1":"692b37e97512de414331b6b7203740adcd0e3caa4736a9bbcecef9e6dac683c9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Fix #5b \u2014 disconnect(false) preserves cycle tracking\u0022 repeats the code it sits on: 6 of its 6 words (fix, disconnect, false, preserves, cycle, tracking) are already in \u0060describe(\u0027Fix #5b: disconnect(false) preserves cycle tracking\u0027, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/reconnection-storm.test.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0511bb712241a69f2bde4ffd2571865889b1c50e1368e527f9920f16f6259da8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022OAuth: cycle recovery after successful OAuth reconnect\u0022 repeats the code it sits on: 4 of its 5 words (auth, cycle, recovery, successful) are already in \u0060describe(\u0027OAuth: cycle budget recovery after successful OAuth\u0027, () =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/reconnection-storm.test.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"7377b49947ff2d1fa80b60a5564a365acf8010ec96a6e45af871d7da9c618e6b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 91, 1044, 1051, 1386, 1675), for example \u0022Test with valid data\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/zod.spec.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf75c5aa20ec6c723e4bc42b4250d7ab6b6b96b319effca8e6b9eadaeb4a5ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if it\u0027s an OAuth authentication error\u0022 repeats the code it sits on: 4 of its 4 words (check, auth, authentication, error) are already in \u0060if (\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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2377}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c28caccfa833b0e1638b6963b44b7dfc6c59371fc709325da3b52f52fb68d2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if it\u0027s an OAuth authentication error\u0022 repeats the code it sits on: 4 of its 4 words (check, auth, authentication, error) are already in \u0060if (\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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc80e66877ed77dca1579d6690fe5396420431cf5f0aec56c4abdc721f543a07"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for error code\u0022 repeats the code it sits on: 3 of its 3 words (check, error, code) are already in \u0060if (\u0027code\u0027 in error)\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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3291}}}],"partialFingerprints":{"codehealthFindingId/v1":"812df057e39f2d1dd0c8d7c3f82a35c3ad88ba5ac5b12aa7dd29f70941dbe9b9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022server1: has failed reconnection\u0022 repeats the code it sits on: 3 of its 3 words (server, failed, reconnection) are already in \u0060reconnectionTracker.setFailed(userId, \u0027server1\u0027);\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":"packages/api/src/mcp/oauth/OAuthReconnectionManager.test.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8539e14500d96b934723d21ebbba7543b0617fd7cec5f51691e521ce6f629091"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock failed connection\u0022 repeats the code it sits on: 3 of its 3 words (mock, failed, connection) are already in \u0060mockMCPManager.getUserConnection.mockRejectedValue(new Error(\u0027Connection failed\u0027));\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":"packages/api/src/mcp/oauth/OAuthReconnectionManager.test.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48b79220b5e3f5c58b298873c840bd5c013bd63e5de503d0ffcd9c49807f35a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022delete refresh token\u0022 repeats the code it sits on: 3 of its 3 words (delete, refresh, token) are already in \u0060await deleteToken({\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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76da6685d221fcb44a7548571a72478c18e87ffa91dd70e1456237d1dcc96db"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Verify factory was called to create connection\u0022 repeats the code it sits on: 4 of its 5 words (factory, called, create, connection) are already in \u0060expect(MCPConnectionFactory.create).toHaveBeenCalledWith(\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":"packages/api/src/mcp/registry/__tests__/MCPServerInspector.test.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"f870ed4136724f6fd0c428a01f34dcb36f34a177a96712812569d7beedeccc66"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock MCPConnectionFactory\u0022 repeats the code it sits on: 4 of its 4 words (mock, mcp, connection, factory) are already in \u0060jest.spyOn(MCPConnectionFactory, \u0027create\u0027).mockResolvedValue(mockConnection);\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":"packages/api/src/mcp/registry/__tests__/MCPServersInitializer.cache_integration.spec.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d5b73affbb43b3f97c2d75176a5414813c2ec3bdfa0e2aabc683fd8723c5910"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear mock calls\u0022 repeats the code it sits on: 3 of its 3 words (clear, mock, calls) are already in \u0060jest.clearAllMocks();\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":"packages/api/src/mcp/registry/__tests__/MCPServersInitializer.cache_integration.spec.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"848ce3d59e21e9d70e3539cda3b452fe350bab61cf6b0c75de65adc70a343342"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Setup MCPConnectionFactory mock\u0022 repeats the code it sits on: 4 of its 5 words (mcp, connection, factory, mock) are already in \u0060(MCPConnectionFactory.create as jest.Mock).mockResolvedValue(mockConnection);\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":"packages/api/src/mcp/registry/__tests__/MCPServersInitializer.test.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc27d23a94ce72175b5daeaa6cc0705ce61aa0e4b26b3810fb27e25520a2d11"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock MCPServerInspector.inspect to return the config that\u0027s passed in\u0022 repeats the code it sits on: 7 of its 8 words (mock, mcp, server, inspector, inspect, return, config) are already in \u0060jest\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":"packages/api/src/mcp/registry/__tests__/MCPServersRegistry.test.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78432b9f778295b67233420d6a0935c58cc19cfd26f111aa9c9411511584965"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add servers to cache\u0022 repeats the code it sits on: 3 of its 3 words (add, servers, cache) are already in \u0060await registry[\u0027cacheConfigsRepo\u0027].add(\u0027server1\u0027, testParsedConfig);\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":"packages/api/src/mcp/registry/__tests__/MCPServersRegistry.test.ts"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e73f883a97d6d41deb79cbb6656da5af3c8c8047433fafcfc5036bd44396fc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create servers with valid secrets\u0022 repeats the code it sits on: 4 of its 4 words (create, servers, valid, secrets) are already in \u0060const config1 = createSSEConfig(\u0027Valid Secret Server\u0027, \u0027Test\u0027, {\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":"packages/api/src/mcp/registry/__tests__/ServerConfigsDB.test.ts"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b71ba8ed1992126da4ebeffacc7beb65bebebb9c7e08165f8733aafd7adbf64"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022properties is a record of string -\u003E JsonSchemaType\u0022 repeats the code it sits on: 5 of its 6 words (record, string, json, schema, type) are already in \u0060const newProps: Record\u003Cstring, JsonSchemaType\u003E = {};\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90bb087a933907905d0f9b60360a60efc6012f1066d557a46bf88967212dcb3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert to Zod schema\u0022 repeats the code it sits on: 3 of its 3 words (convert, zod, schema) are already in \u0060const zodSchema = convertJsonSchemaToZod(objSchema, options);\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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a090f3734cc2f86c9efb2941dc77f2f470cb0e0d512332079b888899f6634c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert the base schema\u0022 repeats the code it sits on: 3 of its 3 words (convert, base, schema) are already in \u0060const baseZodSchema = convertJsonSchemaToZod(baseSchema, {\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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e84281b546be2e89bec2a43c07938315b4b69e8961bbc216622d3044f93ac6b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Convert the base schema\u0022 repeats the code it sits on: 3 of its 3 words (convert, base, schema) are already in \u0060const baseZodSchema = convertJsonSchemaToZod(baseSchema, {\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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f52069306371df8e380660e33738c89f9efba5de8db498d37d87ea6b683a37f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create balance record with null tokenCredits\u0022 repeats the code it sits on: 5 of its 6 words (create, balance, null, token, credits) are already in \u0060await Balance.create({\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":"packages/api/src/middleware/balance.spec.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"254e1198b03567f761e3e06b4d92348fff7c9ad4f6d1ef460c7a64b507f8cfb8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create Redis services\u0022 repeats the code it sits on: 3 of its 3 words (create, redis, services) are already in \u0060const services = createStreamServices({\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":"packages/api/src/stream/__tests__/GenerationJobManager.stream_integration.spec.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97d0f76dad9b952f15fec4afa80d59282073ae049580b37cbbbfab3b5667b91"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mark sync sent\u0022 repeats the code it sits on: 3 of its 3 words (mark, sync, sent) are already in \u0060GenerationJobManager.markSyncSent(streamId);\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":"packages/api/src/stream/__tests__/GenerationJobManager.stream_integration.spec.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b92910451859ad837f0104ff0667c7e2eb5e8af10e52186b25ed3a3b4afc06"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 2277, 2285, 2552, 2854, 3049, 3055, 3081, 3089, 3646), for example \u0022Instance 1 creates job\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/__tests__/RedisJobStore.stream_integration.spec.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"f216ec52710ca6df870c138fd3881ec189d8efbd7a775d16af5898417caf07ad"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set content parts with text\u0022 repeats the code it sits on: 4 of its 4 words (set, content, parts, text) are already in \u0060const contentParts = [\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":"packages/api/src/stream/__tests__/collectedUsage.spec.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c73b1961c964ce4532ea899472cec1c778a894aa63a6c6ecb7737216addd58"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set content parts\u0022 repeats the code it sits on: 3 of its 3 words (set, content, parts) are already in \u0060const contentParts = [{ type: \u0027text\u0027, text: \u0027Partial response...\u0027 }];\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":"packages/api/src/stream/__tests__/collectedUsage.spec.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e2a9dcc863d789d6db6b7db2943507d73d9c2aa723d54166991fc8989aa13c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set collected usage\u0022 repeats the code it sits on: 3 of its 3 words (set, collected, usage) are already in \u0060const collectedUsage: UsageMetadata[] = [\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":"packages/api/src/stream/__tests__/collectedUsage.spec.ts"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"7680914f7aa55c635f54cda1426c9309e5f427fd5ba7b9c7ecd5bb6e5f15de11"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mark sync as sent\u0022 repeats the code it sits on: 3 of its 3 words (mark, sync, sent) are already in \u0060manager.markSyncSent(streamId);\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":"packages/api/src/stream/__tests__/reconnect-reorder-desync.stream_integration.spec.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a713dadae89d81e51d29e365beb6dac8ee53e9a0d0650631a63eae781d5f43"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear local caches\u0022 repeats the code it sits on: 3 of its 3 words (clear, local, caches) are already in \u0060this.localGraphCache.clear();\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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9767e4c103f6f7a3d264d62c1e62a6330b3bc4d8abbb8fb521b243def0d3948"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u00222 hours \u002B 30 minutes\u0022 repeats the code it sits on: 3 of its 3 words (hours, 30, minutes) are already in \u0060expect(math(\u0027(1000 * 60 * 60 * 2) \u002B (1000 * 60 * 30)\u0027)).toBe(hours(2) \u002B minutes(30));\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":"packages/api/src/utils/math.integration.spec.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"447456c13bfc5f2cc6166684e400f219e350b6b8aad6560cf7b1b19b07092f2e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 30, 1339, 1432, 1499, 1560), for example \u0022Mock the extractVariableName function\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.spec.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9faefdb45e53c8977d3f3735f0f629c6de2eb270675170e96b2fd95b25e8c2b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear reconnect timeout if submission is cleared\u0022 repeats the code it sits on: 4 of its 5 words (clear, reconnect, timeout, cleared) are already in \u0060run.clearReconnectTimeout();\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":"packages/chat/src/core/resumable/mount.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbaef6f28f40e1cfe0578666e49cda43652bec1dbc4fab5e352cc00bd3edaf5"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 34, 49, 67, 113, 139), for example \u0022Mock window.matchMedia\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/jest.setup.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb81f71d59310c93e3021b95aab0cc3bfad7b3a3cfa9d3cf69f762517f070ce3"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock DataTableSearch component\u0022 repeats the code it sits on: 4 of its 5 words (mock, data, table, search) are already in \u0060jest.mock(\u0027./DataTableSearch\u0027, () =\u003E ({\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.spec.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"752585c3f44e2da92829cc5a728da1b5b9f9305e08473c54532b1e6508454faa"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Reconstruct the text by joining all span contents\u0022 repeats the code it sits on: 5 of its 5 words (reconstruct, text, joining, span, contents) are already in \u0060const reconstructedText = Array.from(textSpans)\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":"packages/client/src/components/SplitText.spec.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d73f9d78febd9b217580e479fedd81cf9c982664c67297ab5aae4b4c91f1582"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check groupMap for \u0027librechat-westus\u0027\u0022 repeats the code it sits on: 4 of its 5 words (group, map, librechat, westus) are already in \u0060expect(groupMap).toHaveProperty(\u0027librechat-westus\u0027);\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":"packages/data-provider/specs/azure.spec.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"9667cc88d5adf7b6a85f52e9645d24137719e29ffcf6f3ad82efee63162a8a35"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check groupMap for \u0027librechat-eastus\u0027\u0022 repeats the code it sits on: 4 of its 5 words (group, map, librechat, eastus) are already in \u0060expect(groupMap).toHaveProperty(\u0027librechat-eastus\u0027);\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":"packages/data-provider/specs/azure.spec.ts"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a28bfd540fb0a703a43cbee691d9b181895cf9c55da2d4caa1f0f942a0ea3ee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check groupMap for \u0027mistral-inference\u0027\u0022 repeats the code it sits on: 4 of its 5 words (group, map, mistral, inference) are already in \u0060expect(groupMap).toHaveProperty(\u0027mistral-inference\u0027);\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":"packages/data-provider/specs/azure.spec.ts"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"11254b115c0043fc7e9024d2a53278f8e272e1299c936671b070045a6e75f3ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 13 comments in this file only repeat the code they sit on (lines 483, 494, 528, 537, 546, 560, 578, 603, 620, 637, 669, 685, 705), for example \u0022Validate optionType with tConversationSchema\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/specs/generate.spec.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"332e33654a2a60ce450d63b13d1f8de98c80f556c8975de6483cfa1410b860fe"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Langfuse connection (admin)\u0022 repeats the code it sits on: 3 of its 3 words (langfuse, connection, admin) are already in \u0060export const adminLangfuseConnection = () =\u003E \u0060${BASE_URL}/api/admin/langfuse/connection\u0060;\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":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c34382f4f44631a7db7b1acbc6275ec2cdcd2c07bac2ed369eacda87adbbd3d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Iterate through each service within the category\u0022 repeats the code it sits on: 3 of its 3 words (iterate, service, category) are already in \u0060for (const service of Object.keys(categoryObj))\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":"packages/data-schemas/src/app/web.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f06886b2e6b1f02ae9d6f7b3d1898b126b9f1ac52557df73f874836f5110bf6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Seed default roles\u0022 repeats the code it sits on: 3 of its 3 words (seed, default, roles) are already in \u0060await methods.seedDefaultRoles();\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":"packages/data-schemas/src/methods/accessRole.spec.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2987f184ad45fc14f184f88fc2769a666859c445acdd00a8ef21df4337cb03"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Then modify with string ID\u0022 repeats the code it sits on: 3 of its 3 words (modify, string, id) are already in \u0060const updated = await methods.modifyPermissionBits(\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":"packages/data-schemas/src/methods/aclEntry.spec.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"205f61a619da6680627159665ba33ba65b35a933b30cc77200329b04980ee5af"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grant permission with string ID\u0022 repeats the code it sits on: 4 of its 4 words (grant, permission, string, id) are already in \u0060await methods.grantPermission(\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":"packages/data-schemas/src/methods/aclEntry.spec.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dd7e7a3ed07dd2e7b89a58a6a89d345a580de48a7e4907781360ed99abda0a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 9 comments in this file only repeat the code they sit on (lines 1999, 2008, 3841, 4101, 4114, 4164, 4209, 5731, 6175), for example \u0022Create user with the agent to be deleted\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.spec.ts"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9b1e41dec48f935f2245312baa109ee97525df294cd29b75a7a2b13b96dd869"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock Meili search\u0022 repeats the code it sits on: 3 of its 3 words (mock, meili, search) are already in \u0060Object.assign(Conversation, { meiliSearch: jest.fn().mockResolvedValue({ hits: [] }) });\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":"packages/data-schemas/src/methods/conversation.spec.ts"},"region":{"startLine":2796}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd310df10b75c332fafe42048bf18f90f2c2db5c4fb758185110ee8b11125d86"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get first page\u0022 repeats the code it sits on: 3 of its 3 words (get, first, page) are already in \u0060const firstPage = await methods.getListMCPServersByIds({\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":"packages/data-schemas/src/methods/mcpServer.spec.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f450886742b4a78bc0d07495addca48528dc6f488391aa79ffe65e2a61efee9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Save a message in the victim\u0027s conversation\u0022 repeats the code it sits on: 4 of its 4 words (save, message, victim, conversation) are already in \u0060await saveMessage(\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":"packages/data-schemas/src/methods/message.spec.ts"},"region":{"startLine":4275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5168864a59652f40e9ed9aedb370148d6deb631cc0a7ca3c58f72079acf5b6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Grant owner permission\u0022 repeats the code it sits on: 3 of its 3 words (grant, owner, permission) are already in \u0060await grantPermission({\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":"packages/data-schemas/src/methods/prompt.spec.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d9543ed1cacf700c3c0853bd15833050117ca796cca43fbd08e83e121851ce"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add user to group\u0022 repeats the code it sits on: 3 of its 3 words (add, user, group) are already in \u0060await methods.addUserToGroup(testUsers.editor._id, testGroups.editors._id);\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":"packages/data-schemas/src/methods/prompt.spec.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e69bf9b55861a6cfacb2f24b84a6bddf3e44d5e91e74cdc0e597acee388ff09"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 11 comments in this file only repeat the code they sit on (lines 135, 156, 345, 352, 384, 690, 1551, 1562, 2198, 2558, 2739), for example \u0022Create share methods\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.test.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f8d1041d9626ee66af1a6f4acb391b65052c58c59fd89f995694ace42c0d42"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a map of parentMessageId to children messages\u0022 repeats the code it sits on: 6 of its 7 words (create, map, parent, message, children, messages) are already in \u0060const parentToChildrenMap = new Map\u003Cstring, t.IMessage[]\u003E();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bcfd838eb062965cf0f36101b3b7a379f145098fe9e97fe1f2f885f6ccc4a4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the target message\u0022 repeats the code it sits on: 3 of its 3 words (find, target, message) are already in \u0060const targetMessage = messages.find((msg) =\u003E msg.messageId === targetMessageId);\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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":846}}}],"partialFingerprints":{"codehealthFindingId/v1":"44211d9073b2352fd0d564e9c6c11dc05c6703dea021ca8872a6a67a7a685dfc"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check if the target message is at the root level\u0022 repeats the code it sits on: 4 of its 5 words (check, target, message, level) are already in \u0060if (\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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"81552330fa85a7e366b69e3e0e089149d97fc96727805b208b8759fc129e5d3d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Iterate level by level until the target is found\u0022 repeats the code it sits on: 4 of its 5 words (iterate, level, target, found) are already in \u0060while (!targetFound \u0026\u0026 currentLevel.length \u003E 0)\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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"196b684ce844b5cebf649a3619055c8859fcd8afaa338a39b52c9d1b91211d23"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: 5 comments in this file only repeat the code they sit on (lines 68, 75, 114, 318, 612), for example \u0022Create a new user ID for each test\u0022. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/spendTokens.spec.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ce7ab1cea31d0745a0597c9471a67e78dbce252a397b011cc258ff0d16b3df8"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find most recent token for the user with sort option\u0022 repeats the code it sits on: 5 of its 6 words (find, recent, token, user, sort) are already in \u0060const found = await methods.findToken(\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":"packages/data-schemas/src/methods/token.spec.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1fa84d13751dd367d67e951937bbd6651a3c4ee46645966f44c7e2082ddc99e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create another token for user-1\u0022 repeats the code it sits on: 3 of its 3 words (create, token, user) are already in \u0060await Token.create({\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":"packages/data-schemas/src/methods/token.spec.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fa8de243140c1a59e3eabb78a9470bc34554d01d1e57d77b96e4cc76548b85"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Old verification token\u0022 repeats the code it sits on: 3 of its 3 words (old, verification, token) are already in \u0060await Token.create({\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":"packages/data-schemas/src/methods/token.spec.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b364ce2b69ced1b1d4ab25ef12fa43aa9d678d4875ce621e32bea92225870c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check role principal\u0022 repeats the code it sits on: 3 of its 3 words (check, role, principal) are already in \u0060const rolePrincipal = principals.find((p) =\u003E p.principalType === PrincipalType.ROLE);\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":"packages/data-schemas/src/methods/userGroup.roles.spec.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb845b38a7ca0523bf00bec2d18b7cf6612cd8abb3003935193ec48e5f098a1a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check group principals\u0022 repeats the code it sits on: 3 of its 3 words (check, group, principals) are already in \u0060const groupPrincipals = principals.filter((p) =\u003E p.principalType === PrincipalType.GROUP);\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":"packages/data-schemas/src/methods/userGroup.roles.spec.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85adc5fdcc6165121c9d4cc9140209350c25d6463338c1cf109cffc9b06f771"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Actual syncable documents (expiredAt: null)\u0022 repeats the code it sits on: 4 of its 5 words (syncable, documents, expired, null) are already in \u0060const syncableCount = await messageModel.countDocuments({ expiredAt: null });\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":"packages/data-schemas/src/models/plugins/mongoMeili.spec.ts"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09eaa35d1e2cf19d943ecfd2a28eec1e13a0c01802419a1ff2a6687cf3400b6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock addDocumentsInBatches to fail\u0022 repeats the code it sits on: 4 of its 5 words (mock, add, documents, batches) are already in \u0060mockAddDocumentsInBatches.mockRejectedValueOnce(new Error(\u0027MeiliSearch connection error\u0027));\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":"packages/data-schemas/src/models/plugins/mongoMeili.spec.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"93dfa4a13c30802b591f80088784fde947eb8eeeaaf13612fc9befd01df7b746"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Mock addDocumentsInBatches to fail on first call\u0022 repeats the code it sits on: 7 of its 7 words (mock, add, documents, batches, fail, first, call) are already in \u0060mockAddDocumentsInBatches.mockRejectedValueOnce(new Error(\u0027First batch failed\u0027));\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":"packages/data-schemas/src/models/plugins/mongoMeili.spec.ts"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1618567851769ce76f0eb5a3cfc1f950a2c327a58e8123643b8a78e8c24bc1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Check for TypedArrays and ArrayBuffer\u0022 repeats the code it sits on: 4 of its 5 words (check, arrays, array, buffer) are already in \u0060if (ArrayBuffer.isView(value)) return false;\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":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ada034742439e1899e68e85bdd3906ed16064881479b860d5063c10d696e0d7"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 7 of 11 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060packages/api\u0060 (315404 LoC, 2835 module-visible types across 112 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":"2814dd2dbfdb4de1d578f48e774b4c5e364008c9e4c4c90c9ecb2251d5ded9bf"},"properties":{"commitSha":"3e98486190486519f6e4e48a064956311d86556d"}},{"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":"0519e36c13664221d2a0b0b240caae14995d73308441e104393da07bbcca1e07"},"properties":{"commitSha":"0bd1a7350ff54a92c8ae7ff6f7b62c114fc8bebd"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc35aaddf7bb58543311e0cd15a8a79a09c0ddd899eb5dee61ea20a8589c7782"},"properties":{"commitSha":"caabab4489e620727350c62c26144c3a77e09e07"}},{"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":"c582d0ab1795b5add0735f72cc00125c75093d2ec0dc0a7da14303caacc37f2a"},"properties":{"commitSha":"caabab4489e620727350c62c26144c3a77e09e07"}},{"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":"60927a5c5d101ec8648a3546aa76b51ec85b72e0fb5fd223e2bf7261e36ad67f"},"properties":{"commitSha":"caabab4489e620727350c62c26144c3a77e09e07"}},{"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":"30fdcb24c014ba395cd5dea032c03754e7cf042241a1c2c6091f473004c78741"},"properties":{"commitSha":"3d1dec62a46ce6c5ac319ffb3f3f038892e63216"}},{"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":"bb786d20e05a5bdcd8c21ccca5afe789fcf5280d1ad1cfcd76cbf3c50a8b42fe"},"properties":{"commitSha":"3d1dec62a46ce6c5ac319ffb3f3f038892e63216"}},{"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":"0398c606cd9dd6f276d4453028941ed93f2e17d3cb644055268ae7b1af8fe6d3"},"properties":{"commitSha":"3d1dec62a46ce6c5ac319ffb3f3f038892e63216"}},{"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":"ba85697228592f85d4c7a26c8529beda869399e1cb5a459f5ab0334d15bd54c6"},"properties":{"commitSha":"844bbbb1620bdc8a2b2293116399738c21ef28b1"}},{"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":"b082d22515254ca116c55ae024334cc953192251e0fbdb85c79518a7efff373c"},"properties":{"commitSha":"844bbbb1620bdc8a2b2293116399738c21ef28b1"}},{"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":"05b6d5ca804c572dd7c7b9141ba052e8fda680c03a150d40efe4c506327299dd"},"properties":{"commitSha":"844bbbb1620bdc8a2b2293116399738c21ef28b1"}},{"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":"5a002e546c8c1936bbed639c32bd6260f367e75ce2b1cd2967684984fe5bca88"},"properties":{"commitSha":"67161c983ff7e3cc7511c196b618e91024d30cd6"}},{"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":"ee06034c9ecf4778b34bfb918150e8be8e89f2c38f7672f468533609c1e019b6"},"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":"dd63d63b4dedc1762922b86714eb2377ed8caabccbf70524398f50b7f60723be"},"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":"91c2ba3d8d9b5c8e80624759587be8d48f05fbca2fc7701f5133c58841f84c73"},"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":"3da12e7bb26f687978ec04668eaec61bf133b054cb10a03bebdc2d43587ed95e"},"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":"b5aba53a6c1e04fc4e22031b5e1667fc1697fceafffaec6e9a672f1586beb501"},"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":"cb082261ca651d8be22ab9981a40966dccaa40a480ef4f7f636885b65eb5bda3"},"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":"92565e5e486bd9e9a8b10fc5470a045a967ad3af6ea28a9cac1109a9cb89c390"},"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":"3a7f1f45ce3509dcc6a712080353fa0c7221b81e3b31a029b15c13a54e1a9527"},"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":"753912610dcde525f452fe49fdeca47aaf885833fab299ef7bfd00c294f3a3c2"},"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":"365c7da8cedb4179823bce504de8a77fb35628df8f1039e1a3a5acc6c58f260d"},"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":"8cb6abb0e5a71dac5068a62ab4bd70bb92a878d5f074201e5e762dffa9666a1b"},"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":"d9bb8796e09ce0c14a82c9559991f30454013a3b42f1154460ec5990f3f6c8c2"},"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":"1ee8b44dbe579684fd44a14da28daf28969866fc51f3cefd44ea757118e2ec89"},"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":"bf7ce56fb4e3e216c825dbd68e8420ff03e732d44a66e52f8a89757a7507087c"},"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":"d62fac91a46117b973a7684e581a47f4ea0926a98887575655a542dff34b7bc3"},"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":"cfa95c8f5a516ab4dfb9329b4b1d2b784aa47ebc1b432391202e4a97997d2298"},"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":"0739355d78120b563c2caf7c572e8a0ef97807e0cb7e2e61638eec7fb08f545c"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3eb4b11fc25817d0bede05d87e8fa0b4ef528e5815eeb62a77b83dc0d1f55e89"},"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":"a7b6ca9329577de7a9d7efc88e28382658a58ded3e758a03063699c803c03e32"},"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":"7134ff2951065586035192bc50d9bef2754642181585b7e114e79c0ddf0065d8"},"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":"9de39248ed4f0987c9d339b21f1c8d8bb41348bee844027adf8597f66b08c6b2"},"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":"1bf8fdf385183982c8ae0e43c4f7cb7b382cf17d6b72f6c553c78e9f1e617405"},"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":"04cab4c08d79f14524a9c8481f2a6b676fa70ef4d46c87ae4c0faec15b8b6a86"},"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":"2dc4e88603f0e45db6b83b2059e577c00e372874769091b58f280e8925ce47f5"},"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":"4c0ff81dac711e84ea2dace69785fdabec49f3ef81cd8ae22a6e4787e2966736"},"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":"67b8a4b26a36eb5a8627a896b6df3b3b9b24d6c292b297918f71a021dab88caa"},"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":"ff1377ba01bd706a8088dc5f52183fcf928fcfb2e1f049f95cd5cc47cf4b1cb7"},"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":"6a3056c34f4f1b8f062989967ee9a38db8be23e7647ad4bf9ab916ffcb242174"},"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":"b4a345cc982e18623841eb14cb4dc1300e7cc6339c9c024b802c79b54e9f7f47"},"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":"f715b922d3575df4c3b36c56927e61b4ad88c2f3abc80b8f545c336d9a298ba1"},"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":"23fb17516abee8bfdd30598475e228c2126718b912fb02d7755dccb739937105"},"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":"b1dea988e5334507a1f3d21223aa7c0eee44d416b8c134560d909ccae90a793c"},"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":"41a0bffc85314c5246a67625611596351be3f1a2469bd05e5323e6bbe4a3350e"},"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":"d99c14c3bf67dec33fa7f0e42c226f50be3da0f7a76d4d717a034fe70e3777df"},"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":"f8b1a0ac473ad22c677139b94b5eef734d50ca5da2221bc48b100e3255a1cdd0"},"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":"7321989eed72bd6864f4f5f6ed041ee12605618ee8e92d2d84992fc2a1f111bb"},"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":"6fcb27fb8a1c46ff593e9c942a8f050c9abe52d0faf9778a40431237a5932092"},"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":"97a6db3e5e9ff9210b2d5e975db2672e966b59d289445588af017e41ef62fd09"},"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":"326c2ed4a64a2d757b160573c7cd176c5e8fc9aa9d9c71bc2c96fc6b294a3b06"},"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":"91e412839f7e98b6f2fb7bd8d82bd2ecf41b6ebc46efe9191935304236fe5044"},"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":"b8c0e69a483d0f382fa34847a33cd1955a7b9878d17018fb7e4b06a7a1eb0fbe"},"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":"c4c32531cfe85f81d00afeb16156c0c91dc44120ed795bbb4d4daf2fe09b4ed3"},"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":"c1afbcb5f819e616f581bbd96fff8f67b7aeb9e55b3d8d644526564777655f99"},"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":"5d43792825cd48103b79e3435192759178a6917a5dcea0804a372561765dec3d"},"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":"3c08445dc07d123007413f3d8ec6c4f5444758300b13d5f47957dd0dc76a55f0"},"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":"8bcef059a48b43973173533541c5b7251baa8b1a66ad31051ef48c929317909b"},"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":"d4c6c6c81da53e7e152f76093a9e96aa883fcd0e40b8c0823ec58085fa8bad2f"},"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":"1827dc760b9edf200f41e287f3659e9b49ac7750a1a722ee73de709ddbd6e3c9"},"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":"23ed375ced6154f693f2f88a2578ffc36a0495286690e8c055f2af56c847f4b9"},"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":"4d99dcf5046866b26e8d32d146b421945efcc312606018893352cafb53cc8e44"},"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":"3a08912d7519fcc787422463c31ff02d40007a7d6ea5b71f0341b0d67434cb64"},"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":"1d22c4e7fbfd1c9797e6fe3fe16f5d883e2b0cfe5eee19c22c83935e7d2d65ad"},"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":"4508d42ce215847f765ef58c60551093624563b79afcf3d5aea50f1c7f3c9d71"},"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":"2b632db4ef233e9798f4bcfe675aa8423d4fa3519f471c10f3e4a61bea69207a"},"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":"1b2187b8ed10d5f63255f932e39c27bd240b14c04bdf555873135dc633af88d1"},"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":"11623e227e1febd5e795d8a26cdbc6d8963f6447b0f95eedecb137add83628bd"},"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":"49ff48da2700697ef2ffb638abf34dde133bfa380d2363d1ba9c397d3ddc153f"},"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":"6ed26a803b93414727b89095fe0a39e48893b012d5d2428d532f66e220214fea"},"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":"794a93ce8dbe99a283a9f543f4709a9950b418842511e1ea20850bbcd5f41cb8"},"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":"c8683e8c31176868016e8d8ac633d12b5f6446540eacef33ec14f0d2bada8779"},"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":"56df44614e3886a5555bea558db88c4c02bf86c846b98825b07f420b071f230c"},"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":"2e3c289e46d858519a8f11db446e5a9de5fa1c9227b3bd473d1dcc49f3ab026a"},"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":"716cc103458437b35907c0b5d6977c2cf06387dc750699e259b7e95e27ff769c"},"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":"818a57b39005f05cd18ad6dd0ef090a340ae4ee69ea972520bcf2a75a2404553"},"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":"312e9fd92752e6ff2f4ea9df24d9b9913eb1270f92bf7bf04642ad683b3cda32"},"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":"56816ad25afd2567ad1eaaf924298e1eedf9ad02e49192f23a2ca2710a33916e"},"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":"d25b4c58d2436f6d2a2a744d2a3c645f8224505246b4c5e82e4c89d1fb4246cd"},"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":"548869cb3ea2e9c9c58a33e64568930a1c719de9c00ee0b698b721b51ec6eb84"},"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":"abb2e27612be28931a3ce958cec138a954972e9985f17d4e092166a8f28c78fe"},"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":"29d1986ad7553c38e8b386f9443050ebf5040478afdaec555094fbbc0b888b37"},"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":"92e1c792f3e89935783200ab06f89bdb3d60596554694fbcf34ea6bc1de08201"},"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":"64d9580bd212bcbc9999819d5833f40d8bdbe1312302164d38a6721d366ee6f3"},"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":"39c90f3f1d8ce277d4400ce35266c7121209fc2b97946ff12bbe3f9e2616ad03"},"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":"fa46812cc96d9315997d58142704843b1df3b945c271222b7c6ffb1022cbf5a9"},"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":"5a3fdc2b551d844298f21ffa592112ee887283639f950c0c80ec26a403b30b69"},"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":"926127f18e992fab3db1ee2ad9b2c8bd481a963602da34d32fd5904c4d4df74c"},"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":"7d12315eff170b8308605b7dd67ba6c30e7a2ac0fa27c95785ef354f87fcb154"},"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":"196b46d42cc81841b922fe66cdc05ca461a510a1506cb54254a40a3f49b554fa"},"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":"52d2cadc44847239ae2f22858a2887ee80edd9478761de12ca38a4e852bafbd9"},"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":"ea0a4ba54d0055b15f7fc38ee6643d18bfb72405b05a0308c663984fe5dee2fa"},"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":"d6339eb43fea6c77a2bdb6e2481d5bf3aa7782c6aa7a45ddd7341227954c5a4e"},"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":"7098fdf1fba96e40e3795bca486fc4ca1af3abf6feaf69b1403534d77497b2af"},"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":"969493f66dbc98b144096c15a562fd83f2087c2c15e1a8192d35695770484024"},"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":"2afbe7f76b87e4c0dfdfaa832c1ce809b7fc62db70738c9f9fad16a7afba0be3"},"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":"ad7191c7770ca553691f97e656d949888f805a1918120aa6902378ae109ef6a3"},"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":"3d8d9062c3a05120dc02f00115f605d102b0bc8adbcb0a0c7d88e9eb93c9fb6a"},"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":"f6dce6667561fd971c2dec14868fc94c42e9e5a5829bfd6d3d293166ece5bdab"},"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":"a7f9d8e50f54b833b647bd36df6e1fd765e502f9a679c9f8a5f0a5f9622ed3dc"},"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":"90179b222e500af01d385598ab5d5c29c6bb2d06483c2aa70090c83918cea138"},"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":"38cdaf9d620037bf575c5cd67a1ee6de8fa6ff5d5bf40c439d85cc3e2d36b54f"},"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":"44f6be652b815743fcc722d76cf833905bead19cd5f27698163fe6b955343136"},"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":"6dc1a3e5e7f62a1f5a5ff0e6741b19d08c2c015766e33115bf9310c248fcab57"},"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":"1b0a2087bc07fc41444cbc3d9a3f076586b121d3c248fa001a5fe800d17e0d7f"},"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":"f255c18fa5383cb8d39b91dc8df9b8eb99560778845b796280cdcf9930f49352"},"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":"245b77bd33bd1aade0020466cfb56c8ca2d35b051f5b5df16592f180ddc1c43b"},"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":"7778faad4a13c74db465f73acc1f380758d9334d885e3515a9bfda5164ebb5b8"},"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":"29e1ef0369369a1bc499ae5b54319dd0b46dcbf02f3f1b9037bb417adbfb451c"},"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":"7a2317632f7f407cd13ac0c16fa399a33d6ed8f3510e41a54a0b33b36a761a7c"},"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":"09c62580f3352eeaafb06adc703872ef63c6dbd66cd279882b96553c0b8015fc"},"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":"f4478d4931758166e95275e7eb106f16bddbc34ec7969938e8c9da8592d1c536"},"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":"8272b7fe8ddb1676220e9c5d8f26bd99b829661ec6c9b14c73bab48b079eb3b6"},"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":"e5bafd6559b1738206d5dd443024d2dfb42bf25ce85cde36369fdf8220ecad2a"},"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":"5af07795e42620964c8bb7afb9af48a50a14079a358fa9ce960224dfb1783b80"},"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":"e5c52d29a251cc5205a7c9d4b24d8b15397743a0521af277aaf32bf180daa232"},"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":"07818321aa33ab9e2e978b1781f559a77f1359d85cb98cf79bc7acebf9cc1ba7"},"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":"de7b5b8d8ccfc3719d20808613ad140f926c3b1a6f37dcd98c9f3b9037ff7e49"},"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":"d3cf9513e5fb009ad53519ef51dae115d16f069823e84c5a31e12e9f2d0a6068"},"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":"10b609132724bb17448b6043498621ad32aa8ed77bf96a0d7e39702f1777162d"},"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":"de8c1082bff5afaf3867e69412cb46638f7a8130bd0152ee08c93150eb6d360b"},"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":"32fd081483a0314fc2cd376b3b87cf05e94b445af9e1441809c5e0c9d832cacf"},"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":"aee41fe1145261aba84a0c02b01dd55627e64c2a6a341b396dcc716ac55453f0"},"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":"23f48176f64e72b9f56621fc4861ea713471ba90cfb6ada8e6826eb0c4f3353f"},"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":"e09bb124fdb61eb4a8bdfabc9e1e67211b36c6f0c3a7a4878353011d65633803"},"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":"f6f28f11012670536fafbaa764ca4f38431a41b5bb24ae386a015dbaa4903bab"},"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":"b153bd064b4c7ad828f18b95d061b16fcfd2e0ec86eb292096f572e657d32555"},"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":"42139ddd4f3cd2c4b018a9f2c772d074dd0876ad79029a5558672638275402a8"},"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":"28bd98c133a3363f6b081d8c399c3f3eb28c4a5b98bbc538675af8d7b6b7a78b"},"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":"6b7172c8063b13f0aa47b9acb6b8a47202f05bf216aec41fa126446716b50b19"},"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":"4cb08cb7bfc5530ce83d4be65f71b84b60d80c8b3dc5b7542879f9b4c028f7d0"},"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":"bca05a9bdc18c46ef193272a232909d5dd93b9b992e0a3e71617612a23940b70"},"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":"5e70fd24fd1c58563db8717d61efae27f59b050a141da5d6b8443f2a7f57f87f"},"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":"c0c89f5a72e26b6dff41b98ee1462ecb8c0c6d488e715d1b4115f0f93b0719a9"},"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":"8068f1d75bceae6ff2553a7c58acc9ee3d9978b9d7a3afd302e281fc85ea55bd"},"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":"3f778e66d69bbdc8d4f99553e5c07a66da4b4f3456f1b0524ab559f5501baa2a"},"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":"607edacc2948e636528b66d42999c6ec0282c8bace8a6cdfc30b45fab8045360"},"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":"67a6b6cc25b22e50de9972b6894f2e5543c6cb827c8c51afecdb5b4110f97388"},"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":"c346eceb72b224f35fe135fd39bcff91c4f2b92a727d09570733e4d714fadd11"},"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":"22595790a1f32311252195b43c42bebfff62c714749acda5bb009f56704b973d"},"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":"22e2408f9427994acca17b47809993cb7c85dcbc91266e5fb0d4d5cd3a2b7b72"},"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":"35ab5f6e9c6075887bf43bd026ab84f30c27aca433d9f306d120c41a7ac4790e"},"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":"619fb75f6aca28e7c648dbdd8bde0ea245eade89f5575c07ecdf0faf3e49893a"},"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":"2bda59be3900315525ee5e9e6b70f2fc36a81d950befa2c7c18a511b90b2ae17"},"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":"2a9570185ecc5d0e1226db77afa2e50d10012724eb599960d163f777d81fb2a7"},"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":"1d6014110576d16bea0c8f940d02bf3a031c9d046d4d40003204e9541500042c"},"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":"0b8a17791dcbbfedc59c918d75b3d50aed654a180f970ca917de6a76d70914a4"},"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":"d44a3ca7d7f885890fa62ae28ad20e064c64bbbba386ad25b3bf78c0cc20d759"},"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":"e8b7e068cb233e4b7693fc2287fe94beaecafbb24d80bb696d9499ff04728eef"},"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":"a8033de535790a299d1410976ffda274d5abf0cf2e3f4ea6be2c893512f8a8b3"},"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":"5764373d28579e98200825effb7d582d1fee57f464ec19c79bd04344e1a7fc04"},"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":"1c3c2d2ef0e03ee83d5b123932dce7d9e7ae233526e88633d468c517aff94624"},"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":"0b8205daeae7c4e8103b67a676b2fe0eed9494de68a56dfe6e1311c287ce4768"},"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":"e970c124266744ac4433cb8c98450b2cf07cf459f4d3112cb9bb4c64e809f4cf"},"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":"88c8c37f3ad2e30dbca18dad44cfff8c1281a194103b5773bd31811837e89968"},"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":"b107cf2bfbe7eb8a47276e573002b1abfd022bfa2db22795fb2c763ab25c3683"},"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":"a8071e85cd3b8fe74cb03f82ef2fd2d0e6fbbca08fb606ae56ce8156d95eddc8"},"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":"37c07e3e2b8a5a8afef64fd057fccc8e91cdfaee4b3b6d31b7a6cb9d0036fd75"},"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":"a5f593bb3dde0657d451a56325872a4e55f7e4c13219525809a81e308ba3649a"},"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":"16b38994061bb87e0122f932752f076b929fee08a4e83529b5ba00d6aefb909f"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3652dd3239668111014242d48692d19e969f285451203a95ebac73a510a95533"},"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":"c064d62c43bb5fa28e9e0f653d8975fc893287cd2e7d981b9f0e19d32815d1a6"},"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":"2c51a71c4873e809137c2ae6bc4a2d1dd249e1567370d61371f67faf82545381"},"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":"41f23e4cf2071a407f95af5fe920abd35d135122feee42c88c68c46aea08da6a"},"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":"a90422e2a5fcd39acf2092db568b97087669355bb83ffc0e7926428c60cd253e"},"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":"d8c283655923ca6d21d754d7a877af45704796d502f928cd94e2b23595fa3f69"},"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":"0d2f5c1f94f9d7841f61112cec7b93dedd670a16c3c03d4f6519ab5286f74d20"},"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":"8b7eaef427e40ffb8c0b591b943af77c8354c8fca1d115c768ad455b7fe1050d"},"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":"9f0fd3c1da1cc45c28c89205a4b80dfd07471ff3af334606bf2636d3f8b46ec8"},"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":"283a1719379a05bed0f647ddc95c01e2df9ee23aad58cf7aa68b434012b21097"},"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":"fbb311824ea57a3f6b18811766f3d52e27a22d1b52261d300701ef7476687285"},"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":"63515c59bc12365bf355ada6eb11ea8fc08d3afdf02c6fb04438fae4480ef4ac"},"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":"1df062be2e551789c501f057ad91e9b5af589322b254a5f18c811a49ebef59c4"},"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":"358cb7cf4ecba549c3a9e2cc70e72fd72bcc1d769b1a3bc4bf5c790a895a70be"},"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":"73899e17daea82de221b9ec7d5096de2faf7c9f6430d40d220fed9b1bdd0d545"},"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":"f1eaf5acc0611aea8ba1a72bf4e034bc6b3e73ec98d746ecea92f773b3173a13"},"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":"369867af603f786a570fbcfd4cfed500b9442e8a9142caf5fb13c1401bcc95bf"},"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":"5ecb3c6b4cc490b6196081e87842834ef3253da4b8f6532ceb945208b6d63545"},"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":"c041a42dfe7f04551504894a5aa6a56b36721a2223f4b670277b1145b2ed9010"},"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":"18349965b0cbad9866d7fe68c27364d05297dc6e52dd392ed8ded61bdb3a421e"},"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":"aff40900794b9f06cde7d172b94fbe15b70b283b2a514801017f995bbe5a15dc"},"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":"682774aa92cabb44f4542b6322c663ab754fde719b45abc0013597367bb76c14"},"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":"ff14e2858a650256ca139860225985576591baa4270ceeec1f6fbd52550c3593"},"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":"26d70cf97578037effe782b74c878c1b8488942ab57d7fc1ccdd23a041da5b3b"},"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":"8ab4181ab8663788ae4641a1c546b767cb459e1ce572ed6140cb8ba36285e0c9"},"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":"278e7b869779067f32838116bed2e3dae7447ca5a77ed6ef404caada38bf987d"},"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":"92c7bbba4b2f326d18e52cfa7f6779cbc21d79f6ea7e864b07f39b0e6850bead"},"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":"ecd488da402299633c071902aeef4284107eccc1ade306c8b065d927b700c797"},"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":"b23e3de3f243f402a478ae325189a7c3b3f4b8da557e4cd4c39cf1e2cf677d0f"},"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":"00c2f6098290b9bc5dbd8e6a9e777631c40c14ded881ae884004ea5bb036863e"},"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":"94b7d74fb4bef9bb0d0890f950bac57967d16857e3b49b82d732960020dfbb99"},"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":"2a594717728ae7930b7754154fe40db1f560c7628f5481dec131add256fe5ddc"},"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":"f0eb61ffb30085aa54160dee1555e29562baa141becc9cf27a62bb3a1863f522"},"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":"9204109c3bd021f5b92f1eaa21945ecfb7bfdfe50474e007a76d4a65d11e3ca5"},"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":"9f7da9941139ce7b8507aa0a129386027f6e4a3711144d5e8f86f59df2e49b72"},"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":"f36abc322ee1c5af97656e460d3e624d08562b5170a2d9bbf292084d5473ced9"},"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":"74aa043ee78274a3d5be6b5d83888962a44ec970d96fc86cf69b140a34f937d8"},"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":"ec536d8543c80149b87814934c221b75035d5f7d266997a62b99f4a83f146af8"},"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":"db915b9bbe02ee66ec4cd1e8f98aee5c6b1edab13cafa139aa14beb18d2152a2"},"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":"0b6a4156efff33c0ba8f48937529866e246328e8aa8bf3d8798d64fe2e02babd"},"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":"641cb00a8b96a7a80a99fe7ff91ecaba9b18918308ca4b2d1f5550de7971c538"},"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":"fa4dd7cc399259fc77378c1d3b7edb3229b5509e7bded0536cfcab3b8054cea5"},"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":"459aaa5ab483d7cb47b93b7affeec94a0ed8507ea394939c913e6dbfcc601f37"},"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":"df5d16a000a12ebb8454f94dd684970e953cf68be28530b1e7390d39d8d952e0"},"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":"9b1d0acbffeac527defa2a1cb2039bd5e00e558077b5b0965bcbf4730205a6cf"},"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":"fd46dfad8ac35ef4f8e903c3237b193ed61016a1160f08c5e85135cba7c4d67f"},"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":"5286905e490a896b8dc18200105bfe915f22dcf226ee3a5cf4a10dd052fb5154"},"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":"863e68632e8df36c05da19db5992f60217820d7e9228ebf54561d2b7e2f149e1"},"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":"4b7b2ba14b821999a071a720fc2afabd2cb9568dce3df20b15af5a2be8aab805"},"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":"19a3ffd0bea4a6191044a3beecb96a6b9484652c77274b3aa470765e6206ca52"},"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":"39f6f8552b1f3fb367eeece1b686fadde291625b98c287d231d09bcdcb52e865"},"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":"092be030a473a16dde9acf238fdc67aabcbee6eeed0fb247e9b8a4863a504224"},"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":"d8b6c70912dd04bed550d2af044f25648586799b9d1dde6b23716a968824381a"},"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":"07ba2fa3e63afee48c6b5f7a278eaaa84a7414a7cbee9c1dcd472c1192c5b853"},"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":"0de5ad94e90e3d42f28a15791ba50d95ff03fac1cd6c94d2730ffe82e26e7487"},"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":"8ba6615301af3214c2dddbf5f7eab8084435cc6517f6315d0817ccf8676f3bdc"},"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":"f405f32ad0a88950619f4e9de6cc68a278cbcd5bd3855283c3dd20a129189b3c"},"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":"44c650df866f42961c13e47328ffc69d3679a137ae56867a9339dbffd7ab8400"},"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":"28652b6d89def7d75e9f9d5fe9453f7573b566b7b6096e0050e0d56ac6a5fd78"},"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":"f72dbb55ded7d7793f9bf412e424d658a96d2069491c873dc7aa83c036faa9a4"},"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":"039f6fc02ba38a9400b65b9b47dbf148ca7c10252dd2b0fc6dc1b28bbed27d31"},"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":"c4a43972cb2647a05e0afcedb9223cf1de6434999493fd66ca735f4fb6778580"},"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":"33b0a860c8ec630f7f8cd2a0c28e3bf21a6a8531595989c06625bac2257c8bf2"},"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":"d4aae96a650b4034f002aee247bd04387eacebea1f70d74b9da75591a908f73d"},"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":"43027e63edd1ef822ec81801fc6ec13f7c4ead5f69c6a10e415160977d0480c5"},"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":"38f3bf962f72f14db259a58761fcc3358f94962093c2a098b4338cedc6f4106e"},"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":"00d1c66b09d2afd4a3b2c54298a7abd3f65273d6f8dd87ac36564356b3e016b0"},"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":"7a456512a1b52004560daf922a8a0a1c4caeab021bbbf855827638e498e60320"},"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":"a5d15262f7720845cb44aab9c691256fd07d72c369b6a7332a45e09828f0434a"},"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":"e356169a086bc785ac260f28b07d40d209560c0e3a448b957b706984b7c53ed8"},"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":"de4a33a07ffc26e43b4734d153ee3b4116814cbaf879e5509aa83ab093778228"},"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":"702c6971f08b7200dd783592f7c1c8dffd66733fbae166a583e7ac58885ba911"},"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":"b9708d591656275ec31c6d7cdb497d6ad1c52d3ac390b5e8a842a4df4272db72"},"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":"1b80cac98f9374140952498cecf6101a427e201911a6cf3286f2d00fe6059260"},"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":"af3ca7a77da46640f8d584bffab6511d32d9e2896d5ef976e45788289845a6fd"},"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":"42d026d0908a8fe458a5853c72e797b8fe1923fdd70703be7cf903d0924aa7f3"},"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":"222fe3bbe1cc059604e7718b3c8dc1120305cf6f6d63751b826a7b89de0f3abf"},"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":"fd9c83a2f3cbb1f19f82992335f8c1371470e881c27e0a59904cb8510762caab"},"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":"8302ab67f4e44511116bd5dcdc6289f7eb90b6bd22787e6eacc38766d743c687"},"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":"e2f42ffa898fbbb09781a1a0f19a27917559101b054ab4305e377f6b539cb106"},"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":"bf040772cececed29f249adff8307566d3a264ec30bce0fd14ca76e21bdf5300"},"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":"128adfda1f2a1e95310b2dcd68b851edd74388c7b901407541676eaff97d4dd3"},"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":"b6e6d13a784235009abcbf22fee0b692167ec7ea3c35d7fbd258dd7765a1b179"},"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":"9f389149147ad258eddec6ef51f507860307ea7db1711489d732e20c0eaa11f1"},"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":"150dd497f756f92e7c8ea9be147ecd5dfae56c8b3cd103fe91f19d5ac4e63041"},"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":"ed1038965e76598f56a6c3c1eb33b3c2c8fc004b89d46fafabe67afccce8ddc5"},"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":"83f611332a7b9c605c9f951cb48700a3f622d5be89a18b0b103bc662b02affa4"},"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":"73cb2cf030ae6483c3eb2f3d3bd5e19babb236b73406d03b4bbdd99fded7693f"},"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":"f6666d112df9821517c6fb554db352ed747d57e4e71db54d858b91a75a602e96"},"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":"3999a3fcde0fa2f1d6e561768698077b1f8877c1b13c3bbc765120cb27db514a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d74de873228a27fc43d20c397be5f956c4dbb7db76efaded399794a826c548a"},"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":"5a64f13ad5c7c706d1a9a393147035a57eeedaf1a85bce4fe9fd9d8bbed0ae7d"},"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":"8c0f1383faab06728fbed73eb4bcc23dbdf924cc82d939e40f895615ec0b5d28"},"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":"b1d7e7be5b7113b9ab88cce0c9c5ec9cdc9eea13b127820ba56469666f020798"},"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":"b3048562dbcd630294a4d74b73c923342f6c5e66869b40e22de27480964e1047"},"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":"b8e7252e712f5b8e1bf5036cc5b16c0f830f12ea20354936f15ea25cfcfb7477"},"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":"9d1f18b1587854d978ceebf2a68d4a02cef87d3272ff4bfd61d716d283937a6e"},"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":"bc1b97c8e5a93a2d5d473f22f50706b13bb643773f119ed04ca113ba16940804"},"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":"68209dad00df9781accc35385a520a597a95860a9e19b1678720dd2015d8bd63"},"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":"c046e9c627d007ed82cb7f2334d26f435f568ff8781c0a81a754b8019de2d225"},"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":"b690cc1d9956d6be72491ad0cdb9468a4bcef2b2c40e80254e8e7d6d2d6e2720"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b55ffecaf5d5383cab12752abd3963aba3d51ae78ed13694cde95d95cb4a0d6f"},"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":"18d410ab0d48603b9942b578fa2898e25de96aaaa9cdf571ae01f8b6a4fc0d5a"},"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":"1d86bc81fb20a23eb5eba234658e35ab347199ec6075b0ced4f8b79c09b3a811"},"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":"b52aaf022d3bd4b247ae06b25df9c79cead421db8a390877eba1931f0f0c8af3"},"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":"61dc6ed9ab2f21478221291e70071a85abe576d3c7f25f502edecfd1f5dbfc11"},"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":"4462b44d5e949fa39bb0287f3d8ff4566a1a77835b7f05e308d628a8ef5a4743"},"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":"5fb27d34abc22ef45400bef54676fe821bb0ab04da50d5c083da972933cbe04b"},"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":"15e4b65244a35c4fcca58d7b46b0f2e01e5d7b0d6bc737fdc75fa1275e57d4b3"},"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":"a6533f67eb0cc0732098c1adea9ff3af843a2b5ed5e913941f2f1232f603833e"},"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":"4a618d58559fb3be01a49cf492718bd9bc9b6a84883d78ec4298742815ce98fe"},"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":"cc4e660144d02e2b9280aa72f5bc1e4a5015906c5be954681467085184bc83ac"},"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":"f3acaec94032580d3ed7f8b26be3c574660381c8e4fcbfc93b0055fe2d481c83"},"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":"b8f3faa44ba17b4021ea6022b499ae7c651542d0cb3a121cc2470678e5a8cfed"},"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":"22cdb9737c71dd989257b14bfaac5ba3b65056b496d25053edc7c8b66ad72faa"},"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":"b2dddd8cb4df8c1919aff79ab5d9393214d8d4fe87ca1feae930da5bbfa200c2"},"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":"bacbe5d92ea9063cdc2076fdd9e5ec3464a91e9acaba25f70205324b1a1ba348"},"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":"5954a305af471c754442ce73afead9896397c8b2208970ed9ec540ca6e4ab730"},"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":"a7dcf9da874d38a0c765a8ae8be6c709bd17a8c5c8bad21809f6cf0330ff027f"},"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":"3204c1c73102149ada15daae2af6456a975fbcf8d9431f41d56bc2937823a130"},"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":"86f6efa1a5e6a7fa6098c5b2fb5e7d7d0799cc044c0147f43d4855d1ef87d26e"},"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":"396e2dec27745643387ab3927874bf5e863b7694760664a43f0d1d4cececb1a2"},"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":"dc5bca34cf69396d447980e25b4f3f4b69205c1f020043c4c69ae59279289845"},"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":"5f6fbf81fd664c90f77d2fd95b851e4fe6d9708570404541b66b640ef32e3656"},"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":"821f9483ec27f0a6fcfc36dffecc747727f3b714064b7d3c34419204c6d915b4"},"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":"541ba178af28b02341665aab0b65482e361c4af0b4aed236a5853fd1c1a069eb"},"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":"5587a8f6bd710a5b5ba4ecb2492ea23930ed2f2e73c23786bf55c49895ceff18"},"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":"dac1ffcb8c16e6c564472fecb11dcd778eff4ee7bebe6ed1c20ae4c8a3e190f4"},"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":"e51051535e1bf5ff69fd573156e5a353bb0d566524ad239817d7eff1458dc658"},"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":"36ac373ff8f3a51a5d9b3539bc5992675c9fa98f8dfdddf953732b9348868cd1"},"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":"0410a1f69f0843dec1e394a83967e329e475a8c9eb6655186a62257079a955e6"},"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":"351deb1643adcd6cc79d06fbf90bebc41b08e41ba67be736b84518387693c1c8"},"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":"272368e27c5df01f3fa93917d9485b1d5218d73b59bb422d3d177a1eecda958a"},"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":"6e63319d6afa6b9b5b751cbddb7bd2068da678439fd787e28b7ea9b2c9ed755c"},"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":"5d88f51f930757efd8dae31d9cf3505a3ea1fb76de07aea810903681dda54973"},"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":"0e9fa48eb129c4abc1c3461e392c61b105327eb5864ded965a7106134d25a1bd"},"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":"6b240cf9a4f6d3e09de04bd72a42e1b6d00376881ee3db88e8cf213a0127d55a"},"taxa":[{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da3d18c946b2dbdf8365ad776283673e26c18a2f3e43dc46e4878b4b1453b6dd"},"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":"6fc6815826054b54659010b12ce0b7e54bd30486a063cb56dd4e18d1d90b537d"},"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":"21cfa90fcfa0a18e3c9f835c64410a083faf987ea470231c4d3d721f3eec91fb"},"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":"2e828224219e4e42aefcf4ac71431b935989ce2ddc8d1cf6d218a91c17f242ba"},"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":"6c6cccb5b7e842ea2d3f224e7115f3796c7a146e7533cfefa4c370a568220dcf"},"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":"b08c1bb0b76bf6cb2fac38e080b0b5cf3e9d6bc7c8e06a9a428f26bd05fe03c5"},"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":"cabb73343f9d223517eb087eda4f2f7b7f973e0a094bb3d0699d31594212435a"},"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":"0368c23c17226c100981ef6eb39fee2c62e7471e9f9b6357939c47e4f8cd80e8"},"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":"4728efe58fadaa7e99f155be4c044cf7212deb59b65b4033062baf3d01a37982"},"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":"869b2bdecadac0c042f03787b8dc77db532bb75977e3723c25373f6d0198bf21"},"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":"3f7c6824060a4b0fe3c655c78d3ecb043355ca0379ed87794cb7ad49b3a86c13"},"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":"5d80554054f5a591a059118c7561b8164078eee457a60de6e41d2d80009767ff"},"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":"5ef37334016613420de0f25f0b04e81ffe040c663bd06723d0d24c259076a581"},"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":"46eebb9de80fc7257a5ce61fbee72039b059aca1aaf07f2c282372a11c492d44"},"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":"fcf83e6fc0d646602b4e6f76e2cfd02df0b9a10d51dc631f0e24bdce192b75b0"},"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":"10c292310452470f231e25e6a99775505593b70f227c4e43733f9df5062a9e0a"},"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":"07d87f487f61dee1d1b11f4e751fdf9d0fc2245e747b1000d676eb7a55707d9b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f84d057b80484ca7b8bdc39ae3aef2de300e452bbf78b6292e27c966cf46cf0"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15910c6e8c0dcfedf9ca2671fee6db75b1a8e7ea6050dfa7af529b1d983db058"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff0539495f65b7d416b2be13868bda6b870e1a96f5245b4d6eb711bda9ef70c4"},"taxa":[{"id":"CWE-1321","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":"f103c0c4a8be4ff7ef0423c894809e3fec25b7758d1f03d4b051d1ee8829f2f2"},"taxa":[{"id":"CWE-1321","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":"c9bafa5e414ba0344bdfa296aac4818977794f2a0aa57ff4a606ef41d1aa57f5"},"taxa":[{"id":"CWE-1321","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":"e60b54d4bc0e1e73183a83299957baa397abc27a6640f9092ff5516340db83e3"},"taxa":[{"id":"CWE-1321","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":"7354665a0b7b653c8da49d7814d7de2b4003780ab9a1e955fa758164f9cd844b"},"taxa":[{"id":"CWE-1321","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":"657f8eef0ace6ac5b98ebec309451a1c84c9dd56509364f0cd6b364eb8d474b7"},"taxa":[{"id":"CWE-1321","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":"9158c23ab82eb585e2c5ddd4d94498b341011e8a14b3e6807a107ba99cc43d30"},"taxa":[{"id":"CWE-1321","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":"03894f538cb5cb88f4eb738c836dbb4b840aac7160b02e447047855eea8d581f"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50e44665672247d611bc1df67b112ff4e52648246ae0f054134ca7665fb9737e"},"taxa":[{"id":"CWE-943","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":"83bfc6726cc0c275128e569f3c8f5af4f029b5208d78075658be86ef3993a754"},"taxa":[{"id":"CWE-1321","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":"f299e66837fffc27e965f7fedc3a658cd369104f5bc984d81f4238c332469bd3"},"taxa":[{"id":"CWE-1321","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":"657c25c5de19b467ae986243385b843f17bdd1709ec55dfdcc5a001d2584a5a1"},"taxa":[{"id":"CWE-1321","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":"4477595b98cc911a49d24af3eb42a4af5f6bfdf3a61918ad5d40928056f9f46e"},"taxa":[{"id":"CWE-1321","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":"4a01ae9b20ddc77fcb6e01d448b712a00b03438f9eddb4c6421deb222828d03f"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8c9e5f5832bc7ccc51a838499e501fc2250887303523cb9e9615a98507a13ab"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59175d0ffc9a8d6720a06fcd6fdce50fcbb4016fd2bbe86dbb3d5b3cd9f4808e"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"630404c4ca97cfb9e9271913920e27d88a56fb08d43886242f762ae38419bcb0"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c60cf9b73d9a19a19beda87dca4b9386bbdbdd6f9fb30eb42da4b9ad2acc368"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77fc85db03ba54c88c9828c31c8dc2f48ab66100216aefb5f9f06227dd8be1d2"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8f72452e8a68759413654b6b14fc2862b38f02ee66c194f1e48eef14ce085048"},"taxa":[{"id":"CWE-1321","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":"425c44ae2832d8858dd09c4679084d487b986af27c71239d6845bcd50418ebb7"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4931130412ea77af60bf682fea8b3851a5dfcba4e044aef1871c555f17b1a00a"},"taxa":[{"id":"CWE-1321","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":"cc80cf0c9636d714fbe4c6000b5449363a899ebca362ebf9f4c933d57e988497"},"taxa":[{"id":"CWE-1321","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":"dbd1cc68670b35199a970e9e2377fe51f57d6927be08600a762d66f46a4998d3"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bb6e163470c0f4bae06e663eed325524b12ab663c0ca220a3c6bb1c8e707e112"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f98e179aa3e33db9351dc85ece06c109dbfddfb6ce6b5e97c900c3371247bd7a"},"taxa":[{"id":"CWE-1321","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":"67dc5dfcfcb7770a1e5ca6b81db20e463d562a3cb34a1fc751f4c5d517eb59f5"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b7619ca0b0fab1dbf139f6f60fcb5da94ef00544eea7bce17c6d3464f5f19c0"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7cc372393fee664539e945d422cd71265980ada83ec7a42b4efe982173fb9165"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e4a11292a3e667148211041e1fb954484dd1231f20c5eba1f0f8964f0dabd6aa"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4123af8c84ca8abe33598b10d79d926f965c285b7fd34e46d2a225d02687e55c"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"29baacf7175730104ccdb38b4abe87bc1bba42e2bfce3a38c0b2fe19f011d7c7"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b2ee2dc6d05708fc132b7905a43778d63a782a9f09808ebb865007d630215fd7"},"taxa":[{"id":"CWE-1321","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":"dc7ecd954f587275db31cb0b42a5fa1b06aad57b4e8e9fa393c32ffc488b0867"},"taxa":[{"id":"CWE-1321","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":"acbf5d7d65206c410bb631ed1033ffcec1f54e3084666ac50ce56cae677344fb"},"taxa":[{"id":"CWE-703","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-863","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6d25807290738085f8e0db785fd965eb21c0ebb2bf2c94681fb00afd21252561"},"taxa":[{"id":"CWE-1321","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":"94cf14c614bf0ee81167d6d17fe835d30543e381536d8ffbc1353b5a281e2775"},"taxa":[{"id":"CWE-1321","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":"f59c03f1aab8f9e6b2846ef210debc9940e9f0a9315f240e98802d51458271e4"},"taxa":[{"id":"CWE-1321","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":"4bbfe63ae7e4ffd1044dfbca4148c42c8e0bf58dd5536e0f0919bb81082e9728"},"taxa":[{"id":"CWE-1321","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":"618f5fa6930b12b68a3ec45d4692f240ca14d049ef0788c2b52b08f2371dd3fe"},"taxa":[{"id":"CWE-1321","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":"4ab811fe6d50cb16ab68c7631ce57c01ae0469911e770657fc15bcccf65bdc65"},"taxa":[{"id":"CWE-1321","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":"d8bfdce9fd04db6489d9c776b0231d67d420f1675c0aaaf73e993dbdb3781f91"},"taxa":[{"id":"CWE-1321","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":"9f7e96ff7f13ab86dddfa193e77a63344564a345d3a7810d800178efe4571516"},"taxa":[{"id":"CWE-1321","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":"c5c4a192f17998febd819b4168ecf7ebfbc417fdd5516d193bcda487a6053edf"},"taxa":[{"id":"CWE-1321","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":"7962adaac9e30cb2b28522d97d831454a4f541eee1160df8f898f26e39fc595b"},"taxa":[{"id":"CWE-1321","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":"b1e7b2fe02e2b4f4194a9635f411acd154c5e99d281333904c3afc48fe1a8398"},"taxa":[{"id":"CWE-1321","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":"460a5b87a60c30673f82d95bf86106e19e5dc78bf0a3599e5d172e8359247067"},"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":"edb5be74c05193c9eeda9929d2622e17081e10b4fbea2b9bff342537e2aeb91b"},"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":"5ef5de914b250d37f52c3f1ce72107444e7fc09bebbb7314c94a8d650d576989"},"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":"b8b5b3f29753ccceb40f4395fa33813421a35fca2ac507516040a6567bd50979"},"taxa":[{"id":"CWE-1188","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f362bb7fb14e985f23d8e0b45ed59e959030dbcf5bc3b81898425d96eae98a01"},"taxa":[{"id":"CWE-1188","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"609f233f1518cb5573e84bd28ac3dd1ee272a0a1531dbb75446ecb512dd146c4"},"taxa":[{"id":"CWE-1321","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":"008e303e60520c7864c0c1aa8fb86e066a708f28336d6ac692773beb12016c32"},"taxa":[{"id":"CWE-1321","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":"c9e8d560e0bb0a54dd77625bc5970874f54788ae179b309d277b89faaaaeeeec"},"taxa":[{"id":"CWE-1321","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":"887181e408998db7dd0b168a162efc5d1da490f9e41cf421e04c476266258a24"},"taxa":[{"id":"CWE-1321","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":"09b442436f5fff6396dcdd1dd6e0b2681a5b5d57deba5b2011ddfa9be5ff01ba"},"taxa":[{"id":"CWE-1321","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":"4249765e253fc2c28f933767f0f648827d919d1921e82f0aabbc777966e7296f"},"taxa":[{"id":"CWE-1321","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":"cda7b0a86b0116d65f610b7fb0d1dbc12c5423aa442fde012d2c6e881aad0479"},"taxa":[{"id":"CWE-1321","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":"e4a224353ff080a242ccfb503a3bfa25f8f0c099bd7fbb391f7750423f14630a"},"taxa":[{"id":"CWE-1321","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":"38bc344107bfd47f2fd4cc35f614a36848393e283a0ed06330f2f712ca57452f"},"taxa":[{"id":"CWE-1321","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":"d39aab360c3117aa4476403c98cd59681dc8df96fd7f2285ee73bbec51f46a9a"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea81b233557b7f51f6e79cefbb5f3b70455145481c02d1cb55555514e0182f5a"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3d7f089f314624cd8bb10e7a4dc99d9489721948802144d3027a2dbfc4338da1"},"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":"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":"21c52fdd80971c46601b27d45d5947426e3b08c8e170f3e34a32a25c00ec057e"},"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":"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":"9af0c198b0473eb9d6edf1a386c43b928794daf8665c3c788b9dacfe9bf5d969"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"696575e37105fa7100e70c02de5355a5ce4a1db6a2e106f21125a5fd3bf4ad8e"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"21eaac01bebb50228073baa43830cad11c417395162f8b7e812aecfd48a3682e"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7ad03690c019a2aba00786dc0c81d08a0795d4b1a76ec55895fc90d3a9413fb3"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ce9195e6993faffc6ba3b8a918b0913f113550d90055e6eca9af946e34815244"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f6fee05ae562bdbaf9863ab44b0361a1a939f680c883ad5faf3510b43099e462"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"84df29221920f9effbbc6751baca0999d937a33b37959789df7ed91eb615313c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3fd3889370c92fe4df0bb8099897e8b8d53061fd2f15780df486a62ac80d46ad"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cbffd5bdeb23a6bbd040c99fb5a00a05004b35d84ece7d530156feda5b247ea"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e3ff8b951e0bc3b27a08cd477cddcd78379b8ad384c18614ac3f5fe3fa93d08"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f9a45a8655648363bde7a54411baf11cd5892baf2f516f7510efec4a27a609d3"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f60577e5a3e9ecc386fdf97fb233d8acaac3f8f0f81300c9af13a880eb705331"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62c4c3633bb4e6b569ba5fbb7ddb872239b242af2f048cb960007705cdef9b5c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1dfb48b3bed5c9ddd3e662c9c23509fc04c26c0041b48e51b9f59eb0aa21f8b"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"61d75665d5fd234fc058e39f3f8065cef974f62082c71e67375ac32142a636ee"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"036bff07781f631bbffa62066dce6294f393edd2f3e23b94570146c83a5cdfa1"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e09afdb32fb69f9ba0cb9ddd6e143c4d24afe1972d664f8010b602dd62733ac"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bac456ec2aa145b8d5693455146cb55a707af277e57d27236952023e9f410a8c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c498c965c720d8c30271e8736f097456ce2eb64b59c6e6c4af82484fe9d9176"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7680e9bea0cbb4996782fedb13a340dbf50f1698d070f1dd024c2fe820d57f97"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"79f4d5e644d5d8a1056f4adffa7fc04f3df3f62394d7d1874748249f0fbb7371"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"beb577d548c6a117aed295f9f4c95da2e51eaa84c88938ce43eec72472ec8b44"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40bd4dbb265c7f707229a2bb94e7fd0b0e41654eb474052efe614e14e4d1e3f3"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"78b0db0c8e66f2ebcd8f70d551024d77463c735e590eb74ea2809f9b4d8412b2"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"46b5f095fa504226d74046e3c0954fb5fa66f51aec4732bebebaa46178be496b"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fcc1a246f88b3625b1d9e863a967435ad2a98bc32cb088a701e1646e8d552244"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15dd7693477d6a291e623d93c217530dd4dfc39ea75d02e0d16e2b70d41a9a69"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cde860b9a06218eca39d2027f002e4c13a640f668f6b4bff9481d1fe79e08733"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"859fd431e4fac322c6524b55a09f02b003bb759ce82e15c4a07c6f037f56185d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"64805813d9ff8f514562c05c68fd454768255aaa223919692b9e27799cb8f12c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1abfc0ddacb06daf0fa23426bad113792cddb9d091c12bbcc588b66b1d2d0af"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae6b01dc763d3b3645292db4a51d24b40788ed9c849e4b2a9acfe34db8785c67"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7dda20f89667a9f5d8e7119ec2f48dad29abb396c36f43723c98088ff2700ecf"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"811e2c55c7318822d00dda940efd835307f5f5ff16a8adc98c4d73661555a5cd"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cd13fc2949b2b38b168007d1a292729e7d7d7bc8480e1b9db71ca47cdb9f414f"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47b2bc130f874eb83924c57c00c3a03e327d5f6d5a9f00fd848793debc2f6be8"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7d577089060a5d1fa089a3e9cf569826aff89d3dd8928b7cbab00bf4665d9c6"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2eff580cf56702402621a3222f48e394480be9a3f40f5a7b4daf7103dc658c76"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c662befc88cb8e16a688c35a7c307e05e5db1022fa1dfce6b3b6491c7c740316"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"03a8665d78e8ee62a52edc5fc7a92943f457ad16038ea41c2bbf61d66d810df6"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"477ec902bbdbd7e18ec04188e3ca753c0103ce6a647336a854da6cea1d16e3e8"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0acd5d3e664f3bc9bdb6c69b5eb5af7b9036a7cb923d1ad8f603a95b6f8058dc"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5ed80c906c80f387c4cbaf6221892de17d3a5938d7cac3b14d5494876280376f"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1efdb970242619276cc4377572af9fe1ebe2b90b6241cef5f4af3f48166b0485"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"47b65cf7b36c935280b2acaef6afaf4d8ef6982b25de89b3a0ac15476e756312"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a5849e9cbe66b4154faa2a7c1eef5c44c725ce91929dd68d2993446795faecd"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b02076ac2054f8228cd0ca1872ba18daedc2fd9b10995ac86c237cf8cd7026c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b17cefb547d9ae4d4a65c408653fb11b4f5dc97ba990ef3abad1bd49f28823f7"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c6169eaacb5438b72d85810ac972537da48072658a0e30f99fd456458483ce9a"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2ab5362359849865589260f8266e4f674328fc63f073ef12cb8ba7e457d74371"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"84fcd3520c41bd7c2a234772744ed21a937784fb3b40503a9d286d5a6505e1cf"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d34d26dee41949d4e376f2099fc75f2f269e28087c5158998c218595e16e83a9"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"62fd01aa338a744cda4a3a2a88010c83ca8837ec36ebc9f36b1face890bb5073"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee55f1acccb514d72b63587363146afcd82535bf0566571541a4df7819020641"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ebe374a2c9e59e1a0a083e234240970ae984884f70b07f57c6e09b83222ec078"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70d74a0e118cd0ae7ee6dbbb8575f8a7db22977b2f28158d9dd5b432126b5049"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5323c40894f7f0f620137ff4800eb614fcbb08ab6238f93656503fcf3948db31"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ac76d28bbcef2ead2ecd268f65727a598265ba5d20f05814b2604acc1c49386f"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d8480eaf731a205987f9efed9fffad9bbefde4ad2d7c8b34d877f0be9627ad88"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5fcf186f991be58a9737e9567ae83998d270e3f187f7271108d8b2cc97e9f83"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"557452b18d74e199d2b75dc430e278252eadf26ff1d334842c2837e81942bf8c"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3a36cde80e68903e6ec89ae40973513c0c7353f661eed02d9c4bd308e9fcd400"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e823cb99cd9ce3a96037304dc1f8a7441e268bf157426c6abcabaee6369c9c36"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f43bab508c6d2fb8d82c30c1c01012cad9bcc558b79a1c4114dcadd28185bf27"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5f9fad2aae36eb0156e182caa388e028a9f0a9314f72f1b004ce385e638d247b"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1df2eb294158a2ad251d15fefceed24774d9bf40aafc3a33a06bfd70383d5ebd"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"abd07a6f36ce1d7158def6c7311ddcb7652db3b2fa29587688cef34d06b50f41"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f50f83f62a9d6832663be9f8ba56384ce943e430ddd9dda684e0d99e954aa5df"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f1af12e4fca7c148afdd39f5b10a164f1e6c01ef080102d385ce098e29d80e7c"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"308e1216b202660fca282382238a811dccf8d62f03d821b1faeca4549f059444"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9eae791fff9c75ef0e86d2a2b1a3c2ccbf80392af83c6641151cd85a50b1a213"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"18a980c1d6ab0c76dfe182606a97c9b3d0ccd2c56cb422f65f13e6f6975e51bd"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0a9b9a09076700609ddebb7346b22b22cde586e9aecac1a88be686c3b06f33da"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8e59f67e2786b63e4ead781d0b44fc3d84fad1d77493722ef12d9352eb5fb155"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f3e8493f9cdd47f2e18f4e66ddde5d15e457ddc9a7a1066e14451c2e13965c5d"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"e0a73da8ecebfdc16d701bed030ccebf2eefdd4c6b7f9889fc5b12b82dab9344"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9d2da7292428a85da4c48889456a0cc0a349d8751230db8493febf25e337900f"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0595875822f3499356c2ca1324cb5252af2958cf83c95c4f60720f297e83ab3f"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"9fc2e0da4d172266f89f9a74d373ed79cd8cef46771ab239ce8bafd7e87d9eb7"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6b2bb1fca8ecb7515e96db1c77bfcd3e3447b2c611da010923f724c37e4178a2"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a6d71064ba3af72968711e1abfd0894df63b40ab43f4f1ba170f47e9a782e217"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5def5de7a66b264b491a1d0d64ed067f3b3953777495eb4cee6ce8b2b8cea575"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d7c7cb8b7ab57ac8ee70e72b8495762f6ad3c5c849092a767a959fae349f139a"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f4d1a2cee93b76a1720322e71db92d86bc8ad6e085034036bf37239d3b07e793"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"82aff62defef738826b63c6d5f0316ab11dc044d2e55105c7e282689349e5efe"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"01bfcfb4e021822c586689670cb2506ca0c3197e3b480ecfaee819870978d38c"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"51ad987a1d7c1b767b1b113d7754627bda26adbb3ad3174066c9053bdffd9f93"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"46080e07d45e07ccb2f7325460713fe6084507886e26f3c5196ed144a92b1085"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c6b655cd6d42a6b6571303754fb76f78647ba33e0cf7e8c8cd8b3530c290a994"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"776460f873eda2e8c1be6d414fe7ae40476fea2b7c96065b174b4c8e3e2572d9"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0ab4ff797431bfc0b6687d796b4d433206211ba5433703c75f4fd9cbb3bfbde8"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e107ef9bbed4906f5ef49973bd6f1066184aac5bc5941dea234d75029ff3db6"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2839b56501399d7706e9b9c10f31f15f870a6d8a01cb9ad5384c756cf3c7b6b7"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5015e7ba92f2cb4bff4b508fd0c499bf39442cf9276dce42020e44b54ce9545a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eacea26f3da7652df39769cef2a093bd7f2ee2ebf448038b57d0b7a3d82f4041"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d2e93df7482cbe2e5e4da58c4ea64541f02f25c86de8eaefb9fe521cfffbf929"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c8abd62327bff1addb1f5219578b4a19752e9a80bcc4290a66ecf7b131cbbaa5"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bdb4b7383d4013a7acd58d58fa901c75ececee389c68f9c1fb1d60f4a4899372"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d512c8d2a28ead5ad9349e819f9ae58da061d662d342b27d7d1d97cc4aab1c13"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8889821fca86df84159eb959720cd0e4981a01bf9ac503f88b3968391f110b79"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c25bb0577fcb81e7af975d633fd9465d9685454760c8741c9937bc7aa8e0ff2"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c79b3da98620d3160fe813a75c50f7cf875c66ed03b034d0e7d6363484f0f040"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"589fc5e8b2f34cfb04339e0d2e2810d6f442825035f1e772390c55ae6139de25"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f9ca9eb12e48d94130f36a8850c0d1606c0fc84e9612ac322dafa15eac86ec7"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a69c3933597302fe5ccf85ebbaecbe8a88cbf6d01f942f6e6009505ba8838679"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04044b7e9e93cbee22f7e9dfb18182879789ddbc9c5176c80a48c77bf2f73179"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"719690b052caeec35d8edb23abe932e3f573297b9c396d17a813b2d188a79a74"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0663ae66e3be974c83e6ac3bb9be22e80529f8f9cb7316879ce079398b4b3e6b"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f785b8fe757237abb5bd1e481756f265e7040fb76d1c049dbe81a6dca0d5c789"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5b44fc72a2ca608253e75a776cf2a5f1590e5089825825adc8d575dd94e7ade"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cf41a9f1d90d26e68b587e89ea5fc1954b1afccfe6262c0bfa53f94bce1797c"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb1ec25b6f93c01ca85693002a18440232636910214c5c6c7ea83bf3a5f0c1ef"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c46f7dd8ff0ab5954caf177dfc3e86e5742052da1e1ddf1dbf4dff81ae3c6437"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"588eacc0c107bc6001955dad9402102f24fd6b7c38fe77fa338fbeba9982b109"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"badc20ab370e445853d22e9018c93ca3e710754c134e824a83be3fe96b1acdd7"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d53d9b5de08b6a9f7aa9ed4ae4b244adb1716737c80f3a4357cc3bf91848bce9"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9df61549b9e79279d31a8a2add371e70b62002b37864e39171e1e80fc1637dab"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1dd35ec13ce62c2adfedbe6019d0666cd64cec3409147a2ecdb26cd274fe446"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"681e67a58ed624de3de9045e4669afd66ee440cd440dd2660d9b30ac968b6843"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"42c1346eb1e5d7b7de3c8ed3c7e015814a21aaf8730a746fef279f26c813f03c"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"77c19386f099155543a60ee42920c4d60c1f44baa8117873d64d78d1ca6d8c8a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f1ddc86cd47d8207c473e000024eeb8d11a79a4f8cae7d87615417393444d870"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"82298b46b9f7e4665699f4ff21fb40aa347136ac70916f3d2c4173326ba91cf8"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f50de1e534dda2bbea94a6d0106e1ec406a5fb1e60f5f917ec41021ca020e631"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54775028a1bc30798de43b8e2105ccdd0eaa18fac572c811e35dec2c91462c46"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2375952c7e8e2ffe12ada86d4f40d248ee3a631a71287ad2cefe4345f4ccc207"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fdddc770c1fc346125d2b0c981861cb0a42b14efa729f3c10174b2c570846233"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b87d84425bc2bd60d0b89b4f20f67fe2c2ffb18a86a7bd4c99335b22a1792a37"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f4f8f9f94b1ef9556f8e954a18bb2b28e0c6e181d55ad2e3b7cd5051a59b64f"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9c3ba601cb21e5a7d1b82d81ad0f922f12cd779f0ed342b4d5db85df892ea61"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05108caa9437a9af46d0d3ca2ddf8d9d8e5091b0df8691cf0a44744eaebd1337"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54dde23a8095c945aaf8f2c023942bdcf263e546521d5d1c9feb9d1569a4599a"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a60a2a20656ee2ce6732683083004e565442784c7cce23cdb00ae75e2799d934"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eaf8abba240728ca3b7b27da9c6b306c5b779a19bd759c4c98844dfdc5bf5c17"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e9ffc5bd888276355158eddea4a1c5bd815bb2af34e7511394c843e2ca000c5d"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1698493bc6e596ed7762c9bfb6b01472aba77d78d94543cf2442f19a401a23e1"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"762519cdbb539026f3bf51e519e799330bd157746fd17d0d61cd365fbea9db0e"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"03a37f2cb31ac826ae481da5620877ce3c823d045d7ee1aa25452ddee812e774"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5b65158c0e4f0f03fc4744f7edfce2da9fe64c24f1cdcd24fe9c5a0d2929d4e0"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"faf5f0fa5d16ff60910d17ceb4e66f0b3c74bb0ebfa2fb614f7637bb2a0b19b5"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6a51e6e1730277abaa140fa991a49258aa3a6e1e42e2c1cf3fc31b0e2ef99d41"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"323dd662df47cbd81abf32f5e14c64e82aa26b0b4adf0073faeb8ba4d840ed2a"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ee5c9c39399e6c5745fc2ce04b541b91809b8230678a8f5abf51ef32efe70d30"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e1208b56aa3bb4c1d87a36ced751371ec85b61d1061b97385fdc1f4711404c9"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"344f979d1cddfe88fb43df4c756f94ebfbcc7d8e9c30840321594a4426d7ec65"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"751602f48b446e8b60bd9ea67ec861432dd632df9521b3e41636fb5c9eeccdcb"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab3df306e4322929d4b013eddd9dd82d70c96fb340fdb1a9175f9a478fbe7588"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8097e86fc348e0df1f3a4888c1521fd8a240849349bff69c740f6d1e8a76f160"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b24327cb4d5b79e3650466af89cabf6f35207fc89ae20f341f7c74cf62bb2ed8"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b75fadc043399843e96123ce1a57ba2c094a0239ccef58859bb45d543e16c287"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70283280cbdb5eaaef499e465089cfde0c0ce3078e0b5b2d4425facb260ef2fd"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"077aacf2d82f2ff77c2d1fa9a1e8d15bb32cf6adbf1e84921e501d4add1b0823"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a121e19330740825217c3429dba259758f80cc30bf782fb8ad3414fd99f52d0d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18eb630c18fee103de3e91ac1449d16d6eccfbf4b5f4da4f172abd150f81b36e"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91a9c1cbaedd1e2e9d132927267aec81e1a95c73b11d2b141a445fb77651d9c6"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2c261d1c2469d362f3fe17f2ddd725ad1f6f6c2be07c36011bf112fa301568e4"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e1b280bb88000d662c83303ae79a6e240668ab9c49cca2688b6fea1a4385e272"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"05481dd4933d44be6eabf1ff6dac7e5926dfa35912d354c0e2b8ad575c866673"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bca49a37918d08ce0620125398d196b79e05b01da79fe1baf7b1afe5f033ab98"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c54db7a571f9f190f6e57e108b15c6bd0da5bbea6e2e2fcaef2695a984297414"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4aee8a8f7c66de01bcfcbe6216ecc805fdcb8bc2de64a448d18f86593688347b"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e6764485b7a7ede0a9dff2d25a22be2657e321a98333ead3c8bfb4e4aeb88285"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"70065171d4338cb54d5f0e40d16f4dab0e1302dd53b12b1f7c200159c0da9a3e"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"092999bc3a7feee142ac01bc323b6fcb7150f5132484ae2bf9506653dece0304"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"bf3a594888e17c1e36dd78624962b3e795fae48fc54689ee2f1f7caf8346b620"},"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":"2c017789600fc9433424f07ec3e30b171b5a85f83348d4c6a7275cfd338f357c"},"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":"a85a711136ac7bcdedb951bc01ab144631b1c23348e4c4609aa44ccb81b84f87"},"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":"6319d5141a7e643da667e5f78cac46ca7209e6891ad9d5c7638dbe0fb4a51533"},"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":"9908eb65300520929276b3370d8f170b78282121ec4e932f9efaa1afbfac95b1"},"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":"6b408c99a7f00dd252a247624cd012c5ebe024891314e35ba90f0c167b336aaa"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94b7d2bef8344b8aea62ba4e8f3673c05e18e9a02d6cee7b3698196f12448832"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4afa8e6c29693fc5743249bd1b31f2340351d76911828d6f518fb3cfd3dbd5be"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6048dc4829851cfb71447a5100d81a2522920d1a5df38ba61af26055e03c8dc9"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"40144b429e8c770a5ea19920abe679ede24ba84811dd50f5a2a6997b5ae7260c"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b1cd1f1d1ef77f735de5bf3e98ceb2ad34d66079a2b42c61aebdca370ea024c"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a82afc4f6ba4adf90116a3412604fc82ef205326ac6092ae9910cc104baf9535"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa9ddbcbe329b1d1f8aff74ec6f9228a6bde396da1d88bd63c32406aa67cdce5"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d9366d6b4a54f998ddc5854002f198338a7ae036b7e41e7b511722628eb9b0b"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f66a66019918ea42e35b70727f7cfc4849b564eaa0ade507a807f36760fe497"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"240b09ac491d2384c24fea1b185b32bffb79926981519a850d515aefaa935d93"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0500f0d4fa4ad02795a54fa5922d50806b4fb85980782205e8d06e6737301d5"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"76e95e6c592bb40677d1070a581a22173498bb99ccfb92d3ddd941f162e4762d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91409ffcb2d8c9e49cd3a434383ed8da833d0d92b87524e8f5d0e9ce2ea4b69d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab975ed093c95d48e6e4d5c0e5625378bd658c106eb09bd8f05637e523c870fb"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"34da5e90d26c0b85679f8664e902d82f4d0e46a8f0ff0374f5ac114d7b9885f4"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1363a11b654292c98237f952d0bcf3c33d8c28be67be74cc0d62ec29f5dd2008"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6228a98d329697bc4ad70fc8ec8a2bb530daeca28697427c73dcf87ae5db8314"},"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":"09efe55fe452423ab25e501af485a6d26407109baa16a21674619914a1e8c0ab"},"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":"9a641ee88a9bfc24ca4d0aa44f21cf92b1bc2bb421ee9640d839f1094e8f5bd2"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ef53812dc4ce238732ed5f25a137d0f26b43af3c773cd90d223380c016a41240"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"24d1aa043bb1f7b67b9787e32096bc3ae53e18cfd5f55a7d54a228022de14118"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d7166104af8a781f06008f8d1c423e7c35a95e75d0c30f34304d873c8389384"},"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":"567cbc0a595ba113a65204e45bb50effa2935edd3394aa898d21e3c1eeecda7e"},"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":"e79fd703e0077e3576201ac0c9faddd0dffda380acbcdeb999704db7ee2984a3"},"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":"8b65b5ad5ff5a4eb9e9471b85d9c5fbd619a82349487c18c5ee977983070ff02"},"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":"53ed742c11d8f2e703ff21bb0c2ca68b19a427eb2d36575b8d6d996dd791dc12"},"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":"188a3173ba4c10572087ac98687e81beb7a2c9bb76e3ce26037274b7531e28d3"},"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":"7b103ae8dbb9f5046f1535a4b3ba2bf6e1d4fb68908fd0f5cc49064f9929815d"},"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":"c388a4e703dc9ea3df5476e337e3d8ce234729970b194b2f474eceeb497e6b97"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a31e6fd3c1c71a3fe42dff6bbe7dd517ed87c96180eb064a740cd2536c5429e1"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"eb6ef8d3f3b15f51adb697a75dc8fac19edc53d7a855148145dc589cd03e0615"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3b1b1ee0514baef50b0dcb373fadd18cceee607c7f54ae6f044c346af55926c2"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2ee0186cfec785e8e8a823c7da6455be0e75266d158376915f34641f80131f24"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3b200987c49d3e3c347c3b9c875810709fdb025c5ac38135f9dbbc05e72aa1ab"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d597c55c15ea6644985a176c9dea8e603722d3e0094e91bb2c8d0b976a2a809b"},"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":"0259c6f8645fbbcb317ed93604bf451bdb39c2405ca1b737ff159aece9fa1c43"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"651cdbbf138676b5883f7751b58b84b1c3e309dd62a888ce4e0845fdd4f4be20"},"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":"df9d0ca3b8b89664db953a8352920c7f3d07a48de278495036d5e1337044c9cc"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"25a79db4cd43d06b0d5aaee143fc5c547bfc1acb388b46eb0506e37439537abb"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"155ab71383d367b39c382a208c08e661a7f63863f597cc3275c6433301f2b620"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"18261a37a0606c4df2d5f38fb8ed5df6958dde685dfbb3afddd4ebddde4b01a2"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"76059bb10fb981aa4abc7e4541ed574864a1e21a7a8ff09e3cf47673a53c88e7"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d5a546484a03f9514c00dffce95be7acff4e389d479228a82893e78dc397cfb8"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"6141465d960f8ddce0e2dfc0cf70c58e38ce23f0d901419f85156306f665fd34"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"622faec2a49959eb63bf60ce389ed00e08486339a06dcb9e7c7c18f2b57a5444"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"15d184ea7b2cbaa4011a75a008bd7eee93f2c2e269b229e9c21fa20d8b2ac4f4"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"d8c88aea1c31a00277fecabc6a2fe8cf65d16a0fd42bd2c159970665d197c120"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c4a2e79c187aed1013ae0f1c9d8bd1fac080ee1f73d32fc5ad8deac93066a652"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"24b8f56d75be1e6c91535e366d020411da4c15afe13fe929d181bd458a189150"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"43cdf9fad8e5f57433f4e76f6b26f31f2728314cf9121bdebcbe7f7b7a4d5d0a"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0bfd8dbbabbbd7c5ee2076528db7d8be0ec2c0c4729f8ce0076cb54212a8c537"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7aa9a97085f2b2b2f3ba4e72613ac92914977a848870719319cead96a0e91737"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0bdedd575818092b09ee4614d9dd493e05b51c6b5fbeb9baa43c60b5681498cf"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8481110ea9681eaa4e15e28134728e083e76ae345183068f1603a255a1036f62"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"3707453c519f36bd450a888346551ac92a875e864ad8be4653ebc8acff4c2b25"},"taxa":[{"id":"CWE-310","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"71b72b2c71bc5244cd362f72406d0514ba0abf6c7e2ccab8675a72fa212b343d"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5e59444c338cfd58e5666ae9e4252f6b8eacfa35ae300480b8bcb452a6207f88"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"414a0fc5777ff758a1c0c8680dd7725956a6236bcb7a73af2dd887979e0ff7a7"},"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":"7aecd18019291b3cea66ab1c17b9c341eb30862aec1a5cbb7cd98c1a0e0ecdb0"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7ab2474ba73a5db1cba5c684ac7e4dc36a01fd48529388b2bb4f1c80aa4e3bba"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"766f0b18b805e9b962bff3464727105b9d76e27e12f8fbb74651a3b6098a1a88"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ddbb8aaaeb2993236f57fc83f0d54b331c76a4a5ec2df452fe1d273b257fb921"},"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":"7204866a57797a8d7b77a401cb415cbd53a9e4569137a0bc111ca6852497ac84"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"c3707048b2759d03fd9aee7c9cca1f2f36d031777492b33d45b7f31a27c213df"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f26e3e9bb9b0d5359e375715628fc45a3b2cab5ee58db8b7693246787c9782b3"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6fd4502c3923a6f1b42ccbdc153a15bc4c75855dc2d98a66cf0da49a5d551aef"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"89e26d16151f1b290ba37747965ce3749cafa4136ac4280976ebea1f0b8ecf37"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"a8ff055daf525a45ea76743035df4efd17bf9fb4d371b86945f51302039dc966"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"2c81fde3c36bd5923ad126854c6bcbdae80ebbbdcd28554d0695c9ddf68ce3f8"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"5ee3caeef73572ba4457b2abd03fffa890357b96899a4f5ff8c35b6f0b210e26"},"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":"679fde683c557229bd43ace5b92e32eb26562382486e1fd064ff454e8bde47dc"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c5132b074eb9336084f18561b5fb50c19a5817ec0d1328ef7d4d9bf130ac2b1"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68374fa05e8f114e2b6e983c1bbe45c4e5185d7f24843fee6a540d8d577a162b"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f35908845ab74f0614ea9bdee139876a9970f2909889ed4ad52043d095270687"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"7782179ca8d1cd2a9749266d9b6138c2154945fccdb633dc3e1fa2846a517053"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"96b8788ba142ee0258e8ec9bfe8db10b19eedc8ef4701a99f64045e7730e7f8c"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"f3ab97a8377b2dc839a512e48adc69e31b899c7c616fad5f350a5c34525b3f19"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5dc63fcdc472c3c0a884e940705a322dfefcfcd7327f7585ab44f0d7f3eb03ea"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ce0b5bd986bd96d0fda79b1ce6a6f8131175cc17b92b93416cc6b69827a4f73c"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f58f195fc89a17c8ecb86d078bdf56f098d7046b37e4187cfd82336ad02ab951"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aed61b6a9bfb010c10853538b5623e3d287273331d128a01274c26a4f464c3a3"},"taxa":[{"id":"CWE-209","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e8386fdcd73dc320fb8b19d31ae90fcd223a943ac2b55fc779bc5730c991ca6"},"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":"c80b02b329d14ab5a1d1f63c6eee6537ac29c115d4c605eeaa24097099f05e63"},"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":"492a214462dda61b29793fbfbfb301b0e453eb6ce4d94cd771b7fe460344ac1f"},"taxa":[{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"10bb226c0ceaae4f588d94347126ce715ec37170809debe668f0a03113f0f5ee"},"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":"1585f232adb941e2722611e150a796cd77bc36445cfc2d8942e38e81507c997c"},"taxa":[{"id":"CWE-248","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-755","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"038e57f0689d985fa19e02725afe6fc17066b8815955d9557fd51917e10ae54a"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f5fcf347eee96a813e9297670058b9417ede6dba434482a0704077ec645080c"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"67ba9499bc137ad595a7ec96aa52832ced130be182a61b635968c537b5ee8311"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec4c9ebf8569779c63866067dddbc9a77188ccdb2a5d2ecb2437d5f5d885c8f4"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"98a26fcb399764824db1eb96ea1b9d753da11f712cd92cacc59f72e750bb6e08"},"taxa":[{"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":"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":"f39b861dffc4a8c586e691a652e8fcde2df3240c09e3ecf71112069a6cfc3638"},"taxa":[{"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":"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":"2664c229800a0f48d3e211557754d1ef9cdd44252467083cc19e2af4cf796329"},"taxa":[{"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":"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":"227e255f8d18bce05c66ac34be47d4b41b9410fefc425517d6c535393ebc2a00"},"taxa":[{"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":"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":"cb647dbb2183087c970bf21a619f1f20183832ceb3fc5103e74afa9fe108709e"},"taxa":[{"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":"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":"82ba1c9e2a1f18aaba1367128c480bab7d5807389d05a16f4b4ec6538abd83f1"},"taxa":[{"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":"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":"c67ea90b5dd7c8ac19d97f576c24aff0c958ce0190748850bcd8c9180dfce3bd"},"taxa":[{"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":"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":"ea14f5f3aae5e431b67f7429b3d83e3f7bdf2100149205a79a0d70695debda2b"},"taxa":[{"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":"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":"6abd20c2b230ade78a5013b94917c1ea1e0e7de6ea65c693eb2069b3c254fda1"},"taxa":[{"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":"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":"2c11a4cf6df564cc2c3fafd4c8183919a024d4a6d0f6180539e76bd7af98b5a1"},"taxa":[{"id":"CWE-16","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":"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":"a6437c2a54cce9115ee06f989c2ab682a86b8f6aa971938221c44e595c1cf20e"},"taxa":[{"id":"CWE-16","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":"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":"fd3ba6ad68c42a5f2972d5f974556e0119efddac930cfd8fd2febeafa737c93b"},"taxa":[{"id":"CWE-444","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":"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":"844dd6eedb78fe6fdd0ffed8619c3b425afd413490724c57d1605a465838b99b"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"054605a79af3dd40c666c5456c42171a276c360314c7ba349eedd8d2e3dad9e6"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f0fdac84e5479fba2c89259f84d6432fc2e16d3d6c02ee2e875dc4f982054982"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e8ea5a51052edeed8c02e74a546e7ef168e101b887e5632c78d43c81e1dbb996"},"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":"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":"c37cdf072097028f20f4b9abc6896abba056855dc7f946e0ecd8ac00c4188d91"},"properties":{"dependency":{"package":"mongoose","version":"8.24.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"api/db/connect.js","line":5}}}},{"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":"b272678700129cb4a1c06960a48f2a6bbd6e9dbfbeda3c65bfb7ea0b3f55c02a"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"scripts/dependencies.test.mjs","line":150}}}},{"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":"df9e94512b115ae9dbe57a66526084e4086de296add540fee86575a9e7278c05"},"properties":{"dependency":{"package":"re2js","version":"2.8.6","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":"4f124342d4767942f363bd943429d090f4b812dee231c020154373a64c5c9e71"},"properties":{"dependency":{"package":"xlsx","version":"https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA 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":"6fb9e0b565de116076768f6e6af3f5a1dca8127791059cbdaff1f73d0e3a5cf0"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.1","advisory":"[CVE redacted]","reachability":{"kind":"production","file":"scripts/dependencies.test.mjs","line":150}}},"taxa":[{"id":"CWE-201","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2b9b00d660261d2fe7323e76aa9681210c466a35cccb162ce9d388c79c186a16"},"properties":{"dependency":{"package":"xlsx","version":"0.20.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"production","file":"packages/api/src/files/documents/html.ts","line":654}}}},{"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":"e50112db609491ce3929ea2f7427be91dca55db0f51cb3c3bedcc8cd204b9d99"},"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":"4928b8f00c6e4b8e8a9bb87da7d061eae8955d0a1d6925a5d90ca8ef83735870"},"properties":{"dependency":{"package":"glob","version":"11.1.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":"3f96188a823f3cd84031395d926d42b912634d6ec23e1c8c4b6cf3cb5fd8a6f7"},"properties":{"dependency":{"package":"glob","version":"13.0.6","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":"b35d653140e2db8d8d074934d5a01703fe2f94d4c2c5aa06161c7e55b1ce629b"},"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":"31d5ea2d1e65b3b451d31c8040606dd335fcb87bd6570d8994ec97b8027d7b6b"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","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":"d935f8513ca101082062796ac61ec676420be48786dbe1f73f77b371fe5c7693"},"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":"51c540292588f02a98f6281eb14bd2b3a0e0fd43209f037196806584261152f1"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8320cadb979c9af5c28e29d092277ff915632473596c037af5833c43ec4d8ad4"},"properties":{"dependency":{"package":"stdlib","version":"1.26.10","advisory":"GO-2026-6859","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"otel/langfuse-fanout/cmd/langfuse-fanout/logging.go","line":22,"symbol":"http.Error"}}}},{"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":"0d6c5b5d13c6626fcb0614f18c316441325ab029e22091bf0fe672b351138186"},"properties":{"dependency":{"package":"golang.org/x/net","version":"0.58.0","advisory":"GO-2026-6603","aliases":["BIT-golang-2026-78659","BIT-golang-2026-78660","BIT-golang-2026-78663","BIT-golang-2026-78669","BIT-golang-2026-97032","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","GO-2026-6610","GO-2026-6611","GO-2026-6612","GO-2026-6617","GO-2026-6860","GO-2026-6866"],"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":"740ed7218dbd5f07d6c13d84a08189e1517f750bb0a72659a8db408fac5fd389"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.1","advisory":"[CVE redacted]","aliases":["[CVE redacted]","[CVE redacted]"],"reachability":{"kind":"unknown"}}},"taxa":[{"id":"CWE-174","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"e95852cd388c96f24de4c2686b2cd75322abd846d9f7fe508958518ab0b9b9ea"},"properties":{"dependency":{"package":"@hono/node-server","version":"2.1.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1d2cfadd5af168c20c7bd2dc26dedc1b243dd6d5a3cadab66792a13c44405fb6"},"properties":{"dependency":{"package":"@opentelemetry/instrumentation-http","version":"0.207.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"production","file":"packages/api/src/telemetry/sdk.ts","line":4}}}},{"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":"b57bd94a9054ab1a78280337953ab23bcb5d2500ea7f4b4abe8dc82a1ef1d633"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","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":"16bd6c04e6a88f19defdb625db0c886702f487ef63deb78d527e2b7041bd8a52"},"properties":{"dependency":{"package":"hono","version":"4.13.13","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e48ac159ff7e45e7e8caf46fd08634e372e75c9d630e99e5dd84a5fa49a5f3b3"},"properties":{"dependency":{"package":"deepmerge","version":"4.3.1","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":"eb5055b3709072c66d00624be2b6e901d3e4f1bc2f0978ff3fe5e49d1c0155eb"},"properties":{"dependency":{"package":"elliptic","version":"6.6.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"package.json"}}}},{"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":"ec89ce89addfd63596bad10287daa391835c24bc2eb4b7e511ccb3ecd5d24073"},"properties":{"dependency":{"package":"fast-xml-parser","version":"5.7.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"35bd835fcf003cf3a7b49b86bdff9a197a4b7f04ac962e67f6482102c80b3d29"}},{"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":"f8ac9faaa01da250bcd385e57cf8be5b2831c41b038b4e7071e2fac516afb3ec"}},{"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":"f631c85e34b0493e64909c787e3543703e48f36fee5968ce82572d054e5995ac"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d8092335e69ab7a7541751dfa347951a4fad6e80b2e809396d748ec862464973"},"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa3254a79689adc96977afcfccac276004ee9c8970ab4f89c2799924898530e0"},"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":"0dce5c76b4d2af805a1c14a2898709442a23e84a1900331e33673126123a6e00"},"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":"5cfed0ee4e80785ce23c7083cffdead9acc6c64f9dce56a00ca7178bd3d7bee5"},"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":"4cfc9bb443b894c9a451861e556bf97eba8c4434c1d6d309dae2aae3eb923809"},"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":"7389429ba897c1e7827ad8580173ebd11ac071139cf417d10b51dbf14b9a0e3d"},"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":"ad477578f6dcada83e5ddd2f8fc111ea1f5a8db344b7843993b8f359ddaeff36"},"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":"0c99c50d9468d0e30e72c97c34951f7e30d0b1db690b461aa24d3fef66b94f40"},"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":"d08bdaf5ea6479c4ec2d7400a3789303b8d50486a55da384c479080e6e30d1b5"},"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":"9ca844c77e670756f95db1cbd81babc2ef2fc3535cfbe2e3b7f543adc5aaa6e7"},"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":"1d23d102b15de58063054c676ee9366b1fa5ed5b2f7c2b7445883d3106a25eac"},"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":"525bc626cc1637c6c9418c4c7b26d1cbd2dfdea68c26aeefdc5258a63489158e"},"taxa":[{"id":"CWE-250","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":"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":"a38fb4ec8734819acc06a56b18a31a40a1fdbee642a22a7d1a090446b3404919"},"taxa":[{"id":"CWE-250","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":"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":"bfddf6536d92c774848e691acbd5b14041199a6df5acf264d510210d828f8b24"},"taxa":[{"id":"CWE-250","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":"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":"b6307adbca2b7cd0a1c98d7cefdff260db3d9d22ee873b16887c8d7d98be29cd"},"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":"8d8261a41082ef4e26dc5e028a82ea4727f9fb053b5b75bb629c5390ccc1741a"},"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":"68946bc46c679af572a9b46152e464dcee934b895eb34072be67f130b58ffe09"},"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":"d03949ba827cca6feda92d75e59ed5f05a83665fe5e268199b7e12cf6eec149f"},"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":"d4e644ab06cea49d675e67ef90aba4d54fe27208e1eca46cfa4f72aa2f3f7c6c"},"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":"2fac3c110bd3e00c46a2c1a1281261a600fadf46e444134d1dd3dec34446428f"},"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":"a37a1f988e1d6cb8bf69eee6806ae35fa3eb3b068d9d911ce49bd9943488673c"},"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":"1e569db9a5bda6e4c5fb7a193fcb3d389c560291ed1617c7be78b4ab25b0ea96"},"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":"9fbcab3dd1fb7ffb91653f004196d3148ef40696cacd6adf459da00c1c5e4f73"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3adeb5ca433f8377e0513466abe226661632e2c7a65ab03d48b79033987746ab"}},{"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":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b2f6a5ff26c3f7b33d8fdf6f216d027e3c5c36925eb8094a03c275c612ccbdd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"092f461ab018851d355168b31bd0826be97177d442a0b08cdf585c2625d3adf6"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d3d6b1e1dedbeb3f5e649ea1285e8541213625f1e004a8a04e44774ee72b7463"}},{"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":"76352877908bb8d93848920c8488c768efff2bc51cb264f63d723f39ce995c7a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 5 of 2224 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; 2224 of the 4039 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: utils/update_env.py, config/update-banner.js, client/src/components/MCPUIResource/plugin.ts, packages/client/src/svgs/ThumbDownIcon.tsx, api/db/utils.js. 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":"config/update-banner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c4595364f45ef4d4ca40630ebfbfbcb77e6d995a6594662ae0ee4217cac02"}},{"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":"utils/update_env.py"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8c4c40026bb02141ee6af86a05f6f39a1ed48cc20761bdcf9ad13c8af4691b"}},{"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":"api/db/utils.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ea6d6d1432ff6e6a2027df089a3aa5b9d7df34c6d20c85077e7e4bdba8ccb9"}},{"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":"client/src/components/MCPUIResource/plugin.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cb15efaeb45d3d43f454c9a6ed1f61a2b4fad3cd024ce2a63356477bb3bda6"}},{"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":"packages/client/src/svgs/ThumbDownIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bce7d74be50db23aaa0e5799e7b92cd8ccfbc55f7f4b2f9e347c675cc8d9021"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: Selectors.tsx \u2194 i18n.ts: \u0060client/src/components/Appearance/Selectors.tsx\u0060 (context components) and \u0060client/src/locales/i18n.ts\u0060 (context locales) sit in DIFFERENT parts of the tree yet change together 86% of the time (12 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 12 shared commits counted here, the most recent 3 are \u00606718244d\u0060 \uD83E\uDEB7 i18n: Add Hindi, Marathi, and Tamil Languages (#17498); \u0060db863e75\u0060 \u2699\uFE0F refactor: Lazy load locale resources (#13640) (at that commit the file was still \u0060client/src/components/Nav/SettingsTabs/General/General.tsx\u0060); \u0060fcb36340\u0060 \uD83C\uDF0D i18n: Support for \u0060Icelandic\u0060, \u0060Lithuanian\u0060, \u0060Nynorsk\u0060 and \u0060Slovak\u2026 (at that commit the file was still \u0060client/src/components/Nav/SettingsTabs/General/General.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Appearance/Selectors.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28853b9550191b57e1c36bef07243bb2f4cd81c60e1932f0791c2eb77ec0831"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: ServerInitializationSection.tsx \u2194 useMCPServerManager.ts: \u0060client/src/components/MCP/ServerInitializationSection.tsx\u0060 (context components) and \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 (context hooks) sit in DIFFERENT parts of the tree yet 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) \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 \u0060038903ab\u0060 \uD83D\uDCF1 fix: Open Sign-In and External Links From iOS Home-Screen Apps (#1\u2026; \u006010685fca\u0060 \uD83D\uDDC2\uFE0F refactor: Artifacts via Model Specs \u0026 Scope Badge Persistence by \u2026; \u0060394bb624\u0060 \uD83D\uDCE6 chore: Bump MCP SDK: Fix Types and MCP OAuth due to Update (#10811) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b9103444ceff000dea9d12a19b7cf8ee7076854405ab9f9e65ca2249b805f9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: agents-types.ts \u2194 agent.ts: \u0060client/src/common/agents-types.ts\u0060 (context common) and \u0060packages/data-schemas/src/schema/agent.ts\u0060 (context data-schemas) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u0060299dbc60\u0060 \uD83D\uDCD6 Load Repository Instructions for Attached Workspaces (#16008); \u0060aeac7a20\u0060 \uD83E\uDEAA feat: Add Per-Agent Git Identity (#15628); \u006053e369fb\u0060 \uD83E\uDDEA feat: stateful_code_sessions capability for warm Code API sandbox \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/common/agents-types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ff3a2e15f01bbdfd9fa5ce867172b75dd7fbd71b2a525313b75bc72cd9f6da"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AgentPanelContext.tsx \u2194 AgentConfig.tsx: \u0060client/src/Providers/AgentPanelContext.tsx\u0060 (context Providers) and \u0060client/src/components/SidePanel/Agents/AgentConfig.tsx\u0060 (context components) 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 \u00608a60e899\u0060 \uD83E\uDD16 refactor: Side Panel Agent UI To Account For Ephemeral Agents (#9763); \u0060f0599ad3\u0060 \uD83E\uDDEC refactor: Optimize MCP Tool Queries with Server-Centric Architecture; \u0060386900fb\u0060 \uD83E\uDDF0 refactor: Decouple MCP Tools from System Tools (#9748) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"190c65fb11c951bbf71dc79856b28305337fdc1c331adb5930e72e6d68aa4540"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: config.ts \u2194 tx.ts: \u0060packages/data-provider/src/config.ts\u0060 (context data-provider) and \u0060packages/data-schemas/src/methods/tx.ts\u0060 (context data-schemas) sit in DIFFERENT parts of the tree yet change together 52% of the time (48 of the 93 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 48 shared commits counted here, the most recent 3 are \u006096495419\u0060 \uD83D\uDCA0 feat: Add Gemini 4 Argon Support (#17200); \u0060472d29a3\u0060 \uD83E\uDE99 fix: Price 1-Hour Prompt Cache Writes at the 1-Hour Rate (#17208); \u0060214362af\u0060 \uD83C\uDF90 feat: Add Claude Haiku 5.5 Support (#17201) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d390b4a4cb49e88bac003361c936fb8fc9a093e205f58513773488e0db82c2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AgentPanel.tsx \u2194 agent.ts: \u0060client/src/components/SidePanel/Agents/AgentPanel.tsx\u0060 (context components) and \u0060packages/data-schemas/src/schema/agent.ts\u0060 (context data-schemas) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060299dbc60\u0060 \uD83D\uDCD6 Load Repository Instructions for Attached Workspaces (#16008); \u0060aeac7a20\u0060 \uD83E\uDEAA feat: Add Per-Agent Git Identity (#15628); \u006053e369fb\u0060 \uD83E\uDDEA feat: stateful_code_sessions capability for warm Code API sandbox \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d345d89d471cde7eb48a9d6d7ef5e537c95a0080fac4a71d8437355541ad15"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MessageEndpointIcon.tsx \u2194 tx.ts: \u0060client/src/components/Endpoints/MessageEndpointIcon.tsx\u0060 (context components) and \u0060packages/data-schemas/src/methods/tx.ts\u0060 (context data-schemas) sit in DIFFERENT parts of the tree yet 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) \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 5 shared commits counted here, the most recent 3 are \u006043055767\u0060 \u2728 feat: GPT-5 Token Limits, Rates, Icon, Reasoning Support (at that commit the file was still \u0060api/models/tx.js\u0060); \u006037b50736\u0060 \uD83D\uDD27 fix: Google Gemma Support \u0026 OpenAI Reasoning Instructions (#7196) (at that commit the file was still \u0060api/models/tx.js\u0060); \u006052f146dd\u0060 \uD83E\uDD16 feat: Support \u0060o4-mini\u0060 and \u0060o3\u0060 Models (#6928) (at that commit the file was still \u0060api/models/tx.js\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/MessageEndpointIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f2bf4891d0de85ab8998b0a8735f72c6a15b70b75e296f04dcadb07ccd9b13"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: BashCall.tsx, ExecuteCode.tsx, FileAuthoringCall.tsx, ReadFileCall.tsx, SkillCall.tsx: 5 files \u2014 \u0060client/src/components/Chat/Messages/Content/Parts/BashCall.tsx\u0060, \u0060client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx\u0060, \u0060client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx\u0060, \u0060client/src/components/Chat/Messages/Content/Parts/ReadFileCall.tsx\u0060, \u0060client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 10 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f771b3d6df6ffb662a686a332eee7ea64080621cfacc079de9df384a7227b370"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: added.ts \u2194 load.ts: \u0060packages/api/src/agents/added.ts\u0060 and \u0060packages/api/src/agents/load.ts\u0060 change together 100% of the time (10 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006023aa0f82\u0060 \uD83D\uDDC2\uFE0F feat: Defer System Tools Behind Tool Search (#17864); \u00605f4a07f4\u0060 \u26A1 perf: Exclude Agent Version History From Default \u0060getAgent\u0060 Reads (\u2026; \u0060a3c2277c\u0060 \uD83D\uDEA7 fix: Narrow Chat MCP Selections to What the Picker May Offer (#15478) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"655ea017e452bde837cfd3e96f8df6cda6be39c7b7db7785dcf53fee313bbe1d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: data-service.ts \u2194 keys.ts: \u0060packages/data-provider/src/data-service.ts\u0060 and \u0060packages/data-provider/src/keys.ts\u0060 change together 97% of the time (28 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 28 shared commits counted here, the most recent 3 are \u006057104fa2\u0060 \uD83D\uDCAC feat: Configure Slack Connections in the Agent Builder (#17614); \u00600c6c223c\u0060 \u23EF\uFE0F feat: Review and Stop Background Responses (#17613); \u00607a927fb1\u0060 \uD83D\uDEAA fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/data-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6355fad63da1186cc42141f75578b694c70d1164c37ba15277f68296ed72ca5a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: convos-route-mocks.js \u2194 convos.js: \u0060api/server/routes/__test-utils__/convos-route-mocks.js\u0060 and \u0060api/server/routes/convos.js\u0060 change together 89% of the time (16 of the 18 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 16 shared commits counted here, the most recent 3 are \u00604c14c1eb\u0060 \uD83D\uDDC3\uFE0F fix: Load Retention Config on the Archive Route Before Saving (#1\u2026; \u006052a91b23\u0060 \u267B\uFE0F feat: Share Pull Request Lookups Across Replicas Through Redis (#1\u2026; \u0060ae44437e\u0060 \uD83D\uDDC2\uFE0F feat: Record Lane Git State and Serve Conversation Pull Requests \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/__test-utils__/convos-route-mocks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"731728721fb3af6c8315023d6efff57dcc5d7aa6b43d48f95722c1627a164ca3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: api-endpoints.ts \u2194 keys.ts: \u0060packages/data-provider/src/api-endpoints.ts\u0060 and \u0060packages/data-provider/src/keys.ts\u0060 change together 86% of the time (25 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 25 shared commits counted here, the most recent 3 are \u006057104fa2\u0060 \uD83D\uDCAC feat: Configure Slack Connections in the Agent Builder (#17614); \u00600c6c223c\u0060 \u23EF\uFE0F feat: Review and Stop Background Responses (#17613); \u00607a927fb1\u0060 \uD83D\uDEAA fix: Let Users Sign Out of Required Two-Factor Enrollment (#17956) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2c9eedc63e60859775df14ddeff3845d3b6f7bd4cd24dded7d938467eadaaa"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: InMemoryJobStore.ts \u2194 RedisJobStore.ts: \u0060packages/api/src/stream/implementations/InMemoryJobStore.ts\u0060 and \u0060packages/api/src/stream/implementations/RedisJobStore.ts\u0060 change together 82% of the time (9 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 between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u00600b9dc209\u0060 \uD83E\uDDEB fix: Verify Early Stream Recovery (#15676); \u0060cd3768ed\u0060 \uD83C\uDF75 feat: Continue Late Steers in Warm Agent Runs (#15357); \u00607a006150\u0060 \uD83E\uDEAA fix: Admit Confirmed Generation Retries Before Message Limits (#15\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa61e3d0f526d5c7c8f6930ecadd55e456a51ae453f5ef6f100496da8bd97b64"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: tokens.ts \u2194 tx.ts: \u0060packages/api/src/utils/tokens.ts\u0060 and \u0060packages/data-schemas/src/methods/tx.ts\u0060 change together 74% of the time (69 of the 93 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 69 shared commits counted here, the most recent 3 are \u006044119f3f\u0060 \uD83E\uDDED fix: Add Context Windows for Unmapped Bedrock Models (#17995); \u006082f30ad9\u0060 \uD83D\uDFE9 fix: Add Context Windows for Bedrock NVIDIA Nemotron Models (#17952); \u006096495419\u0060 \uD83D\uDCA0 feat: Add Gemini 4 Argon Support (#17200) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokens.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"931ac5d851ff0f8ec2ff49e48d1a622a4ca7ff484a206ee8e1455cc69dcd998b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AdminSettings.tsx \u2194 AdminSettings.tsx: \u0060client/src/components/Prompts/buttons/AdminSettings.tsx\u0060 and \u0060client/src/components/SidePanel/Agents/AdminSettings.tsx\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 \u0060b6dcefc5\u0060 \uD83C\uDF10 refactor: Interpolate Localization Keys (#10650) (at that commit the file was still \u0060client/src/components/Prompts/AdminSettings.tsx\u0060); \u006015d7a3d2\u0060 \uD83C\uDFB5 feat: Cumulative Transcription Support for External STT (#9318) (at that commit the file was still \u0060client/src/components/Prompts/AdminSettings.tsx\u0060); \u0060d711fc78\u0060 \uD83E\uDD1D refactor: Clarify labels for Sharing Permissions (at that commit the file was still \u0060client/src/components/Prompts/AdminSettings.tsx\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/buttons/AdminSettings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afb8c06743c03f3f0f23c63cdd1e644164180d50074e133857c872de4bcb83f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: jest.config.cjs \u2194 config.ts: \u0060client/jest.config.cjs\u0060 and \u0060packages/data-provider/src/config.ts\u0060 change together 64% of the time (23 of the 36 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 23 shared commits counted here, the most recent 3 are \u0060361553f3\u0060 \uD83D\uDE80 v0.8.8-rc4 (#16147); \u0060e18606e5\u0060 \uD83D\uDE80 v0.8.8-rc3 (#15859); \u0060f9f1b2fb\u0060 \u2728 v0.8.8-rc2 (#14845) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/jest.config.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca49a206db4266d5f09c89a2e87e383ab9ede9797dd60b051f123d53d4144f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: formatMessages.js \u2194 client.js: \u0060api/app/clients/prompts/formatMessages.js\u0060 and \u0060api/server/controllers/agents/client.js\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060a2ad0aa0\u0060 \uD83E\uDD10 feat: Allow Promptless Sends When Files Are Attached (#13717); \u00607447fddf\u0060 \uD83D\uDE4A refactor: Clarify Ask Question Schema Errors and Retry Guidance (#\u2026; \u0060d9056720\u0060 \uD83D\uDEDF fix: persist Vertex Gemini 3 \u0060thoughtSignatures\u0060 across DB round-t\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/prompts/formatMessages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4380e261349656e6da85b101769d79f8ed9dd5b7e11c29775c68640c955cf779"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: RedisJobStore.ts \u2194 stream.ts: \u0060packages/api/src/stream/implementations/RedisJobStore.ts\u0060 and \u0060packages/api/src/types/stream.ts\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060edc96d54\u0060 \uD83D\uDCF4 fix: Persist Cancelled Compactions With Their Identity (#16436); \u00600b9dc209\u0060 \uD83E\uDDEB fix: Verify Early Stream Recovery (#15676); \u0060e3ccaba5\u0060 \uD83D\uDEC4 feat: Restore Compaction Guidance Across Continuations (#15356) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d07761435f2855cb68a7fb364e916c969c2afaa6f4ef6ca70c0b7f21f5e5fc2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SearchMessage.tsx \u2194 Message.tsx: \u0060client/src/components/Chat/Messages/SearchMessage.tsx\u0060 and \u0060client/src/components/Share/Message.tsx\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00602cd70eba\u0060 \uD83D\uDCCB refactor: Move the Copy Footer and Action Gate into @librechat/cha\u2026; \u0060f174da61\u0060 \uD83D\uDCCB feat: Copy Messages as Rich Text (#15087); \u0060c4d30a09\u0060 \uD83C\uDFF7\uFE0F fix: Re-attribute Agent Content After In-Thread Steers (#14497) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/SearchMessage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3626f4bdcb9bca3faabf5be157604e25f599b70167281a6d8c9340f2e31387"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: openidStrategy.js \u2194 samlStrategy.js: \u0060api/strategies/openidStrategy.js\u0060 and \u0060api/strategies/samlStrategy.js\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060de760f6b\u0060 \uD83E\uDEAA fix: Use Shared IdP Avatar Processing (#13422); \u006077712c82\u0060 \uD83C\uDFE2 feat: Tenant-Scoped App Config in Auth Login Flows (#12434); \u0060a1471c2f\u0060 \uD83D\uDCE7 fix: Case-Insensitive Domain Matching (#9868) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"652c535cfa823b9b1ecbd5dbb279f321b73ce35a07f9eaeb46fca53cedfc8497"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SharedLinks.tsx \u2194 ArchivedChatsTable.tsx: \u0060client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx\u0060 and \u0060client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx\u0060 change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u0060edc6cf59\u0060 \uD83E\uDE79 fix: Stop Archived and Shared Chats Dialogs Crashing on Open (#14886); \u0060465cb6e3\u0060 \uD83D\uDC50 a11y: Bump \u0060@ariakit/react\u0060, Improve a11y of Token Usage, Archived\u2026; \u006013cea97c\u0060 \uD83D\uDD17 feat: More Accessible Link Behaviors and Minor UI Improvements (#1\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dbcbdf5c1356c3fab878394b3f1b0817b07575ee29d83bbb822fbc8b6b85dce"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: agents-types.ts \u2194 validation.ts: \u0060client/src/common/agents-types.ts\u0060 and \u0060packages/api/src/agents/validation.ts\u0060 change together 60% of the time (6 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 6 shared commits counted here, the most recent 3 are \u0060299dbc60\u0060 \uD83D\uDCD6 Load Repository Instructions for Attached Workspaces (#16008); \u0060aeac7a20\u0060 \uD83E\uDEAA feat: Add Per-Agent Git Identity (#15628); \u006053e369fb\u0060 \uD83E\uDDEA feat: stateful_code_sessions capability for warm Code API sandbox \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/common/agents-types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a652e41b19eb82040cfd40537c11290a48fbe36bf36faf52f6d558f51b22e4c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GenerationJobManager.ts \u2194 RedisEventTransport.ts: \u0060packages/api/src/stream/GenerationJobManager.ts\u0060 and \u0060packages/api/src/stream/implementations/RedisEventTransport.ts\u0060 change together 56% of the time (10 of the 18 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 \u0060cdfe54c3\u0060 \uD83D\uDEA6 fix: Downgrade Stale Generation Fence Telemetry (#15452); \u0060b2128a7d\u0060 \uD83D\uDCE1 fix: Preserve Redis Abort Terminal Delivery (#14749); \u006058cdd9cd\u0060 \u26A1 feat: Coalesce Redis Streaming Delta Publications into Windowed Bat\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0c7ec2bac6133e688f4b6406187aba6976ab4b0e839ed21ba8d2b8c3c23b01"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ConnectionsRepository.ts \u2194 MCPServerInspector.ts: \u0060packages/api/src/mcp/ConnectionsRepository.ts\u0060 and \u0060packages/api/src/mcp/registry/MCPServerInspector.ts\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060eb3b3537\u0060 \uD83D\uDCE1 fix: Publish App-Level MCP Tool Catalogs Without a Reserved Revisi\u2026; \u0060acd07e80\u0060 \uD83D\uDDDD\uFE0F fix: Exempt Admin-Trusted Domains from MCP OAuth Validation (#12255); \u006083184467\u0060 \uD83D\uDC81 refactor: Better Config UX for MCP STDIO with \u0060customUserVars\u0060 (#1\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"299af6c160d60a8ea09ca3a7a93c7b33ee6bfb67efdd006473741c5f3f13dae7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: execution.ts \u2194 bridge.ts: \u0060packages/api/src/agents/execution.ts\u0060 and \u0060packages/api/src/code/bridge.ts\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 \u00603e19b187\u0060 \uD83C\uDFAF feat: Tolerant Workspace Edits with Host-Rendered Conflict Diagnos\u2026; \u0060867fd5ea\u0060 \uD83D\uDEE4\uFE0F feat: Route Linked Worktree Requests into Per-Worktree Lanes (#16\u2026; \u00602df937dd\u0060 \uD83C\uDF33 feat: Isolate Attached Workspaces by Conversation (#16107) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f01e09a810f6ab0d2a11017310583703e15093591420082ad9ab11ae6688986"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: convos-route-mocks.js \u2194 conversation.ts: \u0060api/server/routes/__test-utils__/convos-route-mocks.js\u0060 and \u0060packages/data-schemas/src/methods/conversation.ts\u0060 change together 50% of the time (9 of the 18 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 \u0060ae44437e\u0060 \uD83D\uDDC2\uFE0F feat: Record Lane Git State and Serve Conversation Pull Requests \u2026; \u0060c0ea79ad\u0060 \uD83D\uDD0E feat: Filter the Conversation List by Date, Endpoint, Files, and S\u2026; \u006078b320cb\u0060 \uD83D\uDDDC\uFE0F fix: Bound Conversation Page Size (#15576) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/__test-utils__/convos-route-mocks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64297807f2fe3103c1a4734a5649690ae0c5502b38d3c08f916b89a78ffe8142"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: api-endpoints.ts \u2194 mutations.ts: \u0060packages/data-provider/src/api-endpoints.ts\u0060 and \u0060packages/data-provider/src/types/mutations.ts\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060fdc9c77f\u0060 \uD83D\uDDC4\uFE0F feat: Archive All Chats From Data Controls (#14885); \u006061016e32\u0060 \uD83D\uDD04 feat: Continue Shared Conversations as Personal Copies (#13714); \u0060743f57f6\u0060 \uD83D\uDD16 feat: Add Pinned Conversations (#13492) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3689a395252999886ef593d1dedd1c2ab21a55cbf067a7e8eaf88d2a4eb1e7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Conversations.tsx \u2194 ConvoLink.tsx: \u0060client/src/components/Conversations/Conversations.tsx\u0060 and \u0060client/src/components/Conversations/ConvoLink.tsx\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060c945cafa\u0060 \uD83C\uDFC3 fix: List Every Running Chat in the Sidebar\u0027s Running Group (#16668); \u0060e49e2644\u0060 \u267F fix: Resolve axe Violations in Sidebar, Tools Dropdown and Footer (\u2026; \u0060743f57f6\u0060 \uD83D\uDD16 feat: Add Pinned Conversations (#13492) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f038b95fdeb9ce6e19dfdea51bb7bf37ba8500fd82e1af92ec254b583b23a692"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: index.js \u2194 mcp.js: \u0060api/config/index.js\u0060 and \u0060api/server/routes/mcp.js\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 \u0060601ed078\u0060 \uD83E\uDEE7 fix: Retire Cancelled MCP OAuth State (#15702); \u006056175af0\u0060 \uD83C\uDF9F\uFE0F fix: Reconcile MCP OAuth Readiness Across Pods (#14629); \u0060a7f16911\u0060 \u23F3 fix: Extend and Decouple MCP OAuth Flow Timeouts (#13622) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/config/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"020f2316dd8dec2b91fe5e3d800cb21a0647593b1dfdcf96b43af2bbc79b464f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: loadConfigModels.js \u2194 config.ts: \u0060api/server/services/Config/loadConfigModels.js\u0060 and \u0060packages/data-provider/src/config.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 \u0060bb220f1a\u0060 \uD83D\uDC64 feat: AWS Bedrock Custom Inference Profiles (#11308); \u0060e9a85d5c\u0060 \uD83D\uDDC2\uFE0F feat: Add Optional Group Field to ModelSpecs Configuration (#9996); \u006000b2d026\u0060 \uD83D\uDE80 feat: Enhance Model Handling, Logging \u0026 xAI Agent Support (#6182) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Config/loadConfigModels.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8b1780476b2ee01b3d742f2053e0481c520784bca84ed8d0b7aba86f81034d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: management.ts \u2194 agent.ts: \u0060packages/api/src/agents/management.ts\u0060 and \u0060packages/data-schemas/src/methods/agent.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 \u0060fad2c51d\u0060 \uD83C\uDFC7 feat: Register SDK-Backed Agents for Native Chat (#18114); \u0060299dbc60\u0060 \uD83D\uDCD6 Load Repository Instructions for Attached Workspaces (#16008); \u0060aeac7a20\u0060 \uD83E\uDEAA feat: Add Per-Agent Git Identity (#15628) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/management.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0f9ed25a78ee677cb5da6f233102953b96f0ee188cdb4230cae02e12e1b9c2"}},{"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":"3cd6efaeae78616344c1ad2bac6c41b2e739586c41451e54c58acdb3a051718e"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Waveform.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceae012f9db0e86811088aecc6a1aa373d912611b7dc19416dd08fb4c94a9211"}},{"ruleId":"AC1","level":"warning","message":{"text":"\u003Ccanvas\u003E without a text alternative: A \u003Ccanvas\u003E with no aria-label/title and no inner fallback content can\u0027t be described by assistive tech. Add a name or fallback content."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"a91a09afb2d375b4a8c0b500f4516f66cddefa641c781a832f91b1f9e3d272da"}},{"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":"client/src/components/Chat/Menus/Endpoints/CustomMenu.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5b9a29932167b96ec9e6399ff7016dc7a8212930cafc26142380a1d9201ef3"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CMultiSelect\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":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6aa4539529bfe5a04dcc61824b50b00b7ec283a015b5f4628a3d7708f7dcf2"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/Controls.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"737da44a1bedac52149754ee02f760971ecbb93e288ec6f621feb1c36ab8edb8"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/Review.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"719aa219682e36be1fc2af0f151d07f1fdc38536266358dc76cc474c86e418ac"}},{"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":"client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8c9fb92ae79172e4d5abc5d316d310d446159096ad9c015ae363c21970edf7"}},{"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":"client/src/components/SidePanel/Builder/ActionsAuth.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e9d5b9998fdc55517e5af604083f971d89a3a66b39539c1e2f4204993cc80e"}},{"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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8a4d67379814a3426cd68fabf3b50075cd186ed2c2519d5198d0ce2d009278"}},{"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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e66ccddb45645ec3e230b2ae076b0a7aeba00a74fcecdf96344127f03a2ac32"}},{"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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f6532f9cfa1f93ff4d5b497d0902fba54fb4a9e1326ee4ccbf18259a2e59c61"}},{"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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"0029d6bc844ffbe782ff6f621be135a6f536a3e5d4da2a18cea017f267226efc"}},{"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":"client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"90eba1e0dee1a4b8731384bcf9bcafba59f30d7f64569336ed1e9f9c33955c9f"}},{"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":"client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"356b92d2529c58b4b57d6acd02dd584da32d18263ad78995c8535a2c8975a661"}},{"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":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c59e3273e337b67ccf1b92117bbc9cdc0c6a860b282c201edb985570cc3f104"}},{"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":"client/src/components/SidePanel/Builder/AssistantTool.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8f3bcb0e10d505bf73c4592b4787189e87318185341c1912dd6eb67d0da8c1"}},{"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":"client/src/components/SidePanel/Builder/CapabilitiesForm.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9bf1fdf40c2e60376f789e5e61afe4da017e08f9ac404e05fa0b41d46a6e937"}},{"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":"client/src/components/SidePanel/Builder/Knowledge.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61cdfd302a3d5bc900ef356ffe8e8d027b7d116b3a9014dc64bfbc141ebcee6"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003Cfieldset\u003E without a \u003Clegend\u003E: A fieldset groups related controls but has no \u003Clegend\u003E to name the group. Add a \u003Clegend\u003E as its first child \u2014 or, if the group already has a visible caption beside it (or the fieldset is there only to disable its subtree and carries no group box), point aria-labelledby at that caption\u0027s id instead, which names the group without rendering a second one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/MCPServerForm.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4c699d311cf12a4820087a16e3f5edfc0d66d2fb3f47e9d9b6655b5066f9f8"}},{"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":"client/src/components/Skills/forms/InvocationModePicker.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ce0e42ecd07b8889490fa205bbd2aabd602a63a33b30c24a46d32147d25d013"}},{"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":"packages/chat/src/components/composer/files/FileUpload.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0224cf8ececa2dc27f55316a781941b5135d78fa93014e5fa020eb40ca3a7"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CInput\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":"packages/chat/src/components/composer/popover/Command.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a050cfd79e58a25b7a1d96e56c27f0f7bba4b1a97d13a34aff0d926a7c3c622c"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CTextarea\u003E field component without a label: This UI-library field component is named only by a placeholder \u2014 a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/Feedback.tsx"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c277724f2e1193f38a1ee2c6c26f788804ae120d5e9b26d1fe413458281a76"}},{"ruleId":"AC2","level":"warning","message":{"text":"\u003CSelect\u003E field component without a label: This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing written inside it here carries one either (a name prop is the form-submission key, not a label; an id alone, wherever it is set, names nothing until a label points at it). The text inside it does not stand in for one: these compound APIs render a trigger with role=\u0022combobox\u0022 (or role=\u0022button\u0022), and those roles take their name from the AUTHOR, not from their content \u2014 so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a \u003Clabel htmlFor\u003E pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) \u2014 labelling each item leaves the set unnamed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/MultiSelect.tsx"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9db2c89bdf3153ce1b7f1ad0a16cf748eda9950294e7282bf945c5d88a7623"}},{"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":"client/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ab6c694d1c3b60997d7279f8b0d8c01b053192e73093d5bc851f016b6743ad"}},{"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":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc16e91b102fc033f401ebea8d0164d67875050ad0a492bca43b529bed6743c"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Ccode\u003E: This \u003Ccode\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf9ac20f5a641163585e2ddde6995e09db1733e6d843d7186234f19cd752d80"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Ccode\u003E: This \u003Ccode\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd10ee334734d46856fde5edb375c1918cee5b0438dd75ff695b54f9634e451e"}},{"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":"client/src/components/Chat/Messages/Content/UIResourceCarousel.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e6501853aedcffcebf7d5b623097bbe3b8337503f7580463b2934fcd435a43"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cspan\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":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"36ad19406c17d5d4283646247b98a5e8b49273e26c8a5af8017d9a052a9668b7"}},{"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":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"34afffa542e47b62738917d8d77c507df7870aab9adc4cd051993525b8a3b119"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cspan\u003E: This \u003Cspan\u003E binds double-click and nothing else. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd0063fe16287da52d829b83ba9f5fc4a8b8aa09e385e14f81746c8f0a27cfe"}},{"ruleId":"AC4","level":"error","message":{"text":"Focusable \u003Cdiv\u003E isn\u0027t keyboard-operable: This \u003Cdiv\u003E carries tabIndex={0}, so it is in the tab order and a keyboard user will land on it \u2014 but its only behaviour is bound to mousemove, pointer gestures a keyboard cannot produce, and there is no key handler. The tab stop leads nowhere. Bind the same behaviour to a key handler, or provide an equivalent control elsewhere."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ba53d437d1ee54a63441b19a814d5eb2651f89e26b76dcb45a0b379809e53b"}},{"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":"client/src/components/Nav/NavToggle.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fceaca8a34626c328c2499432bcc1273cb32a0ce9e4022c5b0293ec81f33eba"}},{"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":"client/src/components/SidePanel/Builder/AssistantTool.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b67c2ce035760404c83ffc3ec7f5aac158b914b50df67bb1f617152f4a2e20"}},{"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":"packages/chat/src/components/composer/Frame.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8f693a6e1c76db694dc97b5e032369cf5975f17e204cdbf9926df8cbc80d0c"}},{"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":"packages/chat/src/components/messages/SubRow.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a119b3e29d0519a0efeb9de3a10d4ab04b9bcb1ddf7d7bc52acec3398daf33c4"}},{"ruleId":"AC4","level":"error","message":{"text":"Double-click handler on a non-interactive \u003Cdiv\u003E: This \u003Cdiv\u003E binds mousedown, mouseup, mousemove, wheel and double-click \u2014 pointer gestures with no keyboard form, a double-click among them. No click, no key handler, and no tabIndex={0}, so it cannot even take focus. Nothing synthesises a double-click from the keyboard: Enter and Space fire a single click, and only on a native \u003Cbutton\u003E or \u003Ca href\u003E. So this behaviour has no keyboard path at all. Expose the same action on a real control, or add role \u002B tabIndex={0} \u002B a key handler alongside the double-click."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"771299e0d36ad90ac9a25cf02735f902eefde2d36a594fe3e8677dbb79389438"}},{"ruleId":"AC5","level":"error","message":{"text":"aria-hidden on a focusable element: aria-hidden=\u0022true\u0022 hides the element from assistive tech but leaves it keyboard-focusable \u2014 a confusing dead stop. Remove aria-hidden or make the element non-focusable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"003a86812db53e8415b8eb988fa9fc824502656f0ab938bb96c20adb3b2b819c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: transform 300ms cubic-bezier(0.2, 0, 0, 1)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e327665a83c7ff93cbfa862effd3dfe2a557b259a5029671c0c4d844b75afcb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its inline style sets \u0060transition: transform 300ms cubic-bezier(0.2, 0, 0, 1)\u0060 \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"120a81adeadfa966f8b10bedf8d9ed1ee6cf025671df41d81c15d64042fda386"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-spin\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SharePoint/SharePointPickerDialog.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d7bb5444594bf6868c5dc1990177df5e12e75447d732093c7b1fcc43ac6a09"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u003Cdiv\u003E moves \u2014 its \u0060animate-ping\u0060 utility runs with no motion-safe:/motion-reduce: variant \u2014 and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/AnimatedSearchInput.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ea1a059edf01f4f3b8195eb1d030b53a85f057eec6122efed52569c2f50385"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.select-item\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Dropdown.css"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1019a1003944bfa8fbe08ac2e38e70bbfacab12a5ebfa15db10d3165c68b3b81"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060html[data-input-modality=\u0027pointer\u0027] :is(.lc-field, .lc-own-focus):focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Field.css"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a135c76ffca7507a82085f384514b18cbf1ba0fb51606413dd0397f769aa13"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060html:not(.high-contrast) .lc-field:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Field.css"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"80091c000e05a8fbd0c20600622663dcbdda90438bd4942c3ec1818b99dcfeed"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060html:root:not(.high-contrast) textarea.lc-own-focus:focus-visible\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Field.css"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"691efb3b103e69445cb5294f41c71a61e0ed841d631be17a1a13cf5f33e98e70"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.cm-content:focus\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/mobile.css"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f88b285ec6d2805e23cce5d357a1b878987951fd0afe205592674dc7f3e7ff"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060html[data-input-modality=\u0027pointer\u0027] :where( input:not([type]), input:is( [type=\u0027text\u0027], [type=\u0027search\u0027], [type=\u0027email\u0027], [type=\u0027password\u0027], [type=\u0027url\u0027], [type=\u0027tel\u0027], [type=\u0027number\u0027], [type=\u0027date\u0027], [type=\u0027datetime-local\u0027], [type=\u0027month\u0027], [type=\u0027week\u0027], [type=\u0027time\u0027] ), textarea ):is(:focus, :focus-visible)\u0060 sets the outline to none/0 and no visible :focus / :focus-visible style for that element replaces it in this stylesheet, so a keyboard user cannot see where focus is. Draw a focus ring (outline, box-shadow or border) under :focus-visible."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/style.css"},"region":{"startLine":1912}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abc3727578a4b54a48ea8e7917bf67ed302c8642c7ae6530f57eb6481007878"}},{"ruleId":"AC6","level":"warning","message":{"text":"Focus outline removed in CSS without a :focus replacement: \u0060.select-item\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":"client/src/style.css"},"region":{"startLine":2024}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5115c10339f905c425d99a7535bf6e9172c0901492f1808beced329ac6e3528"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-popover\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"packages/client/src/components/AnimatePopover.css"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"0148a4b5015f6105e2df0b8b39b57623c04172eba583aea91c207c75a65a9e57"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-popover-left\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"packages/client/src/components/AnimatePopover.css"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c0142a2f7fdd37f11311a8d418e99c578b89dcc98aa19c0415e2926aae959e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.popover-ui\u0060 moves (\u0060transition-property: opacity, scale\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Dropdown.css"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8120fa834e83a3c84384899a13f9ff45274ba5fd9ad16a720dbf880604772c80"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.popover-animate\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"packages/client/src/components/Dropdown.css"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"e33de832b14704137df326b7e7a670dfe45b3503eb4820cde3e6cddbbded5c82"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.rotate\u0060 moves (\u0060animation: tuning 2.1s 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":"client/src/mobile.css"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c938de3f75bcc27857085360e8491b48581f4ebd1f74e4fcbdd7e1d380b9e4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.shake\u0060 moves (\u0060animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/mobile.css"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b396067eb13d9eb54b346e3d12818751992949c39ecf71817a364d31987ed362"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060p \u003E small\u0060 moves (\u0060animation: fadein 3s forwards\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":"client/src/style.css"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd30795a4401216d821ef16ee598d8958f4077a94cb42ad1a1bc8b4e7fd1da9b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.scroll-animation-exit-active\u0060 moves (\u0060transition: opacity 180ms cubic-bezier(0.4, 0, 1, 1),\n    transform 180ms cubic-bezier(0.4, 0, 1, 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":"client/src/style.css"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f622f59424fdb09d582002967a5acb16400ec071ae7e59cbd7cae5739846bd"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.toast-root[data-state=\u0027open\u0027]\u0060 moves (\u0060animation: toast-open 0.24s cubic-bezier(0.175, 0.885, 0.32, 1.175) both\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/style.css"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3461fb4c7c2deb5c51eb9ff66e0a4c712ca74384bdb6e5997de0aea654db9f7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.rotate-adjust-and-back\u0060 moves (\u0060animation: rotateAdjustAndBack 10s 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":"client/src/style.css"},"region":{"startLine":1831}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b85bb02a38125c8f4075fe85085e6d3d4cdce9124c9f7456c319c9383b1f37"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.popover-ui\u0060 moves (\u0060transition-property: opacity, scale\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":"client/src/style.css"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"912032a9b3847f0e91007ee72d71b2ab34a9b2dd2f65bfc6e8de48099668e7a0"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.popover-animate\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"client/src/style.css"},"region":{"startLine":1991}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6dfc4dbfa8be9db1123a8bce1ff1bcf40fe1e569e6f7393ef9042c785ab000"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-popover-top\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"client/src/style.css"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca690c66becb77e4974fce0e42e2cda25a9493b7cffb6d4474d84a059a6119c4"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-popover-left\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"client/src/style.css"},"region":{"startLine":2078}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79acfa15defbea6f85dd5c9e92a5cbd42af7548b17659bd77cb4f84cffaee7b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-popover-top-left\u0060 moves (\u0060transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1),\n    transform 150ms cubic-bezier(0.4, 0, 0.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":"client/src/style.css"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f75aef7c0ebbe3cd0372e7625e2bef253744e793556da9043afb24af4da90a"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.composer-effort-fill[data-dragging]\u0060 moves (\u0060transition: width 60ms linear,\n    opacity 100ms 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":"client/src/style.css"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8cc4bf439bc448e17edc075f0929017bd09467dc623ebd73f13703334712a7"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-gradient-x\u0060 moves (\u0060animation: gradient-x 15s 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":"client/src/style.css"},"region":{"startLine":2365}}}],"partialFingerprints":{"codehealthFindingId/v1":"8608a5ffafb662284b6be3b33e4175aa18e72ff16faa6e6edb0eb801ff9fa99c"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-pulse-slow\u0060 moves (\u0060animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) 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":"client/src/style.css"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d906946c2bc6ff1b77d3403f510fb157ef0e1ea7e72e445468e9a9f4a6a54cb5"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.animate-fadeIn\u0060 moves (\u0060animation: fadeIn 0.5s ease-out forwards\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":"client/src/style.css"},"region":{"startLine":2384}}}],"partialFingerprints":{"codehealthFindingId/v1":"90848ef93ba4fd2d358d866967cde00690f06dca0351b799daa7bd4a72361133"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ios-wiggle\u0060 moves (\u0060animation: ios-wiggle 0.2s ease-in-out infinite\u0060) and nothing reads prefers-reduced-motion for it \u2014 no @media (prefers-reduced-motion) rule for this element, no reset this project loads \u2014 so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/style.css"},"region":{"startLine":2402}}}],"partialFingerprints":{"codehealthFindingId/v1":"facf5acec9630f2aa9c0f2c66bac46c10b2527940c17edcaa31756fc4d44785e"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.ghost-badge\u0060 moves (\u0060transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),\n    top 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)\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":"client/src/style.css"},"region":{"startLine":2406}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7df6950be54ff1b52b057d5d522a02f3fb1c44e2a61e3ab5b4cc5c7264fe20"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: \u0060.badge-icon\u0060 moves (\u0060transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)\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":"client/src/style.css"},"region":{"startLine":2412}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e7649896508e46b149f04a3c3323ebe01964d830d71f6ba9483685653b4be6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AdminRolesDeps (17 required operations): \u0060AdminRolesDeps\u0060 declares 17 required operations: \u0060listRoles\u0060, \u0060countRoles\u0060, \u0060getRoleByName\u0060, \u0060createRoleByName\u0060, \u0060updateRoleByName\u0060, \u0060updateAccessPermissions\u0060, \u0060deleteRoleByName\u0060, \u0060findUser\u0060, \u0060updateUser\u0060, \u0060updateUsersByRole\u0060, \u0060findUserIdsByRole\u0060, \u0060updateUsersRoleByIds\u0060, \u0060listUsersByRole\u0060, \u0060countUsersByRole\u0060, \u0060deleteConfig\u0060, \u0060deleteAclEntries\u0060, \u0060deleteGrantsForPrincipal\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5296935eaf95eb9fd58e47576fae6caadc141120f8e27ca583fa28c770f2b1c6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AdminUsersDeps (17 required operations): \u0060AdminUsersDeps\u0060 declares 17 required operations: \u0060findUsers\u0060, \u0060countUsers\u0060, \u0060beginAgentTriggerUserDeletion\u0060, \u0060isAgentTriggerUserDeletionOwner\u0060, \u0060cancelAgentTriggerUserDeletion\u0060, \u0060drainAgentTriggerDeliveriesForUser\u0060, \u0060prepareAgentTriggerUserPurge\u0060, \u0060cancelAgentTriggerUserPurge\u0060, \u0060purgeAgentTriggerDeliveriesForUser\u0060, \u0060quiesceUserSchedules\u0060, \u0060restoreUserSchedulesFromDeletion\u0060, \u0060resolveErasure\u0060, \u0060deleteUserCodeEnvironments\u0060, \u0060invalidateCodeEnvironmentConfigCache\u0060, \u0060deleteConfig\u0060, \u0060deleteAclEntries\u0060, \u0060deletePasskeysByUser\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b1feec4f14c955d7aaf2e52a87b54289af4d231dcd2524c03c87bc44fce0a5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IJobStore (31 required operations): \u0060IJobStore\u0060 declares 31 required operations: \u0060initialize\u0060, \u0060createJob\u0060, \u0060getJob\u0060, \u0060updateJob\u0060, \u0060transitionStatus\u0060, \u0060claimIdempotencyKey\u0060, \u0060releaseIdempotencyKey\u0060, \u0060deleteJob\u0060, \u0060hasJob\u0060, \u0060getRunningJobs\u0060, \u0060cleanup\u0060, \u0060getJobCount\u0060, \u0060getJobCountByStatus\u0060, \u0060destroy\u0060, \u0060getActiveJobIdsByUser\u0060, \u0060setGraph\u0060, \u0060setContentParts\u0060, \u0060getContentParts\u0060, \u0060getRunSteps\u0060, \u0060appendChunk\u0060, \u0060clearContentState\u0060, \u0060setCollectedUsage\u0060, \u0060getCollectedUsage\u0060, \u0060enqueueSteer\u0060, \u0060drainSteers\u0060, \u0060closeAndDrainSteers\u0060, \u0060peekSteers\u0060, \u0060removeSteer\u0060, \u0060parkSteers\u0060, \u0060claimParkedSteers\u0060, \u0060clearSteers\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"1612e7b0a200b1243e82c096aecf8e6b97b37b5d35d6d5823c5fa812a1ffae18"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IJobStoreV2 (58 required operations): \u0060IJobStoreV2\u0060 declares 58 required operations: \u0060initialize\u0060, \u0060createJob\u0060, \u0060getJob\u0060, \u0060updateJob\u0060, \u0060markProviderExecutionDrained\u0060, \u0060beginProviderExecution\u0060, \u0060getCleanupBlockingJobIdsByUser\u0060, \u0060finalizeTerminalPersistence\u0060, \u0060transitionStatus\u0060, \u0060transitionStatusAndDrainSteers\u0060, \u0060claimIdempotencyKey\u0060, \u0060takeoverIdempotencyKey\u0060, \u0060markIdempotencyKeyStarted\u0060, \u0060adoptIdempotencyKeyForJob\u0060, \u0060releaseIdempotencyKey\u0060, \u0060deleteJob\u0060, \u0060hasJob\u0060, \u0060getRunningJobs\u0060, \u0060cleanup\u0060, \u0060getJobCount\u0060, \u0060getJobCountByStatus\u0060, \u0060destroy\u0060, \u0060getActiveJobIdsByUser\u0060, \u0060setGraph\u0060, \u0060setContentParts\u0060, \u0060getContentParts\u0060, \u0060settleEarlyBufferRecovery\u0060, \u0060finalizeEarlyBufferOverflow\u0060, \u0060hasSubscriberAttached\u0060, \u0060claimFirstSubscriber\u0060, \u0060detachSubscriber\u0060, \u0060hasActiveSubscriber\u0060, \u0060getRunSteps\u0060, \u0060appendChunk\u0060, \u0060clearContentState\u0060, \u0060setCollectedUsage\u0060, \u0060getCollectedUsage\u0060, \u0060enqueueSteer\u0060, \u0060enqueueSteerVersioned\u0060, \u0060enqueueSteerWithReceipt\u0060, and 18 more. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4073e34598c3959a59ad9cf561ce72cccfb966406460b04a3a769f80b51937"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AgentTriggerService (21 required operations): \u0060AgentTriggerService\u0060 declares 21 required operations: \u0060isReady\u0060, \u0060initialize\u0060, \u0060stop\u0060, \u0060dispatch\u0060, \u0060enqueue\u0060, \u0060getDelivery\u0060, \u0060getDeliveryStatus\u0060, \u0060getDeadLetters\u0060, \u0060requeue\u0060, \u0060retire\u0060, \u0060renewProducerLease\u0060, \u0060persistBackgroundToolResult\u0060, \u0060getBackgroundToolResultClaim\u0060, \u0060getBackgroundCompletionResultBatchSize\u0060, \u0060getBackgroundCompletionReceiptBatching\u0060, \u0060getCompletionWaitMaxIntervalMs\u0060, \u0060expediteCompletionWakeups\u0060, \u0060drainUser\u0060, \u0060prepareUserPurge\u0060, \u0060cancelUserPurge\u0060, \u0060purgeUser\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"26099231c3160d841acc9614f583201a365d1022e6aa9860156762a9d9f4634d"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: OpenIDRefreshRecoveryDeps (24 required operations): \u0060OpenIDRefreshRecoveryDeps\u0060 declares 24 required operations: \u0060getJwtRefreshSecret\u0060, \u0060findOpenIDUser\u0060, \u0060getOpenIdConfig\u0060, \u0060getOpenIdEmail\u0060, \u0060getOpenIdIssuer\u0060, \u0060createAuthIdentityContext\u0060, \u0060refreshOpenIDSession\u0060, \u0060storeOpenIDSession\u0060, \u0060setOpenIDAuthTokens\u0060, \u0060getOpenIDAppAuthToken\u0060, \u0060clearOpenIDAuthTokens\u0060, \u0060deleteOpenIDSession\u0060, \u0060createRefreshTokenBridgeFlightKey\u0060, \u0060createOpenIDRefreshFlightKey\u0060, \u0060storeRefreshTokenBridge\u0060, \u0060deleteRefreshTokenBridges\u0060, \u0060acquireOpenIDRefreshFlight\u0060, \u0060completeOpenIDRefreshFlight\u0060, \u0060failOpenIDRefreshFlight\u0060, \u0060waitForOpenIDRefreshFlight\u0060, \u0060assertOpenIDRefreshFlightAvailable\u0060, \u0060assertOpenIDRefreshSessionGenerationAvailable\u0060, \u0060revokeOpenIDRefreshFlights\u0060, \u0060withOpenIDRefreshFlightLease\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1364ff9212693f54fe6d8e529b661e520e8c295be7bb0851ae9a90429e0aa1a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ScheduleEngineDeps (18 required operations): \u0060ScheduleEngineDeps\u0060 declares 18 required operations: \u0060getLimits\u0060, \u0060getUserContext\u0060, \u0060isOutOfBalance\u0060, \u0060agentAccess\u0060, \u0060projectAccess\u0060, \u0060hasScheduleAccess\u0060, \u0060resolveFiles\u0060, \u0060enqueueTrigger\u0060, \u0060getTriggerDelivery\u0060, \u0060runInTenantContext\u0060, \u0060getJobStatus\u0060, \u0060abortScheduledJob\u0060, \u0060clearReconciledJob\u0060, \u0060countActiveRunsGlobal\u0060, \u0060isGloballyDisabled\u0060, \u0060isOwnerDeleting\u0060, \u0060isTermsBlocked\u0060, \u0060withGlobalCapacitySlot\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/types.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f7daebfcf1ac5ab364a701d8c347e5afceb87b02a97f329a29ded7f78150b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SchedulesService (19 required operations): \u0060SchedulesService\u0060 declares 19 required operations: \u0060getLimits\u0060, \u0060fireScheduleNow\u0060, \u0060recordScheduleOutcome\u0060, \u0060recordMCPToolAuthFailure\u0060, \u0060getMCPReceiptRetryPolicy\u0060, \u0060registerMCPSettlement\u0060, \u0060beginScheduledStop\u0060, \u0060acknowledgeScheduledStopPersistence\u0060, \u0060claimScheduleResume\u0060, \u0060releaseScheduleResumeClaim\u0060, \u0060finalizeScheduleResumeClaim\u0060, \u0060releaseScheduleResumeFence\u0060, \u0060isScheduleLive\u0060, \u0060deleteScheduleForOwner\u0060, \u0060quiesceUserSchedules\u0060, \u0060restoreUserSchedulesFromDeletion\u0060, \u0060initializeScheduleEngine\u0060, \u0060initializeScheduleErasureSweep\u0060, \u0060reconcileRetainedJobs\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b037fa2c5cd99f739180a4a76d8030941c917710cd845d4f1d91f2bda15bd62"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SkillsHandlersDeps (16 required operations): \u0060SkillsHandlersDeps\u0060 declares 16 required operations: \u0060createSkill\u0060, \u0060getSkillById\u0060, \u0060listSkillsByAccess\u0060, \u0060updateSkill\u0060, \u0060deleteSkill\u0060, \u0060deleteSkillById\u0060, \u0060listSkillFiles\u0060, \u0060deleteSkillFile\u0060, \u0060findAccessibleResources\u0060, \u0060findPubliclyAccessibleResources\u0060, \u0060hasPublicPermission\u0060, \u0060grantPermission\u0060, \u0060getSkillFileByPath\u0060, \u0060updateSkillFileContent\u0060, \u0060getStrategyFunctions\u0060, \u0060isValidObjectIdString\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70d0e0d7be779f79c209634cdbd6082c7d7a22086db94effe592a02ce67e083"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ResumableCache (18 required operations): \u0060ResumableCache\u0060 declares 18 required operations: \u0060invalidateMessages\u0060, \u0060fetchMessages\u0060, \u0060refreshConversation\u0060, \u0060refreshConversationLists\u0060, \u0060refreshPinnedConversations\u0060, \u0060setStreamStatus\u0060, \u0060removeStreamStatus\u0060, \u0060invalidateStreamStatus\u0060, \u0060addActiveJob\u0060, \u0060removeActiveJob\u0060, \u0060fetchConversation\u0060, \u0060setConversation\u0060, \u0060upsertConversation\u0060, \u0060removeConversation\u0060, \u0060getConversation\u0060, \u0060removeConversationQueries\u0060, \u0060queueTitleGeneration\u0060, \u0060addOptimisticConversation\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/host.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2219e33d4c01e0bd4d1ec6cb2b571d202ea87bf287c1c001a1b48e5c94cac9e1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessagesHost (25 required operations): \u0060MessagesHost\u0060 declares 25 required operations: \u0060useHour12\u0060, \u0060renderFiles\u0060, \u0060useForkPreferences\u0060, \u0060useForkConversation\u0060, \u0060useMessageCopy\u0060, \u0060useGetMessages\u0060, \u0060useHasPendingTurn\u0060, \u0060renderMessageAudio\u0060, \u0060useScreenshotTarget\u0060, \u0060useAutoScroll\u0060, \u0060useSeenSource\u0060, \u0060useConversationMessages\u0060, \u0060useAssistant\u0060, \u0060useGetAddedConvo\u0060, \u0060useStreamedAttachments\u0060, \u0060useMessageFeedback\u0060, \u0060renderMessageIcon\u0060, \u0060useMaximizeChatSpace\u0060, \u0060useHideSelectedAuthor\u0060, \u0060useAgentsMap\u0060, \u0060renderMessageBody\u0060, \u0060renderWakeup\u0060, \u0060renderPrivateText\u0060, \u0060renderActivity\u0060, \u0060useFileMap\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/host.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6d635d75a784eced0b04fa02b524bd1f6ce259468da3cbd2094df24d296d9e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessagePartsHost (24 required operations): \u0060MessagePartsHost\u0060 declares 24 required operations: \u0060useMessage\u0060, \u0060renderMarkdown\u0060, \u0060renderImage\u0060, \u0060renderFilePreview\u0060, \u0060useSmoothStreaming\u0060, \u0060useAgent\u0060, \u0060renderContentParts\u0060, \u0060renderAgentIcon\u0060, \u0060renderAgentAvatar\u0060, \u0060useFontSize\u0060, \u0060useShowThinking\u0060, \u0060useAutoExpandTools\u0060, \u0060useLaTeXParsing\u0060, \u0060useChatDirection\u0060, \u0060useUserTextPreferences\u0060, \u0060useUser\u0060, \u0060useFileMap\u0060, \u0060useToast\u0060, \u0060useSandboxStarting\u0060, \u0060useToolArtifactClaim\u0060, \u0060useSteerEscalating\u0060, \u0060usePaneConversationId\u0060, \u0060useLiveAppliedSteer\u0060, \u0060useShare\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/host.tsx"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcb6bf6576fb58abdbcb45260e2995561ff9926c195fd45c4b7a40e13bfddf3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SteerHost (17 required operations): \u0060SteerHost\u0060 declares 17 required operations: \u0060useSteerMessage\u0060, \u0060useSteerMessageAsync\u0060, \u0060useCancelSteer\u0060, \u0060useArmSteer\u0060, \u0060useMarkFilesUsage\u0060, \u0060useEnqueueQueuedTurn\u0060, \u0060useCancelQueuedTurn\u0060, \u0060useQueuedTurns\u0060, \u0060useQueuedTurnCache\u0060, \u0060useFetchStreamStatus\u0060, \u0060useRouteConversationId\u0060, \u0060useCodeApprovalInputs\u0060, \u0060useLocalize\u0060, \u0060useNotify\u0060, \u0060useFileMap\u0060, \u0060useClearFilesToDelete\u0060, \u0060useSettings\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steer/host.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeba4e7ee33febc215bec4554154e6cd6ba34ffed89dc22ad39bc55be0a4341e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SlackWorkspaceStorage (20 required operations): \u0060SlackWorkspaceStorage\u0060 declares 20 required operations: \u0060appInUse\u0060, \u0060app\u0060, \u0060apps\u0060, \u0060configureApp\u0060, \u0060removeApp\u0060, \u0060startInstall\u0060, \u0060findInstall\u0060, \u0060claimInstall\u0060, \u0060retireInstall\u0060, \u0060cancelInstall\u0060, \u0060completeInstall\u0060, \u0060list\u0060, \u0060read\u0060, \u0060metadata\u0060, \u0060botManagers\u0060, \u0060searchBotManagers\u0060, \u0060setBotManagers\u0060, \u0060disconnect\u0060, \u0060remove\u0060, \u0060route\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e296a5269cfdec25c500c780c238e3c54b8b0c40ef7cd4b93e275358e6b68b8"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: MessageMethods (25 required operations): \u0060MessageMethods\u0060 declares 25 required operations: \u0060getPersistedPrivateTextId\u0060, \u0060hasPersistedPrivateText\u0060, \u0060getPrivateMessageTexts\u0060, \u0060saveMessage\u0060, \u0060getConversationTraceRefs\u0060, \u0060hasSampledTraceMessage\u0060, \u0060recordSubagentTaskControlReceipt\u0060, \u0060getSubagentTaskControlReceipt\u0060, \u0060getSubagentTaskControlReplay\u0060, \u0060bulkSaveMessages\u0060, \u0060updateToolCallResult\u0060, \u0060claimBackgroundToolResults\u0060, \u0060confirmBackgroundToolResultClaim\u0060, \u0060releaseBackgroundToolResultClaims\u0060, \u0060updateMessage\u0060, \u0060claimSubagentTaskResult\u0060, \u0060releaseSubagentTaskResultClaim\u0060, \u0060getMessages\u0060, \u0060getMessagesForSubagentThreadView\u0060, \u0060listSubagentTasksForThreads\u0060, \u0060getMessage\u0060, \u0060getBranchLinks\u0060, \u0060getMessagesByCursor\u0060, \u0060searchMessages\u0060, \u0060deleteMessages\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4162d518adf629c2072751cbd4d632899d71e5bae0a3a6cc706181d450fdaa19"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ConversationMethods (50 required operations): \u0060ConversationMethods\u0060 declares 50 required operations: \u0060getConvoFiles\u0060, \u0060searchConversation\u0060, \u0060saveConvo\u0060, \u0060stampForcedRetention\u0060, \u0060setConvoPinned\u0060, \u0060appendConvoMessageReference\u0060, \u0060getConvoCodeEnvironmentDecision\u0060, \u0060reserveConvoLaneGitSeq\u0060, \u0060getConvoLaneContext\u0060, \u0060setConvoLaneGit\u0060, \u0060getConvoLaneGit\u0060, \u0060getConvosLaneGit\u0060, \u0060addConvoToolApprovalAllows\u0060, \u0060readAdmittedConvoCodeEnvironmentDecision\u0060, \u0060replaceConvoCodeEnvironmentDecision\u0060, \u0060bulkSaveConvos\u0060, \u0060getConvosByCursor\u0060, \u0060getConvosQueried\u0060, \u0060getConvo\u0060, \u0060getConvoTitleState\u0060, \u0060getSubagentThreadForParent\u0060, \u0060listSubagentThreadsForParent\u0060, \u0060getAgentEventBinding\u0060, \u0060getAgentEventActorSnapshot\u0060, \u0060commitAgentEventActorState\u0060, \u0060storeAgentEventActorSuspension\u0060, \u0060claimAgentEventActorSuspension\u0060, \u0060settleAgentEventActorSuspension\u0060, \u0060cancelAgentEventActorSuspension\u0060, \u0060beginAgentEventActorLegacyTurn\u0060, \u0060completeAgentEventActorLegacyTurn\u0060, \u0060recordAgentEventActorReconciliation\u0060, \u0060resolveAgentEventActorReconciliation\u0060, \u0060clearAgentEventActorReconciliation\u0060, \u0060getAgentEventActorReconciliationStorageMetrics\u0060, \u0060expireLegacyAgentEventActorReceipts\u0060, \u0060reserveSubagentThread\u0060, \u0060acquireSubagentThreadLease\u0060, \u0060renewSubagentThreadLease\u0060, \u0060releaseSubagentThreadLease\u0060, and 10 more. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ec489be49dd99e0eab34305376ffd088a5ddbc4fbd05b0425ff2f90a5683bf"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ChannelFeedbackStorage (17 required operations): \u0060ChannelFeedbackStorage\u0060 declares 17 required operations: \u0060deferChannelFeedbackEvent\u0060, \u0060deferChannelFeedbackExport\u0060, \u0060withAuthority\u0060, \u0060isAuthorityCurrent\u0060, \u0060readChannelReplyTrace\u0060, \u0060readReplySource\u0060, \u0060putChannelReply\u0060, \u0060getChannelReply\u0060, \u0060admitChannelFeedbackEvent\u0060, \u0060pendingChannelFeedbackEvents\u0060, \u0060markChannelFeedbackEvent\u0060, \u0060ensureChannelFeedback\u0060, \u0060getChannelFeedback\u0060, \u0060saveChannelFeedback\u0060, \u0060claimChannelFeedbackExport\u0060, \u0060finishChannelFeedbackExport\u0060, \u0060pendingChannelFeedbackExports\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelFeedback.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"039b7f3f8ec2bd8b64c156ac847a8531eb9c215e312bc8f35f7640585b70279a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ChannelRunStorage (29 required operations): \u0060ChannelRunStorage\u0060 declares 29 required operations: \u0060listPendingMetadata\u0060, \u0060claimAuthorityLost\u0060, \u0060admit\u0060, \u0060claim\u0060, \u0060renew\u0060, \u0060yieldLease\u0060, \u0060read\u0060, \u0060readActiveThread\u0060, \u0060observeThreadStop\u0060, \u0060prepareExecution\u0060, \u0060bindResponse\u0060, \u0060recoverResponse\u0060, \u0060attachResponseCredential\u0060, \u0060finishUnstartedResponseCancellation\u0060, \u0060saveSnapshot\u0060, \u0060savePlan\u0060, \u0060planProgress\u0060, \u0060beginProgress\u0060, \u0060settleProgress\u0060, \u0060reconcileProgress\u0060, \u0060beginDelivery\u0060, \u0060settleDelivery\u0060, \u0060reconcileDelivery\u0060, \u0060checkpointUpload\u0060, \u0060commitDelivery\u0060, \u0060markAuthorityLost\u0060, \u0060finishAuthorityLost\u0060, \u0060requestCancel\u0060, \u0060findDeliveredReply\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"795f21ddd282d362640862486f435d98ef7cfb8e7b921b547a7d97dee79f99d3"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: PromptMethods (20 required operations): \u0060PromptMethods\u0060 declares 20 required operations: \u0060getPromptGroups\u0060, \u0060deletePromptGroup\u0060, \u0060getAllPromptGroups\u0060, \u0060getListPromptGroupsByAccess\u0060, \u0060incrementPromptGroupUsage\u0060, \u0060createPromptGroup\u0060, \u0060savePrompt\u0060, \u0060getPrompts\u0060, \u0060getPrompt\u0060, \u0060getPromptGroup\u0060, \u0060getOwnedPromptGroupIds\u0060, \u0060getPromptGroupAccessContext\u0060, \u0060invalidatePromptGroupAccessContext\u0060, \u0060deletePrompt\u0060, \u0060deleteUserPrompts\u0060, \u0060updatePromptGroup\u0060, \u0060makePromptProduction\u0060, \u0060updatePromptLabels\u0060, \u0060findLangfusePromptGroup\u0060, \u0060createLangfusePromptGroup\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace2527660f2b054f5a7b9ec7f175110310e5ca5872a2f1764f29666b679a38f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: SkillLifecycleMethods (32 required operations): \u0060SkillLifecycleMethods\u0060 declares 32 required operations: \u0060beginSkillDeletion\u0060, \u0060getSkillDeletion\u0060, \u0060discoverUnjournaledDeletions\u0060, \u0060listPendingSkillDeletions\u0060, \u0060listSkillDeletionTombstones\u0060, \u0060noteSkillDeletionAttempt\u0060, \u0060claimSkillDeletion\u0060, \u0060refreshSkillDeletionClaim\u0060, \u0060releaseSkillDeletionClaim\u0060, \u0060completeSkillDeletion\u0060, \u0060reopenSkillDeletion\u0060, \u0060scheduleSkillDeletionRecheck\u0060, \u0060reserveSkillUploadIntent\u0060, \u0060transitionSkillUploadIntent\u0060, \u0060listSkillUploadIntents\u0060, \u0060iterateSkillCleanupFiles\u0060, \u0060iterateSkillCleanupIntents\u0060, \u0060hasInFlightSkillUploads\u0060, \u0060listExistingSkillFileIds\u0060, \u0060getSkillUploadIntent\u0060, \u0060recoverStoppedSkillUploadIntent\u0060, \u0060finishSkillUploadCleanupHold\u0060, \u0060recoverStoppedSkillUploadCleanupHold\u0060, \u0060listAbandonedSkillUploadIntents\u0060, \u0060claimAbandonedSkillUploadIntent\u0060, \u0060refreshAbandonedSkillUploadIntentClaim\u0060, \u0060noteAbandonedSkillUploadIntentAttempt\u0060, \u0060releaseAbandonedSkillUploadIntentClaim\u0060, \u0060skillFileExistsForIntent\u0060, \u0060markSkillUploadIntentCleaned\u0060, \u0060queueCommittedSkillUploadCleanup\u0060, \u0060scheduleAbandonedSkillUploadIntentRecheck\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed468c31b67d037ac0cd3beb7d49be08f6dfadcd2c7fc492ef2ba9c0fb58ee7e"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AgentQueuedTurnMethods (28 required operations): \u0060AgentQueuedTurnMethods\u0060 declares 28 required operations: \u0060ensureAgentQueuedTurnIndexes\u0060, \u0060enqueueAgentQueuedTurn\u0060, \u0060getAgentQueuedTurnByClientRequestId\u0060, \u0060listActiveAgentQueuedTurns\u0060, \u0060listAgentQueuedTurnReceipts\u0060, \u0060findQueuedTurnsNeedingDelivery\u0060, \u0060claimQueuedTurnsForAdmissionReconciliation\u0060, \u0060deferAgentQueuedTurnAdmissionReconciliation\u0060, \u0060reserveAgentQueuedTurnDelivery\u0060, \u0060markQueuedTurnScheduled\u0060, \u0060getAgentQueuedTurnGenerationLineage\u0060, \u0060confirmAgentQueuedTurnSourceHandoff\u0060, \u0060cancelAgentQueuedTurn\u0060, \u0060claimNextAgentQueuedTurn\u0060, \u0060hasPendingAgentQueuedTurn\u0060, \u0060releaseAgentQueuedTurn\u0060, \u0060beginAgentQueuedTurnAdmission\u0060, \u0060markAgentQueuedTurnAdmitted\u0060, \u0060hasAgentQueuedTurnAdmissionReceipt\u0060, \u0060deadLetterAgentQueuedTurn\u0060, \u0060getEffectiveAgentQueuedTurnPredecessor\u0060, \u0060deleteAgentQueuedTurns\u0060, \u0060prepareAgentQueuedTurnConversationDeletion\u0060, \u0060deletePreparedAgentQueuedTurnConversations\u0060, \u0060markAgentQueuedTurnDeliveryRetired\u0060, \u0060beginAgentQueuedTurnMissingDeliveryRetirement\u0060, \u0060markAgentQueuedTurnMissingDeliveryRetired\u0060, \u0060deleteAllAgentQueuedTurnsForUser\u0060. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"80da6a8de92ab9b8f6e25944ec8eca48da220b165e03935eb76ed11f330df1ad"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: AgentTriggerDeliveryMethods (54 required operations): \u0060AgentTriggerDeliveryMethods\u0060 declares 54 required operations: \u0060ensureAgentTriggerDeliveryIndexes\u0060, \u0060enqueueAgentTriggerDelivery\u0060, \u0060claimNextAgentTriggerDelivery\u0060, \u0060findEarlierAgentTriggerDelivery\u0060, \u0060getAgentTriggerDeliveryBatch\u0060, \u0060releaseAgentTriggerDelivery\u0060, \u0060beginAgentTriggerDeliveryAttempt\u0060, \u0060deferAgentTriggerDeliveryAttempt\u0060, \u0060completeAgentTriggerDelivery\u0060, \u0060retireAgentTriggerDelivery\u0060, \u0060renewAgentTriggerDeliveryProducerLease\u0060, \u0060getAgentTriggerDeliveryProducerLease\u0060, \u0060listPendingAgentBackgroundToolCompletions\u0060, \u0060listUndeliveredAgentTriggerTaskIds\u0060, \u0060expediteAgentTriggerDeliveries\u0060, \u0060persistAgentBackgroundToolResult\u0060, \u0060getAgentBackgroundToolResult\u0060, \u0060getAgentBackgroundToolResultClaim\u0060, \u0060claimAgentBackgroundToolResults\u0060, \u0060releaseAgentBackgroundToolResultClaims\u0060, \u0060claimAgentBackgroundToolResultBatch\u0060, \u0060getAgentBackgroundToolResultBatch\u0060, \u0060beginAgentBackgroundToolResultBatchDispatch\u0060, \u0060confirmAgentBackgroundToolResultBatch\u0060, \u0060settleAgentTriggerHandlingOutcome\u0060, \u0060admitAgentEventActorAction\u0060, \u0060releaseAgentEventActorAction\u0060, \u0060getAgentEventActorActionAdmission\u0060, \u0060hasAgentEventActorActionAdmission\u0060, \u0060reserveAgentEventActorDetachedAction\u0060, \u0060markAgentEventActorDetachedActionRunning\u0060, \u0060markAgentEventActorDetachedActionLaunchIndeterminate\u0060, \u0060settleAgentEventActorDetachedAction\u0060, \u0060getAgentEventActorDetachedAction\u0060, \u0060settleAgentEventActorReceipt\u0060, \u0060getAgentEventActorReceipt\u0060, \u0060backfillAgentEventActorReceipt\u0060, \u0060getAgentEventActorReceiptStorageMetrics\u0060, \u0060retryAgentTriggerDelivery\u0060, \u0060deadLetterAgentTriggerDelivery\u0060, and 14 more. Counted over its REQUIRED operations \u2014 a method signature or a function-typed property with no \u0060?\u0060, once per signature; optional members and data properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b856e0e6f01dd559ebbf2c1f57b975a6b7e12385c40560b097a4f26ee2bbf8"}},{"ruleId":"C5","level":"note","message":{"text":"Partial data-subject-rights support: Corroborated rights: erasure \u2713 \u00B7 export \u2717 \u00B7 consent \u2717. Each tick means this scan found code in the repository implementing that right \u2014 a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A \u2717 therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f30fc8e725e23f01c9d247a7d5d9dbfb00ef6c5536867cbc625b447fb7951f2"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [id, kind] decided in 3 places: client.src.components.SidePanel.Agents.Tools.items.types.BuiltinItem\u0027s [id, kind] are judged in client.src.components.SidePanel.Agents.Tools.ItemDialog.ItemDialog, client.src.components.SidePanel.Agents.Tools.ToolCard, client.src.components.SidePanel.Agents.Tools.ToolsMarketplaceDialog \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"746fae3135718b349893a576396ac10fb8b3fcaa74981fd971d3837eb23ada25"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [checkpointCollectionName, checkpointWritesCollectionName, type] decided in 2 places: packages.api.src.agents.checkpoints.config.ResolvedCheckpointerConfig\u0027s [checkpointCollectionName, checkpointWritesCollectionName, type] are judged in packages.api.src.agents.responses.resume, packages.api.src.agents.responses.runtime \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bdcb62fe10fc2426fb4c77235889b75ffb4da8269eff7e4ef4d01b18422579ff"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [conversationId, runId] decided in 2 places: packages.api.src.agents.files.manifest.RunFileScope\u0027s [conversationId, runId] are judged in packages.api.src.agents.files.manifest, packages.api.src.agents.files.session \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4653c94be151d9a11772c39726591da1f1968a474ab2c3dac6e95364df3d3eb3"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [id, model] decided in 4 places: packages.api.src.agents.responses.types.Response\u0027s [id, model] are judged in packages.api.src.agents.responses.background, packages.api.src.agents.responses.pause, packages.api.src.agents.responses.runtime, packages.api.src.agents.responses.segments \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4e16f44372492790c36e33bb4bd616b9157462d2c72fdf2eb2b212b6105ac638"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [metadata, status] decided in 3 places: packages.api.src.agents.subagentCompletionWakeup.GenerationState\u0027s [metadata, status] are judged in packages.api.src.agents.backgroundCompletionWakeup, packages.api.src.agents.queuedTurns, packages.api.src.agents.subagentCompletionWakeup \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"45f29f163a073b7dfdc80f1db213a4bf2212752caa3cf792e7d87eb5f0f2c5e2"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [bindingId, sourceKeyId] decided in 4 places: packages.api.src.agents.triggers.envelope.AgentContinueTarget\u0027s [bindingId, sourceKeyId] are judged in packages.api.src.agents.triggers.batch, packages.api.src.agents.triggers.continuation, packages.api.src.agents.triggers.delivery, packages.api.src.agents.triggers.service \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bdbe75e0e6250f31ad168e7753e330542bd8e98d46272ed0a043fff4a2cca5dd"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [id, type] decided in 6 places: packages.api.src.agents.triggers.envelope.AgentTriggerSource\u0027s [id, type] are judged in packages.api.src.agents.backgroundCompletionWakeup, packages.api.src.agents.queuedTurns, packages.api.src.agents.subagentCompletionWakeup, packages.api.src.agents.triggers.batch, packages.api.src.agents.triggers.bindingResolver, packages.api.src.agents.triggers.host \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"43d2830d7e38b9757dd368525939f1d6746a197918d6a2090676d4a17d374bd7"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [code, status] decided in 2 places: packages.api.src.agents.triggers.host.AgentTriggerExecutionError\u0027s [code, status] are judged in packages.api.src.agents.triggers.engine, packages.api.src.agents.triggers.host \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"410bfe43736f871a82f7dad351b7ac9551186709fdb66ccacfe3cc3da5f3a58e"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [key, ownerId] decided in 2 places: packages.api.src.auth.openid.types.OpenIDPublicationGeneration\u0027s [key, ownerId] are judged in packages.api.src.auth.openid.recovery, packages.api.src.auth.openid.session \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"99b7b0d1c1e75c19160ad827b090bd185c572d348d0a8c328e6c29870f80aa0f"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [generation, key] decided in 2 places: packages.api.src.mcp.registry.cache.ReadThroughAllCache.FillToken\u0027s [generation, key] are judged in packages.api.src.mcp.registry.cache.ReadThroughAllCache.ReadThroughAllCache, packages.api.src.mcp.registry.cache.ReadThroughCache.ReadThroughCache \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e5a4dabf314a946f1a8e702b85091e1dea053379ae070a16ca7d6fc35191bbda"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [providerDrained, terminalHostActionPending, terminalPersistencePending] decided in 2 places: packages.api.src.schedules.types.JobState\u0027s [providerDrained, terminalHostActionPending, terminalPersistencePending] are judged in packages.api.src.schedules.engine, packages.api.src.schedules.erasure \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e500c48b743a91d06984a82683ef0a67489c34eabb91cf1c54d02712b4cfb740"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [scheduleId, scheduledFor] decided in 2 places: packages.api.src.schedules.types.JobState\u0027s [scheduleId, scheduledFor] are judged in packages.api.src.schedules.engine, packages.api.src.schedules.erasure \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"355431cee71ffd01395bc644501f21f51c0e1580fc49b79488ecbef8a1feae17"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [createdAt, providerDrained, terminalHostActionPending, terminalPersistencePending] decided in 2 places: packages.api.src.stream.interfaces.IJobStore.SerializableJobData\u0027s [createdAt, providerDrained, terminalHostActionPending, terminalPersistencePending] are judged in packages.api.src.schedules.service, packages.api.src.stream.GenerationJobManager.GenerationJobManagerClass \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"29b3b35b1783bb265de5bce228200784a8740da682d42f8a31148094ecfe43d8"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [createdAt, userId] decided in 2 places: packages.api.src.stream.interfaces.IJobStore.SerializableJobData\u0027s [createdAt, userId] are judged in packages.api.src.schedules.service, packages.api.src.stream.GenerationJobManager.GenerationJobManagerClass \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f34f4c136d71aa43b89cb172cd964e3a7a8bc0ea5b798d6e3bc4461f6b465bf6"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [status, terminalPersistencePending] decided in 2 places: packages.api.src.stream.interfaces.IJobStore.SerializableJobData\u0027s [status, terminalPersistencePending] are judged in packages.api.src.stream.GenerationJobManager.GenerationJobManagerClass, packages.api.src.stream.settled \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"85ce5a60ba5ade27fe33823226477490540a837999f90e2364d7d0630614f264"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [bytes, items] decided in 2 places: packages.api.src.stream.internal.replay.ReplayLimits\u0027s [bytes, items] are judged in packages.api.src.stream.implementations.InMemoryEventTransport.InMemoryEventTransport, packages.api.src.stream.implementations.RedisEventTransport.RedisEventTransport \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aa29937bbec3630e6355928af7a6ac53b1655d3646987816917e332600ca48b7"}},{"ruleId":"DM9","level":"note","message":{"text":"Rule about [active, createdAt] decided in 6 places: packages.chat.src.core.resumable.host.StreamStatusResponse\u0027s [active, createdAt] are judged in packages.chat.src.core.resumable.ceiling, packages.chat.src.core.resumable.missing, packages.chat.src.core.resumable.reconcile, packages.chat.src.core.resumable.subscription.ResumableSubscription, packages.chat.src.core.resumable.terminal, packages.chat.src.react.stream.resume.finished \u2014 the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"72763967e45c41605466b01c850244c23eb7f7cd034b73387e180eb27e1384ee"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 error: A shipped function\u0027s whole body still throws a \u0022not implemented\u0022 error \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"986b52ae70b4cb1878472a193f0f4c9676954ab0be616ea19b0f956e8417e0a0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws a \u0022not implemented\u0022 exception: \u0060summarizeMessages\u0060 throws an exception whose message says it isn\u0027t finished \u2014 a not-implemented stub wearing an ordinary exception. Implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b5d4520f58c57f38ddd8ca3be30c6b09c7ddb63e2af6551493205dfee38bf7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"901fd6b7972732db3cac15479efe93fef0749731ecfc699b08d2944af0766e53"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060createOnTextProgress\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AssistantService.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b4f888e4faadbc962f2c0f86eae8454960746e34870a2e97eb750292f2a019"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return \u0027webm\u0027;\u0060 also returns \u0060\u0027webm\u0027\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e01eb1490de96202d37553184157be5348bb47b3ef40cdcc74c185f0ca42ba"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060addContentData\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"928a77f91cd359d78a73a0cbdcf60cc52d739099b4a7b94b5a829706536094dc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleThreadCreated\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"6956a2966fbde22bc3190bbbeeb4da358015fe7eb0321279631a846e7723404a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleRunStepEvent\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b16fcca22113cd1cee560c346ac82151abe66c0a274049fa09bf496d08833b1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleRunStepDeltaEvent\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"79214c77246765ad69b6a4deaf2787d1d93497e102effc3a40872ec12f2ecfbe"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleErrorEvent\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"1067142e8a7c817f9419de1ee47eb2700a5970453fa858b641567ab3ee022ac3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060onRunStepCreated\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5acdd10aa46bbcbf2d4f08fa3f8a425f835207d63d9f78b13d40735017a31c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060onRunStepCompleted\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6b083cc08e8e2d72209ef2401632935ca762ecd70ec9318e6dbb1d415f0b6e"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return storedSecret;\u0060 also returns \u0060storedSecret\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/twoFactorService.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c3723ec6fc2618e38022caf27845add3c01c0bf5f3c5e757e4882e3bce9309"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060setupSaml\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/samlStrategy.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"73569434b46dab1c8dace9ac6bbe779a200a445ee4307112bbf529fcd7bb7816"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onOpenChange\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af05f1e7d626b40b71c26e712959e77dde9e45e59e56b146d389c1d1f89ad2f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060noRefresh\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/useTasks.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"42804edcb30e918ad5267fb9d77f6f239436ca4cf33d17b049c58b94be7dd59b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Markup wires an event to an empty handler: \u0060onSave\u0060 is wired to an arrow whose body is empty \u2014 the markup attaches a listener that does nothing. Implement the handler, or remove the attribute that wires it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7f8ebcd136eec60df66b26532a105d9d00ec7d1cd7a8eaa6b0aa75354e5ee5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolCard.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ad70632285ca3d2c856fbb41804f806d0ab7ebe6bbda301a6505901d3d56f8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060handleUIAction\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/index.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"da57f9dd384c544950754e1064aa8c77bcc00d5eda207b8cb895567df79b78ed"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060validateDockerRunning\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/deployed-update.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4d6e6b378fba0033f2815f4e5cd930b19f317fd97d470b378fb794a863b00f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060showHelp\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"118ed400d2623e2e81bb527da9bd842e0d5571560409c5b8fa1302ec862740ea"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060flushFileCache\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"11bdd59f1e413149aad45a07e15f7668d909bedb0ddfa22350f0730fcff1712d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060restartRecommendation\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6402ebd266912e45128717744e8aa8178d71ccb2736bbcc4eb1af1e4fa5332f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060validateDockerRunning\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/update.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cedf5fdaf90ba878fc7a8a079ae104cf47afa9eb4a13c918a6ec74200dc6b93"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: The guard above \u0060return replaceAll;\u0060 also returns \u0060replaceAll\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/edits.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20af7e849a652f35cb72baa6bb30fa19687f59603ef87e3714b2b868976138c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060getNoCanonicalFiles\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/imports.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7077beeb61782fc8f53770fad2c2f6f8e04782c5637090df6b899fd29c2f502"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060fetchServerInstructions\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServerInspector.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f6341e40faf744133c9db4525a581fc3e107de7521876b98f54dacad45db6ba"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060update\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c29258655c87ddb22e92f14f589d2cb3c5f3900a7895fec3671ae2f35a5838a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060upsert\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ca5f480f5a80f7d704893c40fd174ff9f36af65949977a3602724805fba197"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060patch\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"260b5df3543899bce1dfe91e24c8b343e1ddc4e94ea5675c42ecd50c0a0a88d7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060remove\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc9427ff1738632fdf2233316f6680cb8c22e99582149a7ea2077dca9d69232"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060reset\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de0ef37683e49a0123ed07d8ec5fc62858ca71d56d6e9326da29fdaf069faf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060deleteSkillNode\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/data-service.ts"},"region":{"startLine":1852}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b736608e1d77ce70db5ca40ab8ad9c03098cdec460af4d48156f7ed2f5414aa"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060observeAgentEventActorReceipt\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c70ad9b9ebc061d91400967df6675a1e58f688174010329e3a4a71933aef983"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060disconnectTaskRouting\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/subagentThreadStore.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae26773093e60b68a04062527cc32c2f4c2f9605e147026fbed5e5d73095efd1"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060retainView\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/KeyboardDeleteDialog.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bddfc215a0f5943d2ad0aba31ea7fb15c75af510f4a3314946208790deaf41c"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-user.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5673e975ca8a1be810e67f76006cafd5a8c1ee4970d840b43121dcef2c6a3a"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/packages.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"511e3fd28964515ae0b139d6a5db24afac84e520cefa19877b47283bafdc65f9"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060eslint-disable\u0060 or \u0060@ts-nocheck\u0060 with no rule list switches every lint rule or the whole type checker off for the rest of the file \u2014 hidden debt. Disable the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/update.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c3acd5f9d2c35253d62c205a564825038c5d1d3d0ea5e0089c2686bc3c787"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/code-upload.spec.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed46b2834fa9d60dfd508426b6dad7c1576ff6868b5fc0ed0bb872470025dcf9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/conversation-management.spec.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"853ad8080b1fe3d9d297b1edf117e74ae87116d5e0175b5394d902ba8e43ec4a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/conversation-management.spec.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"963c9494f81619dfa10c26e7f5b179b2d865094d01b0539b3757b56da222c23a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/enforced-model-specs.spec.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27cc2abaef83e0e47d531e8bde196d8aec8b7d080a9d1f3c65b41c5505b48ce"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"a666a172cd616eeb5f2906326f923704b73aed5aa44686f43adf0ca90b9f2f06"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae1538195e6c671064cc26f5af1e26cca861d3a48c3a8f5d5ce1a8bd1315586"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf7ac5d3f277ebb1317af63ddfb41c0d836a763bc702df075b97802eac66ce2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":1003}}}],"partialFingerprints":{"codehealthFindingId/v1":"785d40f43c4ff8b4ae714a1765707217220dd36d6b438b6bc2245e917705cc63"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"137fec4822aa2ff3bd6da6ee031453ef0bec3fc07dad14beab109728ea475a74"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-apps.spec.ts"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"223fb6bf92f9fbabf862bdfbb920e53eaa09ed789ed7061a50fad80f7b1d288b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/mcp-tool-list-changed.spec.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"96f3b64234470f2c769b196cc42631ae76dd34eee1cefb666328442665b76c8e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/message-visual.spec.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d17add4b405812620d77a56c290ba400c3ddb2737cc53d1f588c9b5564aaa2b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/model-replay-tools.spec.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"354415f0250eda1ba2102721bc8d3ff7efe1bc75f1ce44c15b99430231d61168"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/model-replay.spec.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb49c8133b0c6d581001a7cc153407e3bee518cea8b4e033c9419a6d18c5f961"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/chat-context.spec.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2725b141e303d0a1e3cae4a9fcfcd3ab1519dedd06087806e727e107c44ec0"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/composer-position.spec.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d760c58f433f40006ba15bdd013c33887c1963ae1328487ef64e1cabf9ad74b4"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/composer-queue.spec.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b4dd25fd11bf4cc761dbf96d47a494bcecf266c1a0c354571f9ec95d831ae9"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/delete-user-cli.spec.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"1794b075481c3572e30c3584707b790a4901af57996d6b331775fabacb8d02ed"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/drawer-escape.spec.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"889ef38361459e594212bd483b681ffeb4bc3ae2395a98136d24b8541765c599"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/lint.helpers.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ea4eda7532966c2976836e93bb6a90dcd7821c02c4665177cd64ff929cf0d3"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/parts.spec.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f667933d22dccfeada21106838f3620bfdec123b0081a020cbe80f17e39e86"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/passkeys.spec.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48d03edef28e2d2937aee08bdd3891b57c1ad99810dddf60a319d05bbad0062"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-drag-rules.spec.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a4f08e6b42c5766ea8bec72b2d508553059adcafc6a0bd3a3a4f47ec7606e"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b427b15b71dbbec9358d72cfd868a32017e80b993bec6cd9ccfa536af14cccfc"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94280fb5f6335f6d8bf1bd38d478d062030da53999c295c76b0976eaea7e6b1"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e0e221f97c00b2f02e909b95e2419e089705860c1eb62254cee6df4d6a7fe1"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fdc802d706ac7eb0c858dcd62ab7472e3a8ba81521b654f94857c891821ea1f"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/pinned-row-controls.spec.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1771c8edf53418f9e5980e4387e32a9a3759e0361fb3fd96e84868f9ea2f7c"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/published-package-peers.spec.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"36b31a6d46807f21472591a4fb5ea962dec6d2b7cc8c01671e150e59106d7bca"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/published-package-peers.spec.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2113dadcb1aa1c945ae287787f96e0983fc72256f26fe58d67c5dae47a019b7"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/queue-owners.spec.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"486613d9acefdd74bae12168a54bb36f667c51922714e8339874c837d11aeb17"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/reset-password.spec.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"167146f8b8129427c9440716a63ea804eb0c35220bf8fe774c7eeed5143934dc"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/sidebar-row-action-fills.spec.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e844164529dffc2cae229f725e7dc3b97477ef11cc3814a4529c5e181a05c5e6"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/sidebar-row-action-fills.spec.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff2f0fead452227d2e536d91a97fe811e3f860df585cdf500a02925e80b692a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/stream-events.spec.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef74187cde465f765b7d5377c186fca2ec6c43c17dc3928f02acb2d87c49c48"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/subagent-context-total.spec.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d20395cf853dc077f81ce87a1643360ea5abe10e8ae5d50acb0b366bc9f8ed"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/temporary-chat-icon.spec.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"547cf4e8827f1f295d6f8c973de04ece018f4cf1047cf3d9b7509f490a38fe06"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/tool-context-split.spec.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f96a0dfeff4b23f569ec688dc20ab388621e2c0ed7af8832360c4dad69d644"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/tool-steps.spec.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c655ff28f4aceb52bb7b46b55907f547b013b4fa3a5d3ac67a71d3c44b4e75a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/touch-field-zoom.spec.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8b0cd7fcf20ce4cfe704f0508eaead82b9f1e7b9e7082378be59f0badb760b"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/ui-scale-persistence.spec.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e4da4360c96e2a8a9136df25f3795aef7a9dd0705c6de43c33694167279aba"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/welcome-disclaimer.spec.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d4528d03e17905135605c0c20db133ada703791bf647314f99d93c380d11c8a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/stateful-code-bridge.spec.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b841ce4ec8cdecc9177ed0030e912a21e65729861b04aa0e021b2c47aa6180"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/stateful-code-bridge.spec.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d33acd87e4abda9aa8d061c4d038e72c772fec4b62c2e4537ac0b2f2f9717e7"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/host.spec.ts"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f43a2adcd232959265648ec86c6030d72d75684ac3d475d80c75692cecbc83"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/__tests__/s3.integration.spec.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5ddd6e25622e394d5fb767313650308d6f4fe8adc4f1b15ea72edbcd29cf83"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060debug\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbd2789c01d21340f3144f56ed2eec795f5b948d15ab7fa419fd6d1e7f31eee"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060info\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9d7596ed828acac79a6347fd0679bde1ca051b9c5678d51d7961aefcac5121"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060warn\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e4cedf4dcf8b144265166b837e0ed1253e12431323b0e12d196b16f1d21fc7"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060error\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca398dc4aaf301ebc7ed1f98e733aeee7aef20d8a22cff4f4d8159fc0d5777db"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setLevel\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd005b2085c7a4e64072094037d104e37c586776f170a7de786943514fa4af93"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setName\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"893ecd38d15978a79eb823b608186565774d390501722a367dfb5318864aadab"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060debug\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"494d3f157ff1e3f4539937b1dee6360c59769d9efb7a0e3878cdfad7629c59e8"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060info\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9de7d5adff7cb7854f5181645250fb302ad7c6bcf456c6e9c84a5c29fd2391"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060warn\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ffbcfe6d7778330960b2fe36eb30496675c8c440dcd2ab77f64ad0a107cf65"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060error\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"030f8e06508684ff5b950c4a9d8026deaa6fd1ff9997d211337e6aa51ded1c86"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setLevel\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6692b28048bed221021c9633dbae30730a58e5afbc00e3539dbe3fcbeff4dc1b"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setName\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e11a9455860f9ce78e08c423185203bcd3d14ebfd65a3a6863ec97fe571d54"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060observe\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/jest.polyfills.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9afcee87c216aa5554879b6bfebb7a9db28d7c9016198d8c5d82dad4d85e96ba"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060unobserve\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/jest.polyfills.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf581f3948c585c3decd314562eb229c1e3b830fe9050420a792660c27be07c"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060ask\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/view.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab9992372e0bae0ecb4f87375c78606cc97e056b455871fd592354ccc740009"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060regenerate\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/view.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e63c50a71d4120f3ee99c4808e1d0ac35a69ee7a10c667220b1d063786458d"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060handleContinue\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/view.tsx"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d9db5cd84eead056930383ff582182c1c26da14be255a3959f6693daba74c1"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060setMessages\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/view.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"98fd91fbdbffee5473cecfaff92d4de0df0d5936de50e78b2818d829e0d0c8f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/misc/ferretdb/configStore.ferretdb.spec.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d961b93b25a55ab0938cfb4518972f15d5fe9f4a82e99bf2804a185c09bc1332"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/misc/ferretdb/tenantIsolation.ferretdb.spec.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd578922fc0414886f24177c19ae06095cbce9723c2597df89a581c6f6a3fa9"}},{"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":"P12","level":"warning","message":{"text":"Test failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060npx playwright test    --config=e2e/playwright.config.bombadil.ts    --reporter=line,html    2\u003E\u00261 | tee e2e/.generated/bombadil-ci.log\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/playwright-bombadil.yml"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e79f0ba69e546de98bb722e714dd3ee114e4897da3d0971cf89a3c52fd1b5e"}},{"ruleId":"P12","level":"warning","message":{"text":"Test failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060node --test scripts/pre-push.test.mts\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/static-checks.yml"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d5239ec9b8fe035804d6d77be505147e6ebba04ad4060b9804d64412f2b287"}},{"ruleId":"P12","level":"warning","message":{"text":"Test failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060node --test scripts/eslint/design.test.mjs scripts/eslint/chat.test.mjs\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/static-checks.yml"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"082f3407666c8d75248d5f7c55903df42e65593657ac54bd8ced6a59fd3963be"}},{"ruleId":"P12","level":"warning","message":{"text":"Test failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060npm run test:config\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/static-checks.yml"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80a209d93676b21c54ade66811458e4164473f71678a6c961d1e624d18e7828"}},{"ruleId":"P12","level":"warning","message":{"text":"Test failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060node --test scripts/i18n.test.mts\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/static-checks.yml"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8336fc91b2620f9fe02f1b5609cd0b28277a1f3866c9946c56aba48eee378f1"}},{"ruleId":"P12","level":"warning","message":{"text":"Test failure does not fail the CI gate: \u0060continue-on-error: true\u0060 lets the step or job that runs \u0060node --test scripts/imports.test.mts\u0060 fail without failing the pipeline \u2014 the suite can go red and the change still merges. Remove it from the test step, or quarantine the specific failing tests instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/static-checks.yml"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"84cf3c424f67944fb63ca72519356b49887c92bfa1682e3b7b223d9145fe5aa4"}},{"ruleId":"P12","level":"warning","message":{"text":"Runner config excludes tests no gate runs: \u0060/__tests__/helpers/\u0060 removes 6 test(s) in 6 file(s) (e.g. \u0060packages/api/src/mcp/__tests__/helpers/mcpOAuthWorkerBoot.cjs\u0060, \u0060packages/api/src/mcp/__tests__/helpers/mcpOAuthWorkerMain.ts\u0060) from what jest collects, and no other runner or CI command runs them \u2014 they are dead tests. Run them (another runner, project or job), or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/jest.config.mjs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b58f54364086f10504b0efb5d656691798393402b33a0d52fee030501f89a09a"}},{"ruleId":"P12","level":"warning","message":{"text":"Runner config excludes tests no gate runs: \u0060/misc/\u0060 removes 135 test(s) in 15 file(s) (e.g. \u0060packages/data-schemas/misc/documentdb/audit.documentdb.spec.ts\u0060, \u0060packages/data-schemas/misc/documentdb/compat.documentdb.spec.ts\u0060) from what jest collects, and no other runner or CI command runs them \u2014 they are dead tests. Run them (another runner, project or job), or delete them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/jest.config.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"03072c5181e77a42cf1f5f5516a7890a87efd672eed419a3a414293455ee8fd4"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 10/11 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060.\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/circular-deps.mjs\u0060 reports through \u0060console.*\u0060 at line 216 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/circular-deps.mjs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a601364a88c0140d986c16c04de41a6dba5be52e224352e26ad9063ea1032f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/circular-deps.mjs\u0060 reports through \u0060console.*\u0060 at line 219 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/circular-deps.mjs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"270786cd4def5d2180f97664abfdf6bee2457a30695ce88866effa15e86af109"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/circular-deps.mjs\u0060 reports through \u0060console.*\u0060 at line 221 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/circular-deps.mjs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af1b9a456bb0dd994aec8d77612c6435bfa1c14d62bb17ee6827dfbc70a0a21"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/circular-deps.mjs\u0060 reports through \u0060console.*\u0060 at line 231 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/circular-deps.mjs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0aafb03ffd9e5b1662555a3483409964b0978e2db78f4d7694c464bbbd64c32"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/connect.js\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/connect.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"107ab8c2adf3bce08627edaab17eea570f908a11cee66d072ec4d9d6d9e7f093"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"111191d8e50c46346acbf95db46262d72fdb3f6c3368ee5a0dc52406f4c2a177"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 30 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1e235e2648e79831cc3a426d37d82dd5898da54c2e8a7331bdd5fca2004c72"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9512d0d208aa504d4863a20759313a1470fe1e7254d904a72df66a57f26e268"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 32 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d89216dfcd5ffb6866cac9dea025013bc6468eb7481a9e19f2c4d06e99f205"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"8138fa0b27904e5d34f049622723a86f22371f318fc2ce58e69d5db0dab0eb2b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8666d3aea9cd50b0a1e49e0212ff7ddb2f6064b0cd16cc201b96ec6edd93054"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/delete-banner.js\u0060 reports through \u0060console.*\u0060 at line 54 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18c1acf180b2914b3c5e8798c02957d568ad3a7cbae84a745af6f80378744f5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 120 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b7a780b991220247698f09f679dab094d6d1c94c6d05ea9cf8f67435a318de8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 121 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75fb9aaa671df49ccab34132eec18190642ad5b0dd648ff2dc04e326faf450c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 122 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b21ca6a3de83fdd588c6f3f7d624c22912b7cb20ebdfb815c7890b55ff785a4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 123 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"72fcd1a1c6ffb77368a5949eb5daa8f3339c1df0a765e5871f4a1b1bd11f1eae"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 124 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"01669c343d2a5aaf2317b40c99190761b04b54ec4cbfed2d5664d459df895964"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 125 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"384d1f20d27b6ac953461766f17db0ee3d87d4f08589a611cd5ad0a791866364"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 126 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f638fcc06e01ef4f3a9a82eb7125d527627342067abeff1a70d1a123c081f77"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 127 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb7be6875ccc4c681d1c904825c64699e81cfbfbe383a680ffd76c3d976c620f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/helpers.js\u0060 reports through \u0060console.*\u0060 at line 128 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/helpers.js"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed549ce4225e93a0449f121518600613c7c61c4c0d05e9b8c742ada25c990f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-balances.js\u0060 reports through \u0060console.*\u0060 at line 40 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-balances.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22049884b386f606ab1a6e70010e1cc252314b60bac1df8f06b11742084f526"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-balances.js\u0060 reports through \u0060console.*\u0060 at line 41 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-balances.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be334f8beb5216bea2e948cfeedeb7dcc6ac418093efd0248ed54532658b97e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 15 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b1a82ad222b0842db171a4cc846b287bb62a32c3e470b6529a8d625333ed03"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 16 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae99d993aa79db869091bc12a220eea3ad230ad89a1f0b90efeee760e4ca7f5a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"530cd6a12b3c94f6c677e27ce71a39433ff7817889cc03a5c806ae0576e879c1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 19 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"067c128a8de6b067fc8b2987c3e5efc67458475e84b0dd4dc6ffccf8a434a05f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 20 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f939f8467b184f2a88a39007b05f8aeb4931c8b4a218a25fb66067ec3df50c0a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd30f5075ffcc1bf703968a9d9af80fa0e79d0c540bda7782522472858b5f88f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 22 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a634453adad03ded5fee45ac298bdfea0f8a3f8f5188e2cc0b21afa87cee0c1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 23 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7078215a2c76fbbe7fb08b0f972f327b0917f77f0268baadbf9fae6c62d118ab"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 24 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2151102e27614df2836c336ce368f1fdc5a1f62a7944296a37906e6f9d72c499"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"9045a5f28dd2eb031a791a2802a2b84a8d78d097ea31d2d737a15ed72b101199"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 30 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf64f53bac328bd94f93bb5cb57f886cf46c537eb64662bc4a5cc6c09f33835"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b624199c194fa43d759086cd038bb122e4a15d8c8cb098cc8afcf91bc74229aa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/list-users.js\u0060 reports through \u0060console.*\u0060 at line 36 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"faae1ac87755356d91625227f57b496afe841d9dc5c0fb09edc41de27d61b8e5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/migrate-terms-timestamp.js\u0060 reports through \u0060console.*\u0060 at line 129 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-terms-timestamp.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9a9cb2fc5ad7b0fb4c858111bd9634732ad0b32f5b424726c2856bff35f476"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/migrate-terms-timestamp.js\u0060 reports through \u0060console.*\u0060 at line 130 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-terms-timestamp.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84f489b79af51d5638d4707364abde802c591febc8445acfe5fe3c00915f01b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-meili-sync.js\u0060 reports through \u0060console.*\u0060 at line 85 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-meili-sync.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad830c6499871b4760d580f4ed819a4e10260688f5d3f274c321f25ee761f382"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-meili-sync.js\u0060 reports through \u0060console.*\u0060 at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-meili-sync.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c7299f6148b84daf639fa09f7db646057355ac183f4c77bfa2eeadc07a5ef7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-meili-sync.js\u0060 reports through \u0060console.*\u0060 at line 93 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-meili-sync.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"471f7313c2ef309135c5e8fe3a0e6f644b235bb8908185ad9fa57f914adce0ef"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 37 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"686f7c53fe69c3b7d6bf5378501a05ebdc1aec200284191c32dcc6007bf98d4f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 47 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"452e898ceaee6865653947de6dd499085da0d998a05fad06856c44658cd4d31b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecda77834eb08ea0cd0b5e128bfeb6e5400e4547e33c2f1fee61c181ae1e708"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 75 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e37bea1311722286132f164ba17ac978d27a00bf0e09708c91e7ecc34bb56e7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 109 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4af3d772564e70fb32538e02f689228a53ec165e562a11af0f4ddecc410cca"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 117 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d834fdd07fbd4abbffccbb48f6889b1cf829ae1a10981ba426ac49de892266db"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 119 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"023bf3feef05249954b682d59c9e2f8605ed3355ee2ed122487e200d9819a059"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-password.js\u0060 reports through \u0060console.*\u0060 at line 123 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-password.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"246265c9e2b7cf331ce2fa19228937a703fbd9f6c179bac2ec51c6fa3b63153f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-terms.js\u0060 reports through \u0060console.*\u0060 at line 35 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-terms.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c73106da93ebb5fd13bb94e2e4efcf9dc1b12d5b4b1b723a604f065bdd345"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/reset-terms.js\u0060 reports through \u0060console.*\u0060 at line 36 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-terms.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdf4d828101d705c7de974ba2f9bb7d44065a59e4360c752cf1f086bf95b016"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/user-stats.js\u0060 reports through \u0060console.*\u0060 at line 49 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/user-stats.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e445f1bad2a4e71a9847fe8eef5a10f23ab613c8c89ff4cd7cb423377e2a1fa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060config/user-stats.js\u0060 reports through \u0060console.*\u0060 at line 50 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/user-stats.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd36ef4d779885abb2dcde8a8995316b77a9fcff395f445ce0409484f37606a9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/utils/sendEmail.js\u0060 reports through \u0060console.*\u0060 at line 90 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/sendEmail.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac79ce55a09160df983c737f2e8c452eaabed8f71c50d83b91a2f2f5324a1601"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/utils/sendEmail.js\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/sendEmail.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda2c46255ab45d11cf98d789aa071ceac31d2e55f22da6b908a8ba1a94b5f33"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/services/PluginService.js\u0060 reports through \u0060console.*\u0060 at line 19 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PluginService.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54c8aad11d94cbfc5fa7339b1a09983412ecb3ec7dcdf4f9208c51c6dafd7ea"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/services/PluginService.js\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PluginService.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edf193ae5147e94f5784772577c0945631e0402191ee05783063d2ca27fe8c9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/services/PluginService.js\u0060 reports through \u0060console.*\u0060 at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PluginService.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f7d2d80690e565e6e6578f3c03a9d97b2c9d63aa4f105510fcc90ff7e184bd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/services/PluginService.js\u0060 reports through \u0060console.*\u0060 at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PluginService.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a387b59ffbf4318a58918db00d09a12d5eed3d5ab3f3e483afe335fa94b4bb27"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/services/Threads/manage.js\u0060 reports through \u0060console.*\u0060 at line 651 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"12181d565857567a85d0f454b5d9aa1e49e7bf73f39fb21a48c09a2482a39b26"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/services/Threads/manage.js\u0060 reports through \u0060console.*\u0060 at line 719 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"55c1c70c7316408355d4321a25e1bbe09be30740234785a987d81f162f8e530d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/middleware/requireLdapAuth.js\u0060 reports through \u0060console.*\u0060 at line 6 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/requireLdapAuth.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55d4c95a1de18ac856ad923ac6309b2867bab6733e1a66e69f195367bbdeeac"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/middleware/requireLdapAuth.js\u0060 reports through \u0060console.*\u0060 at line 13 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/requireLdapAuth.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9edbaf63bae2077186a74c7c6dcb58470283ce4a610e60d97996a098d7085876"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/middleware/validate/convoAccess.js\u0060 reports through \u0060console.*\u0060 at line 93 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/validate/convoAccess.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba335e6f4e2a1fe0bab3ebb91ac40d0a41cadf6dc1b8d04bc9943412ecf67a3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/controllers/FavoritesController.js\u0060 reports through \u0060console.*\u0060 at line 97 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/FavoritesController.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0960633246ac28b05bb5e0cb4d7dc7b74d991dff4c555b2131d3c3e8fb88d8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/controllers/FavoritesController.js\u0060 reports through \u0060console.*\u0060 at line 120 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/FavoritesController.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdfee63d371c7564109ddcacf4c525efe23daabd9320038a15b0ffb3ba238fb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/controllers/tools.js\u0060 reports through \u0060console.*\u0060 at line 66 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e5a2400e188d96e503a9c2278328451a0f35a469df91499b5bc119e0fcc23e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060api/server/controllers/agents/callbacks.js\u0060 reports through \u0060console.*\u0060 at line 137 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f2b88b6f4086e2df6b48bf545bf681450cd0c574e73959458c93eae31e90af"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/cleanupPreset.ts\u0060 reports through \u0060console.*\u0060 at line 13 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/cleanupPreset.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f9625843f0278d4dc179d5282648c457eb4bc6cfbc9944d3e4057fab18f630"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/createChatSearchParams.ts\u0060 reports through \u0060console.*\u0060 at line 41 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/createChatSearchParams.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"577359bab11679d055cb5b732ff430bc04f301d105eeddc8dfa40b53f55f0ae0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/getDefaultEndpoint.ts\u0060 reports through \u0060console.*\u0060 at line 23 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/getDefaultEndpoint.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad98dd7cb26a6410ac5f832766d7c13e79457d9617d4b4abb4ce85e18b664610"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/getDefaultEndpoint.ts\u0060 reports through \u0060console.*\u0060 at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/getDefaultEndpoint.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdcbcc179986ce9b73968937767bd36b3e119bd91f24dfdc0de8e1b3504ba0f7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/heicConverter.ts\u0060 reports through \u0060console.*\u0060 at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/heicConverter.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"490269fcde7e8493c3da2648bc822a559fa1766d0b3f2c6fb6164cf0fd2e6144"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/heicConverter.ts\u0060 reports through \u0060console.*\u0060 at line 76 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/heicConverter.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"457237e88c42d1d62e3e0693a366055e4269965864b993ca6f194c72a53d3134"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/heicConverter.ts\u0060 reports through \u0060console.*\u0060 at line 96 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/heicConverter.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"336c9a3df21a56c92a5ed1c6f8eb1a8cc2c1dcf000ea1c0a2375a6653e8add99"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/resetConvo.ts\u0060 reports through \u0060console.*\u0060 at line 10 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/resetConvo.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70afdfe759eee2ff3b59c0b189f916151ed20ab61f39c892825f8e8b1011b71"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/textarea.ts\u0060 reports through \u0060console.*\u0060 at line 11 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/textarea.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"64121634fb930312d3731eb23bed7e2d053c04ab333d3b0a559ee4d380d25374"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/timestamps.ts\u0060 reports through \u0060console.*\u0060 at line 136 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/timestamps.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"561bc1c817d3210a63d54c6d375ca5920f5cd9700698c64e97abafe04a848d5a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/voices.ts\u0060 reports through \u0060console.*\u0060 at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/voices.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c688c6c8b6a6c0ab1f32039b96aae653a44ae017b6b44a0ad2f234ed4887852"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/voices.ts\u0060 reports through \u0060console.*\u0060 at line 24 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/voices.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf576e824a9d8955c364829013e6a49bc0bd2fc04eefd0d55debcc554b0423f7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/utils/voices.ts\u0060 reports through \u0060console.*\u0060 at line 49 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/voices.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25b41f55808511c5f3f482f9a14185db3d54aead401d0b78ca0169d314df89a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/store/jotai-utils.ts\u0060 reports through \u0060console.*\u0060 at line 136 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/store/jotai-utils.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"68270c3c61a561a5caef6ffc0f28c96aef1f3b7303e68c8343fb7fcd8cccd448"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/store/jotai-utils.ts\u0060 reports through \u0060console.*\u0060 at line 142 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/store/jotai-utils.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f7a013239e12d3b783b13e6c38aa12545d3a2d7ded276358d9292c36c92885"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/store/utils.ts\u0060 reports through \u0060console.*\u0060 at line 39 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/store/utils.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db30904cc871ab02beb795a842cc6f4381ab442593bb771fc0856be8387ed18"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/locales/i18n.ts\u0060 reports through \u0060console.*\u0060 at line 146 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/locales/i18n.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a627093ef18efbcef30ee310e69a4aeb6060b2d593774748487d3910cb82fe5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/useNewConvo.ts\u0060 reports through \u0060console.*\u0060 at line 152 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aaa1612c2bf3f7a4ce28abe97f02b6486e69ddd3bb971c8d711f04f1460f36c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/useNewConvo.ts\u0060 reports through \u0060console.*\u0060 at line 155 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"82522041000940955a35e38afb394b6c1e69fe5a9bf0a208d7aac1a8135dc03b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/useTimeout.tsx\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useTimeout.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d4aa0aeac03f8642bd888308d4ca7297712a89675509c90543b4d0cd72f7e4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Mermaid/useMermaid.ts\u0060 reports through \u0060console.*\u0060 at line 163 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Mermaid/useMermaid.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8847c62edc82c22ecf21945a4132d70ddf5fc86bc701cc1251e7b967aa905a10"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 217 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"351ea69ba691e29aefea4a56ccd473b0eb7d1b2d199eae231ec212f215fddc3f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 296 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba40abda20735246ee9b5a217c512e586993f8db99fb14fd631cdb341c076ff"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 325 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeffeffda0076e743411f5e62fcf9c963c1c4f8c50ba704caad89876437d728"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 483 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"256834d8d1c1135d6017577c74747d64f4b47a87482b2c0070a3d8c9d3b887bf"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 491 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd4ea8c9bb3fee7578964e34360b858672420b73cdfd651ea45528ae618df82"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 553 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b7b573fc2f914f417f074c9e2f9ebe5368202ffe0205490e952ff5fc7e773f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 565 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"46b308776b7d3f29bc6392cbbdf68d923179987bf7ebefc6c9d1449b4d2a464d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/MCP/useMCPServerManager.ts\u0060 reports through \u0060console.*\u0060 at line 603 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"16b24ae488614d23c6942f1c76a0babd886b1d4aaefa9876ba2c9abce61de626"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useQueryParams.ts\u0060 reports through \u0060console.*\u0060 at line 655 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff59a71d5d85af7a5728fc69c2b2fd1d8cf074d4694002abf646bdc201d36edd"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useTextToSpeechBrowser.ts\u0060 reports through \u0060console.*\u0060 at line 32 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextToSpeechBrowser.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2594626e2e11c1e9017e6d5163cb0f3f0c68f3ab22d3ff7992f0cccb40c9f56c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useTextToSpeechBrowser.ts\u0060 reports through \u0060console.*\u0060 at line 40 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextToSpeechBrowser.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af54cd3958332618f64b3ff88441adf79ffabff30c5009550900fd4591f19d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useTextToSpeechBrowser.ts\u0060 reports through \u0060console.*\u0060 at line 57 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextToSpeechBrowser.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ed1da802381892addb698a6cb469138cd812e931fa81d4727ba393f9c97e0a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useTextToSpeechBrowser.ts\u0060 reports through \u0060console.*\u0060 at line 64 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextToSpeechBrowser.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c71417cda713091808d8f26918bef97014d9d979f2cdba3b80ed30b2e5e4ca"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useTextToSpeechBrowser.ts\u0060 reports through \u0060console.*\u0060 at line 80 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextToSpeechBrowser.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c8415213bdf6ac1cde5bca3511c93e07e0e16d16da7071ad735ca775d4b09d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Input/useAttachItems.tsx\u0060 reports through \u0060console.*\u0060 at line 430 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"e136b038d2b7507cff1750db23dbb47fa1b7f047b40b7c20cc9cf000547ae2d6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useClientResize.ts\u0060 reports through \u0060console.*\u0060 at line 135 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useClientResize.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7deeaa8de53c7acaff49af2e4d0d209d504b5826d324a950169abe4336eb7c1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useClientResize.ts\u0060 reports through \u0060console.*\u0060 at line 155 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useClientResize.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"932203f972f91aea17ca78c0bc51a161ddc87a6cd801e99ca6df2c7ea095f0ef"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useSharePointFileHandling.ts\u0060 reports through \u0060console.*\u0060 at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointFileHandling.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8d8852f8b9eb579764f60b433aa92e6c99c0b76d35d82d8569afbb1b9c9731"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useSharePointFileHandling.ts\u0060 reports through \u0060console.*\u0060 at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointFileHandling.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce28e4b54082a70e31ceca8703ec2c9d4004115456f916c2e9877fdc35aa55df"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useSharePointFileHandling.ts\u0060 reports through \u0060console.*\u0060 at line 68 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointFileHandling.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bdff5e822a9c76818edc16f13e99ce9274b3dd39e4bb758a599e8cfe2d9a05"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useSharePointFileHandling.ts\u0060 reports through \u0060console.*\u0060 at line 81 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointFileHandling.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ee13c4091ff93e8b972337a9ceece07e474eeb5d5fbf0743c2be47b92a0e5e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useUpdateFiles.ts\u0060 reports through \u0060console.*\u0060 at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useUpdateFiles.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3933b77e5852839ea2705c31914deb90e366ac5340c894694a1fe36b92ce4c2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useUpdateFiles.ts\u0060 reports through \u0060console.*\u0060 at line 60 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useUpdateFiles.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4988d91b9289936fe8809a489f20913b8c593bdd8d706afab0bce357cb6aba"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useUpdateFiles.ts\u0060 reports through \u0060console.*\u0060 at line 84 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useUpdateFiles.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e84e834880780864ca2a6a2b5f9f201aa9dfadca19dbac2f447c17df8fe25f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useDeleteFilesFromTable.tsx\u0060 reports through \u0060console.*\u0060 at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useDeleteFilesFromTable.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b43fb28084f550ae041266c83b1aa125622d0a9d202758a8e6c12432143cba9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Files/useDeleteFilesFromTable.tsx\u0060 reports through \u0060console.*\u0060 at line 42 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useDeleteFilesFromTable.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e934f389403eb4abe0849e761c09765b1092711919c9eb9870361a42f9e19b8d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Conversations/useExportConversation.ts\u0060 reports through \u0060console.*\u0060 at line 118 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useExportConversation.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d172422c8d97c81a2ef8222f97eba1d159867d57e361522a462f8e5beca3c0b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Conversations/usePresets.ts\u0060 reports through \u0060console.*\u0060 at line 101 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f949b3c1179862ba6b5f06fb61b18ea215a78eb861db68e16384e513f69096"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Conversations/usePresets.ts\u0060 reports through \u0060console.*\u0060 at line 128 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"769f9655056cbf59bf1cc65bffa68f38a6589ab482826fda8b5b6f90c7b35561"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Conversations/usePresets.ts\u0060 reports through \u0060console.*\u0060 at line 149 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e783e899a12eb42ec1a669f9c2302250423bdf526d6c2a60872271bccdea9c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Conversations/usePresets.ts\u0060 reports through \u0060console.*\u0060 at line 270 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5684d43ae8e3a3b51ac61118aec406c69117d0ee07f63ea916229c1909e954"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 12 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useAudioRef.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29740b13f88fa8124b0bc3e7157dadf5678943d4e35015dfa637a8668eb5643"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 20 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useAudioRef.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"14cf911cc2e4df026ed8ebb14d53ce9807ab498226dbdd69b085703762fba2fc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useAudioRef.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"334a5026e508bba61b9c958b28ad21d39d755052ca6a00fe14ab42027c7d8eb0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useCustomAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 17 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useCustomAudioRef.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7174026be9f2e059fa4f6aa3eda19d2c1c41b16bafa3b46175cde94ef9ffeb1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useCustomAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useCustomAudioRef.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5972479ff07d95cbc3f524449fd997580485405a2c751fbf7bc6485e96fc0c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useCustomAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useCustomAudioRef.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae894aaca477b0f8b879964e29582c6cf3c90d5a9594bdce057ef57da2ca953"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/hooks/Audio/useCustomAudioRef.ts\u0060 reports through \u0060console.*\u0060 at line 45 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useCustomAudioRef.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f90060e72364bdfdbf0dc78cc70601f95e935fc1e8343ebd6f16b213a4bfe1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 70 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bcc2a874abaa7f15c93696469f1cd79687bb2e1505496820979aaf1b53aabcb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 106 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d31f178509a1a7487f651f9692c2715b9bfbbd38dbd89908443f2c437937abe8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 142 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3148f03cb826a1bfabad2f84300fe9b3d447d45c21351ec5bc44d0e77a0e7ea6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 178 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"8062e2954f6d9390b764d72c954a3ce26952740ffbca7c5a9e1bdd7041f99288"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 214 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70cbb3df88b0f2e1e98cf5c953d1fbac46a29aad08ed526e975b9f3ce3f18c2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 250 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"361c99815d21bdeb3ddc3b7a6667402f4eda9a208d8db16f973ea1528dc951be"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 286 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b88a3719adadf04ef51a5df5fe68f56c586aec4285a1e5f49cd18bff8d16682"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/roles.ts\u0060 reports through \u0060console.*\u0060 at line 322 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"430341d6da31e994b96abf80395a58a68d837e6f3b6ccfa1e67718a5abff4a0a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/SSE/mutations.ts\u0060 reports through \u0060console.*\u0060 at line 18 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/SSE/mutations.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5615d4eb55687bceee31bd50da12f19ed1cb3e147ff9a363fb90c94e09a7cbba"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/SSE/mutations.ts\u0060 reports through \u0060console.*\u0060 at line 23 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/SSE/mutations.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3d6faf29045f55cbccda699f704f72e435179603c3eded69805bc5d0c40ef0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Messages/mutations.ts\u0060 reports through \u0060console.*\u0060 at line 88 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Messages/mutations.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7fd77e4fada731d10949b69f019708d829237376e89431f8876b91410d8049"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Files/queries.ts\u0060 reports through \u0060console.*\u0060 at line 117 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/queries.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8caf24d96b7b89634f74cad2b69be1651d050aad1997a68a537bc17d342ddafb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Files/queries.ts\u0060 reports through \u0060console.*\u0060 at line 139 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/queries.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b98a4bf4af1974a47d90d6dbbbdd526888749dbeb76467d256ea69df22cac1a1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Files/queries.ts\u0060 reports through \u0060console.*\u0060 at line 149 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/queries.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"65133d1d526adbf0f850ca7f55d0cc570e60d0ecdf73865576238fb6ba2a8de0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Files/queries.ts\u0060 reports through \u0060console.*\u0060 at line 212 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/queries.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"61368290157a0bbebfe6fb589dc3c2beb96bc99b3aef86d5736dd002c485ed1d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Files/sharepoint.ts\u0060 reports through \u0060console.*\u0060 at line 90 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/sharepoint.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae32f5c1ff2698848f9ed17e39a5c22d225fe41f595d708fe897004bf8d4bc13"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/data-provider/Files/sharepoint.ts\u0060 reports through \u0060console.*\u0060 at line 113 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/sharepoint.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e849dbcaafff5eff28017011aaa353c2f1536d1073290ab0badd25da3ddf32a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/System/LanguageSync.tsx\u0060 reports through \u0060console.*\u0060 at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/System/LanguageSync.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d9b1e7e0f0038baeaa683a9345c910f74d9835484f4c62cabce2a6808df2ed4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/ActionsInput.tsx\u0060 reports through \u0060console.*\u0060 at line 227 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"499506ce2abdead8c84f8a4be0d9ed3ebd6082aa3d76f99aeb70cdae4ced0e3d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/AssistantAvatar.tsx\u0060 reports through \u0060console.*\u0060 at line 42 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30ff1cc28391b9932657a98b19532304408925a65e48cff97888a87ef789d7e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/AssistantAvatar.tsx\u0060 reports through \u0060console.*\u0060 at line 105 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"83268c2829765f57bc2a59ddf38ec2fe033b55abe228e79f3b6fda3d09753870"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/AssistantAvatar.tsx\u0060 reports through \u0060console.*\u0060 at line 148 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba03aa814dc9135751a70fd0b845c4e94ffaf895299fc2ccffdd6e48dbb1429a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/AssistantAvatar.tsx\u0060 reports through \u0060console.*\u0060 at line 179 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"709aacca64737b859f652023c3660efd43acfef025dab6d3c10c7266ba5f3bcf"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/AssistantAvatar.tsx\u0060 reports through \u0060console.*\u0060 at line 187 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantAvatar.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dac045da8f308290bf7b855fc862526ed81540ab2a7b5c148a1bcaa89af183e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/ContextButton.tsx\u0060 reports through \u0060console.*\u0060 at line 59 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/ContextButton.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"582bc88009a5499314a1e032932e76e7270207ffcbfc075d4d472513470ad0a8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Builder/ContextButton.tsx\u0060 reports through \u0060console.*\u0060 at line 81 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/ContextButton.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75b9c100de337b3381dd0ca2139b966e4cf6447acecc08a248f76c5593ed0c8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/AgentPanel.tsx\u0060 reports through \u0060console.*\u0060 at line 680 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc707196f5b5e46c3a4532db8dd33852e55e8d6f2b47d670c2b5c87cd15fe9f6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/AgentPanel.tsx\u0060 reports through \u0060console.*\u0060 at line 824 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":824}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed23bbca8a1381c5533ebeaf0520dd0d02e71d98db9a9c99bfa47b5cb2ce67f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/AgentPanel.tsx\u0060 reports through \u0060console.*\u0060 at line 875 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"68306b02cd1b55a78831da41efebdf69fc1f24ae0832d173258df7b0e8f38dff"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/AgentPanel.tsx\u0060 reports through \u0060console.*\u0060 at line 939 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab739f045e7b2d3906b67834f33e75d00d8908e7714da631b165d8ea87f19a5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/AgentSelect.tsx\u0060 reports through \u0060console.*\u0060 at line 276 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"81aca38c3f22ead7618e5122694a8cd09978fa39298b9c27409391bdf201bad6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/DeleteButton.tsx\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/DeleteButton.tsx"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d37c7c619ba9ff3537ae1e359fe0bf83f4e26575ab73fa5e9532eaa9fd0f516"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/DuplicateAgent.tsx\u0060 reports through \u0060console.*\u0060 at line 19 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/DuplicateAgent.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fcc7ad0713c14f3768ca3541d90c6d11329b93ff32e0b8ce2209f58c72a09b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/FileContext.tsx\u0060 reports through \u0060console.*\u0060 at line 77 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/FileContext.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb59ce60b4e8d3482cf98b56cbef38e93b6fbe9722c088b57dd3463491a77300"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/SidePanel/Agents/FileSearch.tsx\u0060 reports through \u0060console.*\u0060 at line 93 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/FileSearch.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"744cd154d32519eeedb175afa0aec8a5a8eccf7dbdcbe774df8db5559e305ee9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Sharing/GenericGrantAccessDialog.tsx\u0060 reports through \u0060console.*\u0060 at line 122 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"034a84b8143605412b8ca0e85ef6048e011ca87fbb59de0a6066de2f001e09d5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Sharing/GenericGrantAccessDialog.tsx\u0060 reports through \u0060console.*\u0060 at line 224 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"688c3cf7bd9f4fddf88e2501565d7daf7742332dc4e8ff4f215fc50047ad4093"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Sharing/PeoplePicker/UnifiedPeopleSearch.tsx\u0060 reports through \u0060console.*\u0060 at line 56 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/PeoplePicker/UnifiedPeopleSearch.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"52dca28315c277696ce57376f5131442915f75798f39217db534a3f147dd6627"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx\u0060 reports through \u0060console.*\u0060 at line 128 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"87147f1700c3a83c17e4173e60934952e89b7f791830b7e2b340e6a1027e2a2b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx\u0060 reports through \u0060console.*\u0060 at line 164 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7baaec5b3243aafe93a2f96d6b12297dccb32fc2fa065894ad0c88d4f0bfe91"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Nav/SettingsTabs/Account/Avatar.tsx\u0060 reports through \u0060console.*\u0060 at line 84 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Avatar.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c78e3a36da6cd9aa936beca4a0bea77b6677121bed7d0349b44248d0005a15"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Messages/Content/Mermaid/MermaidErrorBoundary.tsx\u0060 reports through \u0060console.*\u0060 at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/MermaidErrorBoundary.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"033136af39df55aa77907fd84b439179dbf1fec9cb6c731d748cd771c318e9d3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/MCPUIResource/MCPUIResource.tsx\u0060 reports through \u0060console.*\u0060 at line 54 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCPUIResource/MCPUIResource.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2e4f3a1906652cd85f3ce045777daba7bd50ffc54d8450477ce16e82fe56ef"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/ContentParts.bench.tsx\u0060 reports through \u0060console.*\u0060 at line 228 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.bench.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd52775548f230b52ebac51e9d6ba0c28699f08b3f555263ff0b86d32fc4a0ab"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/MarkdownBlocks.bench.tsx\u0060 reports through \u0060console.*\u0060 at line 172 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownBlocks.bench.tsx"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6214ea8d405538b15910a6dc327c572ef9a295d90aaa0575d8a6d7a67b6bdc7a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/MarkdownBlocks.bench.tsx\u0060 reports through \u0060console.*\u0060 at line 218 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownBlocks.bench.tsx"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a691abdb3ca7562dba158b8bbd42ce829d1cb36232e51ef00085fa631ca6c4c7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/MarkdownBlocks.bench.tsx\u0060 reports through \u0060console.*\u0060 at line 278 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownBlocks.bench.tsx"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"412c7c7687c5b2a8ce3d96e878b54ed0f74d00992aec85ed7716032cf8478fec"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/MarkdownComponents.tsx\u0060 reports through \u0060console.*\u0060 at line 156 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"611c2d61d1aef4d3421a58a337ee0e419e3465b669d69bb350724e312cc4073e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/MarkdownComponents.tsx\u0060 reports through \u0060console.*\u0060 at line 165 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c346a4e014aa0fa48ec7e23856c3e050777c6bc5423e2cc07dd7b70591c1f1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx\u0060 reports through \u0060console.*\u0060 at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3327bbafa145bee4392e9f13c7eb1740529d002217d25e28d463cb271667fc0d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx\u0060 reports through \u0060console.*\u0060 at line 36 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9045e3f50e42b292219aaea438f3ac092ccbe52ee3b80acc37cad2acd838cbd7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/Parts/LogLink.tsx\u0060 reports through \u0060console.*\u0060 at line 92 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/LogLink.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a29afb33fa99c81e6a2cff897c75124975288d1dc9961fa5ceb68aef365fdb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Messages/Content/Parts/LogLink.tsx\u0060 reports through \u0060console.*\u0060 at line 99 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/LogLink.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4b368d129de8ddaa0f1c280f89c93a9ea2ac0aa6482719ff40408fa241dd37"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx\u0060 reports through \u0060console.*\u0060 at line 106 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"84584902ee2818e3e0473c7b5a4efe73588c1c67a4930b02237de67c608f30ee"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/AnnouncerContext.tsx\u0060 reports through \u0060console.*\u0060 at line 11 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/AnnouncerContext.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa398be265ce1b87cc787682193ac4baf8bea818b47c1a9601a5367de74b0c45"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/AnnouncerContext.tsx\u0060 reports through \u0060console.*\u0060 at line 12 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/AnnouncerContext.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e9247af803d0b55c137c0407b76840a2b54caaa1c3ac32fb9a2cf14d0ab59c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 121 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b83ebb119bde1906d21ed73fced8664545be07c12778f7cf9d8a2c13d41e4c9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 129 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c8d83ef6ec18fa911d567644905f7d468dd55f45339ffe76a85e00db6fdf89"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 137 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"757b11c7155f6f659a896ef96642bd5fd770df8fff797213cdb58ab611a345a0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 145 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d166b0bd1603bc70ab2aab603417e052567a1cba03f798079a2cd35f03f3320"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 153 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4869670bbd3f2d4a19cb184f34ec58cea32f8a412c42974ee623c92f92010a9e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 161 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b0a3bd02693a3048351f048ae74c2f845f159009fc29d2066744d9fc2c82b9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/BadgeRowContext.tsx\u0060 reports through \u0060console.*\u0060 at line 178 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa4efa51812c10c5b69d13501d98a399e7c0f308bd36e0e420f7df6f6fdb0fa"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/FilesHostContext.tsx\u0060 reports through \u0060console.*\u0060 at line 24 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/FilesHostContext.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a353d00083e8113b8f0a4b35a2f84dde1d7df0d9ca9685607c8234b573f27483"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060client/src/Providers/FilesHostContext.tsx\u0060 reports through \u0060console.*\u0060 at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/FilesHostContext.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"e554115e5fbdfdf10ef0b5b2aead6effa522d2488b63173aa11c5286e47cbd86"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/credentials.ts\u0060 reports through \u0060console.*\u0060 at line 116 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92fbe4dec03a909f1517bfc11aad10df67d9e2eb6901b653d98df5ccb116417"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/credentials.ts\u0060 reports through \u0060console.*\u0060 at line 243 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a373f9df99255c1117f5eb60422627784d6bc768488cb8bac6cfbb956061fed"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/credentials.ts\u0060 reports through \u0060console.*\u0060 at line 359 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"a212ff1cef75cc69c0bbdf45b4e8cf1afddef6fc660a6b73bc4cdeef3a2fa9df"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/credentials.ts\u0060 reports through \u0060console.*\u0060 at line 364 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c35b16d0439c7b3ce4a5dd27d83d3a528d6245ec82c27b51b314c260664c2c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/credentials.ts\u0060 reports through \u0060console.*\u0060 at line 369 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bce4e5a8fe2bb06d6d4551bc3638c7ef0174408ad6616a4c5f7c952cb17197d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/credentials.ts\u0060 reports through \u0060console.*\u0060 at line 376 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e97f0804d29813473dc2b00ba638212833447ac7c51fe15652a5842fc201ed1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/utils/axios.ts\u0060 reports through \u0060console.*\u0060 at line 140 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/axios.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d7113d129bbeb1775baf114d1a3c6cc60b51acc96d691a424a833331179a8a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/prompts/migration.ts\u0060 reports through \u0060console.*\u0060 at line 188 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/migration.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"0500d644df192a62ea0e6c22d96d9cb0cbe46b4a756c968f7b211bfd08238f67"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/files/validation.ts\u0060 reports through \u0060console.*\u0060 at line 124 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/validation.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ee6a27c7c6fb48729e5a4c340987f991acea11906060e75ca9f66146e1b3f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/files/validation.ts\u0060 reports through \u0060console.*\u0060 at line 235 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/validation.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c1229e921351c393fc818638fffb779e47aa4fd9f212e7d0e2251f76686a63"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/files/encode/audio.ts\u0060 reports through \u0060console.*\u0060 at line 53 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8731b559d0f28696f58ad9dff837f78af8cf6ba7317314adcf21ca9cd0162c9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/files/encode/document.ts\u0060 reports through \u0060console.*\u0060 at line 283 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/document.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4ce46166481bcc8a4bdc79844c2631db9d124dd57b29f2442390b4e8f9217f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/files/encode/document.ts\u0060 reports through \u0060console.*\u0060 at line 363 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/document.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47fe4364da2ffd87d356f2a5b23934868715f10e4d8351473a68fa1a6e956e4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/files/encode/video.ts\u0060 reports through \u0060console.*\u0060 at line 52 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/video.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b42cbabeca977d9a3b6604e561bff82bb5a1a09d6511b0eee401a063686213"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/cache/redisUtils.ts\u0060 reports through \u0060console.*\u0060 at line 86 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab9d51d7d85b2c2104ae756c646ceaa37c27cd681348b5c48f0e3617a1076c2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/app/postgres.ts\u0060 reports through \u0060console.*\u0060 at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aeaea01118e457b572c0e9b96ac0067cf156928c20518271fd19a869f08dc9"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/app/postgres.ts\u0060 reports through \u0060console.*\u0060 at line 80 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2fb1c06afade3dc38eed8efd166177fd8ff93619595ffeef7d948a70b98673f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/app/postgres.ts\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ced9f3e64a1c93e95cbfdec7c9408259cba1d7a0c2e2a9678bc236e8dc1440"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/app/postgres.ts\u0060 reports through \u0060console.*\u0060 at line 106 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ce80dc99157108c592583f341eb17718116ec0e99776c535fa216ff853c3fe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/app/postgres.ts\u0060 reports through \u0060console.*\u0060 at line 141 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"811ca7ab7d865410e4a68721122f4faf7da0c0283213c6ada4daa0d4eb8e0872"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/agents/memory.ts\u0060 reports through \u0060console.*\u0060 at line 752 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb14a4308a2c1f2eac7adaeb9df1dee77d6c7b7ce3f170bac205a9243ca9469b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/agents/memory.ts\u0060 reports through \u0060console.*\u0060 at line 757 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f790cf538960a7a5fb8291eef7d517fcd0f343c132ef3e6e64f7bd3e40a7dae"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/src/agents/migration.ts\u0060 reports through \u0060console.*\u0060 at line 197 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/migration.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c1111b46b20e82a279c5e647879ed87bff7d487cd97260c9b05518f8fe2c84"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/api/openapi/router.smoke.cjs\u0060 reports through \u0060console.*\u0060 at line 159 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"944dadb1162a598027532b7db90857bf69d2c040ea725f5440ced55c94029071"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/channel-gateway/src/types.ts\u0060 reports through \u0060console.*\u0060 at line 36 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/types.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ca183bfdbfe6d022859f8aee8f96931450b346bac3fd073880ea3e8fedd856"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/channel-gateway/src/types.ts\u0060 reports through \u0060console.*\u0060 at line 37 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/types.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e48e1e804c45dcf45242b17725d0ca894b555eba317b0f2dc797e0d7b12ba0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/channel-gateway/src/types.ts\u0060 reports through \u0060console.*\u0060 at line 38 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/types.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd795aae0bb8750b54df3e5f6be827317397091ed85d997404a058485c6dabde"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/legacy.ts\u0060 reports through \u0060console.*\u0060 at line 135 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8598ada70bf406d2ce94c3be22418b514f553827b2d2db53c8d0c43f5083be8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/legacy.ts\u0060 reports through \u0060console.*\u0060 at line 140 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17b414ce39963d930d72374e4c442218036f1237830e20bd02070c3e0b66597"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/legacy.ts\u0060 reports through \u0060console.*\u0060 at line 198 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"2130c314afd444d6f372f8efabc715ecbd30eb068a3f32a5080b61aa227f5f14"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/legacy.ts\u0060 reports through \u0060console.*\u0060 at line 205 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"437fb08a103d0148c141a411e2b058f2f965601731c56be90944ea708271e324"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/legacy.ts\u0060 reports through \u0060console.*\u0060 at line 229 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4d0ed90c5a9df405c2c622fde7be715b4b18e76f6ad637f0fc4b458e07552d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/announcements.ts\u0060 reports through \u0060console.*\u0060 at line 100 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/announcements.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8274bfabcef2c955df11eabc563a95d34af266609676080c0fbc79005b26991"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 167 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"abec6b7be588787773b2359cd876650b8e5cff927380aae21e5a62692c00b8a8"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 181 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffb7cc2599b24ba5e72a8ce1746d491f077b7b8f758db5c603ef9ae8f620adb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 187 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d26e2b73ee3c34cecf7899d48c8982a7962a79fe750869e0167d62eee566671"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 198 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c4290302cca3ba5cc2fc2b761921a3b378450a27deb6cc2fe93d47ee6263b4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 206 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4be60992078f88b6cf412fd7bcfaacba07bb5b85cfc730337e28ab01b401a0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 218 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf5288d8d591b88df3186c737829fa5d7f3b8337b7b2c525ddd73087b81465"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 258 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51942593b71900d3be2718889921c2f14ef1103b3fe976b7620561566a08adb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 269 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"dade81a0dadc837971c8cc82b97f467efa8823c00c48f7641e00682f675acbfe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 274 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"8032c2a30ce6b965f566b192d42c66670f3d0f5e0acd77b338f7c9b3267fe94b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 306 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"4466a73e6f8e7a3ff883a908b2416c1088593017681205d776d9b38637fb7c2a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/resume/load.ts\u0060 reports through \u0060console.*\u0060 at line 404 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86536f687b5c212e4322f7ef673bec40a6bb163e89098c05a0f2fdbc288357c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/events/abort.ts\u0060 reports through \u0060console.*\u0060 at line 164 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/abort.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4834e8029eede5a8af2965517f267d7da48c173d1fe840cbebe2be4bcf85f60"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/stream/events/final.ts\u0060 reports through \u0060console.*\u0060 at line 69 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5703eb382ccab26e2277d87885e1f3f3cec5e595e9456c9f36742890824e929"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/helpers.ts\u0060 reports through \u0060console.*\u0060 at line 108 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/helpers.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe71208c4e94fd972785a830666d0b84058f8312fe310f503bc91ad67837f48"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/helpers.ts\u0060 reports through \u0060console.*\u0060 at line 131 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/helpers.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d002b7691e891b10480cdc20c5fcf3451e3b6405813a5c67362bb8aec88fb9a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/helpers.ts\u0060 reports through \u0060console.*\u0060 at line 152 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/helpers.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda56c3705f47742c297aced989c7d6b41b37184b546ba3082510e76f1ed656a"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/stop.ts\u0060 reports through \u0060console.*\u0060 at line 91 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"716647b4966ee5573c5fd725f1baf6e1d3a6ce14aa1628a24dd19c5639d22afe"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/stop.ts\u0060 reports through \u0060console.*\u0060 at line 115 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2e8a59285ea8f7ad161840fd7e3503b55ee1052eff50ad7bbaba5421089d84"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/stop.ts\u0060 reports through \u0060console.*\u0060 at line 122 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed25ea31285d3fce0aead21c2a500a0037f9ebd368ec353f608e4b2a620dfd5c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/stop.ts\u0060 reports through \u0060console.*\u0060 at line 175 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee668588fe92af03b221137f9d33e59fa2426b28b713bd93c08db377f60a9a6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/stop.ts\u0060 reports through \u0060console.*\u0060 at line 211 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"774a6cea3ab38e48996839910222de1d02c88806445dc90cc7b7ff9901550f6d"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/turns.ts\u0060 reports through \u0060console.*\u0060 at line 180 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3ce4c4465baf1a453e51256db17d5f01be6f494c9746b9873ae8439ffd0e39"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/turns.ts\u0060 reports through \u0060console.*\u0060 at line 186 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"321dc80e379be14d8bde754eead2711e197f20dc1293b8a4c27f221d07272496"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/react/chat/turns.ts\u0060 reports through \u0060console.*\u0060 at line 212 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b53970e6be25cc03a6dc25ce865dba60ece7f457d059075518995a52053f9b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/chat.ts\u0060 reports through \u0060console.*\u0060 at line 354 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c2b3ec37fde945501b71b1dee276a7a67ba9f737d92da877116faf65bc4d19"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/reducer.ts\u0060 reports through \u0060console.*\u0060 at line 76 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"70abcbbbfc802567b6b9bb4e33838a230070e55631c9250be689987c1543f71e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/reducer.ts\u0060 reports through \u0060console.*\u0060 at line 170 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0515a92661351dbbcd50e71742d6cc356aff74a6a0bc5e7c9afa2b43d4d411c4"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/reducer.ts\u0060 reports through \u0060console.*\u0060 at line 344 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7d3d87ac58248df9d2306635ac4cc70a6e0a5e0db0a4a05cc5ba2e4e8918e2"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/turns/regenerate.ts\u0060 reports through \u0060console.*\u0060 at line 39 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/regenerate.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca341137ac8d8ec517f435576616bd8800506d7a51a3f831b579c358ad3a57f"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/transport/sse.ts\u0060 reports through \u0060console.*\u0060 at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/transport/sse.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32b2de23d9d15214983a0cf1300e5927e7642232461f67cdf414056e260c926"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/transport/sse.ts\u0060 reports through \u0060console.*\u0060 at line 55 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/transport/sse.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffdd52feaeb5a23946cdb4a72c8c60ffb4f0c88bc3496096578d4391d041ea3"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/transport/sse.ts\u0060 reports through \u0060console.*\u0060 at line 108 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/transport/sse.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66f106713ea4cfe68f1599cd585511280c29b4230b730a09483d30acbd9ec9c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/transport/sse.ts\u0060 reports through \u0060console.*\u0060 at line 142 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/transport/sse.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7ad31c7a809d78f2618c3be22d757146a560991ddfeaeea5fcf848b6a28581"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/transport/sse.ts\u0060 reports through \u0060console.*\u0060 at line 143 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/transport/sse.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a1dfc478ef4076cc9550b8710d2dad7d2d590c69d2d0f90a06e41cb9381016"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/steps/content.ts\u0060 reports through \u0060console.*\u0060 at line 251 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2aa1ccc2136fcd2b8d866cdfa8e1dde8ef5e0f9b8dd760312a4f11cc97bcf5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/core/steps/content.ts\u0060 reports through \u0060console.*\u0060 at line 299 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6dcc746aa425ddb658e187f474f108b8c70d675331fc8dcd6fed9922f264724"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/chat/src/components/messages/useMessageActions.ts\u0060 reports through \u0060console.*\u0060 at line 162 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/useMessageActions.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c0f0e218d28d61b81c67031b6ed35d5f7f88c89f851d77c29720c54fa80cef"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/theme/utils/applyTheme.ts\u0060 reports through \u0060console.*\u0060 at line 77 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/utils/applyTheme.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"488585fc11fba5d3f876bcd5c7ff774f0bc5010ba63ca34bb4777daad9d7288b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/theme/context/ThemeProvider.tsx\u0060 reports through \u0060console.*\u0060 at line 723 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c56e5508496e68973cd9a8eb789b1c434547722c2818f4e4856efd71dbf4cfc"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/theme/context/ThemeProvider.tsx\u0060 reports through \u0060console.*\u0060 at line 779 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cce5bd83c40088d246d8878083c9d0450effc100b7c8c779a348be20dd78a7c"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/hooks/useAvatar.ts\u0060 reports through \u0060console.*\u0060 at line 55 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/hooks/useAvatar.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6961f209d8ba23c2f864e884909981e1749dea3cb1099f6c69a807ed5811e9f7"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/components/DataTable.tsx\u0060 reports through \u0060console.*\u0060 at line 342 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2534a855f6cddbe4e9ff3fba95e81dd90432a45f5efd778d43e2a962cfa15aa5"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/components/SecretInput.tsx\u0060 reports through \u0060console.*\u0060 at line 84 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/SecretInput.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c779737feea305314ea9ca7d22309dea0867196a4bb71c2aeba094ff811f7514"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/client/src/components/Tooltip.tsx\u0060 reports through \u0060console.*\u0060 at line 80 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Tooltip.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeef7663ffdea497f43265e59f9b0a1f5542b796de6a5cc65564b8acd450bb3e"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-provider/src/actions.ts\u0060 reports through \u0060console.*\u0060 at line 887 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbbcabdb5c57505e0a45f373e2c7cf887ba8a45b743d8d1e7b591a56db13edb"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-provider/src/file-config.ts\u0060 reports through \u0060console.*\u0060 at line 748 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79f3aced8894060051b2db4b57970e164f075434079660dd04eed08cefa8ce6"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-provider/src/file-config.ts\u0060 reports through \u0060console.*\u0060 at line 755 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1afd1885b01d4046c03c639fef413c4cf017998eb33761a18ad6e902ab17cd0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-provider/src/generate.ts\u0060 reports through \u0060console.*\u0060 at line 204 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3456f64de8bb2fbb8bc918736159ea06543025d36e80807ac32493b7d3d903b"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-provider/src/generate.ts\u0060 reports through \u0060console.*\u0060 at line 234 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f30918b996c65eb4e99b1f1de10893aabd0e62ee25dfca131f69efff2c97c0"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-schemas/jest.globalSetup.mjs\u0060 reports through \u0060console.*\u0060 at line 22 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/jest.globalSetup.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a5c82a5461270568fec699b1d9c4037f8c1bd619b263855642f7e0db755ab1"}},{"ruleId":"P2","level":"note","message":{"text":"Console output used as the logging channel: \u0060packages/data-schemas/src/config/utils.ts\u0060 reports through \u0060console.*\u0060 at line 85 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/utils.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb06ae2508924d1aeeac998581b5ef75595745e8f10f8ae6306b2d381e0c1ae"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add CodeQL\u0027s javascript-typescript pack, \u0060semgrep --config=p/typescript\u0060, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 39 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/a11y.yml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a21d17b8a737f94c400b907d25f6379f7909af3ba610c1f576502449d95f7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"900112609fba59c32c59df13ea8c56036b715552b4cc3d15a42949703d19a55d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9c32f6a435a2c01ec1d99b629ea9fadc75bb96c474915e5e986064a4eee75d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"5399ac8a03c1ad30266560c7084027553e59b1cde21b0917d45c156228a43ad7"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b99db16f44af718b83d6c5151d8100de9de2073d9c0072fda08f277d9e4317"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a80b258b8a0aa08f14924b01e9d3d9c61e4cd82267cb15958a970413d2c6410"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fce5a7cdc3f6a1c2bc14cbdb759c09fe93fb2c3765260330af705f315fcc34"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bf13779e9340607ec52f2b4d522e0ce912eb5eaf7be2f84bc2ff7a86a5db19"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ce0848732f733b50bf817a6fd3fec2c24c586d6383c617103728cad2b82748"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/StableDiffusion.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb74f6bd7e4ec55c6cbd5f586fe6d7f49a1da20d0bb68d1fc6e9cdbeaf832c4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/Wolfram.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63249cdf7ed6d957345a0dd394c0c8d8097e6654e659882e86e4d0c7a5b74bc"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/moderateText.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a829107ed17aa47ef9ed5dd897f5c788659ea1cf93e868dc6c965a22c3ed37eb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/traces.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf768dffab4f8f5465fcb4828a5ae8bab40bd8af4c10dd80e29de0713c4bdecb"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed62836344f307c20bd63617b92a77431c38a400ce0183485f5a95a05cf140a"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc320956a4cd8b2a9808817487ce9aac9995bb8e8c5eefa7a9b6245293758d2"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Azure/crud.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2db96257a35170476311f4de486601c56cc87a6054b124e02faabeb54d058cf"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Firebase/crud.js"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e6b77311187e758df93b53be1452d0eadc7013330b6173c6ae18f31d0dcf80"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/VectorDB/crud.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fde52bcc5636219974bdd9d218d24c9f21110b10078e753d704724c690da1b1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/images/avatar.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8de7b40d3e7f3a2ef2695e09db7027866ae991f990898ae07ede6956bdf427e"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.post(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/sendEmail.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e8781ff5d9caa0911cff8fb5a858b0aec3adad52293d5a504070068920dc06"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"41259414cbfd1ee0b7b5246b9109e1e3fe5d76cfdc3a2efde0c558dcff6b066d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ed2582c3082a69cc72b588c12741dc0e7293b81f36d6cce4bc05ccaeba0c6f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c257646d9fa0686de8622225bfe819df466743546797135f7898d4edf069733"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"18ba36498668db62a8a8cfb73fe2a071346f860de4713e2d52527f9495f6f43d"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.get(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7213638b2b14ba000f56a9f72137cb70e8714606d1a0e587d6ed9751afecd1"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/hardenedFetch.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfe25814041d359981ca5a6c622629ace34808dd9d40755801fb6f2b959ac13"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"85947ab4f1420e04d2dbd1ef3323282ed3ad6db944aa79193f9ee46206d4eb5f"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c379a41e3377b493281553cd73082d01488239165141040e11544e0f4cac4"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchFn(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/transport.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad247a2f5f2397ce5733a4a84f8771a5eb11d6f56eda502087c4cd6d48e51c0c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetchFn(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/transport.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c6c60f692719a4ba6beebb0a95efb4a6b4e78fda964287178d6f41fd5d8395"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/compare.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e98acf7dc3e85a615f513a67165cdba1996fbcc22beeba16a21876150b7437"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060axios.create(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/axios.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2aff82d3964c1fda2b894a457d00508e29d312230841ea0687935ed726a2ea"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/generators.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"65adf71bb4f8f6f7d65c7c9af5ed11f66347f18f4d07794ba6f52797abf52d86"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060fetch(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/generators.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0414a7dcabe5aa6a316149182f2051bb072a4465a95a17f35f68362667f44ef6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060_call\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":"api/app/clients/tools/structured/StableDiffusion.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9f7aed193d04859c81ea17456686f34abda3191e64208cea132e181390addb4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060_call\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":"api/app/clients/tools/structured/StableDiffusion.js"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8011fadbb692c2f0b32366dcef3cbc7ed5e70bd47781de9fc6f377303807544"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060startServer\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":"api/server/experimental.js"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf093493f59d478ae048f973a16b5c7b7ddd7f6ff26872db3a83ff93ee432cae"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060startServer\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":"api/server/index.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05f9ab1cc1fa38a9b05c1e0646904fbe4d1341e72aeb5ade4641458ed16c750"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060prepareImagesLocal\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":"api/server/services/Files/Local/images.js"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443d0020d08c082c730a4778f57b2b93c077ecd0ffd0905e11c8aff5ffb2dbc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdirSync\u0060 in \u0060prepareImagesLocal\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":"api/server/services/Files/Local/images.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8db461572e384858768650caf1b6c04538d53e5b1732e08c6b3b26cca3bbbd3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.readFileSync\u0060 in \u0060assertEnabled\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":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"0787af354adf8bd2c98286558de03876d6b27aa01e2502daa9a76fba62a3af50"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.unlinkSync\u0060 in \u0060provisionToVectorDB\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":"packages/api/src/files/provision/service.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76c3164f9954b16fcf1007f9afba7ea8e635dc0fa099d80c2c62632638e6262"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060callback to targets.map\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/shards.mts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"662fc52055b03dbae77e2a1e5c0a158ddbd3cdfc2c494bdeb1818e7495699bbc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060readFileSync\u0060 in \u0060planShards\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":"scripts/quality/shards.mts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"483397b1488afa4f786b68544cd839bef058c9df77152903435d6be3da038a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (155 clone groups): 155 duplicated blocks under the repository root have copies in at least two of the sibling directories api, client, config, packages, scripts \u2014 80 of them are reported below, and 75 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 155 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 155 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 155 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":"client/src/components/Chat/Messages/Content/Parts/Thinking.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"6561213d011ac00262edd134838f1dce75a4cd58057d64377420c0e3d2c58b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 38 sibling directories (102 clone groups): 102 duplicated blocks under packages/api/src/ have copies in at least two of the sibling directories acl, actions, admin, agents, apiKeys, app (\u002B32 more sibling(s) not listed) \u2014 47 of them are reported below, and 55 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 102 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 102 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 102 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/migration.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fc15b30e096703669b2146a635e52d7d59d67d7cadbffb8982d156778f16ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (94 clone groups): 94 duplicated blocks under packages/ have copies in at least two of the sibling directories api, channel-gateway, chat, client, data-provider, data-schemas \u2014 34 of them are reported below, and 60 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 94 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 94 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 94 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"de93a3c00383f3f5c41f4a20ebe74e8a90c4d14188e866aecf0c9fe29c390cf4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 24 sibling directories (86 clone groups): 86 duplicated blocks under client/src/components/ have copies in at least two of the sibling directories Agents, Appearance, Artifacts, Auth, Bookmarks, Channels (\u002B18 more sibling(s) not listed) \u2014 34 of them are reported below, and 52 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 86 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 86 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 86 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":"client/src/components/Conversations/ProjectsSection.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61149d8438244c2b0eeed7004fa00924c7364af9c9aa6e61ab14af6b516fb2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (31 clone groups): 31 duplicated blocks under client/src/ have copies in at least two of the sibling directories Providers, components, data-provider, hooks, locales, routes (\u002B2 more sibling(s) not listed) \u2014 18 of them are reported below, and 13 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 31 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 31 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 31 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":"client/src/data-provider/mutations.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"044986eac83698f65572aa7e55ee6704da29ff4d14c503fb2647e061ff36e605"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (23 clone groups): 23 duplicated blocks under client/src/components/SidePanel/ have copies in at least two of the sibling directories Agents, Bookmarks, Builder, MCPBuilder, Memories, Parameters (\u002B1 more sibling(s) not listed) \u2014 18 of them are reported below, and 5 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 23 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 23 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 23 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":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fda762cb8feed0e0d976ec97e79eb8faa99bea010f91cc49196430669406138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 4 sibling directories (14 clone groups): 14 duplicated blocks under api/server/ have copies in at least two of the sibling directories controllers, middleware, routes, services \u2014 7 of them are reported below, and 7 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 14 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 14 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 14 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":"api/server/controllers/agents/responses.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8421d40d904ed1d4afb13edbfbb34b2b7542e38aebb26aedef3b0040ecdb46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (9 clone groups): 9 duplicated blocks under packages/data-schemas/src/ have copies in at least two of the sibling directories app, checkpoints, methods, models, schema, types \u2014 2 of them are reported below, and 7 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 9 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 9 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 9 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/preset.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"e164495068b1fd5d57eb3dc55fc7860af98b4c79371445aa112963b23f8b7a73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 12 sibling directories (8 clone groups): 8 duplicated blocks under client/src/data-provider/ have copies in at least two of the sibling directories Agents, Auth, BackgroundTasks, Files, Insights, Memories (\u002B6 more sibling(s) not listed) \u2014 1 of them are reported below, and 7 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":"client/src/data-provider/Memories/queries.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"c134b7ea9011420f932590dcb85fb99a8bcc3719187426dbb9b0ff36c22ccfb1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 9 sibling directories (8 clone groups): 8 duplicated blocks under client/src/hooks/ have copies in at least two of the sibling directories Agents, Assistants, Chat, Conversations, Files, Input (\u002B3 more sibling(s) not listed) \u2014 4 of them are reported below, and 4 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":"client/src/hooks/Agents/useAgentUploadTarget.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"569c7cca48f0bed51b9c2fbb9d7087a7c927300bae87496dcb97d61de1abf00b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 7 sibling directories (8 clone groups): 8 of the duplicated blocks reported below have copies in at least two of the sibling directories activityLabels, activityPhases, hitl, openai, reasoningLabels, responses (\u002B1 more sibling(s) not listed) under packages/api/src/agents/. 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b50a3b65ea05cbd705d091450245fae1d5065c15b508e66a768e1ed1fb3e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (6 clone groups): 6 duplicated blocks under client/src/components/Nav/SettingsTabs/Speech/ have copies in at least two of the sibling directories STT, TTS \u2014 4 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 6 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 6 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 6 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":"client/src/components/Nav/SettingsTabs/Speech/STT/EngineSTTDropdown.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9907870b36837f1493e7501b0a8df593e95352943aa59143652ceff2ec57dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 3 sibling directories (6 clone groups): 6 duplicated blocks under packages/api/src/endpoints/ have copies in at least two of the sibling directories anthropic, google, openai \u2014 5 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 6 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 6 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 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dabe4a31a75ea3442e617b8f7eeec8a8152b125aaa4b7ab9cd96df871c39386"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 8 sibling directories (5 clone groups): 5 duplicated blocks under client/src/components/Nav/SettingsTabs/ have copies in at least two of the sibling directories Account, ApiKeys, Chat, Data, General, Integrations (\u002B2 more sibling(s) not listed) \u2014 4 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 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 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 5 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":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa23a5c5348f76553b46725193e5cdf8a24a291a0418101669d5c6bcfd3d10f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 2 sibling directories (5 clone groups): 5 duplicated blocks under packages/chat/src/ have copies in at least two of the sibling directories core, react \u2014 2 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 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 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 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a15d24aa5d48a10193fd14c95979fcf9fa2069e2abd2c10880abcba83c26c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 6 sibling directories (5 clone groups): 5 duplicated blocks under packages/chat/src/react/ have copies in at least two of the sibling directories chat, messages, steer, steering, stream, subagents \u2014 0 of them are reported below, and 5 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 5 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 5 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 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/chips.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd72429caf65486d1643c43b2995c1e4ec9f787391a05c75ace6bd158f800bce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (240 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:541 \u00B7 api/server/controllers/agents/responses.js:631 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec044a5681aaaf394ac417b9b4f8dfcea818a614d8686707aef6cd9c42c55e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (186 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/ActionsInput.tsx:37 \u00B7 client/src/components/SidePanel/Builder/ActionsInput.tsx:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 965 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":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfd80ad1f49e50406fe4283ecf88f398f326a7bafda31db18c091d5875f2f20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (159 matched lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx:55 \u00B7 client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 762 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":"client/src/components/Nav/SettingsTabs/Data/SharedLinks.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05576afb23a6586680e42739ddf5dd896d2417be4774562c639b32b73f651de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (159 matched lines \u00D7 2 locations): config/migrate-agent-permissions.js:6 \u00B7 config/migrate-prompt-permissions.js:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 1094 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":"config/migrate-agent-permissions.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c7b89e648fddf109640d447a671f3bafe9b5386c9c128312fec3db1d9fad52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (135 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/BashCall.tsx:51 \u00B7 client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 713 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":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b27512d34c732714a999e7442752bf6eac95f8d6e7b23ee5e0ecc76c6a968799"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (132 matched lines \u00D7 2 locations): client/src/components/Skills/forms/CreateSkillForm.tsx:98 \u00B7 client/src/components/Skills/forms/SkillForm.tsx:108 \u2014 the two spans are one implementation copied and then locally edited \u2014 635 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":"client/src/components/Skills/forms/CreateSkillForm.tsx"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"07712413e65e3f9f82a6c602ba69606c91bdf24f8bfe0d57209d94f1d0c125cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (120 matched lines \u00D7 2 locations): packages/api/src/pulls/bitbucket.ts:177 \u00B7 packages/api/src/pulls/gitlab.ts:152 \u2014 the two spans are one implementation copied and then locally edited \u2014 742 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b230676a9c00c2e7fb7564066b202185338ee4cddef6242eda0533a1655a886"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (115 matched lines \u00D7 2 locations): api/server/controllers/assistants/v1.js:49 \u00B7 api/server/controllers/assistants/v2.js:21 \u2014 the two spans are one implementation copied and then locally edited \u2014 396 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":"api/server/controllers/assistants/v1.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"95469b50bee39a4e0a8e457a80046fe51382ebea759649bea2b24a0974e8071a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (113 lines \u00D7 2 locations): api/app/clients/tools/structured/FluxAPI.js:222 \u00B7 api/app/clients/tools/structured/FluxAPI.js:441 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b181da165458b8ba51f21b4d2bd3b08d356cbd666c33fe57526d86566d3c13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (113 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:545 \u00B7 api/server/controllers/assistants/chatV2.js:366 \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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ea8d9cf8525aecb0aeb6b1b43975c2551eb652159ce04a2aa38dfe903e0e55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (110 matched lines \u00D7 2 locations): api/server/routes/agents/actions.js:104 \u00B7 api/server/routes/assistants/actions.js:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 708 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":"api/server/routes/agents/actions.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"71bd0b529964ba092bc45283d5aaf6e0a62fc73894310308f5471638b70262c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (106 matched lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:143 \u00B7 api/server/controllers/assistants/errors.js:59 \u2014 the two spans are one implementation copied and then locally edited \u2014 611 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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df4058ef3515005abe46cc112b883412a941d9d1646423bd22f083cf7b19bbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (106 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/FileContext.tsx:34 \u00B7 client/src/components/SidePanel/Agents/FileSearch.tsx:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 522 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":"client/src/components/SidePanel/Agents/FileContext.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e335c443c1f073ca87ca8eb7c57f750e90881c17739d9d5fc493f64b04b3e42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (105 matched lines \u00D7 2 locations): packages/api/src/admin/config.ts:3378 \u00B7 packages/api/src/admin/config.ts:3711 \u2014 the two spans are one implementation copied and then locally edited \u2014 588 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0a729cce7f669681557c6ca8c33b7ca9ac1f6e26fd8c5e0d6eeaed003fd21e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (102 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:703 \u00B7 api/server/controllers/assistants/chatV2.js:531 \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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"323a6bd3d4cf83efe6ae8ecd9576a9335cbc77ad809bbf246619360fe1751087"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (99 matched lines \u00D7 2 locations): packages/api/src/agents/migration.ts:35 \u00B7 packages/api/src/prompts/migration.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 529 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/migration.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe4c93817a2285acdbc189551a749605373091036cc1ac6f0ec73a2fb7019fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (96 matched lines \u00D7 2 locations): packages/api/src/pulls/github.ts:221 \u00B7 packages/api/src/pulls/gitlab.ts:144 \u2014 the two spans are one implementation copied and then locally edited \u2014 522 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/github.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"460537d87212d269ac637b9931e1fce4d1fc2fe5a1d00462d115885a5deb1e27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (92 matched lines \u00D7 2 locations): packages/api/src/agents/responses/handlers.ts:336 \u00B7 packages/api/src/agents/responses/handlers.ts:613 \u2014 the two spans are one implementation copied and then locally edited \u2014 539 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/handlers.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbf43b2de2f3027f6146a1062b155ef89ff63ed4b88a98dcb88afe0310b531d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (86 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:276 \u00B7 api/server/controllers/assistants/chatV2.js: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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0b5404110a1e3d802f17f47eb9ea62bfa490e28bdcb4ed7cf72053b652af990"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (86 matched lines \u00D7 2 locations): client/src/components/Conversations/ProjectsSection.tsx:189 \u00B7 client/src/components/Projects/ProjectsView.tsx:40 \u2014 the two spans are one implementation copied and then locally edited \u2014 430 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":"client/src/components/Conversations/ProjectsSection.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"410aa84d3372a8222120565c6aca1c6e133b82ba5038b477c04e5a2ba7df6ebc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (85 matched lines \u00D7 2 locations): client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx:50 \u00B7 client/src/components/SidePanel/Memories/MemoryEditDialog.tsx:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 521 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":"client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a94b6dcdaddc7683ff0d5c0116de575834c0fd558efd145f14aa7d10ec906"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (84 matched lines \u00D7 2 locations): packages/chat/src/core/resumable/ceiling.ts:99 \u00B7 packages/chat/src/core/resumable/reconcile.ts:78 \u2014 the two spans are one implementation copied and then locally edited \u2014 463 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44fa7f971b18d3e3e3a6830d03c28e9d28ea13896a7cc75b3bf993a238305ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (83 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx:176 \u00B7 client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx:333 \u2014 the two spans are one implementation copied and then locally edited \u2014 451 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":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8da329f94798ba994b68d117c7c8e8278e4785fa6ecf651e9a89ec84ccb286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (78 matched lines \u00D7 2 locations): api/server/routes/files/files.js:795 \u00B7 api/server/routes/files/images.js:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 436 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":"api/server/routes/files/files.js"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3aa52104265ef4c3dffa6cf7ed4e54215b34e7801375dc35370a5d740d7dbd5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (75 matched lines \u00D7 2 locations): packages/api/src/mcp/registry/cache/ReadThroughAllCache.ts:81 \u00B7 packages/api/src/mcp/registry/cache/ReadThroughCache.ts:43 \u2014 the two spans are one implementation copied and then locally edited \u2014 477 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ReadThroughAllCache.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7d7014157506833b8ff901eacdc82fba89a2eb6627a6b91241e9ecf493b219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (74 matched lines \u00D7 2 locations): client/src/components/SidePanel/Builder/CodeFiles.tsx:19 \u00B7 client/src/components/SidePanel/Builder/Knowledge.tsx:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 368 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":"client/src/components/SidePanel/Builder/CodeFiles.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eaec8a1081ecb7b09e4833f57d4ec34bc3cdf2ebe83b3e0dd2a300d1c47a754"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (74 matched lines \u00D7 2 locations): packages/chat/src/components/messages/ContentRender.tsx:23 \u00B7 packages/chat/src/components/messages/MessageRender.tsx:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 415 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/ContentRender.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5955f15e2a6a2e0c863d67bed41a9737b3ee46010a05aa71f74a60d7de8e69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (71 matched lines \u00D7 2 locations): packages/api/src/skills/deletionService.ts:151 \u00B7 packages/api/src/skills/deletionService.ts:284 \u2014 the two spans are one implementation copied and then locally edited \u2014 314 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b44096bd1cd10f142fd7bc6889b1209d163b669926bbbe63aa2ee8414fdc9938"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): api/server/services/ToolService.js:624 \u00B7 api/server/services/ToolService.js:1962 \u2014 the two spans are one implementation copied and then locally edited \u2014 398 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":"api/server/services/ToolService.js"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"644f06a5aff25fb0b310defc27d111af772ef8ff391c02389a2fbf38b0d7fc25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (69 matched lines \u00D7 2 locations): packages/api/src/agents/deletion.ts:15 \u00B7 packages/api/src/agents/updates.ts:24 \u2014 the two spans are one implementation copied and then locally edited \u2014 444 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/deletion.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b2164f4ef41834a19fa29f0e93bf5c8e99661dbca7a4de8a96defd293dacf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2 locations): api/server/middleware/limiters/forkLimiters.js:6 \u00B7 api/server/middleware/limiters/importLimiters.js:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/forkLimiters.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0190fc295f612f97819885a10bec37a58c62b244e25bd8c7a3d796a1335cbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (65 matched lines \u00D7 2 locations): client/src/components/Audio/TTS.tsx:17 \u00B7 client/src/components/Audio/TTS.tsx:104 \u2014 the two spans are one implementation copied and then locally edited \u2014 325 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":"client/src/components/Audio/TTS.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"efdff30e522734db6d50a0257e8b06fd8fd733966797174e223e90b6162284c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (65 lines \u00D7 2 locations): packages/data-schemas/src/methods/user.ts:116 \u00B7 packages/data-schemas/src/methods/user.ts:1034 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdc7d37cfe72d689c32f39112f88fe32ec3b4abbf1243f84eb23cd14c3241d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/ReadFileCall.tsx:83 \u00B7 client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx:66 \u2014 the two spans are one implementation copied and then locally edited \u2014 298 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":"client/src/components/Chat/Messages/Content/Parts/ReadFileCall.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6dbf6028712e4a4b22d4c9c251677a56af61a8ed95e4960985b16189a0a05b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): client/src/components/Prompts/fields/Command.tsx:8 \u00B7 client/src/components/Prompts/fields/Description.tsx:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 316 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":"client/src/components/Prompts/fields/Command.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4283818b737edbd7c125e06a0e53fccf499883d52f53d2731fa6e556a22e8068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (63 matched lines \u00D7 2 locations): client/src/hooks/Audio/useTTSBrowser.ts:12 \u00B7 client/src/hooks/Audio/useTTSExternal.ts:12 \u2014 the two spans are one implementation copied and then locally edited \u2014 423 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useTTSBrowser.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c00a355d7679dd63ab3983403d165c16e504244d6c8415a4d3f55c23531d95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (62 matched lines \u00D7 2 locations): packages/api/src/auth/openid/flight.ts:106 \u00B7 packages/api/src/auth/openid/session.ts:126 \u2014 the two spans are one implementation copied and then locally edited \u2014 279 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6dfdc479136d924b4f7f24f9d2ed33dd3bfd639923c4d8afb7f65d7023aa63e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (62 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:2538 \u00B7 packages/data-schemas/src/methods/message.ts:1268 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2538}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c41f1b579d28e13b07c900948d9e0e348ee95bcf00bc0dd9e01f65963ddc06"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (61 matched lines \u00D7 2 locations): client/src/components/Prompts/editor/PromptEditor.tsx:40 \u00B7 client/src/components/Skills/forms/SkillContentEditor.tsx:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 286 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":"client/src/components/Prompts/editor/PromptEditor.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c04560d57b61141151f5b27a372ee071a42d4cfcb86d75e40e20d9ae61a1adf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (59 lines \u00D7 3 locations): api/server/controllers/agents/openai.js:1138 \u00B7 api/server/controllers/agents/responses.js:1209 \u00B7 api/server/controllers/agents/responses.js:1438 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41b8c044c6733ddd8ba7b08599acbb7d3c5052736e70fa7cc1fce32d9065201"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2 locations): client/src/components/Endpoints/Settings/Anthropic.tsx:7 \u00B7 client/src/components/Endpoints/Settings/Bedrock.tsx:7 \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":"client/src/components/Endpoints/Settings/Anthropic.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"da912daf7c713509507886afd96f1ffe2f7f81b4d46c2352469f1222a16722d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (58 matched lines \u00D7 2 locations): client/src/utils/convos.ts:633 \u00B7 client/src/utils/convos.ts:1712 \u2014 the two spans are one implementation copied and then locally edited \u2014 388 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":"client/src/utils/convos.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff5dd92e2de1374ca0b99afe36aadb59d6cd32ad03e8ef7a45df65e8062697d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (57 lines \u00D7 2 locations): api/server/middleware/limiters/sttLimiters.js:6 \u00B7 api/server/middleware/limiters/ttsLimiters.js:6 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/sttLimiters.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"251008a6c350919349d2c2334455db5e2b072f56b3fcf91992168dfb6907fc30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (56 matched lines \u00D7 2 locations): packages/api/src/agents/usage.ts:455 \u00B7 packages/data-provider/src/types/runs.ts:365 \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":"packages/api/src/agents/usage.ts"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38a7f1073bb7d0191fef55d6888f04cf775cb82aa9a4cb90ce353ae60e0c7e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/Thinking.tsx:251 \u00B7 packages/chat/src/components/Summary.tsx:148 \u2014 the two spans are one implementation copied and then locally edited \u2014 262 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":"client/src/components/Chat/Messages/Content/Parts/Thinking.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"701c23ab67605bd5563e9d93fff063f6dfe3303646fbca5daacf1dfda1b3e865"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (55 matched lines \u00D7 2 locations): client/src/data-provider/Agents/mutations.ts:326 \u00B7 client/src/data-provider/mutations.ts:1977 \u2014 the two spans are one implementation copied and then locally edited \u2014 443 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":"client/src/data-provider/Agents/mutations.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f015c40be8e766b364e198138981d3f285f76b23f4bd671851e6fa57677ef13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (54 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx:54 \u00B7 client/src/components/SidePanel/Builder/ActionsPanel.tsx:49 \u2014 the two spans are one implementation copied and then locally edited \u2014 299 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":"client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52052b754d020be06ef5544f8f4428799910019b443c5224ac4119bf5b72220"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (54 lines \u00D7 2 locations): packages/api/src/openapi/agents.ts:79 \u00B7 packages/api/src/openapi/skills.ts:34 \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":"packages/api/src/openapi/agents.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6349bf369782012cc96943381ccd001a06d2df7649b9d4c6003086309588a944"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:1250 \u00B7 api/server/controllers/agents/responses.js:1548 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":1250}}}],"partialFingerprints":{"codehealthFindingId/v1":"a508467968025fc01a0552e4dcb10026ad2594f3443f8c5e38c902a6d780fa30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (52 matched lines \u00D7 2 locations): packages/api/src/admin/roles.ts:1164 \u00B7 packages/api/src/admin/roles.ts:1251 \u2014 the two spans are one implementation copied and then locally edited \u2014 413 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a66e567ab0a47bf0d03d3a6ac4f0c9e2b48a23f9e17de5eab29d684de634d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (52 lines \u00D7 2 locations): packages/api/src/files/encode/audio.ts:38 \u00B7 packages/api/src/files/encode/video.ts: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":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e33c86dc9b0b6ba93857d078cbd055b9d968eef1f771381823fd25f0159b42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): api/app/clients/tools/structured/FluxAPI.js:42 \u00B7 packages/api/src/tools/registry/definitions.ts:68 \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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e84caf3a0062feff1c5a3a16f04694c92295f9545ec634dfcabe9fb5b0a4317"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): api/server/controllers/agents/responses.js:1183 \u00B7 api/server/controllers/agents/responses.js:1413 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5a87d278356efe79910aced4bb4214d4005feafdff44037c53ba5e52ad1537"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): api/server/controllers/mcp.js:435 \u00B7 api/server/controllers/mcp.js:541 \u2014 the two spans are one implementation copied and then locally edited \u2014 278 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":"api/server/controllers/mcp.js"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"be3258a65e8b98b8fc0a772430e54556027c6a9e53f60320a151cd79245d9f45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (51 lines \u00D7 2 locations): client/src/components/Web/Citation.tsx:155 \u00B7 client/src/components/Web/Citation.tsx:224 \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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b17854707a895eae4b5c66aaca9a1f9c77e2da5c84da0f9d89cd4f0e0034554"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (50 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4233 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4543 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4233}}}],"partialFingerprints":{"codehealthFindingId/v1":"af19c18d6ecc10752deecb9acfd16c0f07a23d0759d090bda2bcd1acdda2be77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (49 lines \u00D7 2 locations): client/src/hooks/Conversations/useExportConversation.ts:204 \u00B7 client/src/hooks/Conversations/useExportConversation.ts:261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useExportConversation.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cad5f551359a00f4fa4ce2106704aaba663d75666fbec59d3a7cdb73ed12fd6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:7521 \u00B7 packages/api/src/agents/handlers.ts:7822 \u2014 the two spans are one implementation copied and then locally edited \u2014 205 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7521}}}],"partialFingerprints":{"codehealthFindingId/v1":"68db56cdccd339c9e76d811f53322d8dfd4e9ff3ae5ca8e5ab25a3817b338ed9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): packages/chat/src/components/composer/popover/Prompts.tsx:36 \u00B7 packages/chat/src/components/composer/popover/Skills.tsx:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 261 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/popover/Prompts.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59e472878b58142dbbd628664248c516dd1af8eac2c55a8d185e4f9b3ce1f90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (49 matched lines \u00D7 2 locations): packages/data-schemas/src/schema/preset.ts:10 \u00B7 packages/data-schemas/src/types/convo.ts:270 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/preset.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5794e972f760714123fccbecbd61d385383905e4c6a6b798fe25d6c4e979c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): api/server/controllers/agents/openai.js:132 \u00B7 api/server/controllers/agents/responses.js:195 \u2014 the two spans are one implementation copied and then locally edited \u2014 271 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":"api/server/controllers/agents/openai.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"288789652424b8b6b7378ad758a8e13d998ab380a1d34702a3ab312f11c60ea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): packages/api/src/protection/adapters/submissions.ts:1688 \u00B7 packages/api/src/protection/adapters/submissions.ts:1783 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1688}}}],"partialFingerprints":{"codehealthFindingId/v1":"d721a3aedd11178ddb60e37d92111ab3cd5580e37f39ec37ab4663c94adefc6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (48 matched lines \u00D7 2 locations): packages/api/src/skills/import.ts:753 \u00B7 packages/api/src/skills/sync/github.ts:1490 \u2014 the two spans are one implementation copied and then locally edited \u2014 278 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b34c40dda1dfabe04fe83dda86a5ccb30f42646921292250d19c84b4b2b809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:290 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:2117 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e403ca883a7f881c3e656578347119d75399e79856031a68321cc58ff99e999"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 2 locations): api/server/controllers/agents/callbacks.js:1066 \u00B7 api/server/controllers/agents/callbacks.js:1440 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b98a3930d3cd0d08fffb84d80865f45bc5ffe07b16bfd3f461e192a41ac5872"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (47 matched lines \u00D7 2 locations): packages/api/src/utils/tokens.ts:568 \u00B7 packages/data-schemas/src/methods/test-helpers.ts:23 \u2014 the two spans are one implementation copied and then locally edited \u2014 300 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokens.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a45973b0ea20925cdb185ce0b0eb1e20bcafcf018d38ba14297ae763e1646a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (46 matched lines \u00D7 2 locations): packages/api/src/mcp/apps/controller.ts:206 \u00B7 packages/api/src/mcp/apps/controller.ts:277 \u2014 the two spans are one implementation copied and then locally edited \u2014 266 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a0c3587893d672fee7b450aecc58abf12c61613f265f94c43fcc0fdc3c437e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 3 locations): client/src/hooks/MCP/useMCPServerManager.ts:870 \u00B7 packages/chat/src/react/chat/helpers.ts:191 \u00B7 packages/chat/src/react/steering/useSteering.ts:434 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c334d71e4b0569c0d50e8a9a9dc29fbf4e106c40d05ba06af8a8c609df6696"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:1103 \u00B7 packages/data-schemas/src/methods/conversation.ts:1178 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c2115804bd30e73c389d2af7f7e720a9b600cf89db66882c5dcbea19e75eab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): api/app/clients/tools/structured/OpenWeather.js:11 \u00B7 packages/api/src/tools/registry/definitions.ts:121 \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":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc665641f279fb5d95f0513acf26e3d68dc28cfafb7f2ff63540dd60cf942e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): api/server/services/Endpoints/assistants/initalize.js:7 \u00B7 api/server/services/Endpoints/azureAssistants/initialize.js:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 243 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":"api/server/services/Endpoints/assistants/initalize.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"56145683acf86c2214ecc33582c9df321e1fc99c49050c6772c1a4bf7c007768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx:204 \u00B7 client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx:108 \u2014 the two spans are one implementation copied and then locally edited \u2014 259 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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32200b8aa840f64119dc73bb203f6650ac6f460bb39fc4e3747f75fb7358ca2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2 locations): packages/api/src/agents/creates.ts:19 \u00B7 packages/api/src/agents/updates.ts:39 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/creates.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"705a470f9015c7d8a8b1775ba884d8bb8f2873a891c1be3bc214a698de03f0df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (44 matched lines \u00D7 2 locations): packages/api/src/skills/import.ts:413 \u00B7 packages/api/src/skills/import.ts:1082 \u2014 the two spans are one implementation copied and then locally edited \u2014 235 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"730f22bd2fa9750330317abb697b83be53e51ecdb545af591e9c612532beb81b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): api/db/indexSync.js:237 \u00B7 api/db/indexSync.js:291 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"727eff017025eeabc8a70e0bcde1935bd6e1bb0c2ce48efceabccfa65ab04a4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:463 \u00B7 api/server/controllers/agents/responses.js:543 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"817ed240226617f606129eb411fe3d1480eccc7dabd6c8041987dae6bf1b50dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:3563 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:4192 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3563}}}],"partialFingerprints":{"codehealthFindingId/v1":"623db07058789118f561fef833079a9503d56298d768d96bb4b8d70ca55b3fdb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): client/src/data-provider/mutations.ts:1284 \u00B7 client/src/hooks/Conversations/useUpdateTagsInConvo.ts:60 \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":"client/src/data-provider/mutations.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c40a72a99ef3061415f38fa76670e4d6eff8d3b1f461df0d74641f5de1d1224"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): client/src/data-provider/prompts.ts:35 \u00B7 client/src/data-provider/prompts.ts:277 \u2014 the two spans are one implementation copied and then locally edited \u2014 257 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":"client/src/data-provider/prompts.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a191530b6a25ff49e663b3247d76915be2be50f0c0aaad4a5eda519fdbb759"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (42 matched lines \u00D7 2 locations): packages/api/src/agents/backgroundCompletionWakeup.ts:692 \u00B7 packages/api/src/agents/backgroundCompletionWakeup.ts:801 \u2014 the two spans are one implementation copied and then locally edited \u2014 217 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9316ad86b6fdb54cab7dc7092b63180d5933a2926d93af2ecc0a62a8125cfad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2 locations): packages/api/src/agents/tools.ts:1307 \u00B7 packages/api/src/agents/tools.ts:1389 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"629ab49656566c6fa137ef8c479c5ec976449e244b3358829643301123e70025"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (41 matched lines \u00D7 2 locations): api/server/controllers/agents/client.js:4570 \u00B7 api/server/controllers/agents/client.js:5464 \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":"api/server/controllers/agents/client.js"},"region":{"startLine":4570}}}],"partialFingerprints":{"codehealthFindingId/v1":"995ee5d22fa377a2679ca6fab2b96f33fca024fcd9408aa45c59be0577c1186b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:335 \u00B7 api/server/controllers/agents/responses.js:408 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5773b6c346a17b2e922da7eafb1c4c0c2a0fbec9566de9748eaf2d6f240c2718"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/ToggleSwitch.tsx:28 \u00B7 client/src/components/Nav/SettingsTabs/ToggleSwitch.tsx:72 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/ToggleSwitch.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"474fed419092a45369e8136afe12c8376758f96154e65f65f9209ec4533ebeed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): client/src/components/Prompts/display/PromptDetailHeader.tsx:30 \u00B7 client/src/components/Skills/display/SkillDetailHeader.tsx:34 \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":"client/src/components/Prompts/display/PromptDetailHeader.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ddd23a3c6b8765780b0e7673eaffd29f8c44d7c4447221f41d4a75ffe45a55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx:95 \u00B7 client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx:106 \u2014 the two spans are one implementation copied and then locally edited \u2014 258 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":"client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7d5862ff1d3d8676be1c2ed930ee9b908967be61a8b15df62cffb70b10f9c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): config/add-balance.js:61 \u00B7 config/set-balance.js:51 \u2014 the two spans are one implementation copied and then locally edited \u2014 218 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/add-balance.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"28225cfb2941ec43145246803edf452ee9a00fdbc92fb12aa1f60dd84dbd96f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2 locations): packages/api/src/agents/subagentThreads.ts:906 \u00B7 packages/api/src/agents/subagentThreads.ts:1075 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac3f9e0d6c7b5b4fba4af1c94fcbf97d767058a8bdb9c6fe94abd769520fdd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (40 matched lines \u00D7 2 locations): packages/chat/src/react/stream/events/opening.ts:125 \u00B7 packages/chat/src/react/stream/events/opening.ts:223 \u2014 the two spans are one implementation copied and then locally edited \u2014 224 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/opening.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a3e6b117e2fef0a983bbedb15d5ca5079951bdf7f803f6cba2fb286d3f3b78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (39 matched lines \u00D7 2 locations): packages/api/src/files/documents/crud.ts:156 \u00B7 packages/api/src/files/documents/html.ts:825 \u2014 the two spans are one implementation copied and then locally edited \u2014 222 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/crud.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff34d7ae8b7f2d7a4cf0a0458a0869f1e0528c706f520a6cb1178bd00a719b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): api/server/controllers/agents/responses.js:1137 \u00B7 api/server/controllers/agents/responses.js:1370 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"988fb98455b9a19ce1d6e6f3b92f7840ef7d3c1328bff6ba3256c239e618bb65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): api/server/experimental.js:812 \u00B7 api/server/index.js:631 \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":"api/server/experimental.js"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a61ec72e4c7e8d47245489be10ac0e73b82dc28f66a6e742b94d884b3c0dfe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (38 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/MarketplaceSidebar.tsx:196 \u00B7 client/src/components/SidePanel/Agents/Tools/MarketplaceSidebar.tsx:251 \u2014 the two spans are one implementation copied and then locally edited \u2014 180 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":"client/src/components/SidePanel/Agents/Tools/MarketplaceSidebar.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a383ff6e78a0a50e6ed68cc45450357dae0fe27be5e19da570004ae07a17f913"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4806 \u00B7 packages/api/src/admin/config.ts:5027 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4806}}}],"partialFingerprints":{"codehealthFindingId/v1":"a917c3378194533d099b00a421b5f3799d549ad5f6a0506f5911d178ac14890a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2 locations): packages/chat/src/components/messages/Feedback.tsx:139 \u00B7 packages/chat/src/components/messages/Feedback.tsx:177 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/Feedback.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"df446529c4e7f853b852be9f02e8505e5c430295691ab428cdd0328fd8159ec1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): client/src/components/Agents/MarketplaceAdminSettings.tsx:13 \u00B7 client/src/components/Sharing/PeoplePickerAdminSettings.tsx:15 \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":"client/src/components/Agents/MarketplaceAdminSettings.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1c855f4fbbdd337f2688b3f8083d5b70e894acbec4b1f71937de670a0d47da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 4 locations): client/src/components/Nav/Settings/context.tsx:92 \u00B7 client/src/hooks/MCP/useMCPServerManager.ts:879 \u00B7 packages/chat/src/react/chat/helpers.ts:199 \u00B7 packages/chat/src/react/steering/useSteering.ts:442 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/context.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"156b534088cbbeb5bb19a46d6b3a51a4b0abf1ba5a397eb92a6bda267a5e060a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (37 matched lines \u00D7 2 locations): client/src/hooks/Artifacts/useArtifacts.ts:18 \u00B7 packages/api/src/artifacts/update.ts:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 231 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":"client/src/hooks/Artifacts/useArtifacts.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0920d567c07673c7cb133d346067996fccfec00040f38e770c56d716e8d2fba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): packages/api/src/agents/backgroundCompletionWakeup.ts:297 \u00B7 packages/api/src/agents/subagentCompletionWakeup.ts:604 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"383fc50ed6ed1bc4f8627bb7cbb8c1c6fb7f24a73c26d801a8341d3a8266155d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): packages/api/src/agents/responses/service.ts:917 \u00B7 packages/api/src/agents/responses/service.ts:1322 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47d13731aeab7ed29bf56d83eb31ca60515d9911ac62add7ac780fe6818d814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2 locations): packages/api/src/app/permissions.ts:474 \u00B7 packages/api/src/app/permissions.ts:521 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9829d1619721b1c00aca89eaa46ae4c6e6397d7f02f3ce32c1c757249098c51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): api/server/controllers/agents/responses.js:194 \u00B7 api/server/services/Endpoints/agents/initialize.js:152 \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":"api/server/controllers/agents/responses.js"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb32e4896642d0a58300825e134bb080b529254df838860ed9d8083e013e8d6d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2 locations): api/server/services/ToolService.js:1984 \u00B7 api/server/services/ToolService.js:2600 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1984}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7225795430d9022d4b62ae3099404a0c5278ba39eeedc5a9bd40e7fc6c0e24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 4 locations): client/src/components/Chat/Messages/Content/ApprovalContext.tsx:385 \u00B7 client/src/hooks/MCP/useMCPServerManager.ts:874 \u00B7 packages/chat/src/react/chat/helpers.ts:195 \u00B7 packages/chat/src/react/steering/useSteering.ts:438 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df25a4af48c2ceb38ace215b9ac0c920f3a21d0de0930413e0a6b1fd764db4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.tsx:62 \u00B7 client/src/components/SidePanel/Memories/MemoryPanel.tsx:148 \u2014 the two spans are one implementation copied and then locally edited \u2014 140 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":"client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee22b3204df6d130439c525b471e02694b2c27d20e99cfcd343a629a05102b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicCombobox.tsx:52 \u00B7 client/src/components/SidePanel/Parameters/DynamicDropdown.tsx:50 \u2014 the two spans are one implementation copied and then locally edited \u2014 133 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicCombobox.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a913f2fcf60f22f8101b4a41a0099b7abedab58fa41ff7039c55bd17ee514a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:546 \u00B7 packages/api/src/agents/skillFiles.ts:72 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a2c1707ba2acb6cf9850ab847c79badac3574208c82e3af9465ccbd48e7ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): packages/api/src/messages/parts.ts:167 \u00B7 packages/api/src/messages/parts.ts:300 \u2014 the two spans are one implementation copied and then locally edited \u2014 234 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/parts.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3761b3d22cd28942e1ff3702e823cc921f34d0f564fe8de3e70fa5e7fe2151"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (36 matched lines \u00D7 2 locations): packages/api/src/stream/interfaces/IJobStore.ts:1090 \u00B7 packages/api/src/stream/interfaces/IJobStore.ts:1385 \u2014 all 2 copies are in the same file, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079e25000a46167dca1f948e4fe45515360052e941a8d077f7d9d25a48f173a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 6 locations): api/server/services/Files/Code/process.js:1130 \u00B7 api/server/services/Files/Code/process.js:1191 \u00B7 api/server/services/Files/Code/process.js:1252 \u00B7 api/server/services/Files/Code/process.js:1298 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"de11b312501ed459ca4745d649672a075e4303dc5cba28dc60af071865b0fb9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): client/src/data-provider/mutations.ts:1532 \u00B7 client/src/data-provider/mutations.ts:1594 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":1532}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbaea3e74f8412ccfa0314cb63ff518926f15c3f88210a8d59890491d0a345e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): packages/api/src/agents/lazySubagents.ts:87 \u00B7 packages/api/src/agents/lazySubagents.ts:122 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/lazySubagents.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3eaf0e88592b3de6c553c7c277806e5355513fd369dce62ad283ec6194df89a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (35 matched lines \u00D7 2 locations): packages/api/src/endpoints/google/llm.ts:672 \u00B7 packages/api/src/endpoints/openai/llm.ts:747 \u2014 the two spans are one implementation copied and then locally edited \u2014 187 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047549c2fa4489ede08989dd5a7313ad41bc4e78ac1cf999e8e26dce9e937ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): api/app/clients/tools/structured/TavilySearchResults.js:39 \u00B7 packages/api/src/tools/registry/definitions.ts:255 \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":"api/app/clients/tools/structured/TavilySearchResults.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b807adbbfe55f2a3e5c002f8dff5c4b66b01b53f88020e863a51887ba789f7ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:78 \u00B7 api/server/controllers/assistants/chatV2.js:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e55097b4ce560938f7f0a0ed9674bb6581c5910b212457936da5cd09226f829"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): api/server/services/MCP.js:822 \u00B7 api/server/services/MCP.js:981 \u2014 the two spans are one implementation copied and then locally edited \u2014 144 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":"api/server/services/MCP.js"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97af2db297738047c971903dbdea1e136dbfb145344ac71556bb7a8d81f8e8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx:209 \u00B7 client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx:102 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"928c256b3442e2a045dcc92512ce3da25af3dd94b8476cf7b7f4cfa3fa810748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Speech/STT/EngineSTTDropdown.tsx:11 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/EngineTTSDropdown.tsx:11 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Speech/STT/EngineSTTDropdown.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"59616be984e96c0fcacaccececd311a3ea44f239cca1b4f93804aba5dde6b272"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (34 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/ImageVision.tsx:7 \u00B7 client/src/components/SidePanel/Builder/ImageVision.tsx:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 172 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":"client/src/components/SidePanel/Agents/ImageVision.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bcbe721680b6b15e80dff17d617afc532c800b41a21da852451dd389ec64c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3 locations): packages/api/src/app/permissions.ts:308 \u00B7 packages/api/src/app/permissions.ts:384 \u00B7 packages/api/src/app/permissions.ts:559 \u2014 all 3 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"36218ee231663a3ba07787f6ca71c68a77d3578f73c36be007c2f223311541a3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): api/server/routes/admin/groups.js:9 \u00B7 api/server/routes/admin/roles.js:9 \u2014 the two spans are one implementation copied and then locally edited \u2014 260 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":"api/server/routes/admin/groups.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"87703146dbd5184617fe80c75f4978d3c408f2faabb2b8700018ac8b0b5c5351"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): api/server/services/Endpoints/agents/addedConvo.js:165 \u00B7 api/server/services/Endpoints/agents/initialize.js:764 \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":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"215002eafd4998fc249e9823bfb52e22f36859255c7937d3e6ffd82fa349143d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx:74 \u00B7 client/src/components/Chat/Messages/Content/MarkdownLite.tsx:36 \u2014 the two spans are one implementation copied and then locally edited \u2014 94 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/MarkdownErrorBoundary.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a411b12f184333d9af5aaa1ad7e9c7a78206c6d5e67a7200334e6c4b566e760"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): client/src/components/Messages/Content/Mermaid/Mermaid.tsx:367 \u00B7 client/src/components/Messages/Content/Mermaid/Mermaid.tsx:537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39a7d4118b84f0f80c984a8e58366cfe9e8d979f0c1df6a6d102865a306f38c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): packages/api/src/agents/background.ts:1737 \u00B7 packages/api/src/agents/background.ts:1771 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1737}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f9be67388b824451abcfa977e2ea1f098eb92666744242a3e06793f324363d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (33 matched lines \u00D7 2 locations): packages/api/src/agents/transactions.ts:151 \u00B7 packages/data-schemas/src/methods/transaction.ts:201 \u2014 the two spans are one implementation copied and then locally edited \u2014 211 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/transactions.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63ff0bb176dd76a25f930b37caf0803a3648c1d1c05dadad277bd6da5589385"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2 locations): packages/data-provider/src/schemas.ts:492 \u00B7 packages/data-provider/src/schemas.ts:842 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/schemas.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27d669760c6e3d79eed925881faf5d4c5d144c99cee6b8692a5862b7e06553b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): api/app/clients/tools/structured/TavilySearchResults.js:6 \u00B7 packages/api/src/tools/registry/definitions.ts:222 \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":"api/app/clients/tools/structured/TavilySearchResults.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a3297f4079bf7d5d156d9dc40f475d7327056e9a7071de6bc6400814419b97"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:1089 \u00B7 api/server/controllers/agents/responses.js:921 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"077956b014a2f340a309f0f1979abe8d1481bd48f22069e6e002cca9836b242d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3 locations): api/server/middleware/limiters/forkLimiters.js:29 \u00B7 api/server/middleware/limiters/importLimiters.js:29 \u00B7 api/server/middleware/limiters/shareLimiters.js:39 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/forkLimiters.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5ceb9ae7f081344dcc8c19bd5573259b1b3be680b6a22ce2cbe7b00291ed0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (32 matched lines \u00D7 2 locations): config/migrate-code-file-duplicates.js:184 \u00B7 config/migrate-orphaned-agent-files.js:109 \u2014 the two spans are one implementation copied and then locally edited \u2014 256 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":"config/migrate-code-file-duplicates.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef935f3037a9eac5d0eda7d63202ead178b59f18c11cc5e4454b2712ac44fc7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:4413 \u00B7 packages/api/src/agents/handlers.ts:4528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c570d65154be483bbcbe689493e871cf2a5c419003744df33c6920a870a46c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): api/app/clients/tools/structured/GeminiImageGen.js:138 \u00B7 api/app/clients/tools/structured/OpenAIImageTools.js:254 \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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ce3dd88f0280276f3fa44666bdf0bc406f8aa1deefd3b628209bca70142cdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): api/server/controllers/agents/callbacks.js:1021 \u00B7 api/server/controllers/agents/callbacks.js:1387 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d326e7b2d458d4920e232d9d4d142772dbee31373e6f881785a06a5147113c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): client/src/components/Auth/TwoFactorSetupScreen.tsx:328 \u00B7 client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx:282 \u2014 the two spans are one implementation copied and then locally edited \u2014 139 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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c2e2b44c913d6deb8a6abf304031eb589f3ec49f7cd0f391e8701410c72664"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisEventTransport.ts:1488 \u00B7 packages/api/src/stream/implementations/RedisEventTransport.ts:1561 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1488}}}],"partialFingerprints":{"codehealthFindingId/v1":"db90415eccdcfdedf3b7227ef759b1540d5c70d37ea026dcebfd86cafcfd9342"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (31 matched lines \u00D7 2 locations): packages/chat/src/core/resumable/ceiling.ts:27 \u00B7 packages/chat/src/core/resumable/reconcile.ts:117 \u2014 the two spans are one implementation copied and then locally edited \u2014 149 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"38acad4b128c26c0564b22d8220e0e64486fd9ed2c22c8e5b877661a732b43a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): packages/chat/src/react/steering/useSteering.ts:424 \u00B7 packages/chat/src/react/steering/useSteering.ts:457 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"91cb0ed567c542db51f25a35a72c386d0d58d13472142b166e059cb826939966"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): api/server/services/Endpoints/assistants/build.js:5 \u00B7 api/server/services/Endpoints/azureAssistants/build.js:5 \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":"api/server/services/Endpoints/assistants/build.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b7e95a5c7350d8262301952250009839298a320ecc9645963dd68c777250bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): api/server/services/Files/Azure/crud.js:20 \u00B7 api/server/services/Files/Azure/crud.js:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 131 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":"api/server/services/Files/Azure/crud.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b1df528f39098ceb22bd267fd59773f9e0c02a4723471721c7181d46584d72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): api/server/services/Files/Azure/images.js:33 \u00B7 api/server/services/Files/Firebase/images.js:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 220 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Azure/images.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a52c928af6518658f6f44e8feea3d2e59d97f97a43ccc06efe47db0cc808971"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): client/src/Providers/BadgeRowContext.tsx:287 \u00B7 packages/client/src/theme/context/ThemeProvider.tsx:830 \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":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"50377de21596a53b1a4523c0123928d567e6db8bea7a8bdd13ef3af8453a7fe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): client/src/components/Audio/Voices.tsx:9 \u00B7 client/src/components/Audio/Voices.tsx:43 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Audio/Voices.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eff72f90b72d5b339e758bd03dc37755bb94112f3718cc078991d2e85441e87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 5 locations): client/src/components/Chat/Messages/Content/ApprovalContext.tsx:388 \u00B7 client/src/hooks/MCP/useMCPServerManager.ts:878 \u00B7 packages/chat/src/react/chat/helpers.ts:198 \u00B7 packages/chat/src/react/steering/rows.ts:354 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ef698f84482857dc2d0930cbeb4075404cbb2a081064947e44efc0b68bc70d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): client/src/components/Messages/Content/Error/UserKeyError.tsx:133 \u00B7 client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeyRow.tsx:59 \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":"client/src/components/Messages/Content/Error/UserKeyError.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff7aed788074e10270b98631c946cb311a4c8df94af61be8ed526d4cc522684"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): client/src/hooks/Audio/useAudioRef.ts:10 \u00B7 client/src/hooks/Audio/useCustomAudioRef.ts:15 \u2014 the two spans are one implementation copied and then locally edited \u2014 180 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Audio/useAudioRef.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8a2aeebd1ace06cfd69fb0f0583d40b4c69c8ef5af949ba274f81203f7260a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/api/src/agents/backgroundCompletionWakeup.ts:143 \u00B7 packages/api/src/agents/subagentCompletionWakeup.ts:95 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f020d8a90574410a01c6f77659de7e7d38ec5f4c408717051664a71e92fe83e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/api/src/agents/inference.ts:89 \u00B7 packages/api/src/agents/inference.ts:125 \u2014 the two spans are one implementation copied and then locally edited \u2014 214 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e2c62abea7b503d8bc0f0a27a9db19024b8d65e57e4dcfd7d75307f59e74b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/api/src/auth/openid/recovery.ts:657 \u00B7 packages/api/src/auth/openid/session.ts:1667 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"413dfa3b3cb0987c42840ac375e497a3287a343c10237c8566379889e838ee47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/api/src/protection/adapters/messages.ts:511 \u00B7 packages/api/src/protection/adapters/messages.ts:603 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"29909f05b4f30227c728f68b2470d43187a5f088a45b42d84f52eaeea3e4da3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (30 matched lines \u00D7 2 locations): packages/channel-gateway/src/presentation.ts:103 \u00B7 packages/channel-gateway/src/presentation.ts:190 \u2014 the two spans are one implementation copied and then locally edited \u2014 222 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/presentation.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"152bc3caf159e7167565c711f8003fb52f8e269919e4f4118c3addc89765dc6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2 locations): packages/data-schemas/src/schema/schedule.ts:236 \u00B7 packages/data-schemas/src/schema/scheduleRun.ts:68 \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":"packages/data-schemas/src/schema/schedule.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d7b87b6dd826706af532ae565594a3719c86bd2b59096dac436a86886fab62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): api/server/services/Files/Audio/STTService.js:164 \u00B7 api/server/services/Files/Audio/TTSService.js:58 \u2014 the two spans are one implementation copied and then locally edited \u2014 159 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"640edd286df4f44e104801e61c7d8c87a78d9dc10f6c4f89cac07b086372a21d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): client/src/components/Messages/Content/Mermaid/Mermaid.tsx:333 \u00B7 client/src/components/Messages/Content/Mermaid/Mermaid.tsx:506 \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":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce42d2c233636d892b764917faef62e20c2f6cfb3b2d9ddec586801f5b097f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (29 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/ActionsTable/Table.tsx:4 \u00B7 client/src/components/SidePanel/Builder/ActionsTable/Table.tsx:4 \u2014 the two spans are one implementation copied and then locally edited \u2014 178 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":"client/src/components/SidePanel/Agents/ActionsTable/Table.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f986e2e822e07850ec3954b04078bd3db344516249c04a5f2406e227b1d18eba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/AgentConfig.tsx:200 \u00B7 client/src/components/SidePanel/Agents/AgentConfig.tsx:233 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentConfig.tsx"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab672eeeb1a36b6ad16095d670deba095b8c308eb1f6c6b04d8a2fa58321729f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): client/src/hooks/Files/useSharePointFileHandling.ts:27 \u00B7 client/src/hooks/Files/useSharePointFileHandling.ts:63 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointFileHandling.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24c50d948a74335efa37a1df1600519a552f31e7db79848d553ff1542888bac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2 locations): packages/api/src/oauth/tokens.ts:216 \u00B7 packages/api/src/oauth/tokens.ts:323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a602e63e4dfde50fa6311b8f0749411d1be8bca65fbd22daafa760f7d859c80"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 3 locations): api/server/controllers/agents/openai.js:896 \u00B7 api/server/controllers/agents/responses.js:1124 \u00B7 api/server/controllers/agents/responses.js:1357 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"055240634ea1fa226f3f1f40d6407f40fe59acde5ac0cef13019526a3d90a7f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:916 \u00B7 api/server/controllers/agents/v1.js:1725 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaa92d48f04a8d63c670446c99aa84e951ded07fa70582f6dc0185332ffebe1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): api/server/experimental.js:547 \u00B7 api/server/index.js:302 \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":"api/server/experimental.js"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"b800cc7460fa66df76fc765e9c5b83ce8f484e1a9d1909a632ae5014c4b12897"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): client/src/components/Chat/Menus/Endpoints/DialogManager.tsx:24 \u00B7 client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeyRow.tsx:63 \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":"client/src/components/Chat/Menus/Endpoints/DialogManager.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"931d761acedc37c4bb664749d227a1bf666a32e609185c392e8c2dd979fd2d6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): client/src/components/Input/SetKeyDialog/CustomEndpoint.tsx:5 \u00B7 client/src/components/Input/SetKeyDialog/OpenAIConfig.tsx:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 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":"client/src/components/Input/SetKeyDialog/CustomEndpoint.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb259df7f2d886729714012fc7bec9babf3c977414da23950d28f0137a3a887e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/ApiKeys/ApiKeys.tsx:22 \u00B7 client/src/components/Nav/SettingsTabs/ProviderKeys/ProviderKeys.tsx:22 \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":"client/src/components/Nav/SettingsTabs/ApiKeys/ApiKeys.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d86cf13caa0da0b4aa69a7fdb844bc195a5061ddd9447454e8348d49190f466e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/ItemDialog/ItemDialogHeader.tsx:17 \u00B7 client/src/components/SidePanel/Agents/Tools/ToolRow.tsx:22 \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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/ItemDialogHeader.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a268a488fbf495e72f064aae81ac5dcdadf61cbfffb1214cbff676d8bbbee1ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 8 locations): client/src/data-provider/roles.ts:52 \u00B7 client/src/data-provider/roles.ts:88 \u00B7 client/src/data-provider/roles.ts:124 \u00B7 client/src/data-provider/roles.ts:160 \u00B7 \u002B4 more site(s) not listed \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/roles.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f5ea6ea8537c6d30e137f6db5162500204f9b85cda2675d64469a7e423bd0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): config/add-balance.js:11 \u00B7 config/set-balance.js:10 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/add-balance.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3e769eccb912a685c8c01839d11eaa7ea7731929277b24d8e718e4d8ae4e5de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/api/src/agents/resources.ts:1109 \u00B7 packages/api/src/agents/resources.ts:1180 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"482455c119233407a9b0a44e629db41a6d8df797ddfe2354f03b41063296b573"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (28 matched lines \u00D7 2 locations): packages/api/src/channels/cleanup.ts:123 \u00B7 packages/api/src/channels/feedbackRuntime.ts:73 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/cleanup.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd192746aca57fb8b23e05aacb068083d23b467ea583318938f7dfe4306a238"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/data-schemas/src/methods/message.ts:2905 \u00B7 packages/data-schemas/src/methods/message.ts:2992 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2905}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b753dab5737e1517a8669d86cb191e734ebf4c22b2d58e68d5f10147939d18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:2371 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:2416 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2fb57e8f9b9121bca5574ec48e601dbbb19daab5c10868b1d72961360913052"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): api/db/indexSync.js:95 \u00B7 api/db/indexSync.js:127 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"246321595b24e1f39bf5447b631bd814629ac2d5d9d89cfa9137ee040dbec08b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): api/server/controllers/agents/request.js:1045 \u00B7 api/server/controllers/agents/request.js:1097 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05f7c71f5036339d24b432ab8e67dd0258b6f48124b86f8608885800bf4a2e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): api/server/controllers/agents/resume.js:875 \u00B7 api/server/controllers/agents/resume.js:1767 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f8baed17f230262ef112e4e7cf8c52c7c604966ab08393b76e7b97a96362a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 7 locations): api/server/routes/admin/auth.js:256 \u00B7 api/server/routes/admin/auth.js:306 \u00B7 api/server/routes/admin/auth.js:359 \u00B7 api/server/routes/admin/auth.js:410 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"746721b34d576cdd23fdce72911cb4acf5302aa79c20fd0365a034718ec50d99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): api/server/routes/assistants/chatV1.js:8 \u00B7 api/server/routes/assistants/chatV2.js:8 \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":"api/server/routes/assistants/chatV1.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6de8c41251024c91299a6a935535a5db1ac67a0a2650622c8444eb59d4b16b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): client/src/components/Chat/Input/Files/Table/Columns.tsx:79 \u00B7 client/src/components/Chat/Input/Files/Table/Columns.tsx:257 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/Columns.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c826e56c0e552c882fea7344415fa1f56e6c6b99f3a2da7543622e5de7d4394a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): client/src/components/SidePanel/Builder/AssistantSelect.tsx:80 \u00B7 client/src/utils/forms.tsx:106 \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":"client/src/components/SidePanel/Builder/AssistantSelect.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9eecc9d03c84658097b8cf411354d6ca3fac1289e3a223ec946ce611f84b8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (27 matched lines \u00D7 2 locations): packages/api/src/agents/legacy.ts:17 \u00B7 packages/api/src/agents/legacy.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 266 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/legacy.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b319f3e38ef526245145974ef062d139f2ec6e1afddd8c7e9c7ecc6dfff35d3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/api/src/skills/handlers.ts:151 \u00B7 packages/api/src/skills/handlers.ts:182 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0abfb8ecbb688c4a07487964c64ecde4728e9372863aba32f885393229f309"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:6601 \u00B7 packages/api/src/stream/GenerationJobManager.ts:6634 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6601}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a80e53de7b297328e6df50d59045dd8bedbe803dde230145ff293be96f53ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:2440 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2633 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2440}}}],"partialFingerprints":{"codehealthFindingId/v1":"142a4fdb835cb965556a1108be7dd296ccf3faba1040203fbfc15bb322cf6de5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 6 locations): api/server/middleware/limiters/forkLimiters.js:2 \u00B7 api/server/middleware/limiters/importLimiters.js:2 \u00B7 api/server/middleware/limiters/shareLimiters.js:3 \u00B7 api/server/middleware/limiters/sttLimiters.js:2 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 6 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/forkLimiters.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d8e6e98eb09f16c3d172aa273fdc40747d95315f2499c711dc095cce00ec1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): api/server/middleware/limiters/resetPasswordSubmissionLimiter.js:6 \u00B7 api/server/middleware/limiters/verifyEmailSubmissionLimiter.js:6 \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":"api/server/middleware/limiters/resetPasswordSubmissionLimiter.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa9c92a1110f18a5741c836170eafb821a5e79daf1e5add6e316ca920e1e09a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx:129 \u00B7 client/src/components/Chat/Menus/Endpoints/components/ModelSpecItem.tsx:66 \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":"client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4a2cd7418b401cd8f02fa3288398788c013f020582bb21db05b68c40366fd3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Data/DeleteCache.tsx:52 \u00B7 client/src/components/Nav/SettingsTabs/Data/RevokeKeys.tsx:47 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/DeleteCache.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c875cc497bf546516862960ca8c9df0835f139059153e7d056829bc164a7be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicInput.tsx:164 \u00B7 client/src/components/SidePanel/Parameters/DynamicTextarea.tsx:48 \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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"864e3086d77b236140f7aec64192d68d3cffdfaddc546b54f4dcc802ff07a2c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): client/src/data-provider/queries.ts:393 \u00B7 client/src/data-provider/queries.ts:455 \u2014 the two spans are one implementation copied and then locally edited \u2014 270 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":"client/src/data-provider/queries.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"78074c09b222fe5288855aec5a138953a4ed92db1f9198c82e8dd7e998eb57ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/api/src/admin/code.ts:201 \u00B7 packages/api/src/admin/code.ts:275 \u2014 the two spans are one implementation copied and then locally edited \u2014 171 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae2158b9661e476b6920f7704c06c796025ee85f3e764b4061c2e541ea7a70b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/api/src/admin/config.ts:3641 \u00B7 packages/api/src/admin/config.ts:4000 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3641}}}],"partialFingerprints":{"codehealthFindingId/v1":"c994606ecf71b38bd3bc60a1236c007dc791baa3405bc081118d73683aade826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/api/src/agents/queuedTurns.ts:337 \u00B7 packages/api/src/agents/subagentCompletionWakeup.ts:123 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa26f1da24be5cfec622daefcfbcad2cbfbb0eb7e07ef08c3c0cdf488abb9b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:921 \u00B7 packages/api/src/mcp/connection.ts:2393 \u2014 the two spans are one implementation copied and then locally edited \u2014 148 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":921}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82d9ef1ab16a5a5c0b256fbd01534209f9e8e08ee83ff8be6241327f2504b43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (26 matched lines \u00D7 2 locations): packages/api/src/protection/adapters/messages.ts:429 \u00B7 packages/api/src/protection/adapters/messages.ts:826 \u2014 the two spans are one implementation copied and then locally edited \u2014 118 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed3c3c5fd2de211bbc57cca8e8688372239ae4b314f8b44073b0fb1eb6d8350"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/chat/src/components/composer/popover/Mention.tsx:111 \u00B7 packages/chat/src/components/composer/popover/Prompts.tsx:81 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/popover/Mention.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"faad5588a002de72fef0bc77539ef3cc8994154def31bcde6e7de2e84e45d354"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/chat/src/components/messages/ContentRender.tsx:157 \u00B7 packages/chat/src/components/messages/MessageParts.tsx:98 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/ContentRender.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3934d27a741381b3f760415ebd00f5a3dfbc0dcd350abeb45f306c06e1c9d93c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2 locations): packages/chat/src/components/messages/Message.tsx:27 \u00B7 packages/chat/src/components/messages/MessageContent.tsx:27 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/Message.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dac2ab982d5ab318952705bfb872c6df58a44cfe820d9c3ddb7b53685cb4e00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): api/server/controllers/agents/responses.js:1111 \u00B7 api/server/controllers/agents/responses.js:1344 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2d958a2d7b0849b7af36e112bae88e3089de2e95423efc3b74c3d946ff132c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): api/server/experimental.js:493 \u00B7 api/server/index.js:231 \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":"api/server/experimental.js"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"56826fc92a4c2734b077a66551ebdc19f13386960f30497b6b51160e69c57cbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): api/server/experimental.js:590 \u00B7 api/server/index.js:346 \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":"api/server/experimental.js"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"b898123c9a85c6961fe42cd5db08d0aecf0ca4e0ea68208da17ed107555537e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 3 locations): api/server/middleware/limiters/emailChangeSubmissionLimiter.js:6 \u00B7 api/server/middleware/limiters/resetPasswordSubmissionLimiter.js:6 \u00B7 api/server/middleware/limiters/verifyEmailSubmissionLimiter.js:6 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/emailChangeSubmissionLimiter.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ed2fe465df08b5db6b0f9aae1174b0e38a9a153c4d3886df23180c820dfb4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): api/server/middleware/limiters/resetPasswordLimiter.js:6 \u00B7 api/server/middleware/limiters/verifyEmailLimiter.js:6 \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":"api/server/middleware/limiters/resetPasswordLimiter.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"442666fa901cc1e48ab1995ce06b0463c344673c4ef4d125e17ba4e79e00f25d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): api/server/services/Files/Azure/images.js:101 \u00B7 api/server/services/Files/Firebase/images.js:81 \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":"api/server/services/Files/Azure/images.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6af2b28a84847495d56ec608e69221d5cb260f3f541c3b47081e82d38429aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): api/server/services/ToolService.js:893 \u00B7 api/server/services/ToolService.js:1788 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f876490ee5928ed60a19087d3bc7cf42ad34fe99d4f691a8042dd91d420601"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx:283 \u00B7 client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx:308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2412cd572c8efadf2103107edb4304e27596d154fd195a63f352827638052cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (25 matched lines \u00D7 2 locations): client/src/components/Skills/display/SkillDetail.tsx:75 \u00B7 client/src/components/Skills/display/SkillDetailHeader.tsx:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 95 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillDetail.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"88703c077d3bb73197cdee7d298896df60172647b16f9a71fd1003ad44f85197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): client/src/components/Web/Sources.tsx:421 \u00B7 client/src/components/Web/Sources.tsx:517 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Sources.tsx"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa8c11451061dd86572926a720e8ccc42026eb8da62cf21f722e13d95fa1939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): client/src/data-provider/Favorites.ts:266 \u00B7 client/src/data-provider/Favorites.ts:298 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Favorites.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6241c6e33efd5ae1e52f6b11f07ff345a6c814d1f7d2441d6f1442cab01f038a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:2456 \u00B7 packages/api/src/agents/handlers.ts:2551 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2456}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e720daca17c1392d5773103e3d436397c806d282479415af11443d20adeeeed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): api/server/controllers/agents/callbacks.js:920 \u00B7 api/server/controllers/agents/callbacks.js:1293 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ac184ba3bdd7f90abb1d15759a3ca2cf732acc0a7bde8b79f2e1f1c6c21212f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): api/server/controllers/agents/client.js:4713 \u00B7 api/server/controllers/agents/client.js:5515 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fb4673f2a04413372b9fbfd7fc4ac8abe08da14296fb8fc2a373d27f369fca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3 locations): api/server/middleware/limiters/emailChangeSubmissionIpLimiter.js:14 \u00B7 api/server/middleware/limiters/resetPasswordSubmissionLimiter.js:8 \u00B7 api/server/middleware/limiters/verifyEmailSubmissionLimiter.js:8 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/emailChangeSubmissionIpLimiter.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc3c05861142471c7d0cde9eef0a8f3a86472afa191415d15c6b806d06573dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): client/src/Providers/ArtifactContext.tsx:4 \u00B7 client/src/Providers/CodeBlockContext.tsx:5 \u2014 the two spans are one implementation copied and then locally edited \u2014 131 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":"client/src/Providers/ArtifactContext.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc245d61e3c4731168deeea0dd415d7eff4328e24c99b1e9032f08c41c86cd94"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (24 matched lines \u00D7 2 locations): client/src/components/Auth/LoginForm.tsx:162 \u00B7 client/src/components/Auth/Registration.tsx:211 \u2014 the two spans are one implementation copied and then locally edited \u2014 112 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":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f1fdfe8363baf68a00aed2c62170b3d34fdd10534a16542701dbc326c4ded6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): client/src/components/Endpoints/MessageEndpointIcon.tsx:20 \u00B7 client/src/components/Endpoints/MessageEndpointIcon.tsx:49 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/MessageEndpointIcon.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed193f3c1988841638af16ea94360b19cbc45b30358dc17616e6dc5d1490feff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Code/Files.tsx:31 \u00B7 client/src/components/SidePanel/Agents/FileSearch.tsx:55 \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":"client/src/components/SidePanel/Agents/Code/Files.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f4efca718eeb23e7a131b8e65189b872c321b7082ace1a9e07142acc3b70bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): client/src/hooks/Agents/useAgentUploadTarget.ts:62 \u00B7 client/src/hooks/Input/useAttachTarget.ts:77 \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":"client/src/hooks/Agents/useAgentUploadTarget.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc162a83274edbb111daefe7168b7b334cc3520afff22ae239f3a7940bc7389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/api/src/agents/control.ts:168 \u00B7 packages/api/src/agents/control.ts:301 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5b2f5270c68612f003a6d1a98cc88cfedc2105d411541a1347c067272261776"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/api/src/cdn/cloudfront-cookies.ts:89 \u00B7 packages/api/src/cdn/cloudfront-cookies.ts:114 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d542e1f60211e96a0365362704e09f85e0a0220636f087fb3052da5f85ca15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/api/src/flow/manager.ts:553 \u00B7 packages/api/src/flow/manager.ts: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":"packages/api/src/flow/manager.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b94363666a8ccb03cb95a5e313f637311da48dbfcc2f7b6ca3d873bcf17b9032"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/api/src/mcp/MCPManager.ts:1929 \u00B7 packages/api/src/mcp/MCPManager.ts:2087 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46d25f96d67962c7eabe3286c79bdfe99250e387717c12dd1411fe8d4d3f107"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): packages/chat/src/core/resumable/patches.ts:281 \u00B7 packages/chat/src/core/resumable/patches.ts:378 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/patches.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5c1d75a09d62312cee9e1d1ed8301b8b2f8654825dfb6cd4849cde6901744c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): api/server/experimental.js:629 \u00B7 api/server/index.js:393 \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":"api/server/experimental.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9558d721156db80036c1e89cac4cf97d72749873a28b29a963e68a1752e69b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): client/src/components/Messages/Content/useCopyCode.ts:4 \u00B7 client/src/components/Messages/Content/useDownloadCode.ts:7 \u2014 the two spans are one implementation copied and then locally edited \u2014 164 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":"client/src/components/Messages/Content/useCopyCode.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f519e3e6ed9ec58e57b84d53ca564bb4cbb09cc147553a25614b12c7fcd06f8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Data/ArchiveAllChats.tsx:106 \u00B7 client/src/components/Nav/SettingsTabs/Data/ClearChats.tsx:30 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/ArchiveAllChats.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce60bb3c5e32a4cf2241b1d86d9fb38d605b81213002c541022ef22bf67205cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 5 locations): client/src/components/Prompts/buttons/AdminSettings.tsx:15 \u00B7 client/src/components/SidePanel/Agents/AdminSettings.tsx:15 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPAdminSettings.tsx:19 \u00B7 client/src/components/SidePanel/Memories/AdminSettings.tsx:16 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/buttons/AdminSettings.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e611edd7ee733535d24ddb8b7786ea8a672111c3ca89d9a177a0fa6705c9c3f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): client/src/components/Prompts/dialogs/SharePrompt.tsx:52 \u00B7 client/src/components/Skills/buttons/ShareSkill.tsx:34 \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":"client/src/components/Prompts/dialogs/SharePrompt.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c271170a2b29e288ffc45eee1b2f94edf5a081688aa61ef65d23a42cac2cc9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): client/src/components/Web/Sources.tsx:294 \u00B7 client/src/components/Web/Sources.tsx:335 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Sources.tsx"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"7574efe26a804087ef13edeca6e40db489883fd23523931200dde280429b3400"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): client/src/hooks/Conversations/useNewChat.ts:457 \u00B7 client/src/hooks/useNewConvo.ts:472 \u2014 the two spans are one implementation copied and then locally edited \u2014 178 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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca87f03c0d4bcc167f74be5676565d363075d31fd7fed0994a2495f58c4c2a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): packages/api/src/agents/activityPhases/runtime.ts:204 \u00B7 packages/api/src/agents/reasoningLabels/runtime.ts:137 \u2014 the two spans are one implementation copied and then locally edited \u2014 168 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38859031fba664a51ee10a6b5e1bcbef01e5f043be7fbbdc10fc8e18449e596"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:4249 \u00B7 packages/api/src/agents/handlers.ts:4318 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ad66e72551ac0dafe5492829af59a44ead09dcadc5ae45f78ec813b8873f87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/api/src/auth/ldap.ts:26 \u00B7 packages/api/src/auth/saml.ts:79 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ldap.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"c857ef7b3dd7b98d12036494bd95d9b61415030796cc9333bde1e0781442e1d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/api/src/files/documents/html.ts:826 \u00B7 packages/api/src/files/documents/zipSafety.ts:69 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/html.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85d84c5a7132c77a77f8a4fab6b1d6a967b7f6706387d7a0cee6ce62c6007d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3 locations): packages/api/src/files/encode/audio.ts:38 \u00B7 packages/api/src/files/encode/document.ts:348 \u00B7 packages/api/src/files/encode/video.ts:37 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7131f482f75980f1129ef7e59d6c7616d05807333aafe7c525c45aaac7398289"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/chat/src/react/steering/actions.ts:73 \u00B7 packages/chat/src/react/steering/actions.ts:167 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/actions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2df244eac4558ebb74cb68ecd9ce16e3d68ea88d279d4383042892c68c87197"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (23 matched lines \u00D7 2 locations): packages/data-schemas/src/config/meiliLogger.ts:5 \u00B7 packages/data-schemas/src/config/winston.ts:14 \u2014 the two spans are one implementation copied and then locally edited \u2014 150 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/meiliLogger.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8309a45a24e2b1721f019607983b1d5d18ce7dad2d8a76e52b20f0732d30cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:3110 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:3137 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":3110}}}],"partialFingerprints":{"codehealthFindingId/v1":"706091e4a61c9d02f467a48f37c6051f41dea41e8afacffeedb253cdb17dad8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): api/server/controllers/UserController.js:449 \u00B7 config/delete-user.js:291 \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":"api/server/controllers/UserController.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"774d7570f7e8fdf0cca20d30647aebc76a7be11a5c6ff20b75bf49f647ec9f3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3 locations): api/server/controllers/agents/openai.js:864 \u00B7 api/server/controllers/agents/responses.js:1098 \u00B7 api/server/controllers/agents/responses.js:1332 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b5fb0c2ca2e82c01db98b0a4d3a4dbd3e9242c2ace32ca63e32640ad3304b68"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): api/server/middleware/limiters/emailChangeLimiter.js:8 \u00B7 api/server/middleware/limiters/emailChangeSubmissionLimiter.js:8 \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":"api/server/middleware/limiters/emailChangeLimiter.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebeac340a6dfb99178dc86bb05f355df2bb9ab48b3dd55cfd03f6a9378f6d4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/AskUserQuestion.tsx:282 \u00B7 client/src/components/Chat/Messages/Content/ToolApproval.tsx:290 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e2ee4bb89e89325b33c1e4ed37e5d97e03fcbb8cb40437d746656bbec46c1f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): client/src/components/MCP/mcpServerUtils.ts:61 \u00B7 client/src/components/MCP/mcpServerUtils.ts: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":"client/src/components/MCP/mcpServerUtils.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f2728e4acd55eb6b6a900f82380b29bc4589573f33fc41340ed7711f38b4bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:237 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:325 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7d2528a81ddeb54051fb4891e54f7ca5d6a901ef10df6efc726c35e8d755b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicCheckbox.tsx:46 \u00B7 client/src/components/SidePanel/Parameters/DynamicTextarea.tsx:44 \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":"client/src/components/SidePanel/Parameters/DynamicCheckbox.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2f4602bd13456bca5c950f898b9bc3c7725e7d2560ff3476c3ccdf499d5ca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): config/deployed-update.js:4 \u00B7 config/update.js:44 \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":"config/deployed-update.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"09cd4e65d2fe815a03b2d03dc5c08c1a4be16ca0f0ee15e6be3abf2b59e62765"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): packages/api/src/agents/hitl/resume.ts:516 \u00B7 packages/api/src/agents/steering/offset.ts:39 \u2014 the two spans are one implementation copied and then locally edited \u2014 195 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf1398e4b3450ce4ac75674a766972e80638383bbf8835ef15fcec66f1802b8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/agents/queuedTurns.ts:212 \u00B7 packages/api/src/agents/queuedTurns.ts:252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c787b4e1ed3933d65ee8309b5cf9a31fcf7a933be28de6330b36d12368bec5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/agents/subagentThreads.ts:3758 \u00B7 packages/api/src/agents/subagentThreads.ts:3847 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"7705157974e1b3fc24750a149706422862105f29e8355dc47c4f7eef29f65550"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/auth/enrollment.ts:240 \u00B7 packages/api/src/auth/enrollment.ts:266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"05028750b02c6b2cc48fbdb48f40871a0caa3387e7230f7aedb8bb665f320ac0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/protection/adapters/messages.ts:978 \u00B7 packages/api/src/protection/adapters/messages.ts:1350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e78ec062fcf5039ad59f50fe9133b54f163268db98d4cf81ccd3b41286582f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/skills/deployment.ts:890 \u00B7 packages/api/src/skills/deployment.ts:913 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"064802ce1c57ca665cc20421abfcf346a17a2a7a5187d22c52363c67610ac1fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1273 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3882 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05ee9df9da8dd015e7f7409534d4d4356f7cafd2d86777a71dd9bf9e5aa76e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisEventTransport.ts:593 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5348 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6c6d631ecbcda283b9b0898e18bd15626a58d207d02ed0d6690ac20cadf44b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/chat/src/core/parts/wakeup.ts:47 \u00B7 packages/chat/src/core/parts/wakeup.ts:70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/wakeup.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20a9ae81313e1626eac114707a0e1ee8ffe0d77709d40259d5948a56377a3b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (22 matched lines \u00D7 2 locations): packages/chat/src/react/steering/submit.ts:95 \u00B7 packages/chat/src/react/steering/useSteerRecovery.ts:116 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc8bd1855eb144fe02d9704270a61dc21e8701fd875bf6b0cd14831316aed60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): packages/data-schemas/src/methods/transaction.ts:685 \u00B7 packages/data-schemas/src/methods/transaction.ts:724 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"343d107706dd8f3dad77bd764e19477bbc32c479194658581004d7904fca00d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): api/server/controllers/agents/client.js:1832 \u00B7 api/server/controllers/agents/client.js:1918 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"122220699a2ec444d065cb619648753eb8a92e4bf8f1eafaa82b9077849f76b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): api/server/middleware/limiters/registerLimiter.js:6 \u00B7 api/server/middleware/limiters/resetPasswordLimiter.js:10 \u00B7 api/server/middleware/limiters/verifyEmailLimiter.js:10 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/registerLimiter.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"155cf535df306b3a2838e429388220b85b93e4e2e134c2bb8ea20a27a599b28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): api/server/routes/share.js:503 \u00B7 api/server/routes/share.js:527 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ecb25f9d3d50a38361f9e99537e9f0444a95e2f6aa277ade644506b17a212b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): api/server/services/Files/Audio/STTService.js:304 \u00B7 api/server/services/Files/Audio/TTSService.js:274 \u2014 the two spans are one implementation copied and then locally edited \u2014 103 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4aab3c2414dd8244118b84e4b290f866cd1047507e7e8998e7235900eddf6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): api/server/services/Files/Audio/TTSService.js:120 \u00B7 api/server/services/Files/Audio/TTSService.js:233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be8152ef386ebfb47d7998e85761b9fa80feb2280de8b87d18fc27adee34bda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): api/server/services/Files/process.js:1058 \u00B7 api/server/services/Files/process.js:1445 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea51b52db89318518da830693c96766d5b5d837a2825ee12d32ea7add216e45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): api/server/services/ToolService.js:1281 \u00B7 api/server/services/ToolService.js:2580 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1315119da92dfaba18e75e0cb744928da3696d3674975e680c3879ba970e620"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): client/src/components/Nav/KeyboardShortcutsDialog.tsx:242 \u00B7 client/src/components/Nav/KeyboardShortcutsDialog.tsx:294 \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":"client/src/components/Nav/KeyboardShortcutsDialog.tsx"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc4119902b8a02e5def99060987e299f74d7df59ed5274e9391bc669bfe0c73"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Images.tsx:7 \u00B7 client/src/components/SidePanel/Builder/Images.tsx:3 \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":"client/src/components/SidePanel/Agents/Images.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"2407debc3dd5342ab81c238a7503d26a741cc76a0b92c09cfbb9b68fafcd9a72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx:58 \u00B7 client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx:82 \u00B7 client/src/components/SidePanel/Memories/MemoryCardActions.tsx:65 \u2014 the 3 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Bookmarks/BookmarkCardActions.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6f00086cccef3a79ea1f1e7d63922dc08010d9a132364d6b817dcca906ee20"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): client/src/components/SidePanel/Bookmarks/BookmarkList.tsx:12 \u00B7 client/src/components/SidePanel/Memories/MemoryList.tsx:13 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Bookmarks/BookmarkList.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa5786f1dfabb076fc30ee873c81cc8ef3d2f691b8ce55ff12ea127c3f4568b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/api/src/agents/added.ts:167 \u00B7 packages/api/src/agents/added.ts:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ceaac5e09ed995b80dce1ca358c1c82df09012e9b546332a93caf6571fc8326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:4341 \u00B7 packages/api/src/agents/handlers.ts:4582 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4341}}}],"partialFingerprints":{"codehealthFindingId/v1":"b570efeda194b0720aa88819a6e5d273760f799729bb2f16f3958573b2a185b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/api/src/agents/responses/service.ts:992 \u00B7 packages/api/src/agents/responses/service.ts:1382 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e16539be163567a4d1ea6faf3b79b5d7ededbe6fcbc57eef06754689cd95b1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/api/src/agents/steering/request.ts:839 \u00B7 packages/api/src/agents/steering/request.ts:1043 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5cbe697f3ba5d5aa87fdeab47d599d069ae65f43b6067ec182c860485456635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/api/src/mcp/UserConnectionManager.ts:1303 \u00B7 packages/api/src/mcp/UserConnectionManager.ts:1352 \u2014 the two spans are one implementation copied and then locally edited \u2014 99 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f6e5f28bc72c6226fdbc83a104e7a682b3a8f052c7bd106d07ece952982d70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:574 \u00B7 packages/chat/src/core/resumable/events.ts:22 \u2014 the two spans are one implementation copied and then locally edited \u2014 92 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1be5988a708c0abe239e38cbeb5275cbd1512eff57351917dacd9861606ffa3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4319 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4319}}}],"partialFingerprints":{"codehealthFindingId/v1":"675431042e87ca764c907b72065a4151b38de98fabfe3b19f8d70bf080a7f18d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/client/src/svgs/ThumbDownIcon.tsx:3 \u00B7 packages/client/src/svgs/ThumbUpIcon.tsx:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/ThumbDownIcon.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62f6fa69076dc06a59045e3352fc49c51186a6d8671bbd9ac462b99e176d2d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/client/src/svgs/VolumeIcon.tsx:4 \u00B7 packages/client/src/svgs/VolumeMuteIcon.tsx:4 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/VolumeIcon.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae94819556aafc534c3ee15c9295a4e265dbab9c2af8053ed247df55581ce906"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (21 matched lines \u00D7 2 locations): packages/data-schemas/src/crypto/index.ts:35 \u00B7 packages/data-schemas/src/crypto/index.ts:76 \u2014 the two spans are one implementation copied and then locally edited \u2014 135 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/crypto/index.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4736e1b3d18541c8ef775005a83bfa763890d56a8f451f2b0f9d960c177781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3 locations): packages/data-schemas/src/methods/conversationTag.ts:205 \u00B7 packages/data-schemas/src/methods/conversationTag.ts:299 \u00B7 packages/data-schemas/src/methods/conversationTag.ts:362 \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":"packages/data-schemas/src/methods/conversationTag.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2813b398f187ff2c9ab8727cbad214cd76da4f976e60e10ea72db4a40c552a39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/data-schemas/src/methods/response.ts:98 \u00B7 packages/data-schemas/src/methods/response.ts:129 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4668962b3efa1d51ffe4b4aec87e7f6f75b945a3b64e2ecbdab769071d4be0e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:3926 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:3992 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3926}}}],"partialFingerprints":{"codehealthFindingId/v1":"43442c64eaa4a67f08245f1ab1fc97663e51f90e312813242829af4b4dc3a268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): api/server/controllers/agents/client.js:1335 \u00B7 api/server/controllers/agents/client.js:1475 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"1521363b5610f6a7fce88a6816bbfdb5ce52c6124f6e1551512a8790883b7691"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): api/server/services/OboTokenService.js:43 \u00B7 packages/api/src/mcp/oauth/obo.ts:218 \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":"api/server/services/OboTokenService.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4534c5d1ad282879444489548697c75f6c6ad8d21cbf20fb42936a37c3ece7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): client/src/components/Chat/Input/CodeApprovalMenu.tsx:145 \u00B7 client/src/components/Chat/Input/CodeWorkspaceMenu.tsx:384 \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":"client/src/components/Chat/Input/CodeApprovalMenu.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab24d11020f04ead3154a31382ddf5d7dd3f7c680370fa5bc33b686492d63ff7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx:202 \u00B7 client/src/components/Chat/Messages/Content/Parts/Thinking.tsx:330 \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":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4709086f83e7d542a96de504ad4f5a278df4c190d136b24966acb19f17d3a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): client/src/components/Endpoints/Settings/Examples.tsx:25 \u00B7 client/src/components/Endpoints/Settings/Examples.tsx:51 \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":"client/src/components/Endpoints/Settings/Examples.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"de84875f940e2d83dd3435ab87acc915a9419d54f9c95dcaba6f58d9957f93d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): client/src/components/MCPUIResource/plugin.ts:58 \u00B7 client/src/components/Web/plugin.ts:238 \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":"client/src/components/MCPUIResource/plugin.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d718796dca91aa32c443fe06063227e3fba897d144c1a37c9b16ce61e882d106"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx:175 \u00B7 client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx:218 \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":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f976db4c4ee02f9f47b60f956652ad7821cc93c48d4831b395668302549046"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/AgentPanel.tsx:841 \u00B7 client/src/components/SidePanel/Agents/AgentPanel.tsx:881 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b8eacf41ccc8a0df5ab0bfdd6d2499e0d3b95fe3a4b90e3e40a9178deaf978"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): client/src/components/SidePanel/Bookmarks/BookmarkTable.tsx:75 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.tsx:101 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Bookmarks/BookmarkTable.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"15655cad6bb98cba34aa14299f5d359122250ead1295567dfb588ad51b2aee4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): client/src/components/Web/Context.tsx:39 \u00B7 client/src/components/Web/Context.tsx:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 128 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":"client/src/components/Web/Context.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"717b60004b531977d7b9572f06da9cb797656700d9f17f32bf58fe6f02d91fbb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/api/src/agents/hitl/policy.ts:890 \u00B7 packages/api/src/agents/hitl/policy.ts:919 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b893373068210f879f04735e4b8d7c5d39d75d5a769ab41bdae7538484c84d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): packages/api/src/agents/workspace.ts:68 \u00B7 packages/api/src/agents/workspace.ts:101 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/workspace.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16255eb45a3beba7828741b9f71683dd1b473d9efd1b4506eb1576014e1671f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/api/src/auth/domain.ts:336 \u00B7 packages/api/src/auth/domain.ts:497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e840483f573963045903d5d85bdd4580d5a6d78e5339e679f47155673f7434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): packages/api/src/conversations/chatgpt.ts:84 \u00B7 packages/api/src/conversations/chatgpt.ts:111 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/chatgpt.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d96a1021eb172e671a61f6e98bd338ee31435a731e46b6b1462fe6340ae9e5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/api/src/mcp/oauth/handler.ts:2056 \u00B7 packages/api/src/mcp/oauth/handler.ts:2145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"581ab505c20273dd56ec24c31c8517b160defc7a744a9d8c5e5abb961432020f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/api/src/middleware/contentFilter.ts:134 \u00B7 packages/api/src/middleware/messageFilterPii.ts:156 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/contentFilter.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf740bfe8c69d1b70a0e366e860d7cb768c2735776afd08cdd3178c2bdfb5f7a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): packages/api/src/schedules/engine.ts:364 \u00B7 packages/api/src/schedules/erasure.ts:386 \u2014 the two spans are one implementation copied and then locally edited \u2014 122 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"df62fe5e41e3701e3afec91b8b4b9a370778263dbcc5b646c3158799bf05d988"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): packages/data-schemas/src/methods/userGroup.ts:620 \u00B7 packages/data-schemas/src/methods/userGroup.ts:664 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e3f49e0c81216e9921f78e0b3f7541a5c247833fd45395767271ed7c5058a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/app/clients/BaseClient.js:101 \u00B7 packages/api/src/agents/hitl/protection.ts:1188 \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":"api/app/clients/BaseClient.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c18edfe8393b68b1a8573cd1981b844dd691b76b9cc9df54762df15b3071d34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): api/app/clients/BaseClient.js:1842 \u00B7 packages/api/src/agents/files/encode.ts:160 \u2014 the two spans are one implementation copied and then locally edited \u2014 105 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"beecdca8e6f8e3d6ccaf45b85872519f385c359186cc6c19d59be84c00ee02ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/app/clients/tools/structured/OpenAIImageTools.js:198 \u00B7 api/app/clients/tools/structured/OpenAIImageTools.js:369 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"aac273aaeed9ec49ee0c7bba5127a5887289f1674e6401962b64b39de4a7aac1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): api/server/controllers/agents/client.js:1050 \u00B7 api/server/controllers/agents/client.js:1086 \u00B7 api/server/controllers/agents/client.js:1107 \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":"api/server/controllers/agents/client.js"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"99083817a03162ccfd564ecb926a108784d8d5039bc9d5facc96f9b55f90e168"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/server/controllers/agents/client.js:3239 \u00B7 api/server/controllers/agents/client.js:5758 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aefa4de353cf26d065a8290e1e37600821c8a8f9b2c8da1e19539792a9bf33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:834 \u00B7 api/server/controllers/agents/v1.js:1577 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdc7da26f7de17e4224818e9eaa6278a60943d89416bbbe57f383b14447028d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:1242 \u00B7 api/server/controllers/agents/v1.js:2156 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"59613a3009d833fe922764e738ca4c27df82210c0fc63e9fcd0174965bfabc17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/server/services/ActionService.js:456 \u00B7 api/server/services/ActionService.js:487 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"562dd71806bb82438b6fd7bb79a2daa75c147a16f4f02abeb402173cb52b6193"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): api/server/services/AssistantService.js:193 \u00B7 api/server/services/Runs/StreamRunManager.js:250 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 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":"api/server/services/AssistantService.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"388251d2dcbc83d5471caaad5c436c7dc350b179076fcd34da1b1230d7df3a56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): api/server/services/Files/process.js:574 \u00B7 api/server/services/Files/process.js:1718 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c983456f97107c49624154888b9a0b289141ad930655fd48777bb0f64348cf8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/Chat/Input/Composer/Palette.tsx:909 \u00B7 client/src/components/Chat/Input/Composer/Palette.tsx:947 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"24948255d6f2a0dbeb5788a5a6a0214fa512c07dccbece8e938e406ffbcb1768"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/Chat/Menus/Presets/PresetItems.tsx:289 \u00B7 client/src/components/Chat/Menus/Presets/PresetItems.tsx:309 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Presets/PresetItems.tsx"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8a9bff7393784fc3c86fb59b225ed43d78706b35559b8a36dc83466dbbe1f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/AskUserQuestion.tsx:105 \u00B7 client/src/components/Chat/Messages/Content/AskUserQuestion.tsx:352 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56e1bbfb9eca42bb84fb3c522fe7ea9fe8ffdd464ec6b1b223cfb5e89b36f25"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Part.tsx:176 \u00B7 client/src/components/Chat/Messages/Content/Part.tsx:323 \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":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2988475264019f77d4ab6b037d8333b2dbeac4992b91c32fccb51f7cb1dc63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Part.tsx:224 \u00B7 client/src/components/Chat/Messages/Content/Part.tsx:344 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4183c56477d24c9753f631921eeaad84d4b37c5a7eab4c0bcce9d19f9f5d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/Endpoints/Settings/Assistants.tsx:160 \u00B7 client/src/components/Endpoints/Settings/Assistants.tsx:179 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/Settings/Assistants.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"97610e7d6ed64d1b2c1424b941067d4a551adde80f0baec19d80072709295e6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): client/src/components/Input/SetKeyDialog/BedrockConfig.tsx:30 \u00B7 client/src/components/Input/SetKeyDialog/BedrockConfig.tsx:50 \u00B7 client/src/components/Input/SetKeyDialog/BedrockConfig.tsx:70 \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":"client/src/components/Input/SetKeyDialog/BedrockConfig.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d765a44c585b1169257a7061ed6b98b2a3bec81989824b2bcff3704ab0be4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): client/src/components/Prompts/display/PromptDetails.tsx:28 \u00B7 client/src/components/Prompts/forms/PromptForm.tsx:208 \u2014 the two spans are one implementation copied and then locally edited \u2014 167 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":"client/src/components/Prompts/display/PromptDetails.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"41edd1ab07cfaa4465d36118e7b65f0dc9a0d6fb5cebc0e4aeec48dcf2ad1f42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Code/Background.tsx:54 \u00B7 client/src/components/SidePanel/Agents/Code/Settings.tsx:148 \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":"client/src/components/SidePanel/Agents/Code/Background.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"087e8dc761eaabb8583eb0582462177a4bf6eed2aad7e12bc6e48d5aa9a9a8fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3 locations): client/src/components/SidePanel/Parameters/DynamicCheckbox.tsx:79 \u00B7 client/src/components/SidePanel/Parameters/DynamicCombobox.tsx:114 \u00B7 client/src/components/SidePanel/Parameters/DynamicSwitch.tsx:78 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicCheckbox.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7161397c6576547c60345c185c2c72d1818c070bd32ff3003ba471054478ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicInput.tsx:14 \u00B7 client/src/components/SidePanel/Parameters/DynamicTextarea.tsx:11 \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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5201d9343aa376abbab0ccd7b59da7e4c8c9558b22c7cac5bd45fd733596d6c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicSwitch.tsx:45 \u00B7 client/src/components/SidePanel/Parameters/DynamicTags.tsx:100 \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":"client/src/components/SidePanel/Parameters/DynamicSwitch.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd3048e494b30cac78a791fec01dac5d55ce5da3d43cf834a7011cc1835bb5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/hooks/Endpoint/useEndpoints.ts:196 \u00B7 client/src/hooks/Endpoint/useEndpoints.ts:218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Endpoint/useEndpoints.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"961a96ead51d01ca2b53bda4b4d281e9ce3fce1090d4e6f13f507343687760d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): client/src/hooks/Input/usePaletteEntries.tsx:343 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:367 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78fcbe99821004cd86fd7c3d3407fa45be7af4d417e4b908271a44120a5e6c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/agents/triggers/actor.ts:434 \u00B7 packages/api/src/agents/triggers/actor.ts:493 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce97b874269a95974e5b92f466610616ff122656fd56fa8709d54b92edaa260"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/agents/usage.ts:325 \u00B7 packages/api/src/agents/usage.ts:999 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5800a6bc019e0982f4d2fe452e91104acbf00b4f7640ad50b04924df1c929116"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/auth/twoFactor.ts:671 \u00B7 packages/api/src/auth/twoFactor.ts: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":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"90356df5c41ddf4ac6c61183f8072592a5be9f250bbff412a10fb82127ae4ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/channels/workspaceHttp.ts:101 \u00B7 packages/api/src/channels/workspaceHttp.ts:151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceHttp.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c75d47090d72099315f7487dc11b00924f2daec9eea69fa3dd0b235c102ba54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/code/http.ts:659 \u00B7 packages/api/src/code/http.ts:870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f218d47d1b078a79fa505bd5c4d57e2316591b950ac4cb4c43b2ee1c56b6c66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (19 matched lines \u00D7 2 locations): packages/api/src/mcp/oauth/tokens.ts:1581 \u00B7 packages/api/src/utils/promises.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a93bf5836a0d2dbb277cd234d1aee2836de1ada6c51671852d201cee7499bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:570 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:2181 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4f393528cef7587f22216a4376e0131c2b61792aa66aeb69b2ede962c4238d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisEventTransport.ts:1816 \u00B7 packages/api/src/stream/implementations/RedisEventTransport.ts:1869 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1816}}}],"partialFingerprints":{"codehealthFindingId/v1":"895d31ecf2edb48f27014ae50f6d01a35aaca33e005697c9822861662c4d31b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:5568 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5568}}}],"partialFingerprints":{"codehealthFindingId/v1":"76dd48d2f3497993b099b8734506164b07787bac246d9da16af7cb013bd22408"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/chat/src/core/content.ts:62 \u00B7 packages/chat/src/core/content.ts:102 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/content.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1ded2359217a07040242c94916083d41be38679906b40b781d3490c7a0e16b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/client/src/components/AlertDialog.tsx:85 \u00B7 packages/client/src/components/OriginalDialog.tsx:405 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/AlertDialog.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce932ab60af0c24df18bebd424cbae3cb69f4b7fb63eef620466607472976fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/client/src/svgs/ArchiveIcon.tsx:3 \u00B7 packages/client/src/svgs/AttachmentIcon.tsx:3 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/ArchiveIcon.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dd7f9fde341ae34517392ca0f39a73de44dda611d8cb28bd2e37bcbdd6680f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/data-provider/src/mcp.ts:493 \u00B7 packages/data-provider/src/mcp.ts:528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Check what actually differs between the copies before collapsing them: every one of them is an argument to a \u0060extend(\u2026)\u0060 call, so where these calls are a MATRIX of cases \u2014 one per input, differing precisely in the case each one pins \u2014 the repetition is the enumeration and extracting the shared part would delete cases rather than de-duplicate anything."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/mcp.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"434624591ef45a88167915cea7a3ef83bf342b92ea005f2042916f5c86f440c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/data-provider/src/parsers.ts:240 \u00B7 packages/data-provider/src/parsers.ts:281 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"43fcd46021d401ff5ea84552e9724330f144b431270d16b2a5b99e8ee4998b8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/data-schemas/src/methods/file.ts:994 \u00B7 packages/data-schemas/src/methods/file.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":994}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4067c4e2ea448c176f536fd3f827c33d86097c9aacd3d84f09330a14fc8a91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/data-schemas/src/methods/skill.ts:1196 \u00B7 packages/data-schemas/src/methods/skill.ts:1542 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9271ab54659730cd40ce337bc1dc30df1faac25ea122e3b841a271d182bd13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/data-schemas/src/methods/spendTokens.ts:74 \u00B7 packages/data-schemas/src/methods/spendTokens.ts:152 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/spendTokens.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa2d21029e035b9a5aa1bfff4eed183046614e8d5a0a2e7e597850fe37a1687"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2 locations): packages/data-schemas/src/methods/token.ts:152 \u00B7 packages/data-schemas/src/methods/token.ts:199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/token.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"217706aedcf43601519814de26a9408bf91359101a0f0bc8ac1f32decb9846b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:938 \u00B7 api/server/controllers/agents/responses.js:1005 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":938}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ca52ecf1ba190995b2c6dd395e633ae942b8b4034e14dcee508e978795bc33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): api/server/controllers/agents/request.js:1153 \u00B7 api/server/controllers/agents/request.js:1270 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"47fb8d97d9ca0915e99856065fbfa8862c137755db1ad9bb87dd157fcbc0e7b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:1976 \u00B7 api/server/controllers/assistants/v1.js:395 \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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1976}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c17c3d71bcd48e42d0e253391bb670cd15df3e5e9cd2bb1b21dc951f5f030e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): api/server/experimental.js:392 \u00B7 api/server/index.js:165 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9f82b216a268cd52c31d6d991f6b1c9deca0cc04377a109a6f30567a7a7d0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): api/server/routes/assistants/v1.js:15 \u00B7 api/server/routes/assistants/v2.js:17 \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":"api/server/routes/assistants/v1.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d29dd07208288ee7c3f03034361afd9ad4f92d0c3e1724ed54620ffddcf899"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): api/server/routes/memories.js:192 \u00B7 api/server/routes/memories.js:331 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34ced59e7533ddab558f802c090a6668a20c801b86ebfd1b44edab7b5684acd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/Auth/TwoFactorSetupScreen.tsx:207 \u00B7 client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx:140 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"6982eb9b6cc643a7928099ba829e3637c8d212d711004042d61d945b68deca30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/Channels/Links.tsx:82 \u00B7 client/src/components/SidePanel/Agents/Channels.tsx:587 \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":"client/src/components/Channels/Links.tsx"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15140b8fbca86900c65a8a133589b4afdc1aa2b322509a4c4fd7eae7f74ca72"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/Messages/Content/Mermaid/Mermaid.tsx:302 \u00B7 client/src/components/Messages/Content/Mermaid/Mermaid.tsx:480 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a281959b71c6b4dbe5199fcee6000d89de68a9c47e0ebc81840917cfaad93"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:520 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:564 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a85b53021a037c67f3850569177485d6ce7510b06279f5c5017f99032788cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/DeleteButton.tsx:116 \u00B7 client/src/components/SidePanel/Builder/ContextButton.tsx:110 \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":"client/src/components/SidePanel/Agents/DeleteButton.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd42aee557264c49d094a154bf97ea6b4bc5b48a24a9a71cc7bf4a9cbaeb6c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicTags.tsx:109 \u00B7 client/src/components/SidePanel/Parameters/DynamicTextarea.tsx:56 \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":"client/src/components/SidePanel/Parameters/DynamicTags.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e38016d06823460e08ef90efe021859e38d689e44ee8fbd477aefc6e1305687"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): client/src/components/Web/Citation.tsx:275 \u00B7 client/src/components/Web/Citation.tsx:352 \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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"631863e89447760582c87783e806298c4f45ce36bd13e49e705f55e7837e5c24"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3 locations): client/src/data-provider/Agents/mutations.ts:130 \u00B7 client/src/data-provider/Agents/mutations.ts:285 \u00B7 client/src/data-provider/Agents/mutations.ts:336 \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":"client/src/data-provider/Agents/mutations.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"305d14337eb51438e8d80ecbf98d8fcffe069af72e0df636fa61c8cc30c88d3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/agents/background.ts:1278 \u00B7 packages/api/src/agents/background.ts:1390 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a8859a373959c42915da363c17290e27ba8fd7ca6cd94f1fd806408e9a5edb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:1705 \u00B7 packages/api/src/skills/deployment.ts:862 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dff3bcc4cb509e39316c985d3792ddda6b1a326914735497851e311f0905aad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:2497 \u00B7 packages/api/src/agents/handlers.ts:2592 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2497}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf06e271e1aca752257435b5b752c992f60ed5d7f03bd7c6f6dc0eb6ca4f8043"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:2536 \u00B7 packages/api/src/agents/handlers.ts:2652 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2536}}}],"partialFingerprints":{"codehealthFindingId/v1":"c657d1fd930888adea9decea7894eabe0e5927f5cec99d04bd503a0ef7cb7586"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/api/src/agents/triggers/host.ts:277 \u00B7 packages/api/src/utils/promises.ts:17 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2e3ed7902ee951b1a97babf97efe8106d03e50cf7a27e21dbfa00f9496a54c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/agents/triggers/outcome.ts:640 \u00B7 packages/api/src/agents/triggers/outcome.ts:686 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac0a0dfed1756f290ed321554823b02798c4c2ad009d9b4bad71a35ff7a7d206"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/api/src/channels/slackDispatch.ts:154 \u00B7 packages/api/src/channels/slackDispatch.ts:243 \u2014 the two spans are one implementation copied and then locally edited \u2014 130 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/slackDispatch.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9840b00d4e7d17b8c65d713e01bbd001deaad6a24dff8180323fefdb498883"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/api/src/channels/workspaces.ts:111 \u00B7 packages/api/src/code/setup/bridge.ts:25 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb135e54b441b00402e70bff71886d71355e51e6de18887f9f7be78d551e0d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/code/http.ts:597 \u00B7 packages/api/src/code/http.ts:706 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"e649a7bd764b61d5a391c937a2198dced209a5c3b0ea3f66c9226c4659c76db1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/code/lifecycle.ts:146 \u00B7 packages/api/src/code/lifecycle.ts:296 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f534aa852ad4c28bc664a400eb7ce6bb5e4e6684bfde6039394fda1551d86d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/endpoints/anthropic/llm.ts:46 \u00B7 packages/api/src/endpoints/openai/config.ts:59 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a89fbe854f7b0ecb4a70e016dac5de078176464a281aaeb15bc9ba14d9f479"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/insights/handlers.ts:69 \u00B7 packages/api/src/insights/handlers.ts:99 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/insights/handlers.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f433f00b0c58e496f2611443bdce8b4f7f57dc4a4aaf6a757cd4e3034fa43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (18 matched lines \u00D7 2 locations): packages/api/src/mcp/tools.ts:344 \u00B7 packages/api/src/mcp/tools.ts:548 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"150a0ad16eecbe6f66c93d357dfa21d1568cf6964e2279799856d50171ffdca1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:5754 \u00B7 packages/api/src/stream/GenerationJobManager.ts:6199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5754}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12646d43807e5a5dfb0fc30bff9c7a8598012e5306c32cab9270493b2b0b531"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:66 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:104 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae4160c4fc612c32decddf179dc2094485435ac6574369a62233453ad95d3b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:241 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:2022 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"172c43d68c3dc6be6b218755c0097f7a387baf80241cfa0fc0f073eb770211da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1890 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:2019 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1890}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4111c3af252cccb7a9e7ae05e7e8a56be05b4e21ed6026eabe0fe98f69d702"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/chat/src/core/resumable/outcomes.ts:182 \u00B7 packages/chat/src/core/resumable/settled.ts:67 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"04910263d7f263aee58a973ae775818905eb1cc5a445984b2fa9a0cfe18e0ba1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/chat/src/react/subagents/state.ts:1241 \u00B7 packages/chat/src/react/subagents/state.ts:1368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"edadd66d939329ce9718d72553c3479b6b386b5be7998a923c2d51fe8c6bc219"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/client/src/svgs/CheckMark.tsx:4 \u00B7 packages/client/src/svgs/TrashIcon.tsx:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/CheckMark.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd4185969716bfa5301a6437b19a33767b9e1db3d68f3825aa51e1865176d1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): packages/client/src/svgs/SaveIcon.tsx:8 \u00B7 packages/client/src/svgs/SwitchIcon.tsx:8 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/SaveIcon.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef487aec65bfd7d9a60d72b8c351de42fd98747b0047cada69a68d8c7a650b61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): api/app/clients/BaseClient.js:1583 \u00B7 packages/api/src/agents/client.ts:407 \u2014 the two spans are one implementation copied and then locally edited \u2014 96 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"7faa19581bae0c0ac0396c38d743d93e77363ff94d16439c435fb2f063c03b0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): api/server/controllers/agents/callbacks.js:1323 \u00B7 api/server/controllers/agents/callbacks.js:1344 \u00B7 api/server/controllers/agents/callbacks.js:1365 \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"0711f5545ca1a626e474231bb5e97d6c91f8f2b47f5b035cd234b3fddf921ce7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/controllers/agents/client.js:3178 \u00B7 api/server/controllers/agents/client.js:5707 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":3178}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc5861d7ecaf390e0ee096eb38ba401fa3e9764f6f429617fc71b55990d5a836"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/controllers/agents/client.js:5381 \u00B7 api/server/controllers/agents/client.js:6084 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc7c46d7610926a803a28397227de2b27cbbe81236f0a25fc79d774e5ac56f9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:262 \u00B7 api/server/controllers/agents/responses.js:153 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df2e75541709193d4b9556a416e6a4f770aad7e5aa17b934f04677e59952ea0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/controllers/agents/request.js:2940 \u00B7 api/server/controllers/agents/resume.js:2121 \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":"api/server/controllers/agents/request.js"},"region":{"startLine":2940}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3afd8509e329beea429f52f5f17e87483ebbfc342c103abd508b4ce025c301f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:382 \u00B7 api/server/controllers/assistants/chatV2.js:252 \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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca8509c8f5511a109d2cf98f269b788a190883d422df9b2b41c02a99f3b39f92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/controllers/assistants/v1.js:392 \u00B7 api/server/routes/files/avatar.js:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v1.js"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8ff6973e75369b4156769efa6288eeb8186ba6b8a8ac856acd5943ac9ecd36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/experimental.js:701 \u00B7 api/server/index.js:480 \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":"api/server/experimental.js"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"55727aefdf4aca8af0ddf25da115b12da406f0db7dcec889ba4877359880dadd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): api/server/routes/share.js:629 \u00B7 api/server/routes/share.js:694 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf24220858ba62830e878fe4fe5217913db8e6063be246f592a5596049b4a2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 4 locations): api/strategies/discordStrategy.js:33 \u00B7 api/strategies/facebookStrategy.js:23 \u00B7 api/strategies/githubStrategy.js:31 \u00B7 api/strategies/googleStrategy.js:21 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/discordStrategy.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc29399358191f3b9cce9d2ba3608cfea8ca584e642271fea5c3c35534192c42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/ContentParts.tsx:766 \u00B7 client/src/components/Chat/Messages/Content/ContentParts.tsx:802 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6443cbda7f288a93ee463750fd1fd4014afa608b4f9a548a0e3845ad83f5c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx:88 \u00B7 client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx:115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e1150762f5c2a387d628e90e13f9a97bcac53dce9326776ea39f6705169557"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts:119 \u00B7 client/src/components/Chat/Messages/Content/ToolCall.tsx:257 \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":"client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1b6db676c1cdf557af3a8cf46501d5a737094c6dcffb354f6a298e5270c6cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/Nav/KeyboardShortcutsDialog.tsx:420 \u00B7 client/src/components/Nav/KeyboardShortcutsDialog.tsx:437 \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":"client/src/components/Nav/KeyboardShortcutsDialog.tsx"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9863143f85488403ad8ffb26ad7f35f6dd3fc609c2da823ae0ae056c4aa9fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Advanced/AdvancedButton.tsx:11 \u00B7 client/src/components/SidePanel/Agents/Version/VersionButton.tsx:10 \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":"client/src/components/SidePanel/Agents/Advanced/AdvancedButton.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38db287d4e8bf299f64261b4a7581d412addb0befbacef629e3ee7f61ab58b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): client/src/components/SidePanel/Agents/AgentConfig.tsx:106 \u00B7 client/src/components/Skills/forms/CreateSkillForm.tsx:243 \u00B7 client/src/components/Skills/forms/SkillForm.tsx:311 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentConfig.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d8fd01f7d2eb24ed4188e162db22fd1faf11101df067082e03d43829bfc820"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/SidePanel/Builder/AssistantPanel.tsx:138 \u00B7 client/src/components/SidePanel/Builder/AssistantPanel.tsx:158 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057c78a487cacc163287a66d90b1cb0dc75390460d45a747fe746027f98dad4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/SidePanel/Builder/AssistantPanel.tsx:306 \u00B7 client/src/components/SidePanel/Builder/AssistantPanel.tsx:334 \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":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"2580b35ea082e4b8fd0dff6e9f99f892b94c3a7b1ff1c235e527221dff3c98ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): client/src/components/SidePanel/Builder/Code.tsx:23 \u00B7 client/src/components/SidePanel/Builder/ImageVision.tsx:13 \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":"client/src/components/SidePanel/Builder/Code.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9dcf3ed60faf14284ff4dbd74240072c947596cd42f6b2d4bf59fa68c8483b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): client/src/hooks/Auth/usePasskey.ts:163 \u00B7 client/src/hooks/Auth/usePasskey.ts:196 \u2014 the two spans are one implementation copied and then locally edited \u2014 110 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":"client/src/hooks/Auth/usePasskey.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17890625779f0cd8db7ca243aa1b1da89a3a6ae15de0eb171f3d48c9bc1a1ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): client/src/hooks/Conversations/useReplyWatcher.ts:525 \u00B7 client/src/hooks/Conversations/useReplyWatcher.ts:587 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91e34087f7defe0cbaf51c3ebf5011b69858b1f9e4264117113dcf503c4eedb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/api/src/admin/config.ts:3419 \u00B7 packages/api/src/admin/config.ts:4807 \u00B7 packages/api/src/admin/config.ts:5028 \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":"packages/api/src/admin/config.ts"},"region":{"startLine":3419}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c461c63ca25520370439caa06a1fcafb3cc1d572354302c4c2b3edc5b13504"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/agents/activityLabels/host.ts:231 \u00B7 packages/api/src/agents/activityLabels/host.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":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"739f7f25ff4751347ad4ac0c60e46839c521057fd349619f533264b1f8549b01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/agents/attachments.ts:112 \u00B7 packages/api/src/agents/attachments.ts:156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/attachments.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3905f9896d8cbc52ebfa0942d0d7e7bf04af449c70bd4a3ddffc5186a65781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/agents/backgroundCompletionWakeup.ts:359 \u00B7 packages/api/src/agents/subagentCompletionWakeup.ts:742 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"14634196fd90f6807c40502eefee5a9ffd4102e645ae7bbaf39d332dfc2a787f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/agents/subagentThreads.ts:3788 \u00B7 packages/api/src/agents/subagentThreads.ts:3876 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3788}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db6e894c4ff686811607237e5af80e6cc3ceceef286645cb749fb2a4acf3dbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/channels/runs.ts:804 \u00B7 packages/api/src/channels/runs.ts:932 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96f881c1413b23672ec8c2ae92d93341a07b1750d93d7f989f80fe6b34cf0aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/channels/runs.ts:1007 \u00B7 packages/api/src/channels/runs.ts:1032 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":1007}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c18f09332b0b46f4c4ac19b02ef93af624e7d8adb980c83380de4d652357e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/api/src/files/operations.ts:273 \u00B7 packages/api/src/files/operations.ts:372 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc517ee03977de5955fd44e52e4ad9ad1f138ba1588af66fe6417a1ce35bbf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/files/validation.ts:249 \u00B7 packages/api/src/files/validation.ts:273 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/validation.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"c05264e191b38ceb2d0f5006f429086072b476bed04c5e7055be45c10c404131"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/api/src/messages/previews.ts:164 \u00B7 packages/api/src/messages/previews.ts:965 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d245a0314c90e2074229ede9ed12c9dda144fb1740476ededf20ba2c3faf13a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/api/src/protection/adapters/chat.ts:191 \u00B7 packages/api/src/protection/adapters/chat.ts:275 \u00B7 packages/api/src/protection/adapters/chat.ts:314 \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":"packages/api/src/protection/adapters/chat.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"444aa1a6b4f399810ec5aded68b4fb3443bbe1a2aaed21786258bc98dc1e0ae6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:2766 \u00B7 packages/api/src/stream/GenerationJobManager.ts:2892 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2766}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1fb473a139cea0e4bfc6d6d71b11e7b628f68e111347806722e582ed153d03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4301 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4681 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb915e5a111def5defba1a6b92f11d1f5ce36f1bdbed875b00348b4e6060da4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (17 matched lines \u00D7 2 locations): packages/chat/src/core/branch.ts:15 \u00B7 packages/chat/src/core/branch.ts:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 130 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/branch.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5935f3e00fbf74e0ba3898916f0471fe80d2f9955b0cf7adb8d9e4f741fb25ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/client/src/svgs/CircleHelpIcon.tsx:4 \u00B7 packages/client/src/svgs/Clipboard.tsx:4 \u00B7 packages/client/src/svgs/RegenerateIcon.tsx:4 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/CircleHelpIcon.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cf4d59c69d84e33675b7b787f89873a8b69e1e5527a851c148f6a54fb78afe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/client/src/svgs/DotsIcon.tsx:7 \u00B7 packages/client/src/svgs/OpenAIMinimalIcon.tsx:6 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/DotsIcon.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1979446f64b3f3ff82d65861fee424c96032c096c394de70fd1f7376a3c0ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/client/src/svgs/LightModeIcon.tsx:14 \u00B7 packages/client/src/svgs/SunIcon.tsx:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/LightModeIcon.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ce45459fe089ab560170f737f30bb61ff25ebf11997fc0839d73fb774e6df9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/client/src/svgs/ThumbDownIcon.tsx:28 \u00B7 packages/client/src/svgs/ThumbUpIcon.tsx:28 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/ThumbDownIcon.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d6550b304516b686a70267e95f9ef66d2b4fccbc849a38d955442c7966cc9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3 locations): packages/data-provider/src/bedrock.ts:100 \u00B7 packages/data-provider/src/bedrock.ts:170 \u00B7 packages/data-provider/src/bedrock.ts:189 \u2014 all 3 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0e4053186288fa8aaba67221bbb68ec4a5cb62b3b885d1be2295f8531c6762"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/data-schemas/src/methods/openidRefreshFlight.ts:158 \u00B7 packages/data-schemas/src/methods/openidRefreshFlight.ts:219 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/openidRefreshFlight.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"01868502df161d7ab503ded477128841edd14d1d4ce2bc16426c8c0895378ef4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/data-schemas/src/methods/openidRefreshFlight.ts:315 \u00B7 packages/data-schemas/src/methods/openidRefreshFlight.ts:355 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/openidRefreshFlight.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bf25e0f95f75c9d4c44ee84596decc3f071e98134b4d5de1ea058da5b3dbdc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:2267 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2317 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2267}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f3c0f0a04ad63bdfecb67709953c867efed74f0dd1a8364bc648debcc5f578"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:2290 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2680 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2290}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bc00f6ddbc4f79be16eadcef06413b2da6459fe29ff52dfd41c312eebe3ba9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): packages/data-schemas/src/methods/systemGrant.ts:191 \u00B7 packages/data-schemas/src/methods/systemGrant.ts:236 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5653fe4a9c7f2918ef716bea84dd4eaba093aaf28ab447d1c56a95028f9b8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): api/server/controllers/agents/resume.js:368 \u00B7 api/server/controllers/agents/resume.js:576 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fd5c81dbf50271293f0564857474040e9b7950eb60f80ba9f477c241e34379"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): api/server/experimental.js:170 \u00B7 api/server/experimental.js:191 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a26ce6976e8c06d2cc2656c2ecfaf9e24ce84c681ca8f3e19f505a37e7d99a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): api/server/routes/admin/auth.js:397 \u00B7 api/server/routes/admin/auth.js:448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"472d1005c19beb7f708504f6f8b2ecc4f7970e790595e1aa47dd5622501ab3aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): api/server/routes/mcp.js:749 \u00B7 api/server/routes/mcp.js:809 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9af94c82460cb387069a919493fefaac08ae02a1ff63ff223eb2aa59d687327"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): api/server/services/Files/Code/crud.js:135 \u00B7 api/server/services/Files/Code/crud.js:221 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/crud.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d6f831436a6b8595ba23895ea2339fbeaf577c0abf81da95c24c553a9df638"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): api/server/services/PermissionService.js:87 \u00B7 api/server/services/Skills/sync.js:117 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d606625d5b3eadc418954dfc8bed5d367ade3caa6733db87f1e3f99b2ba69b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): api/server/services/Skills/sync.js:117 \u00B7 packages/api/src/acl/accessControlService.ts:192 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Skills/sync.js"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4fe38ef3a168c5718981bb14c07811379a7e02bdcd5ad874d63e0046e3dbba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): api/server/utils/import/importers.js:124 \u00B7 api/server/utils/import/importers.js:193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"504c19503615e564dc80658eb887f7fe285b18951ad27e4b637b5c1e6430158a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): client/src/components/Agents/GridSkeleton.tsx:46 \u00B7 client/src/components/Agents/VirtualizedAgentGrid.tsx:235 \u2014 the two spans are one implementation copied and then locally edited \u2014 104 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":"client/src/components/Agents/GridSkeleton.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd201faaa7064ae200a4e23cf2acfe346be46fe7128c2a1b5f10ae73bf7574c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/components/Appearance/Selectors.tsx:7 \u00B7 client/src/components/Appearance/Selectors.tsx:50 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Appearance/Selectors.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b00193542a0444eb922c5142c3378a1becfd68960d5b936c23175398fda8cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/components/Conversations/Conversations.tsx:502 \u00B7 client/src/components/Projects/ProjectChatList.tsx:205 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac291126d3a56889b9c189c6af11bf1e0396dce5298f72bea390a9753d3f56f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/components/Conversations/ConvoOptions/Controller.tsx:81 \u00B7 client/src/components/Conversations/ConvoOptions/DeleteButton.tsx:68 \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":"client/src/components/Conversations/ConvoOptions/Controller.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2083d3972fe613b82d2a7fdd4a17488da8d8c1d91dd3fe9dcc34b7dc0adb43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): client/src/components/Nav/SettingsTabs/Data/ClearChats.tsx:41 \u00B7 client/src/components/Nav/SettingsTabs/Data/DeleteCache.tsx:54 \u00B7 client/src/components/Nav/SettingsTabs/Data/RevokeKeys.tsx:49 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/ClearChats.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"283dd3c4f998a7f44e6c0b0e50a2d5a0d14ffb951637fd908c0eca2e10657312"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): client/src/components/Nav/SettingsTabs/Speech/STT/AutoTranscribeAudioSwitch.tsx:5 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/AutomaticPlaybackSwitch.tsx:5 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/CacheTTSSwitch.tsx:5 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/CloudBrowserVoicesSwitch.tsx:5 \u2014 the 4 copies are spread across 4 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Speech/STT/AutoTranscribeAudioSwitch.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a59968a9868e4a7880d2d9ec388d22f1801a0482d9d6386a07b8ca4f99259f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Speech/STT/DecibelSelector.tsx:7 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/PlaybackRate.tsx:7 \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":"client/src/components/Nav/SettingsTabs/Speech/STT/DecibelSelector.tsx"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"afffb57860ae5ff14e2a8f65694cedb1271643c243c5dbb3a8d48521695d2927"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/components/SidePanel/Builder/AssistantPanel.tsx:326 \u00B7 client/src/components/SidePanel/Builder/AssistantPanel.tsx:347 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"891a2c169d874951c84b374c52be6fa782e6457294666cbaa9deb136b5d08554"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): client/src/components/SidePanel/Schedules/ScheduleDialog.tsx:330 \u00B7 client/src/components/SidePanel/Schedules/ScheduleDialog.tsx:347 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 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":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"82be9ec76b9f0f5558ad20458fbb686c12c19ff112ebf9b6739b23acf25e805a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/components/Web/SourceHovercard.tsx:184 \u00B7 client/src/components/Web/Sources.tsx:104 \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":"client/src/components/Web/SourceHovercard.tsx"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b74c761ca52f4a5ad9cd07b7d40a3bf6ae104f4fff9681f4693dcdc1c470c7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/data-provider/Skills/mutations.ts:66 \u00B7 client/src/data-provider/Skills/mutations.ts:89 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Skills/mutations.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f01d983c11deb27165dc98882e33eeda58f7569a7c7667cac6444a22ce0c3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): client/src/data-provider/prompts.ts:90 \u00B7 client/src/data-provider/prompts.ts:169 \u00B7 client/src/data-provider/prompts.ts:223 \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":"client/src/data-provider/prompts.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"136e9dd907b9c3832d2f5eb95262694acf2c42505eff1d18688de35044b27383"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): client/src/hooks/Agents/useCodeApprovalMode.ts:46 \u00B7 client/src/hooks/Agents/useCodeWorkspace.ts:95 \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":"client/src/hooks/Agents/useCodeApprovalMode.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c551258f58cc20c3128441be5d8241b0e8337f25d2fa43e0d00abe5d81f1d599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): client/src/hooks/Input/useSpeechToTextBrowser.ts:120 \u00B7 client/src/hooks/MCP/useMCPServerManager.ts:433 \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":"client/src/hooks/Input/useSpeechToTextBrowser.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9655afb7ed4326e392e090ce82ed0ce9ac8711340e79f858f55f42ee8510d4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): client/src/utils/reasoningLabels.ts:7 \u00B7 packages/chat/src/core/pending.ts:231 \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":"client/src/utils/reasoningLabels.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af410b983cb2f6a27627367ff3dba0b521c3bb48139222e1718af8245ac6ff4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): config/migrate-code-file-duplicates.js:220 \u00B7 config/migrate-orphaned-agent-files.js:144 \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":"config/migrate-code-file-duplicates.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc18d4129cd2b1a7498d052fe2718408d470a76a57d509d170e5bc8d5c33fd66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:1288 \u00B7 packages/api/src/agents/handlers.ts:1342 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1288}}}],"partialFingerprints":{"codehealthFindingId/v1":"2518d752867051e63f2b2ab0565ef49a44213ccb24145012c25505f4a543bc44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/api/src/agents/triggers/host.ts:279 \u00B7 packages/api/src/mcp/oauth/tokens.ts:1584 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7daf50be686f82e69a606761282b6cf39122818ea1266d5f1ec12ffeec4487"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/agents/validation.ts:327 \u00B7 packages/data-provider/src/models.ts: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":"packages/api/src/agents/validation.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5da84f2862233059f71cf61410f4defaa23621c0079cb24a1deaa7fa88f1a8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/auth/passkey/handlers.ts:347 \u00B7 packages/api/src/auth/passkey/handlers.ts:390 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d222bab03731edab52b3aed23c1792057a3948348df7661458975744dc1c8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/api/src/auth/twoFactor.ts:623 \u00B7 packages/api/src/auth/twoFactor.ts:675 \u00B7 packages/api/src/auth/twoFactor.ts:699 \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":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a943e1275e7421e0982560ba854166bfdd9488cd103185b995a0dfa3a873047"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/cache/redisClients.ts:51 \u00B7 packages/api/src/cache/redisClients.ts:94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisClients.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0f0d94942df01f02df9ff35854f2cba518601afc2278a54f2a2befc68a9281"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/api/src/channels/runs.ts:864 \u00B7 packages/api/src/channels/runs.ts:1001 \u00B7 packages/api/src/channels/runs.ts:1026 \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":"packages/api/src/channels/runs.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"267ba484579115dd41ce3d055367869512f40e7dc503d047471b0dab49f2195a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/api/src/channels/workspaces.ts:111 \u00B7 packages/channel-gateway/src/transport.ts:24 \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":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ed50921f3f0a0565c434f0ac1fdac5e268b29088454cc144db680a1cd84a98"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/api/src/code/setup/bridge.ts:27 \u00B7 packages/channel-gateway/src/transport.ts:26 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/bridge.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec83305b7ae069914673986ead31e7c50e3d0829e7dc59639dea7dfc6831f8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/api/src/code/setup/service.ts:429 \u00B7 packages/api/src/code/setup/service.ts:479 \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":"packages/api/src/code/setup/service.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"642a56c6c7d51f1b3b2d48cb6a27eca72eef474174ae6e626c7c1f2189e7a5a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/api/src/files/validation.ts:309 \u00B7 packages/api/src/files/validation.ts:346 \u00B7 packages/api/src/files/validation.ts:396 \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":"packages/api/src/files/validation.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5f661d73b18d3388c4d7163cf67dbbb81e47a6b06ebb721923996da94539da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/mcp/MCPManager.ts:1618 \u00B7 packages/api/src/mcp/MCPManager.ts:2414 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1618}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2866c0d52e06f8d84a65aba344a6e50ad330111ccbbdff4ce0c3691c018c970"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/middleware/auth.ts:75 \u00B7 packages/api/src/oauth/failure.ts:56 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/auth.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c2c7e13c76486014b856b7b62d7a0360b6a35c4f7b78b61242ac59e1e64ad1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/schedules/service.ts:2136 \u00B7 packages/api/src/schedules/service.ts:2335 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f325bea55edf0e264a7efcf58079d906e0b52de9b7ef637a1a1f113c442bd0f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:8092 \u00B7 packages/api/src/stream/GenerationJobManager.ts:8288 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8092}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f2f23dc60e541ea05e47db72873b010697be48985db688649d15e6c9910ed2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1533 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4072 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1533}}}],"partialFingerprints":{"codehealthFindingId/v1":"8324b28cef66b7b17ec58991df1a70d71faf3a6f3344318aae774271ef541536"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:2458 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5133 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5ec3a3adb12f7e74660ab1abc703cc29f6d1659065d835493ec25e5050d057"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisEventTransport.ts:1696 \u00B7 packages/api/src/stream/implementations/RedisEventTransport.ts:1715 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea895e4be956ea051a6e00b92bc30c0b51e89f7572daa76f28faa815a371e17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:2594 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3299 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2594}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c54f8a72c936130d9b636d49de71fae4ca2413ba545c659a81d6aca1272f7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4863 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4922 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4863}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6c91638008d2aed030827109eed66a471c770cdb2c4eeb1f034e7b0f87cf54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/chat/src/components/messages/useMessageActions.ts:95 \u00B7 packages/chat/src/components/messages/useMessageHelpers.ts:61 \u2014 the two spans are one implementation copied and then locally edited \u2014 147 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/useMessageActions.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bcc0d8236f931626a6fcedb1e871d7c8754678dd4d8748118487c0ee669567f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/chat/src/core/subagents/content.ts:830 \u00B7 packages/chat/src/core/subagents/content.ts:854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd5f9c135707ca9451e8ec3f501c4b764efc2ec34d48435d27870dd3909680"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): packages/chat/src/react/stream/steer.ts:107 \u00B7 packages/chat/src/react/stream/steer.ts:185 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/steer.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebc66ee378560d35c5af06a8f6a69b74a36099ae9ae136a39fcf3aa46b8d277"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/client/src/svgs/CautionIcon.tsx:4 \u00B7 packages/client/src/svgs/SunIcon.tsx:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/CautionIcon.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52c6794f570487844f0441ff6ba3a507ddac6e3a6c368fef0e4ddbac93bea44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3 locations): packages/client/src/svgs/ContinueIcon.tsx:4 \u00B7 packages/client/src/svgs/PaLMinimalIcon.tsx:3 \u00B7 packages/client/src/svgs/StopGeneratingIcon.tsx:8 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/ContinueIcon.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de6922b79a5f005d21388d0ec13216378ed02b22249aaf40f2d0fd9c790e7ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4 locations): packages/client/src/svgs/DarkModeIcon.tsx:4 \u00B7 packages/client/src/svgs/DislikeIcon.tsx:4 \u00B7 packages/client/src/svgs/LightModeIcon.tsx:4 \u00B7 packages/client/src/svgs/LikeIcon.tsx:4 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/DarkModeIcon.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3e3fe44a333dd00e4a9e64e90b352c4f1e8d69422158525e47bf0411793c33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/data-schemas/src/methods/skill.ts:163 \u00B7 packages/data-schemas/src/methods/skill.ts:535 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20ab8d4862a3a74fbdf0a65b35aad0a9952c2ed50efb1bbaac9a82b80040e95"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/data-schemas/src/methods/skill.ts:1371 \u00B7 packages/data-schemas/src/methods/skill.ts:1441 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce4c0a0000dbf836ba96c324b3415e6efdf58ad048ef25eeef1bdcd80fff77a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:4453 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:4553 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4453}}}],"partialFingerprints":{"codehealthFindingId/v1":"302357645fc1409b3f26f290593a6f9b5367277dff5bb26e1740fdd2a1fd9adc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (16 matched lines \u00D7 2 locations): scripts/merge-locize-download.mjs:6 \u00B7 scripts/validate-locize-download.mjs:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 137 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-locize-download.mjs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb6dddf950dc84bb5881ae9acd8831a5c8b6929f4a69efb5279d9f1aeb4d1a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/controllers/agents/client.js:5275 \u00B7 api/server/controllers/agents/client.js:6021 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5275}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fe4122b99e9acb4ba40bc2b85a984b2b9d38f9c86159b12fdb9414253e9b1a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/controllers/agents/resume.js:1369 \u00B7 api/server/controllers/agents/resume.js: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ffc8746d52a6553529cc732aa175e3ba78765a4c46c5821d0f015e9221f0e0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/controllers/agents/resume.js:1496 \u00B7 api/server/controllers/agents/resume.js:1511 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e96c185a29b1b5372dc006493972f89fed49cee1a78c7563105f465cc316a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): api/server/middleware/accessResources/canAccessResource.js:51 \u00B7 api/server/middleware/accessResources/fileAccess.js:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"f910896478d4286c72e61d44976110aeb1e04180a861e9c9f816b4c4dc227aff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/routes/accessPermissions.js:70 \u00B7 api/server/routes/accessPermissions.js:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/accessPermissions.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6282815f974932a8ca40f716f3204d526e660d732a7dd8629ac8531711b52cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/services/ToolService.js:1193 \u00B7 api/server/services/ToolService.js:1229 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a687538d69a498ec60c3168f7af68e5242449bf29c3b6299c5f83d70d05f7a33"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/utils/import/fork.js:492 \u00B7 api/server/utils/import/fork.js:566 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/fork.js"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"87beedb3fb5dabdf7cec7ef4b4bf58cb6067ad6d50fc535d3147f67909d1a534"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): api/server/utils/import/importers.js:282 \u00B7 api/server/utils/import/importers.js:395 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fca1a39dd67e48af69e68968979655dacd5f56bd5ac2597d0222c98b460ed9b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/Auth/Login.tsx:94 \u00B7 client/src/components/Auth/SocialLoginRender.tsx:87 \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":"client/src/components/Auth/Login.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bea66efc7bc631bcf418e39d25bc77b7619b258131db53ed4920b3fb40bf58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/Channels/Apps.tsx:436 \u00B7 client/src/components/SidePanel/Agents/Channels.tsx:655 \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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ac00677805833e312cbef3ff0dc56a50626ad0c2c40fb714304e1966721111"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): client/src/components/Channels/Workspaces.tsx:542 \u00B7 client/src/components/Nav/Settings/ConnectedAccounts.tsx:361 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 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":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ae7018265bf52e0d733d12f68e74e55deab09bb43c1167b7a53803c7867f42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx:150 \u00B7 client/src/components/Chat/Messages/Content/Parts/ReadFileCall.tsx:115 \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":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a88bf00eea1cf9d4fae2e33111e032da2a172bc8c7b87a6a3fef0ebe055d7d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx:42 \u00B7 client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx:58 \u00B7 client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx:74 \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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ac146bcd315787cdbc875e60b818bd144874a10d7ba6964745e78512369c26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/Nav/Favorites/useFavoritesData.ts:129 \u00B7 client/src/components/Nav/Favorites/useFavoritesData.ts:153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Favorites/useFavoritesData.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd824b1f1581187a9a8f29054ed35f3f67f0b5e07c50b7338963375f0df3f2e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): client/src/components/Nav/SettingsTabs/Speech/STT/EngineSTTDropdown.tsx:21 \u00B7 client/src/components/Nav/SettingsTabs/Speech/STT/LanguageSTTDropdown.tsx:92 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/EngineTTSDropdown.tsx:21 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Speech/STT/EngineSTTDropdown.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"36f0a715cc6517956dbec6b6d90c0592b19702dc723712bd6f3fd088540e8861"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/Projects/ProjectDeleteDialog.tsx:18 \u00B7 client/src/components/Projects/ProjectEditDialog.tsx:9 \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":"client/src/components/Projects/ProjectDeleteDialog.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0efa229ad24f9f42b98e6b14164336906b80a0549a9ec038d6fbeab04a87a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/Projects/ProjectResources.tsx:393 \u00B7 client/src/components/Projects/ProjectWorkspace.tsx:263 \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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"c74c8d6ad75496168cec8bd8e2580f086ce4e8b1d67834d121762d06a0b8d4fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx:114 \u00B7 client/src/components/SidePanel/Agents/Advanced/AgentSubagents.tsx:99 \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":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51a3ad038e6fc90f862f641ec2c39836a0ff3b077cc0a5a5b3b28365e222704"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/data-provider/SSE/mutations.ts:202 \u00B7 client/src/data-provider/SSE/mutations.ts:238 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/SSE/mutations.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"91420f1b09db99bcf0aecf38d62d9e39f5a4d671741f32f3ad5674ad7353a846"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/data-provider/Skills/tree-mutations.ts:14 \u00B7 client/src/data-provider/Skills/tree-mutations.ts:46 \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":"client/src/data-provider/Skills/tree-mutations.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99410dcd6a9ec06d27e1af32251fd1cdd9b649d4b977635924f0a770e79ff5d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/data-provider/prompts.ts:367 \u00B7 client/src/data-provider/prompts.ts:389 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/prompts.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2841d9df45cd5aa2509760ab8969d7d7ba4c1912579be2e624034b8b21b874"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): client/src/hooks/Files/usePastedTextEdit.ts:182 \u00B7 client/src/hooks/Files/usePastedTextEdit.ts:584 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 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":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"6817967c193854e87dc01ae99f145ba42939238b5e42aee78a12333ac113e11e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): client/src/locales/i18n.ts:85 \u00B7 client/src/store/language.ts:5 \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":"client/src/locales/i18n.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b6f1fa5f186c54d878be8f9fb9b426010e131c6b0ded61ced0ea20b440909af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/admin/skills.ts:302 \u00B7 packages/api/src/admin/skills.ts:319 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/skills.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6401f2010879063350a132d96707bece688a2a060fd0acc08f709f134bcab3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/agents/background.ts:253 \u00B7 packages/api/src/agents/intent.ts:112 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ce18ed6a17040c5ee00ee4190a8c301c8f5edbdf4c0aadd49a006fcd03a7ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/api/src/agents/hitl/answers.ts:88 \u00B7 packages/chat/src/core/parts/approval.ts:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ddc8091004a4580917be49cebf807ad40b77fb3a300d1ce1b77aeaf5f6c18b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/agents/usage.ts:418 \u00B7 packages/chat/src/core/usage/estimate.ts:137 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ea62b03ca723b7ded37808421e152d01eaff584383bbd7167ca30430e7424e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/apiKeys/handlers.ts:94 \u00B7 packages/api/src/apiKeys/handlers.ts:112 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/handlers.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e8abf4ae828fa1f9aa797e772fe273c062ad91641f1b05c04eb782b8ce48bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:1157 \u00B7 packages/api/src/mcp/MCPConnectionFactory.ts:2140 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07c8affe8828c2adf28bcecbb9095346c48a2119f0c5e77f7c0d2e653377ebe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/mcp/connection.ts:1782 \u00B7 packages/api/src/mcp/connection.ts:1942 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7be42e3c8439d79424d77082da50236a17f5140125e208aba5efc2479911adb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/mcp/oauth/handler.ts:973 \u00B7 packages/api/src/mcp/oauth/handler.ts:1164 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"becafae0ede8161ad3cb2ea9c33e0200cefddc51073051c7759a5b5c0ad91061"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/api/src/mcp/parsers.ts:267 \u00B7 packages/api/src/mcp/parsers.ts:447 \u2014 the two spans are one implementation copied and then locally edited \u2014 109 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10e62dab1446903a6ae9e0f5044bb6f89ea74ec1f17d99dee4c8cf46317fe28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/oauth/csrf.ts:239 \u00B7 packages/api/src/oauth/csrf.ts:280 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/csrf.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc18b8bc78df4b919e3660437eb8517e7d1b4a8a2cdf999146e3809a8435ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/projects/handlers.ts:278 \u00B7 packages/api/src/projects/handlers.ts:374 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc025a7153f62e416eb9ce1d3d4baa71a81e215debfbda03ff8c1c4967cbbd6f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/prompts/langfuse.ts:44 \u00B7 packages/api/src/prompts/langfuse.ts:90 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/langfuse.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"398834c5a4a32318eda751bdde38b4911276c0726217ba55684c8776a80d5057"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/prompts/protection.ts:105 \u00B7 packages/api/src/prompts/protection.ts:222 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/protection.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f867084b709342fba1b7f5424801ce103a94cafc908e850d37a62ad0287335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/protection/adapters/nested.ts:468 \u00B7 packages/api/src/protection/files.ts:708 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"415da2ddd551cb2d87b332a2e89a3743847b03eedb482441c0607cdfe7cdf8ea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/protection/provenance.ts:462 \u00B7 packages/data-schemas/src/methods/message.ts:70 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"737e946fa9854e203dfc49e8757d6b91f7c4c9df2e052ce5f6ad7847c581c5f6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/schedules/handlers.ts:743 \u00B7 packages/api/src/schedules/handlers.ts:806 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c2a823383412547435b513579b7f9615190218a64c78cafe38fc62476cc87c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/shared-links/protection.ts:782 \u00B7 packages/api/src/shared-links/protection.ts:1504 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"d023accdffe2da4a45f9a288facb4b1d8163dfc51cc879eab81fa7ec4de83c59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/api/src/skills/sync/orchestrator.ts:150 \u00B7 packages/api/src/skills/sync/orchestrator.ts:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 77 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/orchestrator.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"807964f69369eb71e43a43d95f06891fee7873defb77cfd53c998c74efec869b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisEventTransport.ts:973 \u00B7 packages/api/src/stream/implementations/RedisEventTransport.ts:1007 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":973}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ac13fc223e480debd4d8906abe36981df01b5366bc89849e20ae36aa8e7a8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/channel-gateway/src/identity.ts:13 \u00B7 packages/data-provider/src/channelLink.ts:6 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/identity.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae8dde8dbfeb2e6172e2fa5d254449dd79972dc3d1ca27a3aaa6a29d899a589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/chat/src/components/composer/files/ImagePreview.tsx:144 \u00B7 packages/chat/src/components/parts/DialogImage.tsx:269 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/ImagePreview.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7fcb0f36542356cc76e2dab1d7d4eb557455092957d3152202ff04cf71cb3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/chat/src/components/messages/Feedback.tsx:96 \u00B7 packages/chat/src/components/messages/Feedback.tsx: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":"packages/chat/src/components/messages/Feedback.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"574622303726c54625780cbfec1198a56187f726fe7420f16498e8b56b92eac5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/chat/src/core/resumable/placement.ts:82 \u00B7 packages/chat/src/core/resumable/placement.ts: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":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3372694aeab894cada6597bc7f1d8c8c568f5cfec4b1225683ee33a8020b14b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (15 matched lines \u00D7 2 locations): packages/chat/src/react/stream/events/final.ts:105 \u00B7 packages/chat/src/react/stream/events/final.ts:175 \u2014 the two spans are one implementation copied and then locally edited \u2014 61 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5136bdc840b2345edb804cfec8730c99f67be369d568434876e4dac89af553a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3 locations): packages/client/src/svgs/DataIcon.tsx:3 \u00B7 packages/client/src/svgs/MobileSidebar.tsx:3 \u00B7 packages/client/src/svgs/Sidebar.tsx:3 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/DataIcon.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9659c607004d80eca64199d7e6847d9e381e33246338ab2bb8bdd65589b79abd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/client/src/svgs/SharePointIcon.tsx:3 \u00B7 packages/client/src/svgs/SlackIcon.tsx:5 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/SharePointIcon.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"555489d8034d82c0672d04451e17ae355f357474bbffea6d4662ad58e35117b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/data-provider/src/generate.ts:311 \u00B7 packages/data-provider/src/generate.ts:474 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"63eccc230f25e2dbbeb26721ac9f2527286cc49c27104b44958ff831102b779b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/data-schemas/src/methods/aclEntry.ts:436 \u00B7 packages/data-schemas/src/methods/aclEntry.ts:515 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7f504ae5173c82f6a64e6763241d20750a6b6c48649c5472c1a2c009df6e4a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:1209 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:1265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1209}}}],"partialFingerprints":{"codehealthFindingId/v1":"792ae89e32624db62c82caca19674fb5267ea6849bd73bbd81b0b9666e3ed490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): packages/data-schemas/src/methods/response.ts:378 \u00B7 packages/data-schemas/src/methods/response.ts:438 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"f858d1328d1579b7b3be5d11bf9450e6d019402831269f562285ea3ec0cd9dd9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): api/server/routes/admin/langfuse.js:21 \u00B7 packages/api/src/middleware/capabilities.ts:286 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 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":"api/server/routes/admin/langfuse.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b3d41985a5cec047c938d1c2cad4e979723cda3b6eb82fff02dc100a5e5070"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): api/server/routes/tags.js:68 \u00B7 api/server/routes/tags.js:89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/tags.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3423c388fe0e8c2994c5e7981d7c2737a18dd59f49a93bb248645ef284cd03"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): api/server/services/Files/Firebase/crud.js:38 \u00B7 api/server/services/Files/Local/crud.js:35 \u2014 the two spans are one implementation copied and then locally edited \u2014 81 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Firebase/crud.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e439f9bcd53ed7276331f359727e3c901353000fb64e2962d8128fd256cf519e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): api/server/services/Files/Firebase/crud.js:40 \u00B7 packages/api/src/storage/s3/crud.ts:546 \u2014 the two spans are one implementation copied and then locally edited \u2014 76 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":"api/server/services/Files/Firebase/crud.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d6911db4c452d6f18f85def1e6a247d9a62fc20b360ccbf293ff6c26fcb46f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): api/server/services/Files/Local/crud.js:174 \u00B7 api/server/services/Files/Local/crud.js:192 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Local/crud.js"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4aaffa7a4169d6101727cf38f216b621df97b3fbfac81f78bcd131b7982ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): api/server/services/PermissionService.js:56 \u00B7 packages/api/src/acl/accessControlService.ts:161 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"7deea74f9009e5bfd67cddd351ea7a001be851d8304c08403017fd16b9e9df3b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): api/server/socialLogins.js:51 \u00B7 api/server/socialLogins.js:126 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/socialLogins.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"20171e06eb07fc5a21e7e968c9c3dfeee07371c84baecfca0ce582d8e9e006a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Part.tsx:105 \u00B7 client/src/components/Chat/Messages/Content/Part.tsx:490 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bbec15ac98f86cd86c2c5f8da468d8951320a0b22027b563715a44992e30d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Conversations/ChatFilterMenu.tsx:92 \u00B7 client/src/components/Conversations/ChatFilterMenu.tsx:120 \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":"client/src/components/Conversations/ChatFilterMenu.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc787be8528bf244496dbda035874efad9b879c09b070c3ea09ae71588feae9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Input/SetKeyDialog/OpenAIConfig.tsx:47 \u00B7 client/src/components/Input/SetKeyDialog/OpenAIConfig.tsx:61 \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":"client/src/components/Input/SetKeyDialog/OpenAIConfig.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"682b378ea006308c6789dfe99ccaa05de3864a50f6142bc40a2cd5a9bf096eef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Nav/KeyboardShortcutsDialog.tsx:227 \u00B7 client/src/components/Nav/KeyboardShortcutsDialog.tsx:274 \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":"client/src/components/Nav/KeyboardShortcutsDialog.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eff21f8129e8a248eec14e23ac2fa244f303aefbc00147e172b7effc19d3cef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/ApiKeys/List.tsx:22 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:439 \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":"client/src/components/Nav/SettingsTabs/ApiKeys/List.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc6dfaeebdad287f2d5c033470bdde9539d068604b745a9789ca4ea15d7e0cd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:271 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:381 \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":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba89558248c7289da7c265d5aab3e7881f22d398665df06b64f3bfcacb443e5c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): client/src/components/Projects/ProjectResources.tsx:454 \u00B7 client/src/components/Projects/ProjectResources.tsx:636 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd01042489884429c2d9e58e1ee7c7cc91f856a815a5211af71e20a50fb5e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Prompts/forms/PromptForm.tsx:459 \u00B7 client/src/components/Prompts/forms/PromptForm.tsx:474 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d316b47e2ca219f26434f39beecc606884c029a91ed9468ec1414a7a8a24c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx:34 \u00B7 client/src/components/SidePanel/Agents/ModelPanel.tsx:141 \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":"client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf5cd648bbcbb56cde6fb086ff909a3f37da8c07a2f49081af487c8756a0fcd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicInput.tsx:78 \u00B7 client/src/components/SidePanel/Parameters/DynamicInput.tsx:146 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3847f0966661baf675e0232c915be71f19cabd9b653a4637e15963d0f2c38f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): client/src/components/SidePanel/Parameters/DynamicSlider.tsx:171 \u00B7 client/src/components/SidePanel/Parameters/DynamicSwitch.tsx:51 \u00B7 client/src/components/SidePanel/Parameters/DynamicTags.tsx:106 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ef734e2fb072555f7feb517c80c973a1fbaa2741438a955ad9f3c2c70b4db99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/components/Web/Sources.tsx:748 \u00B7 client/src/components/Web/SourcesErrorBoundary.tsx:19 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Sources.tsx"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66b54708b9083af534fd43bbb584ede61c8b927f02029fc2702cc7d8cce2416"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/data-provider/Auth/mutations.ts:150 \u00B7 client/src/data-provider/Auth/mutations.ts:210 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Auth/mutations.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc6c63ea7324a62131f9a68da7ea715f278ac737502cd3769f91be46eb94b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/data-provider/Projects/mutations.ts:236 \u00B7 client/src/data-provider/Projects/mutations.ts:252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Projects/mutations.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"947c945d42ffaa26f42abed022da867e8eb2b8b13ae13c78ddd380007fe8908b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): client/src/hooks/Conversations/usePresetIndexOptions.ts:46 \u00B7 client/src/hooks/Conversations/usePresetIndexOptions.ts:61 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresetIndexOptions.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f0edd580662762f71f41c7d81768168c431b4e0589baa89a5d41f618976ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): client/src/routes/Search.tsx:42 \u00B7 packages/client/src/components/ControlCombobox.tsx:178 \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":"client/src/routes/Search.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee9cf9579a13f2fe7b8f3f1d2a22db3cde58e50c0a8e9ad6a64f193cb5d2d4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): config/migrate-agent-permissions.js:59 \u00B7 packages/api/src/agents/migration.ts:97 \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":"config/migrate-agent-permissions.js"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"666d207a887d69bf15eced820b76ecd6cd897146e9a60dfaaee1faf583d6ef79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/acl/accessControlService.ts:255 \u00B7 packages/api/src/acl/accessControlService.ts:348 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdeca5bbaf16cd3586eebb7258a4caa9e8fc680b98651a3abbcd50a9a978bf88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/activity.ts:45 \u00B7 packages/api/src/agents/view.ts:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"028f36e6df23f1457cd396165a3da1c28b5a3a35e6bb20d0984b3822ad9f7aec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/added.ts:228 \u00B7 packages/api/src/agents/load.ts:124 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5afb8abebe641fe3a95d2c41ddff33b1ad14363e824f367e10e335e9a9d211"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/backgroundCompletionWakeup.ts:636 \u00B7 packages/api/src/agents/backgroundCompletionWakeup.ts:813 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57e9bd0652b21e348022f52ee93465e2e3a6c4c566cdf3df99db7bacbe27bfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/api/src/agents/digest/tree.ts:142 \u00B7 packages/chat/src/core/parts/approval.ts:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0627c45807c47a63f81c239ffdfa83d585621458fd9ce8560ea147c120cd44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/api/src/agents/files/snapshots.ts:91 \u00B7 packages/api/src/mcp/oauth/tokens.ts:1587 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/snapshots.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2641777b59d99ab8d5634cc3069a5a0d1070059c07dfb4eb4d3696ac7c061b2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:4378 \u00B7 packages/api/src/agents/handlers.ts:4642 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4378}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e31be360c10c018059a44bfa90684416c1bac6d0a2722890af42846c5f73231"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/responses/queue.ts:54 \u00B7 packages/api/src/agents/responses/queue.ts:169 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/queue.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"96394d2a50ee2d55bfd1773e779b059c9ad8882ef355530f5627b6a2dbab0daa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/steering/runtime.ts:251 \u00B7 packages/api/src/agents/steering/runtime.ts:276 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"b419db03809490f3a0c7ec3317b5fe0806020596d8af810cccc77926a97075d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/triggers/actor.ts:236 \u00B7 packages/api/src/agents/triggers/actor.ts:914 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8880b31d967ea20bbcd4e2bac3b534b0ba253042be6157f79b80b6f0a1d0e922"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/agents/triggers/host.ts:785 \u00B7 packages/api/src/agents/triggers/host.ts:1027 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed62fd4b37483176243598fdf43700cb5a801702ce54378a6251889a606d26e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/api/src/agents/triggers/outcome.ts:948 \u00B7 packages/api/src/agents/triggers/outcome.ts:1019 \u00B7 packages/api/src/agents/triggers/outcome.ts:1073 \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":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac67f68405430090035b3647fa6d8ef23585216f995a8a2ed7aa15c3bb72e9e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/api/src/auth/openid/reuseCredential.ts:21 \u00B7 packages/api/src/auth/share.ts:44 \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":"packages/api/src/auth/openid/reuseCredential.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03aeb60bffe44c5829c09c4548798aad213ef5855c78af8e99bfff5291715c4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/channels/runs.ts:158 \u00B7 packages/api/src/channels/runs.ts:174 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cd707cf7ecab6305f13d2f71ebe79dfb20940001ff03e31fdf4f362c05e8fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/channels/runs.ts:843 \u00B7 packages/api/src/channels/runs.ts:950 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"708b9923234fd6e5183fe4cb9b8d612daf35c239ca0c1ae22cf4e1c735925153"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/files/mistral/crud.ts:622 \u00B7 packages/api/src/files/mistral/crud.ts:868 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"4172deab44b9464e4fa1f6410bb70621f98ce133052278a8e2e60498b2dbdb41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (14 matched lines \u00D7 2 locations): packages/api/src/files/ocr.ts:2 \u00B7 packages/data-schemas/src/app/ocr.ts:10 \u2014 the two spans are one implementation copied and then locally edited \u2014 80 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/ocr.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8206e542d0667f41257d4d0d04204200c7f2fb2d446a09d46c5747227c9ab82d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/mcp/zod.ts:967 \u00B7 packages/api/src/mcp/zod.ts:987 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa80f7d1824b75d83431262fe08a9b86433a1d9ef5a8dfa7090f74727f136cad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/protection/adapters/submissions.ts:670 \u00B7 packages/api/src/protection/adapters/submissions.ts:812 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570423aaef9568eb7170aef072b670d4006c463fb9e30a5081f1a3974eb8a28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/skills/sync/github.ts:1074 \u00B7 packages/api/src/skills/sync/github.ts:1925 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"040ddebb3923f6fdd29c881da92821900cccc0a67eabfc3a8848b119c895dffe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/storage/s3/crud.ts:208 \u00B7 packages/api/src/storage/s3/crud.ts:233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cbc74894147c121fbf1fe791f4780a5d7c059895971db420241bf312d10cb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:538 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5949 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad014c202e8676cea676b121aa3058cef559a766b803ee470530c8cd986cd3b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1043 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3313 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"7209beb71dcc55aced7b35b39df7103f0eb30969a20405d5948b0d27e002f049"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:3764 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3848 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3764}}}],"partialFingerprints":{"codehealthFindingId/v1":"a02bcf48f3a9ffcb8bf9c49273de8be4c34eeb85957c71a3cbdbd33d64781134"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/api/src/telemetry/sdk.ts:95 \u00B7 packages/api/src/telemetry/sdk.ts:151 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/sdk.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1e3ec0828026f129e313281d9226d0437e5e9f1a670ceca83dd85d3e9be431"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/chat/src/core/parts/questions.ts:27 \u00B7 packages/chat/src/core/parts/questions.ts:73 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d0449d9010f56937ac5650355dc71275e55b98c61f7027e4bd50c7e7dce187"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/chat/src/core/resumable/patches.ts:240 \u00B7 packages/chat/src/core/resumable/patches.ts:299 \u00B7 packages/chat/src/core/resumable/patches.ts:390 \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":"packages/chat/src/core/resumable/patches.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93edd555c8eb0bbdd4fac0b8538c5cf349f81a1058cf5c0f7440aa69dcfa27a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/client/src/svgs/CodeyIcon.tsx:3 \u00B7 packages/client/src/svgs/PaLMIcon.tsx:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/CodeyIcon.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"000568c0302b93a63b23bf5634a145442cfefd3f29b903127562ba2c48fd4f21"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/data-schemas/src/app/service.ts:69 \u00B7 packages/data-schemas/src/app/service.ts:84 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/service.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b5f0b2fad38b7f4a276197972fccde00c2a39617a6a2921cd5df09d63645f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/data-schemas/src/methods/channelRun.ts:813 \u00B7 packages/data-schemas/src/methods/channelRun.ts:870 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab7dcedc266ec377cb8464d1265a8e40ab098f79989301dbef01505e10111e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/data-schemas/src/methods/message.ts:2757 \u00B7 packages/data-schemas/src/methods/message.ts:2816 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2757}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e10f1ceecef9ae4d4145769d995a204d3b91bc3a2694defdf022db11f1c6fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/data-schemas/src/methods/prompt.ts:233 \u00B7 packages/data-schemas/src/methods/prompt.ts:296 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"330ac4615663d34dc89e87213f660b8f19c49edae1bd3817e2f3d620b441f456"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3 locations): packages/data-schemas/src/methods/share.ts:1343 \u00B7 packages/data-schemas/src/methods/share.ts:1521 \u00B7 packages/data-schemas/src/methods/share.ts:1679 \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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cc47b82211840d769776db798ae2be2e63c15f52102a2e9cc86c0f9499d1b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/data-schemas/src/schema/agent.ts:195 \u00B7 packages/data-schemas/src/schema/agentCategory.ts:35 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/agent.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b461962b34e1ae2613bb3c7ec04b996394084c1cd8991d63add74d848fa73b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): packages/data-schemas/src/schema/queuedTurn.ts:226 \u00B7 packages/data-schemas/src/schema/triggerDelivery.ts:249 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/queuedTurn.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23a2e4cf901db496797b36e9b77d79e5c8e17020a05692cf04dcbb808e78411"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): scripts/static-checks.mts:733 \u00B7 scripts/static-checks.mts:752 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3428bcbe39c0604209c6aedcaa51de6dfebbcd69f3ffbaaa3f6c8765ab305a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 5 locations): api/app/clients/tools/structured/FluxAPI.js:228 \u00B7 api/app/clients/tools/structured/FluxAPI.js:447 \u00B7 packages/api/src/stream/metadata.ts:58 \u00B7 packages/api/src/stream/metadata.ts:73 \u00B7 \u002B1 more site(s) not listed \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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8e457779cbb6de5b5b00982d1e9f35c4aa6a3a85f5f2a8aa9e8bc3347e4feeb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/app/clients/tools/util/fileSearch.js:45 \u00B7 api/server/services/Files/Code/process.js:734 \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":"api/app/clients/tools/util/fileSearch.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"75df3bfb87e6d103738aa13b83d09b91db2a841d1da4e71d774cfd1be46aba92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/controllers/UserController.js:538 \u00B7 api/server/controllers/UserController.js:552 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7f086b61a48cee6f08446f824164d25c41f8cbe7166e88a97d76bec14178da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): api/server/controllers/agents/client.js:1733 \u00B7 api/server/controllers/agents/client.js:1866 \u00B7 packages/api/src/agents/reasoningLabels/host.ts:177 \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":"api/server/controllers/agents/client.js"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"90599b8be25693974ce7b6a705a29223be95ddcf9bb173bb9f8928aeabb83b04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:302 \u00B7 api/server/controllers/agents/responses.js:371 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76ba1048e2d693d97fba8e55bf465dd4b3a923be3f3d7223d344308576b7cb0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:832 \u00B7 packages/api/src/agents/openai/service.ts:838 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94409243142284b6bf18164d45ec1e8b5e5fc37e82194b057d4e7fa9788809f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:1395 \u00B7 api/server/controllers/agents/v1.js:1634 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1395}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdcb2c3943ad3ec115dc52404c42f73c1a64186e3121bf37a0ae620575bc8e04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:1438 \u00B7 api/server/controllers/agents/v1.js:2267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"191bdf365f1630a30d2e56948b4154abb1cd0157fe6115bb9f8d32b0362e1318"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/routes/mcp.js:1065 \u00B7 api/server/routes/mcp.js:1142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed51ad72940f24505398c175da365ee35c1df4b9e6c2262e5ce2bd8e3a80c1eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/services/AuthService.js:597 \u00B7 packages/api/src/cdn/cloudfront-cookies.ts:305 \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":"api/server/services/AuthService.js"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d38159fa914056700e16e6adaa547e6ea108950cadac1ae04595d27a26cd367"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/services/AuthService.js:627 \u00B7 packages/api/src/cdn/cloudfront-cookies.ts:284 \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":"api/server/services/AuthService.js"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d041b8b63d8c66ee955e93c7275c5513861c0d0a8ab2295e3a9671157f2b22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/services/MCP.js:401 \u00B7 api/server/services/ToolService.js:872 \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":"api/server/services/MCP.js"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"491a88807d1fd7e3cc9ea503acf2eb6f852f712892fe1f11101f2b838e1807fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): api/server/utils/import/fork.js:191 \u00B7 api/server/utils/import/fork.js:258 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/fork.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"37e88e8e4df8ae13433be0d66e99ac8b4aacf5172c543f6547f5480d8bbd5414"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): client/src/components/Agents/MarketplaceAdminSettings.tsx:13 \u00B7 client/src/components/Nav/SettingsTabs/ApiKeys/Admin.tsx:16 \u00B7 client/src/components/Sharing/PeoplePickerAdminSettings.tsx:15 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/MarketplaceAdminSettings.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eab5d4b8e361e2420da9eed85e2a219a2ea4054d90d9a2a910d2443aff379a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Auth/LoginForm.tsx:131 \u00B7 client/src/components/Auth/ResetPassword.tsx:98 \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":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"42a8f331dc6e0f175a6c0441eeaae9e11f6a4c9b66476ce686977d314a088fed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Auth/ResetPassword.tsx:113 \u00B7 client/src/components/Auth/ResetPassword.tsx:135 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/ResetPassword.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbbc08dbe41847067cc35557770f595e10b81451ffc6080cde3af9ac9f965ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4 locations): client/src/components/Auth/TwoFactorScreen.tsx:107 \u00B7 client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx:224 \u00B7 client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx:117 \u00B7 client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/DisablePhase.tsx:47 \u2014 the 4 copies are spread across 4 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":"client/src/components/Auth/TwoFactorScreen.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"902485c452dceff31fd115d532631249425f74c490ff9708ea0bb15fd2c2827a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Channels/Apps.tsx:475 \u00B7 client/src/components/Channels/Workspaces.tsx:453 \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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c60c2f73a4789aa11f13aea2b5ed53b178a4c61f28167f6ad56ddae6f1e132c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): client/src/components/Chat/Input/Composer/Palette.tsx:806 \u00B7 client/src/hooks/Input/useAskAnswerMode.ts:619 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d0ad0640f229b65af860a7f2e6842f85e1e1ae5bb81b093465700d84eecef5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Chat/Input/ConversationStarters.tsx:18 \u00B7 client/src/components/Chat/Landing.tsx:53 \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":"client/src/components/Chat/Input/ConversationStarters.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"233a2c286d2aac3eb8b1a0e7b397796911eaada21781c6be7ca63f243f3d7a3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Chat/Input/ConversationStarters.tsx:34 \u00B7 client/src/components/Chat/Landing.tsx:65 \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":"client/src/components/Chat/Input/ConversationStarters.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0fe48a13ec16ac4d8da8cc561bcabb2998617b57d3006b9c68259097229d43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Chat/Input/SkillsCommand.tsx:115 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:229 \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":"client/src/components/Chat/Input/SkillsCommand.tsx"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafad5dfbe4e1e98d912bb8cc086919130f9324ba64f7dcd15d7bd0db6f6b53c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): client/src/components/Chat/Trace/Inspector.tsx:99 \u00B7 client/src/components/Chat/Trace/Viewer.tsx:373 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3689134ac90b7fab7bc12eae51c83893ba12737ad343e7cc835d366104ddd638"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Conversations/Conversations.tsx:145 \u00B7 client/src/components/Conversations/PinnedSection.tsx:733 \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":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b95daddf0c613cd75ea24bfac05a1d9673d445f2ab113c1a9afb787a7f48e9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx:324 \u00B7 client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"14fe636b9326b6632d9abf35b9364f6875ff6c511a65218c7273de6e342732fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/MCP/MCPServerStatusIcon.tsx:203 \u00B7 client/src/components/MCP/MCPServerStatusIcon.tsx:218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/MCPServerStatusIcon.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34480cd4d58263a99026a6226ea74b878b6f7c56cfd97df131b855921fd46d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): client/src/components/Nav/SettingsTabs/Chat/FontSizeSelector.tsx:20 \u00B7 client/src/components/Nav/SettingsTabs/Speech/STT/EngineSTTDropdown.tsx:25 \u00B7 client/src/components/Nav/SettingsTabs/Speech/TTS/EngineTTSDropdown.tsx:25 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Chat/FontSizeSelector.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf118197e37916b1b23959d124ca03732c192fa914071aeeacb685c3b495fc9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/General/UiScaleSelector.tsx:80 \u00B7 client/src/components/Nav/SettingsTabs/General/UiScaleSelector.tsx:97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/General/UiScaleSelector.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"1829042ac347695b0f9c9d082f76c7f5e1832452d2b4c14aada5c3a4145870f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): client/src/components/SidePanel/Agents/Code/Background.tsx:58 \u00B7 client/src/components/SidePanel/Agents/Code/Settings.tsx:154 \u00B7 client/src/components/SidePanel/Builder/AppendDateCheckbox.tsx:60 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Code/Background.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"edca423b66bedd9d9d8858931d07d27df7887c67387e3232198585d2e01a4472"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/SkillSection.tsx:23 \u00B7 client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/ToolSection.tsx:68 \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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/SkillSection.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7815c20902586ccf54ac669e1c91cc3520dff64c78f6be8d6d8c432c0f2654ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/SidePanel/Builder/Code.tsx:18 \u00B7 client/src/components/SidePanel/Builder/Retrieval.tsx:37 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/Code.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c7c1590eabdce7242f4ecb89e4c8f30d88bdaf97860a1ac16b37df30633d44"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx:36 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx:56 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"709bfdb0409ac63c66f698c921f77379745face75b9c35518425173e3c6543da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): client/src/components/Skills/dialogs/CreateSkillDialog.tsx:182 \u00B7 client/src/components/Skills/forms/CreateSkillForm.tsx:153 \u00B7 client/src/components/Skills/forms/SkillForm.tsx:179 \u2014 the 3 copies are spread across 3 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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54d80d733bf8d5dc138baca0a0958b4ef0488e194e8f134a619183f803d69cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): client/src/data-provider/mutations.ts:1791 \u00B7 client/src/data-provider/mutations.ts:1911 \u00B7 client/src/data-provider/mutations.ts:1985 \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":"client/src/data-provider/mutations.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8adfa18556a406ad1183e8389983705831680fc93bc64c303dfde2f82c532f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/hooks/AuthContext.tsx:383 \u00B7 client/src/hooks/AuthContext.tsx:400 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac3c943e0d1d8a102f19914eb874d475b064a0a047202717902f93a27f56294"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/hooks/Conversations/useSetIndexOptions.ts:66 \u00B7 client/src/hooks/Conversations/useSetIndexOptions.ts:80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useSetIndexOptions.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6c5f81c1bb43cdcb5c3b00a431e1c784f7f09a382fa16dc26f58c2f5e8bc30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/hooks/useKeyboardShortcuts.ts:454 \u00B7 client/src/hooks/useKeyboardShortcuts.ts:472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6004c4dca1f3ac49c0ce7aafd75d80f4a81e6cdd19ebd13ad4d960b82f3b59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): client/src/store/artifacts.ts:5 \u00B7 client/src/store/artifacts.ts:20 \u00B7 client/src/store/artifacts.ts:117 \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":"client/src/store/artifacts.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3afbe8670776b5cc08723566fb83603925592dedd987633f386cee03025d0e5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/utils/convos.ts:507 \u00B7 client/src/utils/convos.ts:1821 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"858d6374bd8cbe8ba3c63ee809ed1ad031a89e6899b4b782244c3e1cbcf19410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): client/src/utils/promptErrors.ts:55 \u00B7 client/src/utils/promptErrors.ts: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":"client/src/utils/promptErrors.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"30404990240ab41e21d3b2f44124a6d36ee47eb2d99ac33f76d8fc611681390a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): config/ban-user.js:41 \u00B7 config/set-balance.js:46 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ban-user.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2282a9d9a3e0ba9ebdc2d02be30698e8251b2b2ce1179a6e34b9d5387e21bb53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): config/create-error-convo.js:615 \u00B7 config/update-banner.js:141 \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":"config/create-error-convo.js"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55266f7aec9fd7f25138f6faf9bfd6b134cc154b00779fadc01090abbb66b60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/acl/accessControlService.ts:705 \u00B7 packages/api/src/acl/accessControlService.ts:836 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65ca5aa2e6b77f173ba7dc52b7b2a2e1b00a2318af754115f57ab5419ad26c0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/admin/code.ts:77 \u00B7 packages/api/src/code/bridge.ts:558 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc41ed7706c036a2df6e6233c870cbf90f7577aea04cb5346e8cc7de3e5fbf62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4367 \u00B7 packages/api/src/admin/config.ts:4872 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"606d5d2da0d4adff4c6fb54b0bcfa2efc1163ed6600b4ad9f2364c892bae9295"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/admin/grants.ts:483 \u00B7 packages/api/src/admin/grants.ts:574 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba392e81c4dd0715e0d2eb023ca000b5fabf7f56512933cf12ac8be63f57da7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:187 \u00B7 packages/api/src/admin/roles.ts:424 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e46a7de0c0f6c42419606e217f7f381088c0ddefd8a2a0d923c068a61cca00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:283 \u00B7 packages/api/src/admin/groups.ts:360 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f8833e3f0ea6bfea21f7f756dfbc58f7edf53ada759691bbb5d7010289a068"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:697 \u00B7 packages/api/src/admin/groups.ts:751 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c0c34191d05faedade0980e7f1c6d830eb74ddf32cc743e0781a39398dbca4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/activity.ts:186 \u00B7 packages/api/src/agents/activity.ts:473 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0cb7d74e9bf77b7136d7ff30fbea0ae8f6ea65d3330e3fe4d76ab22aed55db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/api/src/agents/activityLabels/host.ts:215 \u00B7 packages/api/src/agents/activityLabels/host.ts:234 \u00B7 packages/api/src/agents/activityLabels/host.ts:252 \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":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ac5563b920b609dcfe50c36507b9dc897759b457acf695ace1d9bac36adad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/activityLabels/wiring.ts:92 \u00B7 packages/api/src/agents/compaction.ts:1035 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c968bfaecb80d72630bec48352af46f6abcdd7394974bd9acad4d301e97bbc87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/api/src/agents/activityPhases/runtime.ts:182 \u00B7 packages/api/src/agents/reasoningLabels/runtime.ts:129 \u2014 the two spans are one implementation copied and then locally edited \u2014 114 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee5f0b0b0119b03ad9166ff69dabfbe3568d28a0b925d55d532ae93c67ddbe3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/background.ts:2910 \u00B7 packages/api/src/agents/background.ts:3031 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2441bc2eb685977ad9177a03099f61a5ea947be1d5076287ef7aa561a769b29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:3446 \u00B7 packages/api/src/agents/handlers.ts:5092 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3446}}}],"partialFingerprints":{"codehealthFindingId/v1":"623c2ce5912f3e0357ab802fcf705900a69aa346735c58cda313ef174a281fd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:3484 \u00B7 packages/api/src/agents/handlers.ts:5174 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3484}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e720841dd63614d32bb46f4626f112eb8d03072130105bebd6e230ad60adcb3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/openai/handlers.ts:501 \u00B7 packages/api/src/agents/openai/handlers.ts:556 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"055b05218cf3dd09d62af96c41d789a4c0f8694e0c16704bc86440616e9d8f1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/triggers/bindings.ts:180 \u00B7 packages/data-schemas/src/methods/conversation.ts:882 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a88f9db234d36bbebdbb925c441c1fb09224017c585f8f66b285ab4db9ba3bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/triggers/detachedAction.ts:40 \u00B7 packages/api/src/agents/triggers/detachedAction.ts:95 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e2db762cc9fbaf57fd5e35fe0183a66bfb5407f6aca4d1a9cc2514e407fc4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/triggers/engine.ts:429 \u00B7 packages/api/src/agents/triggers/engine.ts:472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f03704707642d3dd7bba404560ef0039656a75eacf4d1d10ff0a86c5259603"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/triggers/engine.ts:600 \u00B7 packages/api/src/agents/triggers/engine.ts:643 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea0cf2d173d1ebafbcaa39c4a6562384d6c037eeda881eeb0fd74a383192b26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/triggers/outcome.ts:681 \u00B7 packages/api/src/agents/triggers/outcome.ts:712 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"e469e6b65306dd88dd84885fc110697e82ab17271b1edbfaa710b92713c1872d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/api/src/agents/triggers/outcome.ts:854 \u00B7 packages/api/src/agents/triggers/outcome.ts:919 \u00B7 packages/api/src/agents/triggers/outcome.ts:1002 \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":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":854}}}],"partialFingerprints":{"codehealthFindingId/v1":"92df5d02b42c043fe5650dadbac80975faeedf14812ae445b32b57f89c575e6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/agents/triggers/outcome.ts:891 \u00B7 packages/api/src/agents/triggers/outcome.ts:952 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e3dd23239d49142166832d4c3e7d08c80e5b1647e3f133c885945143e2e6e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/app/references.ts:78 \u00B7 packages/api/src/app/service.ts:202 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/references.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5d2c645308f2814b500b7241b40e8b26a26e4f577e97c54cda81811a9c008e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/auth/passkey.ts:256 \u00B7 packages/api/src/auth/passkey.ts:343 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d085f83a4b3d3b06de63f847f9375ab6687faded1e8f3d9f6b81e3f8ee5b232"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/api/src/channels/responses.ts:45 \u00B7 packages/api/src/channels/responses.ts:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/responses.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf64ef5a4b672b5bb16da6b003d093428cac5c338f44d17d026ba2a30a00830"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/api/src/code/bridge.ts:584 \u00B7 packages/api/src/code/setup/bridge.ts:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb505fd8692a0520fda2c672082e8e04ed4fa870fef9bf1edabce4c665b450ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/files/validation.ts:85 \u00B7 packages/api/src/files/validation.ts:217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/validation.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7525463b108272665feb387bd3a2094bf302c936b69e7557c13b0ce984d1569b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/flow/manager.ts:530 \u00B7 packages/api/src/flow/manager.ts:588 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"04aba414843232f6a20729675daad83ba460c9896effc66e4d0b7b83f939aeda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:593 \u00B7 packages/api/src/mcp/utils.ts:946 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a9b74b83b693d04e3d30682eb34a159d5a1f52f40161b9f2a2d2473437b7fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:322 \u00B7 packages/api/src/middleware/modelBoundContent.ts:1461 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"09688b5279e02518cae64dec03fbd82cecd2a2dba19fae9b084f754122b7748f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:379 \u00B7 packages/api/src/middleware/modelBoundContent.ts:1535 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81fa90b9807e86d404aaf091fde0257e8e9ae8f55762e6b3cefd52892054edf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:2173 \u00B7 packages/api/src/middleware/modelBoundContent.ts:2199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8666468fb9b45c87994ae9d701dc3f7559167f8be7ddc790d3e670e1785b06c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:2470 \u00B7 packages/api/src/middleware/modelBoundContent.ts:2501 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2470}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5f9278ca9b331c9c731564b997e31e76de1fdc9eb05641b19e7d099a7fdfad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:2525 \u00B7 packages/api/src/middleware/modelBoundContent.ts:2557 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2525}}}],"partialFingerprints":{"codehealthFindingId/v1":"687f28dfdd3cbfdc599eed512004ca88fbfc7eb1b856f5567425e47784a188b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/api/src/projects/context.ts:123 \u00B7 packages/api/src/projects/turn.ts:250 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/context.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"626beda78c5f43d63ca16d45d906e096bcef1b88dd1c252145697047020dd5fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/shared-links/service.ts:148 \u00B7 packages/api/src/shared-links/service.ts: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":"packages/api/src/shared-links/service.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dc5948bd1b5d3792c7d5ff747aea5b97e030ce2b0e93650fea95439d87cc10"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:4775 \u00B7 packages/api/src/stream/GenerationJobManager.ts:4844 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4775}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38c7cd1289dde9e7738528725252879dc950c996f4ab90130f729387cbf1740"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:6917 \u00B7 packages/api/src/stream/GenerationJobManager.ts:6930 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6917}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29f6eee0861fe2038a2967ad65aa8afe7d7a88ac47ef47733fc1d3464ebe115"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (13 matched lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryEventTransport.ts:62 \u00B7 packages/api/src/stream/implementations/RedisEventTransport.ts:1358 \u2014 the two spans are one implementation copied and then locally edited \u2014 106 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"af98f7978c50bcd66d90c81ddb1a17b4a762a3ddb02751da17abe3038980e4b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:2786 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:2920 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2786}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e6cb5c688c3e4f2d800e117b00f6060ea2162a2c3f3178ba6942e193764aaf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:2627 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:2663 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2627}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0cb5d9b07575540973aa2989b49a9723b109ac8c971b77e68f94dbf14c6396"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:3819 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3940 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a4b51519eb43c35438eaef82a509139689d7033e64b5e21ca82d1f6b7f3451"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/traces/handlers.ts:220 \u00B7 packages/api/src/traces/handlers.ts:247 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/traces/handlers.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"013f42141d5e276e08dd9ebdc98894db9ac64754994e4f3bb918c2098f2b76cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/api/src/utils/env.ts:307 \u00B7 packages/api/src/utils/env.ts:335 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"916709e8470f439faa3f7bd2acee9d9841d24229b3a3b752158d917fac11f555"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3 locations): packages/api/src/utils/env.ts:515 \u00B7 packages/api/src/utils/env.ts:549 \u00B7 packages/api/src/utils/env.ts:568 \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":"packages/api/src/utils/env.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65c1606c8ad987ff7892560acd2130f3f111bf25fa42bf842253612b5534c49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/chat/src/components/messages/MessageNav.tsx:1481 \u00B7 packages/chat/src/components/messages/MessageNav.tsx:1508 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1481}}}],"partialFingerprints":{"codehealthFindingId/v1":"948f581cf4611eb0ccb8e2fb9bdf6500899c3bc4c35f88c1c436183eeb57ecca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/chat/src/core/resumable/outcomes.ts:30 \u00B7 packages/chat/src/core/resumable/outcomes.ts:115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cdf7a2d6fec10ba13792beb13b559eba4791687bc5aca80f96b95e86b99867"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/client/src/components/Checkbox.tsx:14 \u00B7 packages/client/src/components/TextareaAutosize.tsx:41 \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":"packages/client/src/components/Checkbox.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1a2d20bd1af262a147fd00f0216643cf1656baf15b0573bb4e526bb6ed21c57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/client/src/components/Checkbox.tsx:21 \u00B7 packages/client/src/components/Switch.tsx:10 \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":"packages/client/src/components/Checkbox.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a056d886f3c82fa295b92e499105face552942ebbd4937dae53d9b5e92fe74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/client/src/components/ThemeSelector.tsx:35 \u00B7 packages/client/src/components/ThemeSelector.tsx:81 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/ThemeSelector.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9eb7eaab401d73aece0de31dc544666d27752801103bf35c2ca73155028ae7d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/client/src/svgs/Blocks.tsx:3 \u00B7 packages/client/src/svgs/MessagesSquared.tsx:4 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/Blocks.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d0c71cb861f0dd4da299c376dc36844728ccd43ea9b170fec46dc6113f22cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/client/src/svgs/Clipboard.tsx:8 \u00B7 packages/client/src/svgs/RegenerateIcon.tsx:8 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/Clipboard.tsx"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ab187915a300b24d70953aed3962c9e0b03747f2645848f14bd7969ccc83d8a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-provider/src/data-service.ts:1929 \u00B7 packages/data-provider/src/data-service.ts:1944 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/data-service.ts"},"region":{"startLine":1929}}}],"partialFingerprints":{"codehealthFindingId/v1":"496e3703cb653fd3fd3f0bb7730f59e1b253c8bbfc1f8c61121e8cac39ac5957"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-provider/src/schemas.ts:76 \u00B7 packages/data-provider/src/schemas.ts:103 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/schemas.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfb36eff726649045e37365d380aec64275e8961aa7f400f67b3eecb7548ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/methods/memory.ts:115 \u00B7 packages/data-schemas/src/methods/memory.ts:192 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/memory.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bf8bcc99365068870448cc6abe8cd1d4dc87713be801cb6aca01d3871dff79"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:456 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:535 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"90c10f0dbd3d363013cf4b0b9198760678a6d18879a761c54af00e30a738525e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:2209 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2209}}}],"partialFingerprints":{"codehealthFindingId/v1":"326e72f3fdf2a61f94ee92f1eb5abe743d0bce4abf19fa7cfa61b1d24e71aac7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/methods/response.ts:401 \u00B7 packages/data-schemas/src/methods/response.ts:470 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"1555bfa9b98328578c5fb7a54c797ba02fc05720af79a3d4ca0b638a8d0be2ba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/methods/skillLifecycle.ts:583 \u00B7 packages/data-schemas/src/methods/skillLifecycle.ts:643 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f380b522d309dbf3f8f368a55781cd20b509a4da51d7c1473d6f50fda06c8aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/methods/skillSync.ts:164 \u00B7 packages/data-schemas/src/methods/skillSync.ts:178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillSync.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4191882abadf53c8693c4922f297841d7b745546e1850290c3895547b596cfde"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): packages/data-schemas/src/models/channelFeedback.ts:80 \u00B7 packages/data-schemas/src/models/channelRun.ts:178 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/channelFeedback.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"9617a532a9d4ad2cc52c3acadcf8867a4975a84def1d6b487cdcde277405ff07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): api/app/clients/tools/structured/FluxAPI.js:183 \u00B7 api/app/clients/tools/structured/StableDiffusion.js:90 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6b4e9443cb6a705e4e3187af62b93baba69f1b024b15b814c8cd0beb45423f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/app/clients/tools/structured/OpenAIImageTools.js:125 \u00B7 api/app/clients/tools/structured/OpenAIImageTools.js:231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12c966085b3190f73fe2658651356b87563f0b7935a5ea0a8a9e1e4f4d6624d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/agents/client.js:563 \u00B7 api/server/controllers/agents/client.js:5624 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"55fd99a954bd110b534c5fdafcae0c1fc033cfc29f0bdeac00bafc62e8ca35c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/agents/client.js:5352 \u00B7 api/server/controllers/agents/client.js:6066 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5352}}}],"partialFingerprints":{"codehealthFindingId/v1":"460b276cac57b2a99b5cea049926b36afc52e42658bba4f4d84ed2aaf77b8ff6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/agents/client.js:5682 \u00B7 api/server/controllers/agents/client.js:5785 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5682}}}],"partialFingerprints":{"codehealthFindingId/v1":"31adf83522a79d18057febf06bd6c441a9cac826205eba54ca0af15141fb7cae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/agents/responses.js:389 \u00B7 packages/api/src/agents/openai/service.ts:369 \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":"api/server/controllers/agents/responses.js"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"00724bcd1ea1304c7449a585e1ad30fa232e7fc96483602f4aa6d70e5d2231e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/agents/steer.js:157 \u00B7 api/server/controllers/agents/steer.js:178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/steer.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2eaf37f5e2d0eebb9b885899a656db28f0e277e2ac0cc7a54c4d87891bc687"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:1763 \u00B7 api/server/controllers/agents/v1.js:2283 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1763}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d68d4f0e290d5391c34905623230465b37599e9d40d3e44f6ad8d42f4a9a655"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/controllers/assistants/v2.js:358 \u00B7 api/server/controllers/mcp.js:747 \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":"api/server/controllers/assistants/v2.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bddb56df3e82fb2319faae4a2e0b8583b630a5319bb6d5ba2526aed681d652"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/routes/admin/auth.js:724 \u00B7 api/server/routes/admin/auth.js:795 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e8fa6b6d0422874e97a70779047121d8d6a65e0e611a20d5ec68fb8165ee99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/routes/mcp.js:798 \u00B7 api/server/routes/mcp.js:835 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea6e436dfe2a1bc88f108e037a6f2d9726470eab062c879f3fa4bd0f4c34600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/routes/share.js:684 \u00B7 api/server/routes/share.js:754 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2496890f63ed57b63dc3f7464ac1f759f5ebb94a140617cde550a8770df07d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/services/Files/Audio/getCustomConfigSpeech.js:62 \u00B7 api/server/services/Files/Audio/getCustomConfigSpeech.js:75 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/getCustomConfigSpeech.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a185568af1332f3ac3689a7e8a0d1be4be038625e81fbcb406a4460d4efc89d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): api/server/services/Files/Code/process.js:1551 \u00B7 api/server/services/Files/Code/process.js:1654 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0c864008f4515a46eba014bdc5ed6df8dec18d2290db3236a9299fa79e13cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/Agents/VirtualizedAgentGrid.tsx:19 \u00B7 client/src/data-provider/Agents/queries.ts:37 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"68561c6eb5941776937129c12ea5e42188eeb0fa50d7a5b3b319b5b5b8c87fd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 12 locations): client/src/components/Chat/Header.tsx:69 \u00B7 client/src/components/Chat/Menus/HeaderMenu.tsx:45 \u00B7 client/src/components/Nav/Settings/context.tsx:24 \u00B7 client/src/components/SidePanel/Agents/Tools/hooks.ts:162 \u00B7 \u002B8 more site(s) not listed \u2014 the 10 copies are spread across 9 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":"client/src/components/Chat/Header.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8dfd92b930adf33b5de99760368c502c57109bf13bce4f8baad1821416342c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/Chat/Input/Files/DragDropModal.tsx:40 \u00B7 client/src/hooks/Input/useAttachItems.tsx:278 \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":"client/src/components/Chat/Input/Files/DragDropModal.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13ccf6160f41b41b0b0de65a9304e4e84a2afc21ec16309ab408ce39f916d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Chat/Input/Files/Table/Columns.tsx:126 \u00B7 client/src/components/Chat/Input/Files/Table/Columns.tsx:245 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Files/Table/Columns.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"074eb2eebd4bc05b9e4fbe9102e48d9d0c361830c630d2f9673869c0e836f504"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Chat/Landing.tsx:180 \u00B7 client/src/components/Chat/Landing.tsx:195 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Landing.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b0a634cd8473e4431fdca1be07e3c948524dd202a42ab4135ebec07ce68320"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/EditContentParts.tsx:431 \u00B7 client/src/components/Chat/Messages/Content/EditMessage.tsx:287 \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":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d3d84389c3f23a04152098ba153a3e166bf61710fa68e3c60553fa8854437f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/MarkdownComponents.tsx:62 \u00B7 client/src/components/Chat/Messages/Content/MarkdownComponents.tsx:97 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"807be700d8c494386a7d318b1eea2599c59a7ad12df6b8256026c756d3e6dd45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Part.tsx:128 \u00B7 client/src/components/Chat/Messages/Content/Part.tsx:145 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"76426f830ca35b38e3b73e6cf0149bb9f36f982ede2e803b915353f66f5c31b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/Chat/Rename.tsx:60 \u00B7 client/src/components/Conversations/Convo.tsx:177 \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":"client/src/components/Chat/Rename.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"977db2549c1fee22faa7a7a194a7d17965f73cce4b0c33e45f7b3c6839871e47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Chat/Trace/Viewer.tsx:451 \u00B7 client/src/components/Chat/Trace/Viewer.tsx:472 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"8057df13d78c63e89628ab14d2040876d639a89e049fa29f78571f5af9dc3490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Messages/Content/Mermaid/MermaidDialog.tsx:69 \u00B7 client/src/components/Messages/Content/Mermaid/ZoomControls.tsx:31 \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":"client/src/components/Messages/Content/Mermaid/MermaidDialog.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd782079507ba435434805260ba56ed13902ad7df3c45d850e5001d630bd2c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx:284 \u00B7 client/src/components/Nav/SettingsTabs/Account/Passkeys/Passkeys.tsx:298 \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":"client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"9371fca2ebeb2c310454fdd1604a3f6c1770369d5c4ce962a11f9b47b0e10f49"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/Plugins/Store/PluginPagination.tsx:27 \u00B7 client/src/components/Plugins/Store/PluginPagination.tsx:80 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Plugins/Store/PluginPagination.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c22697e0c2f06fed010a7daa4834b24a1ed02cd48263c167817c7754e143299"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Projects/ProjectChatOptions.tsx:67 \u00B7 client/src/components/Projects/ProjectsView.tsx:134 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectChatOptions.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73f6dcd297bc52fc7bbf7e4c9d298e0319e408559881bdea008eb9cd30fceca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Prompts/dialogs/DeletePrompt.tsx:79 \u00B7 client/src/components/Prompts/forms/PromptForm.tsx:65 \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":"client/src/components/Prompts/dialogs/DeletePrompt.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"29eac8fd741fbd946a7368fa2926efb0ce7acdb0499df4fbc0f7c6f9ed813b92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/Share/MultiMessage.tsx:9 \u00B7 packages/chat/src/components/messages/thread/MultiMessage.tsx:23 \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":"client/src/components/Share/MultiMessage.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03b13ea9cb4d9cc1732ce6698046aebbcf09c785d9be7c07a8bc19332f59199"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/AgentSelect.tsx:306 \u00B7 client/src/components/SidePanel/Builder/AssistantSelect.tsx:229 \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":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e12d87a0f125c75c5dd19aa10165feea146781b298ccfde3a3545f54a05809"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/AgentTool.tsx:48 \u00B7 client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/ToolSection.tsx:54 \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":"client/src/components/SidePanel/Agents/AgentTool.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71ecfe5d4d0386287fea50a238ce814478ac31a748e03ffcb4529fe3f993793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx:83 \u00B7 packages/chat/src/components/CollapsibleText.tsx:60 \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":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a79d0f23ef5c282973ac8460cecd8a92cb0db45aedcc5cb3f4774ae9ca9f8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/parameters.ts:71 \u00B7 client/src/components/SidePanel/Parameters/Panel.tsx:56 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/parameters.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fb8bc250133a4de100db53f47462a238619538773c3331fb58437b1847b16f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/components/Web/Citation.tsx:116 \u00B7 client/src/components/Web/Citation.tsx:339 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Citation.tsx"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c7c98dc7653d1dfbab8b93e9a56d8a42591afdd41bb2b7f01f56d0ba7bdffd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/components/ui/AutoHeight.tsx:26 \u00B7 packages/chat/src/components/CollapsibleText.tsx:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/ui/AutoHeight.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7a1aacff2ddf7f5514fece666f8e8021638892aea17c0ab6c04da36e86b600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/data-provider/CodeEnvironments.ts:92 \u00B7 client/src/data-provider/CodeEnvironments.ts:106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/CodeEnvironments.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"847e2b4508167e2b6a0cdd03edf0d70ec04a9e90ada9f51284be5476f240cb47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4 locations): client/src/data-provider/mutations.ts:1475 \u00B7 client/src/data-provider/mutations.ts:1523 \u00B7 client/src/data-provider/mutations.ts:1586 \u00B7 client/src/data-provider/mutations.ts:1655 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0ba95261e86f7300fa24915d23e0154246b059a9c9671c89b212eb11ed2ab7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/hooks/Auth/usePasskey.ts:65 \u00B7 packages/api/src/auth/passkey.ts:382 \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":"client/src/hooks/Auth/usePasskey.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"5336f3eb18ff22bace3e29f4eb136d820f6b269416c439de2528e4fcd8cde373"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/hooks/Conversations/usePresets.ts:123 \u00B7 client/src/hooks/Conversations/usePresets.ts:144 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5045143916371d69fbfc7b3f04d543448cd26a0d15fe3436b9e6ff42f58be22d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/hooks/Conversations/useUnseenConversations.ts:331 \u00B7 client/src/utils/convos.ts:759 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"0757b212ec032bec6480c412f4c83a9e1c0716dd2dfc5d5d6460fbd78af215b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/hooks/useLocalStorage.tsx:22 \u00B7 client/src/hooks/useLocalStorageAlt.tsx:33 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useLocalStorage.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f13712638177eb512f15e1661f21365c2adf527f1ddbfcc8ebb5c2e1140db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/utils/artifacts.ts:363 \u00B7 packages/api/src/files/code/classify.ts:125 \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":"client/src/utils/artifacts.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"655536c8b0dcda6ca1f61bfc2cb701b9ef27ce2f53b934f66818f7c7c64b0454"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): client/src/utils/logger.ts:60 \u00B7 packages/client/src/utils/logger.ts:43 \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":"client/src/utils/logger.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca7f153c8af47169f4f9a90024868cdec6d05a3a957bcd7efbedc8427965454"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): client/src/utils/memory.ts:102 \u00B7 client/src/utils/memory.ts:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"client/src/utils/memory.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d77a33bedebae85f89d8d422c29dc0d8b9e86d7dbf9e00291933954524d30b6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 10 locations): config/add-balance.js:103 \u00B7 config/ban-user.js:79 \u00B7 config/create-user.js:129 \u00B7 config/delete-banner.js:49 \u00B7 \u002B6 more site(s) not listed \u2014 the 10 copies are spread across 10 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/add-balance.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"d652e18e15e52d62cb32f77a85ecd2294f7c21d61fecd835b4e66dcabc00bb62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): config/create-user.js:131 \u00B7 config/reset-meili-sync.js:90 \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":"config/create-user.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7822f96069105a065fcffc3d1b1715e8b1512584b545bfaef500db5d83059f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): config/delete-banner.js:51 \u00B7 config/migrate-terms-timestamp.js:127 \u00B7 config/reset-terms.js:33 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6b02e09a10d57002284d3bc2dcff5a9f88a33e6605b04636abbed10b9af915"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): config/migrate-prompt-permissions.js:60 \u00B7 packages/api/src/prompts/migration.ts:98 \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":"config/migrate-prompt-permissions.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"283a9bd7bd05718e34fbf956ba848d3bd7e49cd4e8a8967ac1f667938a35747c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): config/migrate-terms-timestamp.js:127 \u00B7 config/reset-terms.js:33 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-terms-timestamp.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee0d4e8d4259037ca3ace0b975332f62caf4212d4ff646676b1fbc53098e2b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/acl/search.ts:164 \u00B7 packages/api/src/middleware/share.ts:237 \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":"packages/api/src/acl/search.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa001d9182ab184bb829928dee60d72fb6af3aa4ce376097e620241bf4297db0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/actions/protection.ts:27 \u00B7 packages/api/src/skills/handlers.ts:304 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/actions/protection.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf813808c7bc9e87f6108940922434963c2d4112846fe44d5910e9e4d57e816"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4138 \u00B7 packages/api/src/admin/config.ts:4278 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f970f6221388eb536c0820901fffe69a77aaeaf34f5adbff61518a4479446e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4888 \u00B7 packages/api/src/admin/config.ts:5022 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4888}}}],"partialFingerprints":{"codehealthFindingId/v1":"2396fb061f22201cf4da19a93b6335e6bdcef00ea087e1c87d5230973b39ffba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/agents/background.ts:279 \u00B7 packages/api/src/agents/intent.ts:146 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae064eae3f27c9bf320b0c0377fffdb2c1ba4b15ff2cb8ed5cf3722517073a23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/agents/backgroundCompletionWakeup.ts:414 \u00B7 packages/api/src/agents/backgroundCompletionWakeup.ts:789 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"feaeaea35463179c0cc9fbc5c827307f5083ec3ec0e1f354b2f687a8e51bdb3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/agents/files/host.ts:302 \u00B7 packages/api/src/agents/files/host.ts:456 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/host.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e8fa8b3ba1d7d558ac265b6bde2a029e169021fbe0ca4cc32a5a21c06b33c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/agents/files/snapshots.ts:91 \u00B7 packages/api/src/utils/promises.ts:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/snapshots.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"47adc23182a1c29e92b62f3bd50e9606aba658e617d34e2df80bf5dcf00187e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:3232 \u00B7 packages/api/src/agents/handlers.ts:3252 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3232}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7341ce115c93b183d15190c8705ba694b23c86837009920f6c19f22a9a4de2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:1974 \u00B7 packages/api/src/files/mime.ts:60 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b17721c29d52e8877fad92b42c122bff104e5461ad001de4fc0dccca978df2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/api/src/agents/memory.ts:460 \u00B7 packages/api/src/agents/tools.ts:1336 \u00B7 packages/api/src/agents/tools.ts:1417 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad12734750b86bf1cf400a503e0193d90322dec3b27a4774c4aaae126c9af65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/agents/responses/service.ts:1043 \u00B7 packages/api/src/agents/responses/service.ts:1435 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd5073e7d548ba35bcf6d4478e9ec05be853ceb6373ea225f57f8089f0333b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/api/src/agents/steering/request.ts:399 \u00B7 packages/api/src/agents/steering/request.ts:839 \u00B7 packages/api/src/agents/steering/request.ts:1043 \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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e03ca53e6eb17f14b504cb8a51a81106adb939e3bd7380e315387a1f09ed22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/api/src/agents/steering/request.ts:426 \u00B7 packages/api/src/agents/steering/request.ts:865 \u00B7 packages/api/src/agents/steering/request.ts:1070 \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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9a547076a272c86d83f85b19b99fca9d050aab1abf10abc45d94a97211aaec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/agents/subagentTaskRouting.ts:844 \u00B7 packages/api/src/agents/subagentTaskRouting.ts:906 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5cafb0960ec2c01ea505ccc599fdccac89c2e81ad0b2882e999661d56eb83b4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/agents/transactions.ts:346 \u00B7 packages/data-schemas/src/methods/spendTokens.ts:136 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/transactions.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"46635cc7dbbdd82a7867611e64de26fbbb08ef1bc48d5061aaad81d20fe78fbf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/agents/triggers/host.ts:666 \u00B7 packages/api/src/agents/triggers/host.ts:996 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"00393775aefd2d090f181b278fc6c5a37546116d888ebdcee646faebd92c0921"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3 locations): packages/api/src/agents/triggers/outcome.ts:912 \u00B7 packages/api/src/agents/triggers/outcome.ts:1023 \u00B7 packages/api/src/agents/triggers/outcome.ts:1077 \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":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58ca275ba3a7c3b65cad34f5c2cf5b6e29573a36fceb4b6022a7cef14ffd998"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/cache/redisTelemetry.ts:263 \u00B7 packages/api/src/cache/redisTelemetry.ts:295 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisTelemetry.ts"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"979337b6faf9d424712f87c46dd4908c15d28dc813d9e0c50042ffc50624a8db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/channels/feedback.ts:167 \u00B7 packages/api/src/channels/feedback.ts:198 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedback.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"846706d3ca41317af2478b8e4bbd0d6894835ed206de09c348d5b3f20e1e038f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/endpoints/anthropic/llm.ts:345 \u00B7 packages/api/src/endpoints/google/llm.ts:695 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b20610528443c696b69836beaa4eabaf800e26c70362bc200f3c715aff25c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/endpoints/openai/llm.ts:762 \u00B7 packages/api/src/endpoints/openai/llm.ts:774 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e802212d6e88bed14e1a4cf8785ccd70801d8b0f7ee9da30e362d650b3c3271"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/endpoints/openai/llm.ts:849 \u00B7 packages/api/src/endpoints/openai/llm.ts: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":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"06746a82810d8d1aa86ad7d676b290efa641a8e77d88caec49d25df49397a0a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/favorites/handlers.ts:77 \u00B7 packages/api/src/favorites/handlers.ts:103 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/favorites/handlers.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea0c6f1fe5d201daa368dbbd44922efade41d82f9c2b23d0307727a6b0b67d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/langfuse/destinations.ts:314 \u00B7 packages/api/src/langfuse/destinations.ts:341 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/destinations.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"940412cfd832720a9d6a1a05e2855e45d8a2fbedeedfe7d88265f505418210d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/mcp/registry/db/ServerConfigsDB.ts:653 \u00B7 packages/api/src/mcp/registry/db/ServerConfigsDB.ts:691 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cb1f44d09b98d48e050ddb2e8f4f274825dc03b0ff2752b49cd6b19e5949ebf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/mcp/zod.ts:393 \u00B7 packages/api/src/mcp/zod.ts:647 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"92ece6c5d23bbf1e96c421b5d271d86e3667372bd4b86c06253735837f3aadb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/plugins/deployment.ts:30 \u00B7 packages/api/src/skills/deployment.ts:402 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/deployment.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"87cb98d737caf49a3f7736fa2b8b3d6829e3c7d3adac768260ac3772f52b831c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/prompts/handlers.ts:227 \u00B7 packages/api/src/prompts/handlers.ts:499 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5991aa7a3710722611a3ae7cabb9d0ce0f9a6ffc05dca1160f9771d5684bab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/prompts/handlers.ts:410 \u00B7 packages/api/src/prompts/handlers.ts: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":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e96d9890f4810611ab99a2190f10c32c2155319c617649b459a9ddac72f32c3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/protection/runtime.ts:434 \u00B7 packages/api/src/protection/runtime.ts:448 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"54bc9c5d3c2479483b80da1d7ea573c0242d999afb8deb22ba58a9b22d140c82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/pulls/gitlab.ts:79 \u00B7 packages/api/src/pulls/gitlab.ts:115 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0709ffe4a8ae477ac38eb40f93b36f08e446e77f060fbd9f4ecb528949133d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/schedules/engine.ts:535 \u00B7 packages/api/src/schedules/engine.ts:601 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc2e5b11b512b0253555e588ab92f89ed58150858da977ed9d1700051244ecf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/schedules/erasure.ts:93 \u00B7 packages/api/src/schedules/erasure.ts:314 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"faacc292af54e768db0bcfe83849c2f339058c9254890fee50be282765672e4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:713 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:6005 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d2eefbd1f4b9f3e7d1b9666099071881a1e4d8cb9582f8ad7659d6c5a1ac1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1593 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:1616 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ece8a7fc3d8c708a631d63a4a5a940ecf7874f77974782a52165e178020c5ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4056 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4096 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4056}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b7d3d34c9dccfa47d49ea613fc45432914efa97d8b14d0afcf80b7d878b6b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4829 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4851 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4829}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2ff6b0c2f9c3db48e9aa8586f57df33905bdf06dce0416c84e11e4768704f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/api/src/stream/interfaces/IJobStore.ts:1048 \u00B7 packages/api/src/stream/interfaces/IJobStore.ts:1324 \u2014 all 2 copies are in the same file, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c225ae8f6c2503bad4bbed74a50a7bd8ca06b133a2e4d360bbce80f8e75f532"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/chat/src/components/composer/EscalateNowButton.tsx:59 \u00B7 packages/chat/src/components/composer/EscalateNowButton.tsx:77 \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":"packages/chat/src/components/composer/EscalateNowButton.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"297830eb183f43e0e7124c36403532e03c41d850bf58ca006a547c2f9a3ec173"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/chat/src/components/composer/popover/Mention.tsx:35 \u00B7 packages/chat/src/components/composer/popover/Skills.tsx:38 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/popover/Mention.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8451a1fe4e1d845d8f41f9bb786e36d194f5de0455968d038ccb936f5e51f43f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/chat/src/core/code/workspace.ts:375 \u00B7 packages/chat/src/core/code/workspace.ts:411 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4930681f003cdc3e826380cfea07b6d5c6e709fe37a08cc16c9c00bb2c5446a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/chat/src/core/resumable/failure.ts:84 \u00B7 packages/chat/src/core/resumable/launch.ts:225 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/failure.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed520c8dff89f27e8ec68589c88decd414365fb02048bf835d0e0dbacacd7396"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/chat/src/core/steer/steer.ts:32 \u00B7 packages/chat/src/core/steer/steer.ts:80 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/steer.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7f0ddc04fb8058018a986f6a42a60fb631915d452a763ca54a797c61bc69cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/chat/src/core/thread.ts:148 \u00B7 packages/data-provider/src/messages.ts:64 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b0532ab652d6573593cc0a22c905367f242ea3788c0f44d65f5f8802374fe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (12 matched lines \u00D7 2 locations): packages/chat/src/react/size.ts:34 \u00B7 packages/client/src/components/ControlCombobox.tsx:186 \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":"packages/chat/src/react/size.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a5298a4a58e96f9cb27c7ceb8c94fcf61c512c4a0994c08c29b2e120eadc19"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/client/jest.setup.ts:116 \u00B7 packages/client/jest.setup.ts:142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/jest.setup.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bacad33fee18d948caa8812e636aa492d8e4171319b3a64f7e5820a75a2ed45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-provider/src/bedrock.ts:225 \u00B7 packages/data-provider/src/bedrock.ts:369 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1edb1349daa1608f8b5df538bc2c16c5bde5a1cd1ff0cfd3c62ad82c14e6b78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-provider/src/config.ts:6051 \u00B7 packages/data-provider/src/config.ts:6190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":6051}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f039d3532c71e621f71ae17286cc732e44e08f8b77a9a0bc26248fc37b4401c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-provider/src/generate.ts:430 \u00B7 packages/data-provider/src/generate.ts:444 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"38747fe2aaba81a4d97a7613beb712dc5fe8f2023cadfe21972fb6af5ada4585"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/agent.ts:1256 \u00B7 packages/data-schemas/src/methods/agent.ts:2743 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf08b3dabfa5d831d2494e8ac307c68801245a1e732e472e8b95ff4a97e5a78"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:2884 \u00B7 packages/data-schemas/src/methods/message.ts:1415 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2884}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2cd9629c874eaff9a528a7a0b0e54cd7d245ecae75957c4e8e9db20d2b0cda8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/memory.ts:47 \u00B7 packages/data-schemas/src/methods/memory.ts:88 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/memory.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee16483f405a5b6552dbe9167b67b9f1b80e449e621609c22f5cc2f81f8d80b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/schedule.ts:641 \u00B7 packages/data-schemas/src/methods/schedule.ts:683 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"899149726c71d7b3463deff945526841579f241706de71f2df3ed217b38c88c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/skillLifecycle.ts:536 \u00B7 packages/data-schemas/src/methods/skillLifecycle.ts:630 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"48963df444f8a2289d95af22a9370d78e25017c778dc196db413081c70d13ded"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/systemGrant.ts:214 \u00B7 packages/data-schemas/src/methods/systemGrant.ts:262 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0488f3f0de09e37f98cf93a1e8289ae78c6f7383a281178340bec9d0eaf7e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:2579 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:2730 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"781a8ecd4bc54e0ff126d0dc50d799d3816030cbc6e4c7afd3954c93722942ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/models/channelFeedback.ts:127 \u00B7 packages/data-schemas/src/models/slackWorkspace.ts:70 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/channelFeedback.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dda6261a8e25dc9979368ea7b05802ab25940d43f65f3cf6641ef84d975b455"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): packages/data-schemas/src/models/plugins/mongoMeili.ts:644 \u00B7 packages/data-schemas/src/models/plugins/mongoMeili.ts:710 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfab8a8554b84677717f8a90765b46617e8bb3d2b035c86d07b61c6b43b653c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): api/app/clients/tools/structured/FluxAPI.js:225 \u00B7 api/app/clients/tools/structured/FluxAPI.js:444 \u00B7 packages/api/src/auth/openid/flight.ts:247 \u00B7 packages/api/src/conversations/filters.ts:174 \u2014 the 4 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a723fa6bf04a282c691c4f448048eb070e785b756db224ba0bcfd471a8589c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/app/clients/tools/structured/OpenWeather.js:130 \u00B7 api/app/clients/tools/structured/TavilySearchResults.js:96 \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":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"53021b401f01b1b9c5cef38c73ec7fd5795397c5db9a888f2f834907a4a6cd2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/controllers/agents/client.js:2648 \u00B7 api/server/controllers/agents/client.js:2668 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90dd4fc0aeb8f084b9616f52c2053c50003001752c8c44ea502c1d118e1eaf3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:441 \u00B7 api/server/controllers/agents/responses.js:511 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7180dc7156c5ea92cf98cabdbcf77143d6cc6223cb95a68aba04e3685db7c75f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/controllers/agents/request.js:2632 \u00B7 api/server/controllers/agents/request.js:2660 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad53c3760f450706b29ab5244dd8e4114e8d947449312ad187d21cb3d1274286"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:124 \u00B7 api/server/controllers/assistants/chatV2.js:116 \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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12c0335d8a11e06254218283aaf755f823959a2b34a49cea79459222b40cc23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/controllers/assistants/chatV1.js:206 \u00B7 api/server/middleware/abortRun.js:63 \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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71e0ea2d46eb771237ce0194fc8bebd78ce5ebabba046b1ceceedc2ed180532"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/experimental.js:789 \u00B7 api/server/index.js:607 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fec8ce8fc203fb8d4177f0b47769fee96b2a639e883b02323e8b3ed1f985910"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): api/server/middleware/accessResources/canAccessAgentFromBody.js:115 \u00B7 api/server/routes/files/files.js:227 \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":"api/server/middleware/accessResources/canAccessAgentFromBody.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8214de69054f6914b34c88b95659791077a76aba32f0d9a4ecdefeadf0c5feda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): api/server/routes/agents/v1.js:12 \u00B7 api/server/routes/prompts.js:37 \u00B7 api/server/routes/schedules.js:23 \u00B7 api/server/routes/skills.js:88 \u2014 the 4 copies are spread across 4 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":"api/server/routes/agents/v1.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ba9219a18a209bb9245da33c16872c385ac1adaf5315991912ab89e25e3443"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): api/server/routes/files/avatar.js:64 \u00B7 api/server/routes/files/images.js:209 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/avatar.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"221c6f5be12595c83ddc7afc613e4d698086140f0f530e39fd5a33e78a7eba63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/routes/schedules.js:23 \u00B7 api/server/routes/skills.js:88 \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":"api/server/routes/schedules.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f487dd7ab66069fdf450347d55ac999b98bbba525c87f95e4afd9e20b0f2755"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/routes/share.js:659 \u00B7 api/server/routes/share.js:726 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"acee17d3cd83ed32aa470b8c9710714ed1ed962f5f1452586179d5ce99f9d4d1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): api/server/services/Files/Audio/STTService.js:342 \u00B7 api/server/services/Files/Audio/STTService.js:395 \u2014 the two spans are one implementation copied and then locally edited \u2014 78 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c438d7bc4870142f2188da9ee443e9218cc5c37b4235f5db89fc83821638510"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/services/Files/Firebase/images.js:28 \u00B7 api/server/services/Files/Local/images.js:36 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Firebase/images.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d5ca7d1cbd0677dbf0df63b1fca39ee83778fa808935626e613160d986b190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): api/server/services/GraphApiService.js:396 \u00B7 api/server/services/GraphApiService.js:437 \u00B7 api/server/services/GraphApiService.js:471 \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":"api/server/services/GraphApiService.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"621d34dee99fdfa2dabe7ca89d232712dc490d7ef4f73e2c959a1985c3d767af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/server/services/GraphApiService.js:466 \u00B7 api/server/services/GraphApiService.js:496 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c26a3c6e9720b12823d6e24c917a36c2a1b9cf5a05a8998c494b5bedffb284"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/strategies/openidStrategy.js:855 \u00B7 api/strategies/samlStrategy.js:267 \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":"api/strategies/openidStrategy.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"da19023b574ded0eef5fdadc80a06c36391f72d3cf100f0d4a3db61ae9d0bdd0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): api/strategies/socialLogin.js:23 \u00B7 api/strategies/socialLogin.js:40 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"66adc9640ef9b3b88b3cfa72b9b889aec9ef860dd67e700e9ded5335965021e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/Providers/AgentPanelContext.tsx:138 \u00B7 client/src/Providers/AgentPanelContext.tsx:176 \u2014 the two spans are one implementation copied and then locally edited \u2014 55 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":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea876ddcdf593d7391975f048ab4b4451c576aa8a14f11702c19f3f81d75c4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Channels/Apps.tsx:411 \u00B7 client/src/components/Channels/Apps.tsx:429 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"1073ba9c7ed84b7c69590485b0c5b0992ea2a1068a660727d424f9ea946b88f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Input/Composer/Files.tsx:46 \u00B7 client/src/components/Chat/Input/Composer/Palette.tsx:125 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Files.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca35099acb6b00727f52abd34fe19a18e0e00998f6dce8f30e49279f0d8badd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/MarkdownComponents.tsx:153 \u00B7 client/src/components/Web/Sources.tsx:251 \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":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d534dd25aa2b67e6f01f4e46431f67659a0d32c7b4d22a1ce3369004a23b12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Part.tsx:151 \u00B7 client/src/components/Chat/Messages/Content/Part.tsx:310 \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":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"c267d98641cb37433ef4ed078f3b52fcde20be3668d10f25a2be62ecbc399f63"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:106 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f6b9b43a9ca74c67ce4c3fc5fa60427bd189f3714ac486817d36b84695a13bc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/BashCall.tsx:165 \u00B7 client/src/components/Chat/Messages/Content/Parts/CodeWindowHeader.tsx:21 \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":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"8006acc9bcf1ac042dd08d0821b7c5d75c5e001e35ae072cdc189d9e27261aea"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx:36 \u00B7 packages/chat/src/core/parts/approval.ts:71 \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":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a748330241cef7ba4b70fc77a382d78ba34cc0c71bce1b4e9d2125f75e385e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx:30 \u00B7 packages/chat/src/core/parts/parseJsonField.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"448a9b292b39b3dedbd69fe84af5186ce7c65c0dc769efcd526b3126373bec0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/Thinking.tsx:109 \u00B7 client/src/components/Chat/Messages/Content/Parts/Thinking.tsx:240 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Thinking.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef735a25dcd3ae4d38ed1ba3407791ebf111c13762b6e2eaca54aaf694961acd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx:81 \u00B7 client/src/components/Chat/Messages/Content/WebSearch.tsx:52 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/StackedToolIcons.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc1ec7a1cc584d953039bef620cc7519d706684cf7afe7b79abc19e1ffe8698"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/live.ts:75 \u00B7 packages/chat/src/core/pending.ts:261 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa30d42e39a0bac38698e489082417e1376ba3396638de916ce3e0d3e97335f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Endpoints/Settings/Assistants.tsx:114 \u00B7 client/src/components/Endpoints/Settings/Assistants.tsx:135 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/Settings/Assistants.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2dc1b4386540f0f1c440b6b331174a1dd2dc639401a40caaeae9093ecaf7eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx:81 \u00B7 client/src/components/Skills/dialogs/UploadSkillDialog.tsx:176 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b75bb8ff9ae17e1c4ff811b1d2f171df93082f4ba3f40b6997eb03cdfd62cb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:194 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"94f6945b683b49ee64167d0a92f1261bf7b89b0da72c53abf784b18ee84a6022"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/components/Projects/ProjectChatList.tsx:53 \u00B7 client/src/routes/Search.tsx:62 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 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":"client/src/components/Projects/ProjectChatList.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa81e99c2a8712c4c52693cb96aa2cf005a1e90a0c8aa2b7d3152dafd8d28e3d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/components/Projects/ProjectResources.tsx:437 \u00B7 client/src/components/Projects/ProjectWorkspace.tsx:484 \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":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a034080114f14e9da5fbb2141f5e8b8e695d4f815272035f2c071e64d55c2bd2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): client/src/components/SidePanel/Agents/Background.tsx:67 \u00B7 client/src/components/SidePanel/Agents/Code/Background.tsx:54 \u00B7 client/src/components/SidePanel/Agents/Code/Settings.tsx:149 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Background.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40b79d656fdb9f6b1586a4402f605ebad06fb2952708bb4a347a11577d80d1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx:48 \u00B7 client/src/components/Skills/layouts/SkillsView.tsx:24 \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":"client/src/components/SidePanel/Agents/Tools/SkillsDialog.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"b357c08a238e78f6bd7c943738689f22131ff9ccbca216361b7e8609eaf9a28c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/data-provider/Files/mutations.ts:87 \u00B7 client/src/data-provider/Files/mutations.ts:139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ec752601ff2d926ae952845e9c4adfd7f5135f09c99ef1f25f3ef91c75a600"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/data-provider/Skills/mutations.ts:126 \u00B7 client/src/data-provider/Skills/mutations.ts:153 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Skills/mutations.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ebd91f10b569a25ba250abd7f8a296d4fbba3e60829b02020a11581a8bdd76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/data-provider/mutations.ts:149 \u00B7 client/src/data-provider/mutations.ts:1454 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6b64eec842baf922452be7d25f4b52e4f464df1809f6180ef53b9a0ade4863"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/hooks/Agents/useMCPToolOptions.ts:67 \u00B7 client/src/hooks/Agents/useMCPToolOptions.ts:97 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/useMCPToolOptions.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28ca5f9e091bbcd21301b1a37ed22997b495da6b8771b7d09fda9a07bfac216"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/hooks/Conversations/useParameterEffects.ts:36 \u00B7 client/src/hooks/Conversations/useParameterEffects.ts:55 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useParameterEffects.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72a535485861ad4b66bcb10a6c95b87a9f99b4c8e874e4a008c027d83805781"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/hooks/Conversations/usePresets.ts:191 \u00B7 client/src/hooks/Input/useSelectMention.ts:256 \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":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2af788541a48f68210947d5d2157e6f5d7d52f2cf7935e8200c63d19ea903bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/hooks/Input/useAttachItems.tsx:332 \u00B7 client/src/hooks/Input/useAttachItems.tsx:345 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd9d987984d992bf5d711bae553414e8afe156d7ae1725ca5ef9dcbbc7612a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): client/src/routes/ChannelLinkRoute.tsx:61 \u00B7 client/src/routes/ResponseReviewRoute.tsx:107 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7b3695fcc6b5e1ddd8fdd334925bac2a9beed097323204143ea5bc8ebef5f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): client/src/utils/reasoningLabels.ts:7 \u00B7 packages/chat/src/core/steer/steer.ts:376 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/reasoningLabels.ts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"4938d01c1556e3e42abab2e6e93bf18c70d52af00147a13374e83794f5eb8eed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/acl/directory.ts:10 \u00B7 packages/api/src/code/instructions.ts:31 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/directory.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a1e78a12fbec50cc01f30132958234ea0248e30985af811eedf5b6e1d568d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/api/src/admin/catalog.ts:605 \u00B7 packages/api/src/admin/config.ts:3215 \u00B7 packages/api/src/admin/config.ts:3242 \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":"packages/api/src/admin/catalog.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb68f92e94025a28dbde542ee6d2f1d7f91e8d5958b54c1e18bff0f471b15849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/api/src/admin/config.ts:3239 \u00B7 packages/api/src/admin/config.ts:3273 \u00B7 packages/api/src/admin/config.ts:4934 \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":"packages/api/src/admin/config.ts"},"region":{"startLine":3239}}}],"partialFingerprints":{"codehealthFindingId/v1":"060548880afe548266f3aa0f84466c65ec19a094e796e37a41f909c300ea5e57"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 9 locations): packages/api/src/admin/config.ts:3310 \u00B7 packages/api/src/admin/config.ts:3370 \u00B7 packages/api/src/admin/config.ts:3699 \u00B7 packages/api/src/admin/config.ts:4053 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3310}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b25e4bf24e96d0a96e26797a5ffa7ea4418d2edba688a9928a47169398fc8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): packages/api/src/admin/grants.ts:292 \u00B7 packages/api/src/admin/grants.ts:339 \u00B7 packages/api/src/admin/grants.ts:380 \u00B7 packages/api/src/admin/grants.ts:494 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbeb4678783a41e76b178ec2d0155748a1da621eff4f53d07985c6ecadf723b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:487 \u00B7 packages/api/src/admin/langfuse.ts:664 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c357cab8f6593fd67b8e733a96a701d398c3ba5b597df680ed2552aff37b57c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:801 \u00B7 packages/api/src/admin/langfuse.ts:839 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4a448f72cabc7cc9612c4c451f3f1396efba66f3ea63cce5b4081862483f3a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:525 \u00B7 packages/api/src/memory/handlers.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61c12e1a0744544f33bfeb70d0f94c433e874d4a2ce97ecc4f7b54a7c9212a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/admin/roles.ts:419 \u00B7 packages/api/src/admin/roles.ts:1123 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ae66326154fbd2ffb7ba25e88eff95d847cd4fd92552f3250db01f0c02c44c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/background.ts:354 \u00B7 packages/api/src/agents/intent.ts:270 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a56c31858392e9a250c9b8ba0d13200f98b7c09ca46ec2c70b179d2d0952acf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/background.ts:1259 \u00B7 packages/api/src/agents/background.ts:1346 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"3719417817388f68d653f40ddf1aa30c43b1bb1a3be1b8396b9647d04d96969a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/checkpointer.ts:92 \u00B7 packages/api/src/agents/checkpointer.ts:115 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e2975586ae3b48159eb2b2662eded92ca512483a30cba1245b745f580440dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/codeFilesSession.ts:70 \u00B7 packages/api/src/agents/codeFilesSession.ts:313 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/codeFilesSession.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"97aa04d5c824cb518afd9388c406ddd6e26733bcf224e4b286a4c8d17286e646"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/context.ts:93 \u00B7 packages/api/src/agents/context.ts:114 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/context.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"554930bc715180e25177a1517b1dda107032839a331c9fb4694b8d1b8a91eb23"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/digest/view.ts:370 \u00B7 packages/api/src/agents/digest/view.ts:395 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a200c1e06035de630468c6469a19c232e17a83a7ca6f550198f307e356601b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/agents/files.ts:274 \u00B7 packages/api/src/schedules/access.ts:57 \u2014 the two spans are one implementation copied and then locally edited \u2014 70 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db90508dfb955ba256b213e613c3603795ff682f7dbaad07d1210ce93e3e6a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/hitl/policy.ts:390 \u00B7 packages/api/src/agents/hitl/policy.ts:402 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c788045dd287c4ce9b634084c639ddfe799a4b0e5f84c0788dbbf4af43fab4da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/agents/hitl/runtime.ts:162 \u00B7 packages/api/src/agents/run.ts:3058 \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":"packages/api/src/agents/hitl/runtime.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f0733b6f9fd7ce38b7b23f8bdd129ccb2cad0f4276975a6ebf183e65ee13be6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/openai/handlers.ts:633 \u00B7 packages/api/src/agents/openai/handlers.ts:731 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d6a56fa7795bb9798031ee0ef7767256e377b15342959fe055437cf233ab77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/openai/handlers.ts:659 \u00B7 packages/api/src/agents/openai/handlers.ts:675 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"813083314fc4842333e2059690b102d2c183c58e2b36f6eeaad63c065067997c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/agents/reads.ts:52 \u00B7 packages/api/src/skills/management.ts:172 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reads.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"83edeb376e34623defb7831cd5b2b276d96fd65b2b44268a806f8890da3098ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/responses/completion.ts:431 \u00B7 packages/api/src/agents/responses/completion.ts:443 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e75b616bd70f81bd1c5d35535198009bd6533308ba10cdcb6dbd1db6167e22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/responses/host.ts:262 \u00B7 packages/api/src/agents/responses/host.ts:290 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/host.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9385ff71341a30dafe21855e85ef2f45927d79e090e0ed0911a7b9e5b08e181"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/agents/responses/pause.ts:43 \u00B7 packages/api/src/agents/responses/runtime.ts:744 \u2014 the two spans are one implementation copied and then locally edited \u2014 98 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"0787b8cefe02e666b9bc661c14bb7bca122cec28738963fd632f614425e883b1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/agents/responses/runtime.ts:602 \u00B7 packages/api/src/agents/responses/runtime.ts:743 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d201be62b23494002705f2de54890df45b4bef9d9a90dcc08d2a73b4f0cc196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/steering/request.ts:917 \u00B7 packages/api/src/agents/steering/request.ts:944 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a116814f49dfcdd51da3f88d4aed2a70e23528b2b14b5a9216419990940e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/subagentActivity.ts:636 \u00B7 packages/api/src/agents/view.ts:620 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9234cc4751afcf52dc0ed497cd2d6425519f417c8c58f77e18a32a9227d9e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/subagentTaskRouting.ts:428 \u00B7 packages/api/src/agents/subagentTaskRouting.ts:448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"7747f44fa2b3a1bbb099b3ebfc7bfa5d5133fdece41112189454d110d8842deb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/subagentTaskRouting.ts:669 \u00B7 packages/api/src/agents/subagentTaskRouting.ts:690 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69a43b0949edac208419242eaa469d5d67dd3dbe073c7ef6dfacc146540be29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/subagentThreads.ts:1159 \u00B7 packages/api/src/agents/subagentThreads.ts:2905 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1159}}}],"partialFingerprints":{"codehealthFindingId/v1":"001fcd92fe0b15dccf131c4110ae39e045e8222ed96c0e0a72648260e2a0c3d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/transactions.ts:228 \u00B7 packages/api/src/agents/transactions.ts:251 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/transactions.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13abcdd4384ecb245fbb58a178b9c4b38f9046fc4b4530898003b09a5b7023a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/agents/triggers/actor.ts:313 \u00B7 packages/api/src/agents/triggers/actor.ts:458 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e6b496ddb61985d353c37a713f516dd2e9af27b6415a11fffbbe0823dae517"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/app/service.ts:1002 \u00B7 packages/api/src/app/service.ts:1177 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5b977e609fa4aef42b0e0066d895fb35e5c4717e9009d5089953bbaff64403"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/auth/openid/recovery.ts:514 \u00B7 packages/api/src/auth/openid/recovery.ts:750 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"718727762ea1e6e4ac7d848672fa7b67f3cfab378d333210ef561a20bde278e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/api/src/channels/workspaceBindings.ts:157 \u00B7 packages/api/src/channels/workspaceBindings.ts:205 \u00B7 packages/api/src/channels/workspaceBindings.ts:253 \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":"packages/api/src/channels/workspaceBindings.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ed3b278019c7fd82f265a7f0dedcf907c737e123c85777f5bc6fe20e3e192e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/code/environments.ts:627 \u00B7 packages/api/src/code/environments.ts:701 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/environments.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4568848c1a2f0db5fe253bbf59ba8b968b9af020a886c49e38c32a675e2d4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/code/http.ts:578 \u00B7 packages/api/src/code/http.ts:683 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fa00720af00e66ffd9f31b63ac21db1f53a84479fbe9b3ebf0a65be7a0dc76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/code/workspace.ts:1212 \u00B7 packages/api/src/code/workspace.ts:1250 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"a48fed3ec7fad875b837c9f30c6d6bb390b739846304d120d9710111c417d289"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/conversations/lineage.ts:54 \u00B7 packages/api/src/conversations/lineage.ts:85 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/lineage.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"47149bc27641339ba9ad10f15265026bc605604bb126d76ef21915ff047c8f41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/endpoints/anthropic/llm.ts:318 \u00B7 packages/api/src/endpoints/google/llm.ts:667 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e83e788f93dcdca49c69dea8f755981b93fbaf01cc948fe9ce517a5c56f6f77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/endpoints/google/llm.ts:268 \u00B7 packages/api/src/endpoints/google/youtube.ts:38 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2fa7333b862676422c32103c2d5568325498880d49b953ae453be60581700c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/flow/manager.ts:510 \u00B7 packages/api/src/flow/manager.ts:574 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd148d09ed4bcbe1869fbfb9692ce97e9beb5d08097142b844d4949ed4f40e65"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/mcp/MCPManager.ts:278 \u00B7 packages/api/src/mcp/UserConnectionManager.ts:460 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a66b9abb94e6858046277cf6633b68b1010bd2056078742a5e200aedb738b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/mcp/apps/limits.ts:72 \u00B7 packages/api/src/mcp/apps/limits.ts:104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/limits.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fa1604211cd3032f4e5fa50816c9816319fe60bbc53ef05069fc6d89236a4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/mcp/catalog/store.ts:317 \u00B7 packages/api/src/mcp/catalog/store.ts:329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f475eec0677c927d91ab390714ed8e04ee097d47a392f52c97e351fd4edc328f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/mcp/catalog/store.ts:586 \u00B7 packages/api/src/mcp/catalog/store.ts:607 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bde2860597368f3de5ee01cee69f6e07fc2d7116a505d3496f285b2b34a6c83"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/mcp/utils.ts:328 \u00B7 packages/api/src/utils/graph.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/utils.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"551cf5aa26917c6b9dc3d6d3c68c5bff812aab164e245034adf7e5190b87dd5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:210 \u00B7 packages/api/src/protection/files.ts:154 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab3027efc994787d63411c61bc6408d86ae7c7e3a8b0add38219fb27abd8866"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/api/src/middleware/modelBoundContent.ts:1427 \u00B7 packages/api/src/middleware/modelBoundContent.ts:2523 \u00B7 packages/api/src/middleware/modelBoundContent.ts:2555 \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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5698ccca2787bbdf753ca99f3033762ef546e85b56beccae03b7cfce1f6daf90"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/plugins/hooks.ts:66 \u00B7 packages/api/src/plugins/load.ts:46 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/hooks.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f239140147cff4542643baae9ec3d1876a5c8fa2467772b278b21b90e809fe89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/projects/handlers.ts:208 \u00B7 packages/api/src/projects/handlers.ts:385 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"e874f74e9e91f725385421ab2747f01b8ff87683b78d4c2c3da6c58781a1123b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/prompts/handlers.ts:336 \u00B7 packages/api/src/prompts/handlers.ts:561 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"83811cbdca93a4525ad133bafcf05a4d5b51ac16b6fece6661401ccc692affcb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/prompts/handlers.ts:464 \u00B7 packages/api/src/prompts/handlers.ts:487 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa493ed2506142bfa79e87cde91d577691a0cd51c1122a92f50e1982f1e5f38e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/protection/adapters/submissions.ts:746 \u00B7 packages/api/src/protection/adapters/submissions.ts:1965 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac45deec119dbd06061bd2aa1ff0f484413b41d309575294fe0cb2dae903fe8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/schedules/handlers.ts:625 \u00B7 packages/api/src/schedules/handlers.ts:901 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c133370a7622511904e221b0ce1ae6046863338f64615c796ac90ebc18e859"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/skills/save.ts:87 \u00B7 packages/api/src/skills/upload.ts:111 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/save.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d36c61a7ed6a8dc12402595792ae094f1e09014c465ee2e33ccd99bc099c26"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/storage/cloudfront/crud.ts:199 \u00B7 packages/api/src/storage/cloudfront/crud.ts:220 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/cloudfront/crud.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"1715d9f75442fa118cb8d06201909ba7f0076f4aea70387345950b9de9e47bda"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:9359 \u00B7 packages/api/src/stream/GenerationJobManager.ts:9387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9359}}}],"partialFingerprints":{"codehealthFindingId/v1":"f396c68950d73ab085b909810f812552ae65ba08d7afa291ccb8ad315d1cfd37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:2605 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:2930 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2605}}}],"partialFingerprints":{"codehealthFindingId/v1":"83216574b54882f4d66460432897b69b6a7a0d81ee88eb854e759df4a47b8b4b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:5082 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5199 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5082}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a0654a85dc860a90952c6b96ada86f5e5e16b167aad57028d9dab623fa5388"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/api/src/utils/graph.ts:79 \u00B7 packages/api/src/utils/graph.ts:234 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/graph.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a47e81e59dd6780cfaf44f79a6c29ffab66e255954f464aad73179100db75f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/channel-gateway/src/worker.ts:413 \u00B7 packages/channel-gateway/src/worker.ts:640 \u2014 the two spans are one implementation copied and then locally edited \u2014 69 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ef21dc6e703215ea86188c34b68e5a71586a08c738901e81a2a7c113244326"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/chat/src/components/composer/QuoteButton.tsx:503 \u00B7 packages/chat/src/components/composer/QuoteButton.tsx:521 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba5ce4a5ce6ddc7e743fa88aaf1e8685ee6b12b83dfc9ee2834ab753a798e2f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/chat/src/components/subagents/panel.tsx:1073 \u00B7 packages/chat/src/components/subagents/panel.tsx:1111 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1c799778ae240baf7f6af9df3bd11555017582d754bbf66cd637e8ad925e2a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/chat/src/core/chat.ts:1175 \u00B7 packages/chat/src/core/chat.ts:2249 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0a03f5ec0220b2f921d6bb49037435f1baf8bfc4555b4d36cb695c26c10820"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (11 matched lines \u00D7 2 locations): packages/chat/src/core/resumable/failure.ts:22 \u00B7 packages/chat/src/core/resumable/missing.ts:20 \u2014 the two spans are one implementation copied and then locally edited \u2014 85 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/failure.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d44dee73867b5564bb3538013a2d013a518e2e15882e3a6c7cee71c83244fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/chat/src/core/thread.ts:314 \u00B7 packages/chat/src/react/thread.ts:37 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dae6c05796f2b61096951970c1d6593e0238e77033eb3d59611d4d7ef180301"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/chat/src/react/stream/usage/handlers.ts:298 \u00B7 packages/chat/src/react/stream/usage/handlers.ts:316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/usage/handlers.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"67af9a0732a5b3913add1d115052c961e6648ed0315989ea2e5d2353d6056389"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/client/src/components/Pagination.tsx:72 \u00B7 packages/client/src/components/Pagination.tsx:88 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Pagination.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11ccdad9a4c57b92990d8fd6ec009352667c2e579031fcb7b8fcb0003259fc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/client/src/components/Resizable.tsx:24 \u00B7 packages/client/src/components/Resizable.tsx:40 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Resizable.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b7eaa84b21a17f23422311139aafd22189aab889f23f6b6cbb67136534ee2d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/aclEntry.ts:577 \u00B7 packages/data-schemas/src/methods/aclEntry.ts:834 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a8ed7080be5e69f258698b438eb35fbba13c300ab15a7eef377a8c94ca602a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/channelRun.ts:1060 \u00B7 packages/data-schemas/src/methods/channelRun.ts:1109 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba9767c49ebe4e09fbc6c29df268102b3aaaa2accd2b4f0237783ddcb43432f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversationTag.ts:178 \u00B7 packages/data-schemas/src/methods/toolCall.ts:54 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversationTag.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b8dd9d23f95ea4418e6a3bbfe9d8e1a706818e5df0e95463ec689b0e07d533"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/memory.ts:233 \u00B7 packages/data-schemas/src/methods/memory.ts:254 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/memory.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3abec1a08c98c7bb58c0b0fdfcd6d98f07f6fd8fa0ddf667f2b9973ddb150c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): packages/data-schemas/src/methods/queuedTurn.ts:1761 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2299 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2341 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2460 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1761}}}],"partialFingerprints":{"codehealthFindingId/v1":"79225f783387bf904b0dbb9391aa7c20ceeee896e444b2f494fa525d7ca70cd8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:709 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:741 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"14405f77119f5cc25608f5b0a7510ae76128ab025929e3895919b86dae88ace0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:3811 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:4166 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cba133ad5346ccd3ff6ecf049087c39567ed459462287faf3180c7eae97ea6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/methods/user.ts:736 \u00B7 packages/data-schemas/src/methods/user.ts:780 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ca658dbf4b50ea9493cbf706295ebe06fb31e7288c571c862f617d5510e3b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): packages/data-schemas/src/models/channelIdentity.ts:20 \u00B7 packages/data-schemas/src/models/channelRun.ts:53 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/channelIdentity.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"db5651e4a763bc2eba785d04aed0113484f7c23532606b2fc420c6c0753ca592"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3 locations): packages/data-schemas/src/models/slackRoute.ts:39 \u00B7 packages/data-schemas/src/models/slackWorkspace.ts:39 \u00B7 packages/data-schemas/src/models/slackWorkspace.ts:100 \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":"packages/data-schemas/src/models/slackRoute.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"47f20b2a6398ad251e69618ffd8e5681cafe8491650a26cc690a02ad0d0f58fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): api/app/clients/BaseClient.js:1717 \u00B7 api/app/clients/BaseClient.js:1737 \u00B7 api/app/clients/BaseClient.js:1753 \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":"api/app/clients/BaseClient.js"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"664066409994d3ba0043297f4e57163937d2835608d5bc45565ff81aa8398575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/app/clients/BaseClient.js:1951 \u00B7 packages/api/src/agents/hitl/protection.ts:1105 \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":"api/app/clients/BaseClient.js"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44c878133a6336261d1089b230baf2e6ed017d5844767f4a17804a36f67280d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): api/cache/clearPendingReq.js:33 \u00B7 packages/api/src/middleware/concurrency.ts:214 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/cache/clearPendingReq.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"65116331976125312738af944882147d13b88b88c060b20cf5afe9e0a3afd3d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): api/server/controllers/FavoritesController.js:32 \u00B7 packages/api/src/admin/groups.ts:214 \u00B7 packages/api/src/admin/groups.ts:224 \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":"api/server/controllers/FavoritesController.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e4f1ebb040218b55c063fcebcdb7acee27155e8262b846ebb5d15c0ed90f28"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/controllers/FavoritesController.js:98 \u00B7 api/server/controllers/TwoFactorController.js:159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/FavoritesController.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a46e95744961a72276a2693daaaf6493010975c52885719b5799c8e66ddceb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/controllers/agents/client.js:1903 \u00B7 api/server/controllers/agents/client.js:1963 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9f03b6d05c0ab7f67aeffd9721aaa3ca3f06ad9352b693a9c813d106735528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/controllers/agents/client.js:4468 \u00B7 packages/api/src/agents/hitl/capture.ts:42 \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":"api/server/controllers/agents/client.js"},"region":{"startLine":4468}}}],"partialFingerprints":{"codehealthFindingId/v1":"94434d5d48978e555445ce35589108a176168f81f4bce450b0cf969802521e91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): api/server/controllers/agents/client.js:6122 \u00B7 packages/api/src/mcp/oauth/tokens.ts:1582 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":6122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0f91bc632a200d143e823e8d28c4ef472c98eab4231cf25272cd2a7cf68bb6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:509 \u00B7 packages/api/src/agents/openai/service.ts:684 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2bedf29b1631c47386cb45ae29869fe0b3e77f50c77ce5559207bc50f33169"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): api/server/controllers/agents/openai.js:1050 \u00B7 api/server/controllers/agents/responses.js:1161 \u00B7 api/server/controllers/agents/responses.js:1393 \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":"api/server/controllers/agents/openai.js"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28833ccc511e576f14f789d3dd2f017a61ccdb7e96fd36bd0967503ab3a1b82"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/controllers/assistants/helpers.js:220 \u00B7 api/server/controllers/mcp.js:311 \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":"api/server/controllers/assistants/helpers.js"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4065e20d2770c9b1f24fed6ecf8a0bc290ebfb68938a5a4e47937e694c95214f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): api/server/controllers/mcpApps.js:58 \u00B7 api/server/services/Tools/mcp.js:72 \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":"api/server/controllers/mcpApps.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad6211cef130d1fe4b5708cd74ab25f57ad9d6c4a70f1b23f39c5e7fe3f247d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/experimental.js:766 \u00B7 api/server/index.js:572 \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":"api/server/experimental.js"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa76d37f77a7bae6db5cf6c7effaba09ebaba3dfe63ab349e34b6024c80d078a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): api/server/routes/convos.js:786 \u00B7 api/server/routes/convos.js:829 \u00B7 api/server/routes/convos.js:862 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"059ef5375c9896b4b8ba6ae16f89347cf44703a2371447d612d88cd936f4f35a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/routes/memories.js:37 \u00B7 api/server/routes/memories.js:48 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e0e42e03feeb21dc28041ac4ea528ddd171eab9306655a50f407495674b682"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/routes/messages.js:633 \u00B7 packages/api/src/apiKeys/handlers.ts:106 \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":"api/server/routes/messages.js"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8b4c792cc4cbf9af1298b2bdd15d8a1df75375ab3783cc9258ba62a7986664f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/routes/presets.js:30 \u00B7 api/server/routes/presets.js: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":"api/server/routes/presets.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"96fdcfd6db4202450cab6f93ed9806c740883a445b13f48d8eef9dfaaf1ea083"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/services/ActionService.js:100 \u00B7 packages/api/src/actions/update.ts:82 \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":"api/server/services/ActionService.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a6ea24c6e73bd47de2fd67f982adae6b9a057d24c9ce6ae9de5596dd42a2452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/services/Endpoints/agents/addedConvo.js:149 \u00B7 api/server/services/Endpoints/agents/initialize.js:752 \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":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a16087f65157208a8b21d973bc2e1e62b7c85f2d62c37c86665d179d6d211f4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/services/Files/Audio/TTSService.js:363 \u00B7 api/server/services/Files/Audio/TTSService.js:460 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0f47979027d9a1f99d724942c09f09a5d9a524b8a12bea0282c396238519a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/services/MCP.js:596 \u00B7 packages/api/src/mcp/zod.ts:4 \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":"api/server/services/MCP.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"78aeddd11674911eafa9ca868831a0b2bba47619b0930ba9899d8c400f1126eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/services/PermissionService.js:254 \u00B7 api/server/services/PermissionService.js:280 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c8f0f34fbd7ad88de590cab3fec6e504a8d0b22679776974183fb8ce624120"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): api/server/services/Tools/search.js:66 \u00B7 api/server/services/Tools/search.js:76 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/search.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d5d03eaabc411b21223b859adbe4485ccab86c652ea953832768ab9ab6c0aa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Balance/Summary.tsx:42 \u00B7 client/src/components/Balance/Summary.tsx:52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Balance/Summary.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1e9a7759ae2be88d40a0a0d877ca249a88744fca92a700fce65596901b1761"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Channels/Apps.tsx:498 \u00B7 client/src/components/SidePanel/Agents/WorkspaceChannel.tsx:555 \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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"967c878674cb835923f5686f118e7bc3c9bf5aced2aa6eb20477289d77523df5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Chat/Input/Composer/Palette.tsx:940 \u00B7 client/src/components/Chat/Input/Composer/Palette.tsx:1018 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"8206b1b9cf0dd569418024c9321e4aa5f3479794127d6fc19b20dfaafaa3399f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Chat/Input/SkillsCommand.tsx:91 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:215 \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":"client/src/components/Chat/Input/SkillsCommand.tsx"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"84395a030f01a0237004f93664c359e914f4a3e923a7b11fe6c9531f919c2606"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Chat/Input/SkillsCommand.tsx:142 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:133 \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":"client/src/components/Chat/Input/SkillsCommand.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef564ca4100adadd93938542f53a3a3b6017249b060e5b08d9b1416a39c1601f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:56 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:106 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:307 \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":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4341dcf0e88336c6f8f54df6312818e22fc93e31d6df1dbe5ab63716cd6335"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:607 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:617 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:627 \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":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90a5ae369a64f7ad796cd04d69725203d643577d78c304409a9f96c67e0bfd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx:214 \u00B7 client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx:106 \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":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4764dc6fa7dd7e4316829ff8da86a34e03c2bd192f4bfdf8da0c955232b00b04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Chat/Trace/Ledger.tsx:360 \u00B7 client/src/components/Chat/Trace/Ledger.tsx:482 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09df0b3e455bb2930467c1301751d6fc1a2458e7213e49a815ec5da345e5413"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Chat/approval/Review.tsx:56 \u00B7 client/src/components/Chat/approval/Review.tsx:234 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/approval/Review.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"181a90f7c16c314da9a3d512a1dd5d6a44ab1b99f3d82bcf5f97d37232da8c2e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Conversations/Conversations.tsx:482 \u00B7 client/src/routes/Search.tsx: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":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c67abe8189362dd7804af7a47d6b55a5765ba15c3138287e52c462f14fe7ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Conversations/ConvoOptions/Controller.tsx:129 \u00B7 client/src/hooks/Sharing/useChatOptions.tsx:185 \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":"client/src/components/Conversations/ConvoOptions/Controller.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4872c7b06b49f01126f7e609a22d74ebc07d62f526098d4f49e736f0f31a85bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Endpoints/Settings/Google.tsx:83 \u00B7 client/src/components/Endpoints/Settings/OpenAI.tsx:50 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/Settings/Google.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5c05db6a18785faf48336d8a535d5e201cb74ec2afd701e41b7207114b59eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Messages/Content/Mermaid/MermaidHeader.tsx:48 \u00B7 client/src/components/Messages/Content/Mermaid/ZoomControls.tsx:26 \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":"client/src/components/Messages/Content/Mermaid/MermaidHeader.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5bf6362af3643fc9d76becab3c0b8c8adf71ad9d5f77d8d57b00368076874d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/ApiKeys/DeleteKeyDialog.tsx:28 \u00B7 client/src/components/SidePanel/Schedules/ScheduleCard.tsx:246 \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":"client/src/components/Nav/SettingsTabs/ApiKeys/DeleteKeyDialog.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccfc0be85a9691a0d1c08a877eca7624380d379b52b7fd4b6f8a1ef99ca73d08"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:507 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:551 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"809c422bc5ff4bcc507a51ef7ecd9d0adf5f997394092835433d58a78d1490b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:228 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4393c4a5545aeb1aacb8a6afa03b61ebd3db9b62e9a92b300d1571da00db83e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Prompts/sidebar/GroupSidePanel.tsx:32 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.tsx:25 \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":"client/src/components/Prompts/sidebar/GroupSidePanel.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"63416a56ea5922648329159e1892e56edf0163d4fd2ff4f1ae749bb08f80e34d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Responses/OAuth.tsx:10 \u00B7 packages/api/src/agents/responses/review.ts:18 \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":"client/src/components/Responses/OAuth.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99202cf827eeb7a82738b2de45ae94f648f0012fab80acbf63f12af2c6fb905"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): client/src/components/SidePanel/Agents/ApprovalOption.tsx:50 \u00B7 packages/chat/src/components/subagents/panel.tsx:838 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ApprovalOption.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1b6adf2949842f85068092cfc366c568e75ebf048f03611b00eedbaddfc159"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Channels.tsx:870 \u00B7 client/src/components/SidePanel/Agents/Channels.tsx:883 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9cd46bace903dd9dfd7ac3129065bb8776d0abd980112cb8cc8e5523076f3f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx:143 \u00B7 client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx:264 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"45628c26ecdc24452816d118e109458de74d6860cf0c6f3edfa0d3dec2e146ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/ModelPanel.tsx:121 \u00B7 client/src/components/SidePanel/Parameters/Panel.tsx:163 \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":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee2a89d6299e5a9f3984729c79e5d150c44580a7533bf3f07e15d1af6c3fdbc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/WorkspaceChannel.tsx:273 \u00B7 client/src/components/SidePanel/Agents/WorkspaceChannel.tsx:448 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"beeb0a2ca40e0f7699e4f8e093dbb3a6efbe3beb38cb79d60f85e0a0acd20ee9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx:364 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/BasicInfoSection.tsx:81 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/ConnectionSection.tsx:17 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32679e63bf09f30a705c98b13edef293b1686c08dd31c6b372a21b2cdcfeadd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/SidePanel/Parameters/DynamicSlider.tsx:92 \u00B7 client/src/components/SidePanel/Parameters/DynamicSlider.tsx:114 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce958479ae3645a96f2409e993df09fb25340e00008f86a1cad91a574f699655"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/components/Skills/display/SkillDetail.tsx:47 \u00B7 client/src/components/Skills/display/SkillDetailHeader.tsx:33 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillDetail.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6807fad781ddc9b03b30648d6b39179d0e8a57ff1e5170576fbceb70f4e7207"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): client/src/components/UnifiedSidebar/mobile/ShortcutTargets.tsx:21 \u00B7 client/src/components/UnifiedSidebar/mobile/Switcher.tsx:19 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/UnifiedSidebar/mobile/ShortcutTargets.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"782dfd1b54dca39e3a75091583817687de51291e1aa1b8712f0ea6282aea1154"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): client/src/data-provider/Files/mutations.ts:119 \u00B7 client/src/data-provider/mutations.ts:2069 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e10560f988230de37cc4ea3899237cc511cffcef5e86da2ac0e2059baec370"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/hooks/Conversations/useNewChat.ts:236 \u00B7 client/src/hooks/Input/useAutoSave.ts:690 \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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a72137c8f18df6b2b271f056f84e97c55cd3243936bdfe9632388e3bd150e6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/hooks/Conversations/usePresetIndexOptions.ts:69 \u00B7 client/src/hooks/Conversations/useSetIndexOptions.ts:87 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/usePresetIndexOptions.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fc79d5584d5de4f85af91c1d6c4c564bb78ca605ab866d8e2056760c079186"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): client/src/utils/diagram/export.ts:153 \u00B7 client/src/utils/imageResize.ts:47 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/diagram/export.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea69ae0ce6e8dfb24f8695da303be64033dfbbf2f623ed3f30007996ad532edd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/utils/localStorage.ts:60 \u00B7 client/src/utils/localStorage.ts:83 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/localStorage.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a31a5ff5a06453185d0ef021501d82182b8ffebaba8084c68217f6aae48ea9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): client/src/utils/markdown.ts:280 \u00B7 client/src/utils/officePreview.ts:15 \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":"client/src/utils/markdown.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b84521c1c600a3456265bb544a311ce2edaded728e7cb8d109ac1ee8f5f3c88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): config/list-balances.js:38 \u00B7 config/user-stats.js:47 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-balances.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d8b0db26d6f7289e7916b3e710ceaaafa524d3557928c8b494ce1a99a25552"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): config/migrate-agent-permissions.js:245 \u00B7 config/migrate-prompt-permissions.js:212 \u00B7 config/migrate-shared-link-permissions.js:348 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-agent-permissions.js"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb06ac83e97d3afbfc28ba1dae4c07b28eae141c0048234a8c7fa5ce9afe61fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): config/smart-reinstall.js:39 \u00B7 config/update.js:17 \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":"config/smart-reinstall.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dbe6b1ca249f62ef3417898f6bcb76dc2ce516c6a7e6b2580ab5a2496975fb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/acl/accessControlService.ts:548 \u00B7 packages/api/src/admin/lease.ts:63 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7904a0ebbcd511c3306542f282de7ea6230752ad3acde4d2546aff29fea5b18b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/actions/credentials.ts:44 \u00B7 packages/api/src/actions/credentials.ts:58 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/actions/credentials.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"118d188d42353a754824ff38b7f9687a739d0df2d06af559c3c4988bffdb3d17"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/admin/config.ts:554 \u00B7 packages/api/src/mcp/zod.ts:224 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b7b4949b8327e706004459be25dc523a6fc0c296bf1e012e5d6259a4d35ff5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/api/src/admin/config.ts:3727 \u00B7 packages/api/src/admin/config.ts:4090 \u00B7 packages/api/src/admin/config.ts:4887 \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":"packages/api/src/admin/config.ts"},"region":{"startLine":3727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da0e390ced5c697e9d08b4cea327addd5e203a19808760df7eba414bbc728f5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4065 \u00B7 packages/api/src/admin/config.ts:4227 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4065}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6e2ae4ba7d8be0946aec6c066b36561216c511678eaf6f4e8061e1a90e787d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:310 \u00B7 packages/api/src/admin/groups.ts:320 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"edb4f5f0ebdc96926b89a84a90412befeef636b6b72bd2d9ba4579c2d94f56f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:764 \u00B7 packages/api/src/admin/roles.ts:1315 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dec8ac61bccd76f18cc0a25a17440a1dff75e8ca59fd84c4d81b0faed1b95e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/activityLabels/wiring.ts:24 \u00B7 packages/api/src/agents/reasoningLabels/runtime.ts:125 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fad227bda88bc1c395b695f701312afb4ca115c14a5039b8df05c4f2e354ce3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/api/src/agents/activityPhases/runtime.ts:431 \u00B7 packages/api/src/agents/activityPhases/runtime.ts:1617 \u00B7 packages/api/src/agents/activityPhases/runtime.ts:1655 \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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f4368300d847e695127f79ea8841d99215b2af18b024427426a86a1e5f0c35"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/files.ts:140 \u00B7 packages/api/src/mcp/catalog/store.ts:444 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6503fccbb7539d0665728cd89797f12daa009d7436cffe4ec4338464e949f9a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:2309 \u00B7 packages/api/src/agents/handlers.ts:2421 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2309}}}],"partialFingerprints":{"codehealthFindingId/v1":"5554f1b65b304169f1b5936ce9221b712c9e70c1816ba33fba9f7cd585dd10a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:3949 \u00B7 packages/api/src/agents/handlers.ts:4094 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3949}}}],"partialFingerprints":{"codehealthFindingId/v1":"735ce083ea20f134232fa84386c7776cb094399e86815178811d76a143e0ede8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:7462 \u00B7 packages/api/src/agents/handlers.ts:7881 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca539a6dc008b80fac0abe25217ebfe37f4b44f6da7c5d10f778bb2aa7868a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/hitl/answers.ts:258 \u00B7 packages/api/src/messages/history.ts:60 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"978b498eb52de2c01039771ff422298887a50796b50c93f0e2b6df3d433349d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/initialize.ts:1982 \u00B7 packages/api/src/agents/initialize.ts:2857 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1982}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e814dce91ede372d09b1f36276e2f75425eaf2df99d76bcda566c6370d97e9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/lazySubagents.ts:57 \u00B7 packages/api/src/agents/triggers/delivery.ts:56 \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":"packages/api/src/agents/lazySubagents.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d402ab487c81d95480469a7c207ef72e0111118958aa53e04eca92d2086c88"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/memory.ts:574 \u00B7 packages/api/src/app/service.ts:750 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9598201d80d5f4954aa8e5279d2f9da8653c8c392e80424e7d98344f1035b61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/openai/handlers.ts:844 \u00B7 packages/api/src/agents/responses/service.ts:1283 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"d647c305fea334212801abd6c641baa28d28ae361a680f0a7ac65ad89068c84c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/prewarm.ts:152 \u00B7 packages/api/src/agents/run.ts:1932 \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":"packages/api/src/agents/prewarm.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"804dacbcf9249feacc8fd13d4e80de4cea1f5672f28227a445a658b87926cef3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/queuedTurnHttp.ts:436 \u00B7 packages/api/src/agents/queuedTurnHttp.ts:478 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6ffc1add828d6dc7df6b6e9fe510e7fc4721a6956bed1e8924106e4d80a635"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/responses/decision.ts:191 \u00B7 packages/api/src/agents/responses/retirement.ts:197 \u2014 the two spans are one implementation copied and then locally edited \u2014 86 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"66e8ed52196a7d39387ccce9111cba67551a1d47cd1f55ba7e9d2b4ad73c65b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/responses/handlers.ts:687 \u00B7 packages/api/src/agents/responses/handlers.ts:715 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/handlers.ts"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70e949beea3cc16231b4da5cc926aa4962dc72cc85a65f983a85a439bab51ec"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/responses/pause.ts:42 \u00B7 packages/api/src/agents/responses/review.ts:54 \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":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"454adcfecd402998be29f3a91e6f359e1b7ad6a6de4298f5642ac3fec87fc9da"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/responses/service.ts:1021 \u00B7 packages/api/src/agents/responses/service.ts:1411 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f327e5240a40dd233b8572a93109faf4c8488f0a72d13bda91527a44ac812e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/skillFiles.ts:562 \u00B7 packages/api/src/files/provision/service.ts:314 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"f664a8aa39b4e38f3a5b14bd75532a8edac533a90f44bd6052267cdcccc64a38"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/skills.ts:1146 \u00B7 packages/api/src/agents/skills.ts:1308 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b936ca1fc9495f076b631239aa76e0310fde61cb5fb6b304ef9e980a98f759b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/skills.ts:1407 \u00B7 packages/api/src/agents/skills.ts:1609 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1407}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ee0f747e65a0acb141abb227b251c60d7276bdcbd197aa60a502966543ec84f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/subagentTaskRouting.ts:744 \u00B7 packages/api/src/agents/subagentThreads.ts:775 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"de149d3261df97f5aabe2de7bf625cf7aba96dda4ac8f27c8236d97aa75cbfe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/triggers/actor.ts:734 \u00B7 packages/api/src/agents/triggers/actor.ts: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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"69972657d2bdf19d4e26f784de09295f43f18d02f1155047d8b3c9207c868ae3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/triggers/engine.ts:390 \u00B7 packages/api/src/agents/triggers/engine.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4e670eb62f0e8543224e4dc40ab3befc00ce2e5f6b049d6e66f0a4055343a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/triggers/envelope.ts:396 \u00B7 packages/api/src/agents/triggers/envelope.ts:416 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"723ec9dfad6ffc16d758606316f094708bc06616f9b8f39018ed16449b7a7cba"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/agents/validation.ts:113 \u00B7 packages/api/src/openapi/agents.ts:29 \u2014 the two spans are one implementation copied and then locally edited \u2014 129 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validation.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d670a6d9083fe1f1d16977e874116717a838a7601732f2e3704d91547af13cf6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/agents/view.ts:587 \u00B7 packages/api/src/agents/view.ts:805 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55b1c7c606ed25c981d439d7cbde8789cf5762e1d822b956a6565d09e0d8716"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/auth/enrollment.ts:360 \u00B7 packages/api/src/auth/enrollment.ts:467 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"932d54bd3492fe716a4b2128d3243acb268be125333519ee626c3542470edad1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/auth/openid/reuseCredential.ts:18 \u00B7 packages/api/src/images/authorization.ts:195 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/reuseCredential.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"2653f58bdac4c225f77ef49c1d23f8994bc4026d564a83653e77967928d49a46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/cache/redisClients.ts:114 \u00B7 packages/api/src/cache/redisClients.ts:266 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisClients.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a22f73998e388396b6c4a4f6926ab754812300bdf9c36fa8e3b6f862f619f98d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/channels/feedbackHttp.ts:21 \u00B7 packages/api/src/channels/identityHttp.ts:78 \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":"packages/api/src/channels/feedbackHttp.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"497bea44c464f70a17d4e6b58c7a43a4d9d5cbb9bbe97f6f76547fe001015cf7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/channels/runs.ts:963 \u00B7 packages/api/src/channels/runs.ts:1041 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9ff929723a330154a0b0db088cb47037ea7b4ee052e6e9f3d682712798685c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/channels/workspaces.ts:314 \u00B7 packages/api/src/channels/workspaces.ts:324 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2ca2dfb8df51660a3257b639ea4e5cc969f52a0d31cf355dea4195870fa9793"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/code/bridge.ts:396 \u00B7 packages/api/src/code/workspace.ts:799 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e2c616365f841a0a90d31da3e3e44393ec533b34411647f54290f13fe8dab3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/code/capabilities.ts:152 \u00B7 packages/api/src/code/http.ts:358 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"152542c3e004a842ea24818874f622d6dc4b7f9291d48baaf12793e96c5a9919"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/code/config.ts:159 \u00B7 packages/api/src/code/config.ts:169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/config.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c25536b1dad2dc541d6f2f8f66f5f17a59d721e6f3ea72539f97694b215ad3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/api/src/code/http.ts:407 \u00B7 packages/api/src/code/http.ts:891 \u00B7 packages/api/src/code/http.ts:962 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07770370661af2a10c1f43e55502306cd50bdae5e1ed4810ab346f0b92367ff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/code/http.ts:619 \u00B7 packages/api/src/code/http.ts:740 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"652eff8d1c86e1486ae5eb7c98f6a2c1844828deebf3bcc5427ef051c3846299"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/code/inheritance.ts:75 \u00B7 packages/chat/src/core/code/routing.ts:155 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/inheritance.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b2b9b760668c9bab796a66cd2c31231efaa2c545721ccb3fd0dd52fda67f90d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/conversations/archive.ts:44 \u00B7 packages/api/src/conversations/rename.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 91 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/archive.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cefd2c74efa255de86b86e54b999dadbddfaec07bcef8d4e64d46ec0072fb7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/endpoints/anthropic/llm.ts:114 \u00B7 packages/api/src/endpoints/google/llm.ts:155 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc3996e0bb38eb70d2ee26447b0917ee1d1a2bfce2dedff80e6f3eb9380fa8e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/api/src/favorites/handlers.ts:72 \u00B7 packages/api/src/favorites/handlers.ts:98 \u00B7 packages/api/src/favorites/pinned.ts:80 \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":"packages/api/src/favorites/handlers.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7f92b0f04cbddb9d62c1260d7a1872c61d22e21e9c056c007747d0a25ee4fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/files/documents/html.ts:1369 \u00B7 packages/api/src/files/documents/html.ts:1436 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/html.ts"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4d10fcf1e66ce4d7e4239365d35d85f8d82bb2242892ea1d9069e9ff2d182f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 7 locations): packages/api/src/files/validation.ts:73 \u00B7 packages/api/src/files/validation.ts:252 \u00B7 packages/api/src/files/validation.ts:276 \u00B7 packages/api/src/files/validation.ts:305 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/validation.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"875fca49ee14275189ab6eb36855317ec148f654d672a746e4ae3404e78bb8b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:1034 \u00B7 packages/api/src/mcp/MCPConnectionFactory.ts:1367 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"afce8648a55be93fa1797daf28f6624a59531f4981864aed4249ef0e98d47939"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:1556 \u00B7 packages/api/src/mcp/MCPConnectionFactory.ts:2522 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7d833ab2a20c1e15f4c9db02dacb622465f54f5c61f62623b2a8d9de1b8e00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:2014 \u00B7 packages/api/src/mcp/MCPConnectionFactory.ts:2074 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"155e48b28d5680bbee843943575134fde24921d10ad029c7d9d2d1ed1632d435"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/MCPManager.ts:2693 \u00B7 packages/api/src/mcp/MCPManager.ts:2704 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a9f79b21d036b616de886fd362353eb5e650fd18d68aa3ff6999063b552fa50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/UserConnectionManager.ts:258 \u00B7 packages/api/src/mcp/oauth/OAuthReconnectionTracker.ts:119 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"427570a20d6bf6333c5d2bfa0284bb9eea1fedbd73fbe1c0c51aaf630f758fe5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/connection.ts:1207 \u00B7 packages/api/src/mcp/connection.ts:1225 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"b018639fe5dac7af752f298a1927e5f0c6b1142c3b79e5cd538791e21b854d41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:210 \u00B7 packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:336 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3d9a10de7e03667281ec75080166c7deb838859f2fb4a3dc8c5ee6558c4cd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/mcp/utils.ts:960 \u00B7 packages/data-schemas/src/methods/mcpServer.ts:42 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/utils.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81ea9123575c5c5bba4e4f54825374ff76c37845dacb0cebed5283c7e486651"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:2698 \u00B7 packages/api/src/middleware/modelBoundContent.ts:2718 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2698}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1aa006d9dc75a00ace107d88d3a9c1997e00e21f81b6e53b557a3fa6dc304f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/oauth/failure.ts:187 \u00B7 packages/api/src/oauth/failure.ts:230 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/failure.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d91eb98b6436455058fab56a23e65734a003e9f4becd69e9d019b4a2304109cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/oauth/tokens.ts:204 \u00B7 packages/api/src/oauth/tokens.ts:310 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"4841e8f35d81eb8950daceebb02b1139265b02d87994d73a57e6fe87f58a5df7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/protection/private/submission.ts:577 \u00B7 packages/api/src/protection/private/submission.ts:597 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca27373b036c7abf4a4e7264b7cf656efcfa6679e794e45b1ca093ea3470283"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/rum/limiter.ts:46 \u00B7 packages/api/src/traces/limiter.ts:32 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/limiter.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f5a648092a8e98d8e6ae7eaa866db511caff07045de65c742473e0144d1a91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/shared-links/service.ts:287 \u00B7 packages/api/src/shared-links/service.ts:312 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/service.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9cca8faa654727b59539ff4bd3c757a5fdff4474eb931b0e24a2f2291bf2de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/skills/deletion.ts:124 \u00B7 packages/api/src/skills/deletion.ts:178 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletion.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1709156ee0c9570962020f1e42e0f1579982f187f71bd013e7bb96a9a599027c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/skills/deployment.ts:1084 \u00B7 packages/data-schemas/src/methods/skill.ts:1126 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b9f7307f2b1b1e9afbc831e4e1bbfa4c5ea332a61df5ac82e96bd79e355e5ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/skills/handlers.ts:461 \u00B7 packages/api/src/skills/handlers.ts:578 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c7eb576391c1e711daff6de23d8e1a116a5bb7da917b1ee5e4c15a8e069cbfd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/skills/management.ts:74 \u00B7 packages/api/src/skills/management.ts:103 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/management.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72f3bbeb0f78422111548574b57c2e310df3aed1cfcdc6c0e4ac665f3cbd28d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/api/src/storage/cloudfront/crud.ts:315 \u00B7 packages/api/src/storage/s3/crud.ts:567 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/cloudfront/crud.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8af4af6176820be953e1563c1828387ce3c1d63cdcc33bb04bb155448349e84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/storage/validation.ts:1 \u00B7 packages/api/src/storage/validation.ts:27 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a067649133f59e3ccaaf3ec33d6e7e969b42af168cea4d3a18769077b1e255"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:5845 \u00B7 packages/api/src/stream/GenerationJobManager.ts:5858 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5845}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd3051f3903fc6361d0bf926f91b69362ca6797fce785a868d0ad6887c81c87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:2234 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:3005 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2234}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a0f3c3a8bab816308e6aaab5be3bb308b407936afc5c3cc3166d3df6499490"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:2213 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3160 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2213}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c78a6db6593e723a0111ff1ed72252f50c301aca52cc63ac673ecc50225308"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/api/src/stream/implementations/RedisJobStore.ts:3356 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4939 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4958 \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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3356}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d5b5c32466797598bedaffb362efed3e9e4227cbc35a36e0eb1d24af457eb4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4213 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4223 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4529 \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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4213}}}],"partialFingerprints":{"codehealthFindingId/v1":"44890b35ce08ed9bcc2962d63be44371a1445db0b12fc4f5a547fb4551567af9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4524 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4538 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4524}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43611648aad83e3107bdc5c8940479c3e9eff6cd17384de7d805990c9e85661"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/api/src/tools/definitions.ts:557 \u00B7 packages/api/src/tools/definitions.ts:568 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7bd4affe14817d5229f564fb0d28ae47332d09cd7cb2ec881a05044e98ab43"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/channel-gateway/src/identity.ts:191 \u00B7 packages/channel-gateway/src/identity.ts:256 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/identity.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"c524e524e700bb83510a939bf7fa952240af19e25077279b18104b96291146ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/chat/src/core/pending.ts:231 \u00B7 packages/chat/src/core/steer/steer.ts:376 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/pending.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"84f27fee8db176ab4ea5fa3e3706c4f6de1e1243d355f5c91e8ccaa2bbe9c599"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/chat/src/core/reducer.ts:184 \u00B7 packages/chat/src/core/reducer.ts:301 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a92fc032034fbb605664bb0bb5f6393e6fe700ea03341c8beccf45ab1a78e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): packages/chat/src/core/resumable/frames.ts:39 \u00B7 packages/chat/src/core/resumable/reconcile.ts:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99b3c7a08edac5bdb9ed4420247c0a839c9fa1ced0c4956877938a8a30a5ad4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/chat/src/core/resumable/terminal.ts:94 \u00B7 packages/chat/src/core/resumable/terminal.ts:212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/terminal.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b90e11bd477c76ec7a73ce093077e13a7c0705adedb733b324ee1864d3d2bb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/chat/src/core/usage/registry.ts:237 \u00B7 packages/chat/src/core/usage/registry.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/registry.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a5c5928a15dfffc85255b0251d04fad31be5f0c88db4431187d93984a336bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-provider/src/data-service.ts:925 \u00B7 packages/data-provider/src/data-service.ts:937 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/data-service.ts"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e2033a0338dfaaca89ba9af9c71f6e76715f98cde117e8895ea0283b412203"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/agent.ts:2104 \u00B7 packages/data-schemas/src/methods/prompt.ts:391 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f775dfc5077b363c9133e80de90ef281fa41bc6830db121d7dce21c12ec7a452"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:1492 \u00B7 packages/data-schemas/src/methods/conversation.ts:1545 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1492}}}],"partialFingerprints":{"codehealthFindingId/v1":"1693041b67deca2969212d14e72ed7d1e11e6443a871bcc6782e96c65702b726"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:1590 \u00B7 packages/data-schemas/src/methods/conversation.ts:1891 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1590}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bca7090a02b59d33130b9461c79a448f685d36f835411f07bde82cc2176215"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:1834 \u00B7 packages/data-schemas/src/methods/conversation.ts:1846 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1834}}}],"partialFingerprints":{"codehealthFindingId/v1":"c105a91d645483f000d42abe89ca86a1dc200cbe8f883702fd19e88c7fecb837"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/conversation.ts:2202 \u00B7 packages/data-schemas/src/methods/conversation.ts:2224 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8206a054b07234bfdc5e28fd55a38eaa02180164eb3798e7f83acdd29fbbfcf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/openidRefreshFlight.ts:298 \u00B7 packages/data-schemas/src/methods/openidRefreshFlight.ts:372 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/openidRefreshFlight.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"11720db3ea40676cecc0f62ab6f251fb6c936fdbf667afe7e29392ecc57fa94e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:1721 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2692 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1721}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c423dd13e8082f1874c1a6089785d6050bc35086f895328d494a780fc110536"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:1881 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:1949 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1881}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c8119cf1a283d067bf24e1efc7ce48261e667ec8618206e68529ea514b3c6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/data-schemas/src/methods/queuedTurn.ts:2127 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2196 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2306 \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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2127}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f44e38682bc3c59cb9bac1058967e1c1c5738b5cf1561875a293fdaf4c73d0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3 locations): packages/data-schemas/src/methods/queuedTurn.ts:3082 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:3103 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:3130 \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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":3082}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab777da1a15a89cbdc17bcc16a0985795433f00ffa2bcb5cc90cca0ef24ace6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/response.ts:417 \u00B7 packages/data-schemas/src/methods/response.ts:486 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"563d07942c36bebb28fdfaba6688e9d3e4930a96a7a0b4da1fe149cb6e300984"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/skill.ts:1410 \u00B7 packages/data-schemas/src/methods/skill.ts:1461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f0ced44f58e8cd8c021e682aceb62c1c5e2b75d0f9c94e48cfd3c30fe1b08d5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/methods/systemGrant.ts:352 \u00B7 packages/data-schemas/src/methods/systemGrant.ts:422 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6ca62f8a0169de72538dc07e7b88d2d7dcee2e0dc6e0b70d07e5aa42ee2e8dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4 locations): packages/data-schemas/src/methods/triggerDelivery.ts:1256 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:1462 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:1956 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:4874 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1256}}}],"partialFingerprints":{"codehealthFindingId/v1":"6052daa2c9fb3c7cb226f992ba96691b977b254345a15f34b7aa181349459b4d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/models/slackRoute.ts:9 \u00B7 packages/data-schemas/src/models/slackRoute.ts:37 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/slackRoute.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"37824e7464a85bb42f0748c3e3bd0b8b2f5065308ae35f8bc662facd403fa331"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): packages/data-schemas/src/postgres/import.ts:49 \u00B7 packages/data-schemas/src/postgres/import.ts:196 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d90d816b209e438f47d89d5325b70f5a656dfa27b0c45dd931e7d8b9a05a110d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): scripts/static-checks.mts:800 \u00B7 scripts/static-checks.mts:1834 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"146e22891c618bcb99d203ed10ccd53f8c2fb9c0342c5a5101a9b498a54b5e6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): api/server/controllers/TwoFactorController.js:69 \u00B7 api/server/controllers/TwoFactorController.js:156 \u00B7 api/server/controllers/tools.js:64 \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":"api/server/controllers/TwoFactorController.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cd269c68e541fee184e32551fbc6995abf7154a2e580ecdf6c5acfc13b2472"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): api/server/controllers/agents/callbacks.js:582 \u00B7 api/server/controllers/agents/callbacks.js:631 \u00B7 api/server/controllers/agents/callbacks.js:647 \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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd07dac7771ae829931bc97766ae2c5055b84e2c358612091b86dfdcb597f076"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): api/server/controllers/agents/client.js:6122 \u00B7 packages/api/src/utils/promises.ts:21 \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":"api/server/controllers/agents/client.js"},"region":{"startLine":6122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d89a36cc8a251d227ebfde9d0d69aa08fb2e9861697b4c1407eb6c57a4921e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): api/server/controllers/agents/v1.js:1046 \u00B7 api/server/controllers/agents/v1.js:1084 \u00B7 api/server/controllers/agents/v1.js:1789 \u00B7 api/server/controllers/assistants/v1.js:273 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4a1217f654bedee97c45d7afb361664d79b18a7b0c9acc6ebc472c4ea566dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): api/server/controllers/mcp.js:355 \u00B7 packages/api/src/favorites/handlers.ts:63 \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":"api/server/controllers/mcp.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"773b21b57209775b5a69196acd129cfa6454a3dac123f53ad1302563436ae48f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): api/server/middleware/accessResources/canAccessAgentFromBody.js:132 \u00B7 packages/api/src/middleware/share.ts:194 \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":"api/server/middleware/accessResources/canAccessAgentFromBody.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34b6a75118888d84cffba8b85263c6ef3f71613bf5a558c3aa6bee12cbeda56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): api/server/routes/actions.js:22 \u00B7 api/server/routes/mcp.js:779 \u00B7 api/server/routes/mcp.js:1202 \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":"api/server/routes/actions.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"17f2e08b22ae86bcdb181647f5388cb8610f947aef089430aa670dd5be86f2a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): api/server/routes/admin/auth.js:346 \u00B7 api/server/routes/admin/auth.js:399 \u00B7 api/server/routes/admin/auth.js:450 \u00B7 api/server/routes/admin/auth.js:501 \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":"api/server/routes/admin/auth.js"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"84720513f3a890935d8005501a8525b3b533ff1680f374c61f4de5e6e1a33c6c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): api/server/services/AssistantService.js:381 \u00B7 api/server/services/Runs/StreamRunManager.js:574 \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":"api/server/services/AssistantService.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"e572e1a524b027d507b0c62408fb959ab963cad6c4026e84e0e1f0c45a6dc106"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): api/server/services/Endpoints/agents/initialize.js:1830 \u00B7 packages/api/src/agents/discovery.ts:391 \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":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1830}}}],"partialFingerprints":{"codehealthFindingId/v1":"17e3df67480ced1bce444c1d47e9022b1725c0249ec52da90a91264e70c748b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): api/strategies/localStrategy.js:44 \u00B7 packages/api/src/auth/passkey/handlers.ts:654 \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":"api/strategies/localStrategy.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc70a80e8964fc7624b8ae38625d8ece524af9fab1ae0c678f81b781000abc4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): api/strategies/validators.js:34 \u00B7 api/strategies/validators.js:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 63 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":"api/strategies/validators.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"319fdde2b35ee3749bd5ef686836a225d08e98b45e3a6d7d8f54efcb60f5f82a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/jest.resolver.cjs:9 \u00B7 packages/client/jest.resolver.cjs:9 \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":"client/jest.resolver.cjs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4f2882e0a15aae3861cecf7af16a2cfe01a5f5c93c97afc84e2bf753934b6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/Providers/AgentPanelContext.tsx:43 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.tsx:23 \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":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3efdf70352d7fc49c81f2aed06f09097c824b6ac73ac138bcc54c3a962a849"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/common/types.ts:384 \u00B7 packages/client/src/common/types.ts:14 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/common/types.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"09efa9ebff2969408724718f71974dfbfe23f3ef018e6d33334d507ca0728aff"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx:33 \u00B7 client/src/components/Nav/Favorites/FavoriteItem.tsx:62 \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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e436c8cff17c68255e7d44c1e011b9c4e6046cc8c4eac789590f40ffb965b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx:49 \u00B7 client/src/utils/files.ts:146 \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":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c19a5a44fbada19b11e3e84f2d04eab748644eec907f53fa0d388aa3e82ecd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:57 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:107 \u00B7 client/src/components/Chat/Messages/Content/Parts/Attachment.tsx:308 \u00B7 client/src/components/Chat/Messages/Content/Parts/ToolMermaidArtifact.tsx:42 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3864c9a3de20288297bb85e8e0e155a59df4349fba250b3f267139f1a9372bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/Conversations/ChatFilterMenu.tsx:365 \u00B7 client/src/components/Conversations/ChatFilterMenu.tsx:753 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ChatFilterMenu.tsx"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c53c19524749292010ef44555b2583850dc9aa7bdec244971efd95a6b3a486"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): client/src/components/Input/SetKeyDialog/InputWithLabel.tsx:47 \u00B7 client/src/components/Input/SetKeyDialog/InputWithLabel.tsx:61 \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":"client/src/components/Input/SetKeyDialog/InputWithLabel.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb82ed0661d1919a69e03d1904330df7ed072126a606ec432f51aa60f79fc1e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/Messages/Content/Error/ContextError.tsx:111 \u00B7 client/src/components/Messages/Content/Error/ContextError.tsx:134 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Error/ContextError.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"313a0a12d944bfdb255706cad2e7d3537985f8b09be06383201fc80e4f97145e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/Prompts/fields/CategorySelector.tsx:92 \u00B7 client/src/components/Skills/forms/CategorySelector.tsx:49 \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":"client/src/components/Prompts/fields/CategorySelector.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f99c46aa93dfc09452951e121aa7773ebfc4bbe61b5e6b9850557a3b05fa2a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/ActionsInput.tsx:271 \u00B7 client/src/components/SidePanel/Agents/ActionsInput.tsx:326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"829fd13cd208ae0caa5f6345109da3f011ca2219b10b24cc637fb7a72056823b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/Skills/display/SkillDetail.tsx:122 \u00B7 client/src/components/Skills/display/SkillFileViewer.tsx:204 \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":"client/src/components/Skills/display/SkillDetail.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"9513ecc23143d0c16d3e3ee9651cec7abc60e2f0b9f50be9ab7419f053f89e8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/components/Web/Sources.tsx:42 \u00B7 client/src/components/Web/Sources.tsx:72 \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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adcbcd978e03b5614a8ecc29f182100bab0789d65b8b0bdd991a9bb790ce72f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): client/src/data-provider/Files/sharepoint.ts:50 \u00B7 packages/api/src/storage/cloudfront/crud.ts:302 \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":"client/src/data-provider/Files/sharepoint.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d7e5efd7c36b5ad5e23497c3d9c6a38a59025309d42d46dda1d95d7aa82b01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): client/src/data-provider/Skills/mutations.ts:29 \u00B7 client/src/data-provider/Skills/mutations.ts:68 \u00B7 client/src/data-provider/Skills/mutations.ts:91 \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":"client/src/data-provider/Skills/mutations.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c503abc7a9fb6ffd2ec57a431550bcae7442256f977e693d9ddbf1d59d8c50b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/hooks/Conversations/useAddedResponse.ts:58 \u00B7 client/src/hooks/useNewConvo.ts:237 \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":"client/src/hooks/Conversations/useAddedResponse.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0d86fef383f7ae64e3fa8566e9bbd23690947c5856beaa2473be1b56f1fc13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/hooks/Conversations/useExportConversation.ts:168 \u00B7 client/src/hooks/Conversations/useExportConversation.ts:180 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useExportConversation.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6604591ccfc31f5b9ab11027ea43930f822a5f8ef96210983056df9370a918a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/hooks/Files/useFileDeletion.ts:74 \u00B7 client/src/hooks/useNewConvo.ts:523 \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":"client/src/hooks/Files/useFileDeletion.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad18cf19a1b4b3a6f154330023d65e0a905231f331a6208f65b9c71a98657274"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): client/src/hooks/Input/useDictation.ts:144 \u00B7 client/src/hooks/Input/useDictation.ts:183 \u2014 the two spans are one implementation copied and then locally edited \u2014 56 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useDictation.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"12ca05f12221d16d9ea957a2082ed00f6fe576c1c39f58111081bbb3e39d4d1b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/hooks/Input/useSelectMention.ts:100 \u00B7 client/src/hooks/Input/useSelectMention.ts:271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSelectMention.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a7bf73475785facc9387eca1c34db72884ab90ba3753fa6dd0549d0448650b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/hooks/Input/useSpeechToTextExternal.ts:280 \u00B7 client/src/hooks/Input/useSpeechToTextExternal.ts:329 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSpeechToTextExternal.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6279cd7c4c1aaea451dbd6c4185f1990139731f1e5555f50100a7ee6abaf79a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/hooks/Messages/useCopyToClipboard.ts:329 \u00B7 client/src/hooks/Messages/useCopyToClipboard.ts:350 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"282a9bc46bf57a0970487a9e28dfbd31dcd4ddb9efa03070eb9073e4b426f04c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): client/src/hooks/SSE/cache.ts:39 \u00B7 client/src/hooks/SSE/cache.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 53 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":"client/src/hooks/SSE/cache.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf207fedad687e2a7004fc7e7cadc7243b7b0929e89652b979b3774877a804a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/routes/Search.tsx:117 \u00B7 packages/chat/src/core/thread.ts:51 \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":"client/src/routes/Search.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"200bfc3cfb7f5463d0c79114113f9a5592464f615e49dd5308c2bc19b397729b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): client/src/utils/collection.ts:3 \u00B7 client/src/utils/collection.ts:53 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/collection.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f1e5fb8c5aa1090a0d4e46f178873852b0c5596c5238c267cb0be02e7f0a58"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): config/create-user.js:4 \u00B7 config/reset-terms.js:2 \u00B7 config/set-balance.js:5 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/create-user.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae305df93e969b2d5257b9b2c04758625e6fb7b086bf36cb24cc36c9d11709bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): config/delete-banner.js:4 \u00B7 config/migrate-terms-timestamp.js:6 \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":"config/delete-banner.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3112c3214a84a8e7e9497f6356c96526649ca95d309c33d66c2a91ec6d3248a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/acl/accessControlService.ts:285 \u00B7 packages/api/src/acl/accessControlService.ts:333 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57c63875962afc548aed167b725dcb3ab74f17a18a9a71c92e80edff80866db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 7 locations): packages/api/src/admin/grants.ts:290 \u00B7 packages/api/src/admin/grants.ts:337 \u00B7 packages/api/src/admin/grants.ts:378 \u00B7 packages/api/src/admin/users.ts:186 \u00B7 \u002B3 more site(s) not listed \u2014 the 7 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeef426a6c8f4ac52332cb722855a711f79b0706c41ba107cb305f4dc68cda1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:685 \u00B7 packages/api/src/admin/roles.ts:1159 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"0999554def6ddc23948e90c9ef1837eb562c44c310c1ffe188f1ef87e2e9575a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:504 \u00B7 packages/api/src/admin/langfuse.ts:681 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"135c5a34a2e9a3b309d0592a811b186ce0f918fb0798e7b486b7e79046f68f8d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/admin/roles.ts:851 \u00B7 packages/api/src/admin/roles.ts:1402 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdfe3328f0feebe73f2d7bd3187adccfc8abc64813e57a2cc8a3841571616fd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/admin/secrets.ts:1275 \u00B7 packages/api/src/admin/secrets.ts:1352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1275}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05187d91b5587c3a1b48282b97abdc1c05a53b166746d3a63511dc51dfdc1ce"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/activityLabels/wiring.ts:127 \u00B7 packages/api/src/agents/reasoningLabels/runtime.ts: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":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"363e7e016461189c1b406164b8f5ae85ed599660f58778c020f07edebfc4b003"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/background.ts:3257 \u00B7 packages/api/src/agents/background.ts:3303 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":3257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4943330469fd3ff2562f783d3e41b7d78098921a507c579c29ed49b88698ab74"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/files.ts:549 \u00B7 packages/api/src/agents/reads.ts:151 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f43dba0933fe39a0c592ab33c65c206d1851f7825beb59b07a03c8feb12bfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/files/snapshots.ts:91 \u00B7 packages/api/src/code/workspace.ts:1138 \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":"packages/api/src/agents/files/snapshots.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c299258ca30d6d1d1503adc651c9856a5f2fca2e31ad2c8d19cd8939dcbf0bd7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:3137 \u00B7 packages/api/src/agents/handlers.ts:3147 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f9f13e071c1550abb5ff2017a91263ddacb2072180feb728ac16fa4d77bbc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:3410 \u00B7 packages/api/src/agents/handlers.ts:3511 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3410}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dcaf0460ab9cfb48a0b33a24a219443790248e27377c203aa49086db8c4734"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/hitl/admission.ts:334 \u00B7 packages/api/src/agents/hitl/byom.ts:90 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a225ff69d62a8f4dedc503d54872ff899b4b216e0d698834a18e16ff00ad2ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/json.ts:63 \u00B7 packages/api/src/agents/json.ts:90 \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":"packages/api/src/agents/json.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d35504ee7892ec42859379f97ab7d8eff1242f27f4404e4a31a8b7e6cf186067"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/queuedTurnHttp.ts:338 \u00B7 packages/api/src/agents/queuedTurnHttp.ts:397 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"89244c23f99ea6ed0ff133e70541053f58d69e495bc1e4ac6cc2cf0e55db69f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/queuedTurns.ts:1010 \u00B7 packages/api/src/agents/queuedTurns.ts:1048 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":1010}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ed59f9e55f953c8df3dae0a76635b7e963bc091e3062b1223bb3c6bfc1f05b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/responses/completion.ts:72 \u00B7 packages/api/src/agents/responses/pause.ts:43 \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":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2c8009951447021ba16bd14d23784e1b8b3bc6375f6382ec1cc9c96f7ed259"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/responses/completion.ts:72 \u00B7 packages/api/src/agents/responses/review.ts:55 \u2014 the two spans are one implementation copied and then locally edited \u2014 84 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"789364d1c4125fb2974fca85ad6e581f5742d2b70e35f82b7dbdb7fbeb017e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/responses/completion.ts:72 \u00B7 packages/api/src/agents/responses/runtime.ts:744 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03767a08d045b31bd4fa1dd20c899c7f1336cb3c092244b6a13e455f42cfb2b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/responses/decision.ts:190 \u00B7 packages/api/src/agents/responses/pause.ts:42 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2080fb5431c7f852b3c99862782a3051a020657d6f778ab88331bd330ca2191e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/agents/responses/review.ts:55 \u00B7 packages/api/src/agents/responses/runtime.ts:744 \u2014 the two spans are one implementation copied and then locally edited \u2014 82 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/review.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71bc3c230a9c95ca26d47eb9a88aa606809cce0f6bdf2bbb75353c61e0f040b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/agents/responses/service.ts:974 \u00B7 packages/api/src/agents/responses/service.ts:1368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"42cec7b13933e2fe9fb43adf766c2923c5860a626f3096cb9e900f6f29826f34"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/api/src/agents/steering/request.ts:537 \u00B7 packages/api/src/agents/steering/request.ts:983 \u00B7 packages/api/src/agents/steering/request.ts:1093 \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":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d446abb3316cb9c61ec1fe3632350421bdcc88b45adaed554c2aec7028f21f55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/api/src/agents/subagentTaskRouting.ts:411 \u00B7 packages/api/src/agents/subagentTaskRouting.ts:511 \u00B7 packages/api/src/mcp/catalog/store.ts:314 \u00B7 packages/api/src/mcp/catalog/store.ts:326 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8016499a0cf6fdfd047e85203becc76d1995be696f723c8ea19519dfae15c960"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4 locations): packages/api/src/agents/subagentThreads.ts:3506 \u00B7 packages/api/src/agents/subagentThreads.ts:3745 \u00B7 packages/api/src/agents/subagentThreads.ts:3806 \u00B7 packages/api/src/agents/subagentThreads.ts:3894 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3506}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fa290b3f00cbb4754f5043dfe1e4389b2abea898fabdf28e5fb985f3d9e6c9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/app/permissions.ts:595 \u00B7 packages/api/src/app/permissions.ts:609 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6aed0619d083a10f9771dafc5f1c2bd6d13def86123968e297dab160275b29"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/auth/ip.ts:81 \u00B7 packages/api/src/auth/ip.ts:92 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7bc0afda71f92419e975fd03659fe08434f1569f7a6589235538a1f8401ac71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/api/src/channels/runs.ts:978 \u00B7 packages/api/src/insights/handlers.ts:74 \u00B7 packages/api/src/insights/handlers.ts:104 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"972da680d0f8461d54014d47b6e8f2e02fbc6e61e6306785501208cf91c7b4a7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/channels/service.ts:217 \u00B7 packages/api/src/channels/service.ts:329 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/service.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a43f65e9b77136830cb5027f8d5190ce53e3255976ebcebdbec04659cb77a60"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/code/http.ts:315 \u00B7 packages/api/src/code/http.ts:534 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b682a5b7359e8e69a813d9d5211ef868324cd8ca753e8f2c3c01fa5d073e4b0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/code/http.ts:889 \u00B7 packages/api/src/code/http.ts:960 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ac11a81238e9363c763f9abeb6e4c346d8e8d2f70b5b826deb05d0f879f614"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/code/setup/bridge.ts:26 \u00B7 packages/channel-gateway/src/slack.ts:195 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/bridge.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"22b65ab371f0585c883111439f3a7c9e645dddb57d6e6bc6ab3043ec1ab94b9a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/code/setup/router.ts:293 \u00B7 packages/api/src/code/setup/router.ts:308 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/router.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e286ddf4153a58e58fac56585c3cacdee4a4625e0b7b37e786148bf49dfa85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/files/mistral/crud.ts:606 \u00B7 packages/api/src/files/mistral/crud.ts:854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e5d92f26a7889114c1f1a9693aa5152120a2e36b10fdee798683f3e92cc53e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/api/src/flow/manager.ts:477 \u00B7 packages/api/src/flow/manager.ts:533 \u00B7 packages/api/src/flow/manager.ts:591 \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":"packages/api/src/flow/manager.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3044115e844e734d25146910859b9021a4df79ae11ea41bed630d334a88bbd00"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/mcp/ConnectionsRepository.ts:52 \u00B7 packages/api/src/mcp/catalog/store.ts:404 \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":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4230adcdb285d4e975c1084a6a8d9e772a47aa5341b0537baacf03576912d149"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:790 \u00B7 packages/api/src/mcp/MCPManager.ts:94 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a171ba82e8ac2c40d7f44504d698c3957a643fa29ab7a3b2ff70ca1e81d811"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/MCPConnectionFactory.ts:1995 \u00B7 packages/api/src/mcp/MCPConnectionFactory.ts:2424 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1995}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1ce7218d3e32d92631c459093339023fc154479f721c919bf26151cc03996a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/UserConnectionManager.ts:575 \u00B7 packages/api/src/mcp/UserConnectionManager.ts:698 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"2004b4aac0a5cc4492d66f0c85dbe8a4234d5b62021cb6f1b4b23832872e2a32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/UserConnectionManager.ts:1475 \u00B7 packages/api/src/mcp/UserConnectionManager.ts:1485 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1475}}}],"partialFingerprints":{"codehealthFindingId/v1":"999a07dd2739c1ce02681edd6f612026c46f3e26023d82ba6173c13565858838"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/mcp/UserConnectionManager.ts:239 \u00B7 packages/api/src/mcp/catalog/store.ts:404 \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":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafd352952a61234ae4435f47cb9f6dd6243488fc48c587457b41a3e30b3099e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:242 \u00B7 packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:269 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbdfcb9fa481c13863144f1303b7244e32d2d3b1c65398881749733e95472c52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:255 \u00B7 packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:368 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"1443c582502df267c12b2276a9fb5ca0a9a659f592fd686df947b1f6a325ff27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/mcp/zod.ts:856 \u00B7 packages/api/src/mcp/zod.ts:888 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc00e1e2e44dda6d7df9a2dd9a3647e2743a428e6bd3fd5987970d821b621bf9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/memory/handlers.ts:69 \u00B7 packages/api/src/user/preferences.ts:33 \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":"packages/api/src/memory/handlers.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcee94093565aeb83c39f36350c69b83bf417a9058e37f10e7495985623e06bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/middleware/modelBoundContent.ts:3220 \u00B7 packages/api/src/middleware/modelBoundContent.ts:3307 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbb07f90b8f7cf35d6c5d12ee338c543ab9a73445878e3d7103f6f18f1a77d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/api/src/projects/resources.ts:122 \u00B7 packages/api/src/projects/resources.ts:137 \u00B7 packages/api/src/projects/resources.ts:237 \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":"packages/api/src/projects/resources.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bc555b44c8f1c21c275c5467869363131ec08ee8203b8a127bc7cb6fcd4cc61"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/protection/adapters/nested.ts:233 \u00B7 packages/api/src/protection/adapters/nested.ts:305 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f72e41e01551d1d32d4053e6f89fda654b1dd31d2cf3e576bfe8a6c28351478"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/protection/adapters/submissions.ts:401 \u00B7 packages/api/src/protection/files.ts:827 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e22d9880f3f8c3ca115ce0013a1f79eff57781127102c04a9618bf9db87acd07"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): packages/api/src/protection/programSize.ts:4 \u00B7 packages/data-provider/src/filters.ts:18 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/programSize.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf1a45349f56b07da3e42f38857b7bbbc506037623bc6961b5541ca38437a05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/api/src/protection/runtime.ts:416 \u00B7 packages/api/src/protection/runtime.ts:434 \u00B7 packages/api/src/protection/runtime.ts:448 \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":"packages/api/src/protection/runtime.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e202cea0ad1a933b2e0ac730c0a1b6a378c0c4cb48dcd1fdc175b03d1ee515"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/skills/handlers.ts:655 \u00B7 packages/api/src/skills/handlers.ts:809 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4381c1e3f88cc2e918e1682186083431fe4900b53ff9bc7a0f5cb6200773c5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): packages/api/src/skills/import.ts:577 \u00B7 packages/api/src/skills/import.ts:614 \u00B7 packages/api/src/skills/import.ts:696 \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":"packages/api/src/skills/import.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d0fde0ec12840f4ea1eedd3f75e92bd194b0cc1bb73bd0945de6fe518b0ec7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/skills/sync/github.ts:1235 \u00B7 packages/api/src/skills/sync/github.ts:1578 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1235}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe6260c5dbeb208aeb652d3223c09bb938aa2949132b618f9b7492fb2bc0f54"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/storage/validation.ts:14 \u00B7 packages/api/src/storage/validation.ts:37 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/validation.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ff8acd778abea5e20e23de480d5f84b74b2c5d361098da915018af7932d513"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:9469 \u00B7 packages/api/src/stream/GenerationJobManager.ts:9495 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9469}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4903a44d41dc55920d1534557d8a4ad1713b7963e1f567bbac4da40d53eaa2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:9583 \u00B7 packages/api/src/stream/GenerationJobManager.ts:9596 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9583}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2db122b0bdc4452f6ded423cd6e1213217cf8c6476a99df7b1508a1190d941"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1471 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4001 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2bf81f0b980d79c1e7e5825bee308619f7d71806467f2139c156eeb472f7a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1818 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:2097 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1818}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ff87475f7f63da56dc832222a95b32e975e6362469547c82aa59dfa80779ab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4458 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:4750 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4458}}}],"partialFingerprints":{"codehealthFindingId/v1":"35478abc323ea731393ef06312eeb83335c81b4132ec9e2fd6eba8ba62aff95c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:4938 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5007 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4938}}}],"partialFingerprints":{"codehealthFindingId/v1":"63640c47e9b8188534c69bbd77ff673122bf3e635c45676e61ec4ee4f6bf2653"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/api/src/utils/files.ts:463 \u00B7 packages/api/src/utils/files.ts:504 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/files.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b698e442c111046f5dce736a90dc77dd9c5b67f64a0614f4ed0cdb688ea86b9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/channel-gateway/src/client.ts:173 \u00B7 packages/channel-gateway/src/client.ts:190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/client.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3523455edf54da217b75bc55c73b00f0f51586ec0d6c1e6afbf0b6b547800cb5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/chat/src/components/composer/files/SourceIcon.tsx:41 \u00B7 packages/chat/src/components/composer/files/SourceIcon.tsx:51 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/SourceIcon.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"28047473598c0339fd97e18b73112b04d0e2641f711fb853e68adc90951df262"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/chat/src/core/chat.ts:740 \u00B7 packages/data-schemas/src/app/changes.ts:137 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"a075b17ec650340bd97c403bb240c9bccddd15361c3775ce5281557a68fbb0a6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/chat/src/core/stream/timing.ts:39 \u00B7 packages/chat/src/core/stream/timing.ts:153 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c5f2a54d46a25476780674eca306e6b8528ae2a30c4d70a959d07f3aee6f51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/chat/src/react/subagents/state.ts:700 \u00B7 packages/chat/src/react/subagents/stream.ts:85 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e598c5ccc4194f8bb24dbeb2c08293c5badf1c4cf50f56046a1a4bad9d618"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6 locations): packages/client/src/components/AlertDialog.tsx:114 \u00B7 packages/client/src/components/AlertDialog.tsx:132 \u00B7 packages/client/src/components/AlertDialog.tsx:154 \u00B7 packages/client/src/components/OriginalDialog.tsx:439 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/AlertDialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"7791952e302855d0f601d7ff7920fd45ad800ccaec2058eee09d70c686c4796b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/client/src/components/Badge.tsx:118 \u00B7 packages/client/src/components/Badge.tsx:135 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Badge.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c8ae65cb756fec0cefbc26feb4d86a21b572654101f3a4e7e9b7ad9987fd0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/client/src/components/OriginalDialog.tsx:154 \u00B7 packages/client/src/components/OriginalDialog.tsx:426 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/OriginalDialog.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c23abaa417da974797727ed49caacda5284e6ede3ea960ef02fe89cd2134190"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-provider/src/api-endpoints.ts:391 \u00B7 packages/data-provider/src/api-endpoints.ts:406 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8db2c9518b5df617013b21f1de7941b2949e4fcd975784818d715918bbcba4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-provider/src/config.ts:1120 \u00B7 packages/data-provider/src/config.ts:1190 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1120}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2e090c07b9a63d4ea7a15181a5f6b7ce619d7fb4c632f8646a2f6fd68e4f92"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-provider/src/data-service.ts:195 \u00B7 packages/data-provider/src/data-service.ts:229 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/data-service.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f2f19a6fd7eedc26cbe8dbb7ebc2e30c05c9483dc84cb3779bba97497c0b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-provider/src/request.ts:44 \u00B7 packages/data-provider/src/request.ts:61 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3587f25a201a9add68826674abd28e3bbf2cdcec81f024d1f78a2e449dab55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/app/resolution.ts:2512 \u00B7 packages/data-schemas/src/app/resolution.ts:2521 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab319b7a4a3f349b4dc76347e4c2cff16b31bcc049984e3139274a0863a25f22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/app/store.ts:237 \u00B7 packages/data-schemas/src/methods/agent.ts:2282 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc212522ae1ac28b6f50f132efff6a499eaf50b51dbea35e87a42a759849ae5f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/aclEntry.ts:262 \u00B7 packages/data-schemas/src/methods/aclEntry.ts:297 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8b0ab092f76c6a516010c4260575ff50a81246c2c6a5a91e64e9ea8ad51964"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/aclEntry.ts:317 \u00B7 packages/data-schemas/src/methods/aclEntry.ts:388 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef38b848f534f39ba406cf9ca7af0d621706a9279c63804d0e22edb9f119da9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/agentApiKey.ts:205 \u00B7 packages/data-schemas/src/methods/memory.ts:321 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agentApiKey.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f83525d043920169dbc8f78b4f6caaf2700716ce45d36c4d5cb066fd33dca8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/channel.ts:284 \u00B7 packages/data-schemas/src/methods/slackRoute.ts:117 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channel.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"25535e122e5d6ecf70e7dc2ed6ad03e0310064efffae8114bf6248f59d222ab0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:1490 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:2696 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"6056faa3b75a1073fb22605d3001ce12c7124611a7b7890d23db2f3633b44c46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/skill.ts:1311 \u00B7 packages/data-schemas/src/methods/skill.ts:1355 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa883b334f2e6e093141abd25f98ce32193fc3f2abe3061117643ee568bfbb81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/skill.ts:1925 \u00B7 packages/data-schemas/src/methods/skill.ts:2083 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1925}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b8b49f4a8e0ea85883f60f04d778f90179822fa6885524b4df766e5d50c002"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/slackDispatch.ts:22 \u00B7 packages/data-schemas/src/methods/slackRoute.ts:58 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackDispatch.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"923676e9ef390a95919f72481c2dbb9002ac85aa839e182b2f804c98ffa79619"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/methods/user.ts:715 \u00B7 packages/data-schemas/src/methods/user.ts:743 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"850151f603bb9101032430b1b9474f7f52cc641ef5b8d96227cc60cc292f8e76"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/models/chatProject.ts:3 \u00B7 packages/data-schemas/src/models/triggerLaneSequence.ts:3 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/chatProject.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fab30c254a6452e19ac82d6ee60fa68d583bb53033dcf9db833a5aa36b095de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): packages/data-schemas/src/models/plugins/tenantIsolation.ts:134 \u00B7 packages/data-schemas/src/models/plugins/tenantIsolation.ts:151 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/tenantIsolation.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e62cc9568b521de0fa76fdacb258a1e0d040f60039b9dcf4e99e1474fab9f22"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/static-checks.mts:701 \u00B7 scripts/static-checks.mts:740 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"095dd24217114790f960e993d0c9215145f8579a7b9c6f74a23fdc8855c4f726"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): scripts/static-checks.mts:1821 \u00B7 scripts/static-checks.mts:1841 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":1821}}}],"partialFingerprints":{"codehealthFindingId/v1":"d26a524767bbc880ee30f8dd4d29f3e55dd454248bb456272c8e0ebd12860359"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): api/server/controllers/FavoritesController.js:115 \u00B7 api/server/routes/share.js:771 \u00B7 packages/api/src/projects/handlers.ts:229 \u00B7 packages/api/src/projects/handlers.ts:412 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/FavoritesController.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5375eea17c8f9144ffe13c7212cd51aada25d53c4768f2a4a2f577957e1a53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/controllers/PluginController.js:7 \u00B7 api/server/controllers/mcp.js:135 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PluginController.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef38480873e5d801eb09242f666a826e613cf6f06080141be77a514ae2ccc83a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): api/server/controllers/PluginController.js:44 \u00B7 api/server/controllers/assistants/v1.js:156 \u00B7 api/server/controllers/assistants/v2.js:128 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PluginController.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"878b945ae3b8fc74165723d035cbddf166691c7859a9ba82f4805ff8d0af20c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/controllers/SkillStatesController.js:48 \u00B7 packages/api/src/auth/passkey/handlers.ts:385 \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":"api/server/controllers/SkillStatesController.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"063e39c00dec8971bcef343bfeffbd9d55efb44635884a48d564282020a01b9f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/controllers/agents/openai.js:290 \u00B7 api/server/controllers/agents/responses.js:352 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"993de2966ae09a1c6eb0d1c258ac45e41ccfc243cb1b6f6ce849593790648297"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/controllers/agents/request.js:122 \u00B7 api/server/controllers/agents/resume.js:115 \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":"api/server/controllers/agents/request.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6cdd48ed9a7279308dc87d176f63666f019816180dbf8536c2ad1db275b6dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/routes/config.js:398 \u00B7 api/server/routes/share.js:772 \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":"api/server/routes/config.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"38d80fb07f741e32021dc5a5ff12804356961d3bcc5ce09a28d52a48302379a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): api/server/routes/convos.js:692 \u00B7 packages/api/src/skills/upload.ts:71 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a43415c994d0d352f7f293ee57627b65a22ac64a456650fbe7b6a311836210"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): api/server/routes/files/files.js:149 \u00B7 api/server/routes/tags.js:40 \u00B7 api/server/routes/tags.js:56 \u00B7 api/server/routes/tags.js:98 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb19c70258c0ec4d2bb1dbfa54e6769032a1bdeb972f01fa8372de386d52cb96"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/routes/files/files.js:294 \u00B7 api/server/routes/files/files.js:336 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b593ea40aab1a30ac1522bd7e4e7c03d3cc4d6db9acd1d49d4f9c6955511e410"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/routes/memories.js:243 \u00B7 api/server/routes/memories.js:376 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac54b6b0cb6d8753f3eb29ad5c86e1090548ebbe904f70b0763510915579312c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/services/SlackDispatch.js:16 \u00B7 api/server/services/SlackWorkspaceBindings.js:16 \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":"api/server/services/SlackDispatch.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e423ee22cc7818cabcb96275cd066edb9ec6303529f6921b09ab84ca692b331"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): api/server/services/ToolService.js:1608 \u00B7 api/server/services/ToolService.js:1813 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"302c5365d9ac70bb576e0802e58e9f6c419e14f53dc8ca5e46de8d5299b82ccb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Chat/Input/CodeWorkspaceMenu.tsx:724 \u00B7 client/src/components/Chat/Input/CodeWorkspaceMenu.tsx:793 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0ac28486151fb35275b28727a255b290eeea1197b18661f854ab121bec4c62"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Chat/Input/Composer/Catalog.tsx:270 \u00B7 packages/chat/src/react/messages/useMessageScrolling.ts:344 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Catalog.tsx"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"385808a5843c8aecf97389b2f096fff195e3085687b774fa150c3a8d7a3dd4eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx:162 \u00B7 packages/chat/src/components/composer/steering/Queue.tsx:625 \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":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd99de9c9c9e179e8452c89734d232f6b6a9798302d550b0c14589ccd3cf2be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/ToolCallInfo.tsx:23 \u00B7 client/src/components/Chat/Messages/Content/ToolCallInfo.tsx:52 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallInfo.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cc6ff6293ca924025172b5d852e985774ab0cbe301bbddbf01bb1f3b47ca42"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): client/src/components/Chat/Messages/Content/verticals.tsx:107 \u00B7 client/src/components/Chat/Messages/Content/verticals.tsx:143 \u00B7 client/src/components/Chat/Messages/Content/verticals.tsx:188 \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":"client/src/components/Chat/Messages/Content/verticals.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"decdcf73528be4a63e181c700e82c380cd5c58c44b7bbc2a2d292cdc18de244b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Chat/PullRequest/Chip.tsx:21 \u00B7 client/src/components/Chat/PullRequest/RowMark.tsx:43 \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":"client/src/components/Chat/PullRequest/Chip.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81aa0f62ad1c416680eab940d0cffda2a1e0aaee7cfdb70803a8fd8e952c04e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Chat/Trace/model.ts:653 \u00B7 client/src/components/Chat/Trace/model.ts:810 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e77c57fadcb6686b814154881515eef668ac0583ebcb0ee5a5ed0a2cd78473"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Conversations/Conversations.tsx:466 \u00B7 client/src/components/Conversations/Conversations.tsx:495 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"8519c78976918967cc0dc8b72e75d836f976fcb5c837b95d347b27e67a192dad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): client/src/components/Conversations/ConvoLink.tsx:31 \u00B7 packages/client/src/svgs/Spinner.tsx:30 \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":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8599b6a18862775b175d420d67955b6591b638fc51ce175d270ae07b96eab9de"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Conversations/ConvoOptions/DeleteButton.tsx:107 \u00B7 client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx:442 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/DeleteButton.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd245fba489d267bbbd8c80b65b243994fbee9e3f880dea5e0b812c256bb085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/MCPUIResource/plugin.ts:12 \u00B7 client/src/components/Web/plugin.ts:99 \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":"client/src/components/MCPUIResource/plugin.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe5ae422a227e3cdb5ff4d6d73ce459439676bfe8f5d7073b2092b8e4a2f86c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:210 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:220 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:228 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:238 \u00B7 \u002B2 more site(s) not listed \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da00f86d8053d6c8404cc47a74c99007c6e927baa12e3261c4c249b1e7d5e39"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx:69 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx:116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPStatusBadge.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d7108345e6e7e318f6d0512a9a09ed28e9b4dd01d0a90c0273a16cd7f288fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/SidePanel/Schedules/ScheduleCard.tsx:313 \u00B7 client/src/components/SidePanel/Schedules/ScheduleCard.tsx:322 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d74d725d16f42dfa49e95f3b03d16a5c1bf56a48518cd1e014285a1ca6332c2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/components/Skills/display/SkillMarkdownRenderer.tsx:141 \u00B7 client/src/components/Skills/forms/SkillContentEditor.tsx:116 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillMarkdownRenderer.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"db8fde8a3e6840f9962f8a55d4bbc2c83d0271df088957f4b2f1a21663dac382"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): client/src/data-provider/Agents/mutations.ts:82 \u00B7 client/src/data-provider/Agents/mutations.ts:128 \u00B7 client/src/data-provider/Agents/mutations.ts:283 \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":"client/src/data-provider/Agents/mutations.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"394a128e97587544464b7a79368b21275926e30b542100b5020e0fdce69886db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/data-provider/MCP/mutations.ts:99 \u00B7 client/src/data-provider/MCP/mutations.ts:133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/MCP/mutations.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"864caea7f7477f92b938283b6f7c7c2e42d6b2ee5f280ceff5484769052e0651"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/hooks/Input/useAttachItems.tsx:345 \u00B7 client/src/hooks/Input/useAttachItems.tsx:358 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"34963a8d11773caeb687bc724099309a399855df9a7d72a1a56349244c5c0f18"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): client/src/hooks/Input/usePaletteEntries.tsx:317 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:340 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:352 \u00B7 client/src/hooks/Input/usePaletteEntries.tsx:364 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb91a61433fc070a1f6565fdb36d9b71aef31464dd87f8b0ea069bf42370b93e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): client/src/hooks/Messages/useLatestMessage.ts:35 \u00B7 client/src/hooks/Messages/useLatestMessage.ts:44 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useLatestMessage.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"89cf153bfcc0826719d9293741bf735d8c0faa7746608fe291a7c0b1e7d55384"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/acl/accessControlService.ts:380 \u00B7 packages/api/src/acl/accessControlService.ts:416 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad479ebe083aa32c0924f24eaab49e29961dabe773625b5c3a52289e9de7e04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/auditLog.ts:355 \u00B7 packages/api/src/admin/auditLog.ts:378 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ae7def98a0b8132eebd48b30cad8b3d7b5a376e784b53195af4413256dac66"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/catalog.ts:675 \u00B7 packages/api/src/admin/resolved.ts:321 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/catalog.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"39770980197a28248faddebf11dbca2962f4f7ea58de8045bec120b5bd0cc10d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/config.ts:2008 \u00B7 packages/api/src/admin/config.ts:2050 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":2008}}}],"partialFingerprints":{"codehealthFindingId/v1":"5846cb6db8038ba03890a821f2c950f0e5e1ce1ef26f303ae99c7951c8fa00d3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/config.ts:2804 \u00B7 packages/api/src/admin/config.ts:3968 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":2804}}}],"partialFingerprints":{"codehealthFindingId/v1":"38cc70e76ad329d323d5af7719c6ef06a981e21d1160b3a39f07fd6b498d1ee6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/config.ts:3818 \u00B7 packages/api/src/admin/config.ts:4445 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3818}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9f966a49ccf254969f436299feb65b5be83b977db6bc2b5d0a900211f205c7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4024 \u00B7 packages/api/src/admin/config.ts:4197 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4024}}}],"partialFingerprints":{"codehealthFindingId/v1":"d213c73d61299f7b0bdfb337ad2fc2f9df8e77624174f46d118778ffbc1715dc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): packages/api/src/admin/grants.ts:257 \u00B7 packages/api/src/admin/grants.ts:295 \u00B7 packages/api/src/admin/grants.ts:342 \u00B7 packages/api/src/admin/grants.ts:497 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d4c722716507927295b85503dc7a587162c9df42ef09099b478ecc1f1f25ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/roles.ts:825 \u00B7 packages/api/src/admin/roles.ts:1154 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"d953efd01b3b953fc0ae60116340f1ac434c8697f4a1acfcd4e40709b730e8d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/admin/skills.ts:408 \u00B7 packages/api/src/admin/skills.ts:433 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/skills.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e05b7a99966674fa305024b6429253ebbfdede9c57d60bf514ef21ff77b53f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/activityPhases/runtime.ts:668 \u00B7 packages/api/src/agents/activityPhases/runtime.ts:677 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fada2fff0ec281135049efd84aa008c6b509de4357c3f2f8881b9e02d92deb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/background.ts:234 \u00B7 packages/api/src/agents/intent.ts:98 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"55bbf5952094d679b55193723d94ca0d85db8a348eeed2602d7dd344f11c0826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/background.ts:1679 \u00B7 packages/api/src/agents/background.ts:1711 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c142efa89fd1da0db1de7f587106d3aa3893c38367d63df34ccdc59f8cad5f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/background.ts:3221 \u00B7 packages/api/src/agents/background.ts:3306 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":3221}}}],"partialFingerprints":{"codehealthFindingId/v1":"845aa03987a8b3dccb90c5040b22f0473b8aea7c31490538e979a78110404a01"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/checkpointer.ts:403 \u00B7 packages/api/src/agents/checkpointer.ts:411 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0bf81e5360e73bb3987209790569d5dad5b6aff99665d1ff6ef77d6f89d1b5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/control.ts:149 \u00B7 packages/api/src/agents/view.ts:481 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce54389f732d01e30cdf5246935f122c425b9f0716081d63486865ac40b933a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/digest/view.ts:399 \u00B7 packages/api/src/agents/digest/view.ts:468 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa62891c3311a65d178e59f552d71a79c35c58baff4804b6b418908866278403"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/files.ts:273 \u00B7 packages/api/src/agents/reads.ts:93 \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":"packages/api/src/agents/files.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69ae0157f2c323166c722d671bd9a0944056dddf0833f6ce94ebbf51cb62138"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/guard.ts:46 \u00B7 packages/api/src/agents/subagentThreads.ts:558 \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":"packages/api/src/agents/guard.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcee64303f096540f1b28ec9055b232dd6e8c5d91174dfaa12ff1bd51eba6a5e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/guard.ts:97 \u00B7 packages/api/src/agents/triggers/bindingResolver.ts:83 \u2014 the two spans are one implementation copied and then locally edited \u2014 50 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/guard.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"60826bac239f3d640e1cbaeb7845f655b63e775478cbd8e0ae6639ceaeb6c6a8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/hitl/admission.ts:207 \u00B7 packages/api/src/agents/hitl/admission.ts:252 \u2014 the two spans are one implementation copied and then locally edited \u2014 83 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd6cfd4552009f32dcc1a6bc4544767a89beec37ae5e6a4b927fcccb01deb81"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/hitl/inspection.ts:233 \u00B7 packages/api/src/agents/hitl/protection.ts:231 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be515b3be06b29815eda146dff2dd012479db6c0e3696e8e4427e6d7710b780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/api/src/agents/initialize.ts:653 \u00B7 packages/api/src/endpoints/google/llm.ts:271 \u00B7 packages/api/src/endpoints/google/youtube.ts:41 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ba88ed1447de1d648c145c1e0b65a5436ab7f18897d1c2bd59d962f575d868"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/openai/service.ts:509 \u00B7 packages/api/src/agents/responses/service.ts: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":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1526c3505542ecf59ac8c0d7a19157a84757ef859974036c90bbfc16ddc103e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/responses/completion.ts:72 \u00B7 packages/api/src/agents/responses/retirement.ts:197 \u2014 the two spans are one implementation copied and then locally edited \u2014 71 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f1dc95decf5715bc7d5e4c70092433143a0301e757e328c222c22c49b8e6439"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/responses/completion.ts:72 \u00B7 packages/api/src/agents/responses/transport.ts:79 \u2014 the two spans are one implementation copied and then locally edited \u2014 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d507625aeec7a8c2a989d7284b3e36271fa5107fdb48a2a7f7c27219586eacc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/responses/pause.ts:43 \u00B7 packages/api/src/agents/responses/retirement.ts:197 \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":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca85dde4f80d0d9db30aad4dabc77d1222c3c276e78095f7b02b06430d04b38f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (8 matched lines \u00D7 2 locations): packages/api/src/agents/responses/retirement.ts:197 \u00B7 packages/api/src/agents/responses/review.ts:55 \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":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad93d290520384bbbeff49eda4fc8a6f8bcc0b1330cbaa89ba73b8fb103aeb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/steering/request.ts:489 \u00B7 packages/api/src/agents/steering/request.ts:708 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3952097fb5c39794f2b1a20bc3b32e976d528ecaf8f8966ed2ac9b6ae74343"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/agents/subagentActivity.ts:113 \u00B7 packages/api/src/agents/subagentActivity.ts:129 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"105df645cbd6436cc6951d85065c864647a3adbea8f6e6f318de5ce318d0190a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/app/allowlist.ts:267 \u00B7 packages/api/src/app/allowlist.ts:330 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/allowlist.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1add7cdd564e68dfe4902ab63343bf554f857452a10f6a9313418e00cec8c91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/assistants/protection.ts:255 \u00B7 packages/api/src/assistants/protection.ts:275 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/protection.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c4771ba8f2965a039ed39297080dc1cfd9d1b75a80f9fa62ba2add272e8f64"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/auth/email.ts:471 \u00B7 packages/api/src/auth/email.ts:644 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f8dd7f75d12ddf143cedabcd55d78a2492b3d5b889c3214151ef52d67c1b77"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/api/src/auth/googleRefresh.ts:111 \u00B7 packages/api/src/auth/googleRefresh.ts:129 \u00B7 packages/api/src/auth/refresh.ts:223 \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":"packages/api/src/auth/googleRefresh.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15e214a9d4b4cb5aca93929de08d77cf8b07822bae5c98886fa126c706f8562"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/auth/passkey/handlers.ts:497 \u00B7 packages/api/src/auth/passkey/handlers.ts:526 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af18f0ff08fc574caacd12f67c078a58a6532355740a7495a4a7adc6a61165e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/auth/twoFactor.ts:752 \u00B7 packages/api/src/auth/twoFactor.ts:842 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a71a521307e17f9467656aeaa93e1ecb76f0c358a4fbd67d3e07be8009c251"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/channels/identityHttp.ts:38 \u00B7 packages/api/src/channels/workspaceHttp.ts:57 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identityHttp.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efb5772df272c4e34151b0907d9066ceebe9adf7a34782360ddee616a4df7bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 9 locations): packages/api/src/channels/runs.ts:781 \u00B7 packages/api/src/channels/runs.ts:820 \u00B7 packages/api/src/channels/runs.ts:841 \u00B7 packages/api/src/channels/runs.ts:861 \u00B7 \u002B5 more site(s) not listed \u2014 all 9 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"15006ea1465c28e6f1a50b5c4f3a07132cc431a44e6923a4a1b794905c9065fe"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/channels/workspaceHttp.ts:129 \u00B7 packages/api/src/channels/workspaceHttp.ts:149 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceHttp.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"593c5fa526bcb98bd39772638dd43e0e716b1ce84bbbb9dd8fa256bfd03c2a71"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/api/src/channels/workspaces.ts:175 \u00B7 packages/api/src/channels/workspaces.ts:311 \u00B7 packages/api/src/channels/workspaces.ts:322 \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":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c066dfa50161c628951ed9491acabefb95d5ec662059a05739621f0c5b3c0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/api/src/code/http.ts:540 \u00B7 packages/api/src/code/http.ts:606 \u00B7 packages/api/src/code/http.ts:713 \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":"packages/api/src/code/http.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea94285431b7d3315b1c8c2e619dbca2b30c22d9a25ab8fb41efced77d9334f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/conversations/load.ts:88 \u00B7 packages/api/src/conversations/title.ts:160 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/load.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"25316d9749c354dd897a0b515ff2804a8dc310d7c2e01b75a8d21eb158abf0cc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/conversations/read.ts:41 \u00B7 packages/api/src/conversations/read.ts:68 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/read.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"649d485fb44b0d25165e17787603f628e8b3a4afdae0c8d5a3a3cfea692de5c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/files/documents/libreoffice.ts:168 \u00B7 packages/api/src/files/documents/libreoffice.ts:296 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/libreoffice.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"9756014fd38601c5e9a8187d87df69302a6bce80cc401003d2f27932ad867664"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/files/sweep.ts:82 \u00B7 packages/api/src/files/sweep.ts:104 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4678f13637b834a482f90b6b976372b77451c11aa2ebaef497bf9469c5ae4ca7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/api/src/prompts/handlers.ts:393 \u00B7 packages/api/src/prompts/handlers.ts:412 \u00B7 packages/api/src/prompts/handlers.ts:453 \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":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc52d4ae5f8a2d92f4356e97ca19a0c6a2c17a8f434ee152d5006b52cd4be47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/api/src/prompts/handlers.ts:401 \u00B7 packages/api/src/prompts/handlers.ts:464 \u00B7 packages/api/src/prompts/handlers.ts:487 \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":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4d31cff38d8ebb74feba6a429b63dd2960975d42254c68b4c553f24f4eb1605"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/protection/adapters/messages.ts:1004 \u00B7 packages/api/src/protection/adapters/messages.ts:1383 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"773949deeab7e3fe7ee7d4d38226ceb8f26c8e7b5c0f9d6367c2c8335d6da0f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/pulls/connect.ts:130 \u00B7 packages/api/src/pulls/connect.ts:202 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/connect.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"8896b21fd0a2502b7cdb2b3efec338758fce6de6eaf1e07156223f27fa23c1d0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/pulls/connect.ts:181 \u00B7 packages/api/src/pulls/connect.ts: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":"packages/api/src/pulls/connect.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6b2837145fe90244c92ca8d66058dcbfa2973d0c476a8ef529a94540617a36"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/schedules/authorization/fixtures.helper.ts:144 \u00B7 packages/api/src/schedules/authorization/fixtures.helper.ts:154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/fixtures.helper.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6a693e62dc7b354060a43fa28f6916c1f94cbc1e855e374066e3296eec9213"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/schedules/mcp.ts:268 \u00B7 packages/api/src/schedules/mcp.ts:359 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74f4f0090f968db796db784a94abc6e3c23e6f0d037029ea2c850e203b0bb99"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/skills/handlers.ts:129 \u00B7 packages/api/src/skills/handlers.ts:143 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eff7e6be33d404a77b656e918d9837389241264f3ea077b544f382b7c195a50"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/skills/handlers.ts:603 \u00B7 packages/api/src/skills/handlers.ts:803 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc096c8adb887c0647872fb0b09b157cbe616cab53eaf6b162becb2dc823959"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisEventTransport.ts:567 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5326 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bbeac6e4fbbf75959f786effdb5b126c84aaef11b32af68c5d9a2320ad30958"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:3164 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3397 \u2014 all 2 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3164}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb39f6979a134d18174f28aec57aae24e6f36ce9b28cbb4901157cb90ddfe6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:5300 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:5380 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99d0ebc08d37dc279b36987d553b8fff91cc9d9cf4b8d3a1c216eaac35f4a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/channel-gateway/src/slack.ts:328 \u00B7 packages/channel-gateway/src/slack.ts:339 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e993c27c00b3c4c881e37510850e97407878d23c4df4cda07b9c58955a077eb8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/chat/src/core/resumable/start.ts:28 \u00B7 packages/chat/src/core/resumable/start.ts:63 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/start.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8164bf38b029bf89807194cc6f94053bc20b012c991962231325f61a7c8ab4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/chat/src/core/steer/drain.ts:34 \u00B7 packages/data-schemas/src/methods/import.ts:32 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/drain.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae58e9eb6814a6c49d2155233c2bdae903a161917c6914a4f3776a1efc0face7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/chat/src/core/usage/branch.ts:52 \u00B7 packages/chat/src/core/usage/branch.ts:217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"860580ec5b12366fa64e195d2b48dfead55f757f316993c1c7c77aaf28050b70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/chat/src/react/composer.ts:22 \u00B7 packages/chat/src/react/steer/atoms.ts:30 \u00B7 packages/chat/src/react/steer/queue.ts:19 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/composer.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"316c52560d0562b16dd26889ff3633c041fd3211422caf08b66422dde9a36770"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/chat/src/react/subagents/adapters.ts:424 \u00B7 packages/chat/src/react/subagents/adapters.ts:449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a720367ffabe359084349bc4939cd77875a8c94b2b0bd5b10c5e4dc6d3e165e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/chat/src/react/subagents/state.ts:288 \u00B7 packages/data-provider/src/previews.ts:31 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8aff01163e8a3cbe30ee18b7ea6392de96166d0fdc0959f8c5b4cbf5322f51"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/client/src/components/AlertDialog.tsx:32 \u00B7 packages/client/src/components/AlertDialog.tsx:56 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/AlertDialog.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6dd0acf459699f2e97f8e42ea2e9be415f61d2f519a262069b03fa6fe21d47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/client/src/components/DataTable.tsx:50 \u00B7 packages/client/src/components/DataTable/DataTableComponents.tsx:34 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e8c1152a1a6d6f828240f52fb80679cabcbdb5cbe91aa820bc9c5951f4f853"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/client/src/components/DataTable/DataTable.tsx:372 \u00B7 packages/client/src/components/DataTable/DataTable.tsx:395 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad1ac79992c2c00cf1d89911af681debabc2fd027f9f3c881cdb02bd28f2575"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/client/src/components/HoverCard.tsx:13 \u00B7 packages/client/src/components/OriginalDialog.tsx:422 \u00B7 packages/client/src/components/Separator.tsx:4 \u2014 the 3 copies are spread across 3 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":"packages/client/src/components/HoverCard.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd924932474fdb7e2f8fb052fbf753f943a4b9043300075b8d1b99968bd41b89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/client/src/components/Table.tsx:55 \u00B7 packages/client/src/components/Table.tsx:66 \u00B7 packages/client/src/components/Table.tsx:75 \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":"packages/client/src/components/Table.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69e9a06b2c866fc8772b1d6f6a184fda98d91cd0178537aae162cbc36372536"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-provider/src/actions.ts:199 \u00B7 packages/data-provider/src/actions.ts:209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0224f2463644538e4f0894c10d484a68f00cf08739559a45aa3b4e5cb092ed59"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 5 locations): packages/data-provider/src/config.ts:3012 \u00B7 packages/data-provider/src/config.ts:3020 \u00B7 packages/data-provider/src/config.ts:3028 \u00B7 packages/data-provider/src/config.ts:3036 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and what repeats is a LIST OF ENTRIES rather than behaviour \u2014 the same entries written out more than once. Extract them into one shared, exported constant and spread that constant into each site, rather than into a function the sites call: a list like this often lives in declarative metadata (a decorator\u0027s options object, a static configuration table) that a build step must be able to read statically, where a function call is not allowed. Adding an entry to one copy and not the other is the failure this prevents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":3012}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cd0255549d81ef609c6c193db22f97a317ab5eb457bd780d25a63fc2a7f002"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-provider/src/config.ts:4211 \u00B7 packages/data-provider/src/config.ts:4228 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":4211}}}],"partialFingerprints":{"codehealthFindingId/v1":"c529ff9d019d74672f5ad9acba3587cd57d500f90ca978aa0c4ffbc9c1e0f744"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4 locations): packages/data-provider/src/mcp.ts:373 \u00B7 packages/data-provider/src/mcp.ts:476 \u00B7 packages/data-provider/src/mcp.ts:511 \u00B7 packages/data-provider/src/mcp.ts:546 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/mcp.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14ab688c8da2c518095efc118a7e58dd64c0e17bc97c15d8caead0df567cb70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-provider/src/types/scheduleConsent.ts:99 \u00B7 packages/data-provider/src/types/scheduleConsent.ts:131 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/scheduleConsent.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba95e7b458777580afb6966df597866b3e662407d61df05c9b79e6f3dda06196"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-schemas/src/app/conformance.ts:874 \u00B7 packages/data-schemas/src/app/conformance.ts:909 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0efcbda4aeabe260ccf3c1fb017c5f1addf2c900e04ad7be44472e03f457a48"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-schemas/src/methods/aclEntry.ts:280 \u00B7 packages/data-schemas/src/methods/aclEntry.ts:569 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf74389f21839531a07dd9b9e8002905423aebbcae4fdce940fc45bbc5c2ace"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-schemas/src/methods/agent.ts:1394 \u00B7 packages/data-schemas/src/methods/file.ts:523 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42fead1cb8d3057fca9482a4e5c407c5fec1c86b49f076729825a75614ad159"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:802 \u00B7 packages/data-schemas/src/methods/skillLifecycle.ts:135 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13622cd5db45fff786880a8056ac4de6e5d261fd122901b8757e46fde06f170"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-schemas/src/methods/slackWorkspace.ts:202 \u00B7 packages/data-schemas/src/methods/slackWorkspace.ts:478 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bfc4e5c740c094b1db32d722acad8744b6b8733ea166cab84a11c5447c28bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): packages/data-schemas/src/methods/userGroup.ts:656 \u00B7 packages/data-schemas/src/methods/userGroup.ts:698 \u00B7 packages/data-schemas/src/methods/userGroup.ts:1175 \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":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae372e8da4e855931f5fd01d5c1832e1a92fbf7f6aa5cab071e323829cfd5c9c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): packages/data-schemas/src/schema/message.ts:331 \u00B7 packages/data-schemas/src/schema/toolCall.ts:55 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/message.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bec8eb23f35e342d62aa6585f696fca330e65dbf2ace7e3169232dfe9280e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/FavoritesController.js:6 \u00B7 api/server/routes/files/files.js:103 \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":"api/server/controllers/FavoritesController.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f102f970a23f7f1af85acc7093c3bd2f9a28181dc2445e0d6aaa17892d88e3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/UserController.js:361 \u00B7 api/server/controllers/UserController.js:581 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"556d8f524ee02e966b4c00ec363770b0cbe6aaea328e368c0ec7f9b8683dde5b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/UserController.js:580 \u00B7 api/server/controllers/UserController.js:590 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"3104c6741b7e9534cc0c94533bd63cebb9de46ebd24e2098e7e57f5279dee88b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): api/server/controllers/agents/client.js:2428 \u00B7 api/server/controllers/agents/client.js:3203 \u00B7 api/server/controllers/agents/openai.js:803 \u00B7 api/server/controllers/agents/responses.js:894 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b76da1ce11f11dad00b9e65b39d42e49a0370b5a61479b262adf303b0b686129"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/agents/client.js:2480 \u00B7 api/server/controllers/agents/client.js:3168 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea00389ccf8a24bd16d3ff182d04bfc9c580bf044d5ec15c98bca8af4711b4ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/agents/client.js:6330 \u00B7 packages/api/src/agents/activityLabels/host.ts:92 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":6330}}}],"partialFingerprints":{"codehealthFindingId/v1":"8134287fc1a5357d2ba7a4c241fbe5111d211ca5ac80e5c84c92d7bf894d42c6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/agents/v1.js:945 \u00B7 api/server/controllers/agents/v1.js:1454 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe754021db84bd9513886ab2447b2d72b8c28c470b2ef9732f357d0019de1b5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/controllers/tools.js:269 \u00B7 api/server/routes/tags.js:54 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"224b15707ab7d94a16eaad41ad53b8e86504d116a67e9ba5ccc4c9a375412b9e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/experimental.js:116 \u00B7 api/server/index.js:122 \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":"api/server/experimental.js"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a338bac6334b5075cd4481d58dcdedb3a02270085f13e5b67399970e79af447"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5 locations): api/server/experimental.js:692 \u00B7 api/server/experimental.js:717 \u00B7 api/server/index.js:470 \u00B7 api/server/index.js:497 \u00B7 \u002B1 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":"api/server/experimental.js"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"c914bd5d07ed34563bb87e5e76db950af9379c63277eb0b2a9a6d7d24e2ec9e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): api/server/middleware/limiters/loginLimiter.js:7 \u00B7 api/server/middleware/limiters/passkeyLimiter.js:6 \u00B7 api/server/middleware/limiters/registerLimiter.js:6 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/limiters/loginLimiter.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba69695523f2dfafe9746baaf8253c29f8594399ca336447d2efd5315d75b04"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): api/server/routes/config.js:400 \u00B7 api/server/routes/roles.js:125 \u00B7 api/server/routes/share.js:774 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/config.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fdd5f48f93beeeebd93f12afb29c8b8d50b923efeef39e66b8efde649bff9d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): api/server/routes/convos.js:827 \u00B7 api/server/routes/convos.js:860 \u00B7 api/server/routes/share.js:444 \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":"api/server/routes/convos.js"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9c020478ae73f58ca78365b49564eb6fb56ec366f62573106a29374377c786"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/routes/files/files.js:90 \u00B7 api/server/routes/files/files.js:158 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d3cffe35e6dc5c3928778e56b4c7ffe58b1de76d8780711ac27a79f96e1398"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): api/server/routes/files/files.js:595 \u00B7 api/server/routes/files/files.js:633 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8ac5b876e007ee243231c1a528bdea86094a1eb44366cbcb1fb3b37e64e22e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): api/server/routes/messages.js:426 \u00B7 api/server/routes/messages.js:541 \u00B7 api/server/routes/messages.js:759 \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":"api/server/routes/messages.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"db328d091b200b46c39d3ae869fb0283287f081613fb868ce2df99a2599ab1a9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): api/server/services/Files/Azure/images.js:42 \u00B7 api/server/services/Files/Firebase/images.js:37 \u00B7 packages/api/src/storage/images.ts:75 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Azure/images.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3830eb2844962bc5098813ae0406bfc1a34dbe6f614eb6fb4373aeaaea432b8c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): api/strategies/facebookStrategy.js:1 \u00B7 api/strategies/googleStrategy.js:1 \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":"api/strategies/facebookStrategy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef45fec6d4956903a7297f513a9608b350eda35860c8935957bdca267c069e3e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): client/src/components/Artifacts/ArtifactCodeEditor.tsx:84 \u00B7 client/src/utils/mermaid.ts:91 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03df581e15433295f670174b9918a7283c4fda40d3b2c0a0bfe3bd2c4e49ff5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): client/src/components/Chat/BackgroundTasks/Button.tsx:248 \u00B7 client/src/components/SidePanel/Agents/Channels.tsx:749 \u00B7 client/src/components/SidePanel/Agents/WorkspaceChannel.tsx:272 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"802157b00935316167acfd4ba74b364528b06fed37d5875ecb45c455410574bf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/ApprovalContext.tsx:317 \u00B7 client/src/components/Chat/Messages/Content/ApprovalContext.tsx:331 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef73d04e696c9a38c8845579cea0d282382bf60c83d7044cdee53e8c297d55e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/Image.tsx:66 \u00B7 client/src/components/Chat/Messages/Content/Image.tsx:77 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Image.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"488020ff58b94b9d5ba7595ab8fda47021c3b5ea204def9f66b088d74e850528"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 6 locations): client/src/components/Chat/PullRequest/useRowHover.ts:96 \u00B7 client/src/components/Lia/Stage.tsx:541 \u00B7 client/src/components/Lia/Stage.tsx:564 \u00B7 client/src/components/Lia/Stage.tsx:571 \u00B7 \u002B2 more site(s) not listed \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/PullRequest/useRowHover.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"006934096e6e15d55bb2e9f5db31b6d1fa84ecaf26fcab98b476d7f56558c5e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/Code/Setup.tsx:161 \u00B7 client/src/components/Code/Setup.tsx:169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Code/Setup.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"af05daeaf476e60f075b40ea12a2aa2849fad53718c9441e9f0b2a8c8c9a8ee2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/Nav/Settings/CodeEnvironments.tsx:208 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:104 \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":"client/src/components/Nav/Settings/CodeEnvironments.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cd87c1488f17cf2a35fc7128c9555670ff5e5a3cea61de8305ebd927dbb2ad"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/Nav/Settings/StatefulWorkspaceDefault.tsx:55 \u00B7 client/src/components/SidePanel/Agents/Code/Settings.tsx:309 \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":"client/src/components/Nav/Settings/StatefulWorkspaceDefault.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"724d583ec58f8770601f0e6013842705789d9d5de3555ac0edc0a2ad0a84b0a0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:114 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx:149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc3ce3558694e70fb5a7bbffd183e997d191570ab1afafd3a37cb16839fedaa9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Background.tsx:29 \u00B7 client/src/components/SidePanel/Agents/Code/Background.tsx:21 \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":"client/src/components/SidePanel/Agents/Background.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8d5011d4d52a7794c31807d8b402c81ab8127aa28604029efde28a020b732e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Code/Files.tsx:18 \u00B7 client/src/components/SidePanel/Agents/FileSearch.tsx:25 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Code/Files.tsx"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a7d65c0eaebe64f083441542f5e542b412bf346a95b4fff49fd8b1862bdb0f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): client/src/components/Skills/dialogs/CreateSkillDialog.tsx:74 \u00B7 client/src/components/Skills/dialogs/UploadSkillDialog.tsx:119 \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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd73f5a978fadb5e282cec6aaf9a0620e7e75c1e41c73cdc673eecff9958425"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/data-provider/Auth/mutations.ts:13 \u00B7 client/src/data-provider/Auth/mutations.ts:34 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Auth/mutations.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bb3539f3b1475d00bb118c67f78cd54745b71375af13465de0674f5771c4ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): client/src/data-provider/PullRequest/connection.ts:59 \u00B7 client/src/data-provider/PullRequest/signIn.ts:152 \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":"client/src/data-provider/PullRequest/connection.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"023a3edadada49bd23ff943c647bc89bb8940adb35f28ea228bfdb78b6b4d8d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/hooks/AuthContext.tsx:358 \u00B7 client/src/hooks/AuthContext.tsx:370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"148bc0b3fd3395adbcea27e25e221a8adf4282c84ed3e05d958e98b59ee05f12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): client/src/hooks/Chat/useTokenUsage.ts:152 \u00B7 packages/chat/src/react/subagents/author.tsx:252 \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":"client/src/hooks/Chat/useTokenUsage.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"27893cfb8564af6f01393e29c9f0ce5c9dd1056949ca28a643303bce0b655c8f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): client/src/hooks/Input/useComposerRestore.ts:74 \u00B7 packages/chat/src/react/steering/composer.ts:103 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useComposerRestore.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a2f03d848ef9718ed230021b4ebefe7ffad9a2d11a58cda851cc1a69463aa5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): client/src/hooks/MCP/useMCPServerManager.ts:416 \u00B7 client/src/hooks/MCP/useMCPServerManager.ts:590 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"890f5ba4886ce2f1c795ffeef2b64b836f938af4b638b661d5d76829a2d0d620"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): config/ban-user.js:76 \u00B7 config/user-stats.js:42 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ban-user.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e3c7ff68690f51a5a12447bda0c95754c29263b8fbde8c510d0243e44f882a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 15 locations): packages/api/src/admin/auditLog.ts:376 \u00B7 packages/api/src/admin/config.ts:3237 \u00B7 packages/api/src/admin/config.ts:3308 \u00B7 packages/api/src/admin/config.ts:3368 \u00B7 \u002B11 more site(s) not listed \u2014 the 15 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7253b1beea7216e476f3566468a9895746cbe8c63441baca171cf9f999cd029"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/admin/config.ts:3577 \u00B7 packages/api/src/admin/config.ts:3931 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3577}}}],"partialFingerprints":{"codehealthFindingId/v1":"bafc8f7b57f4fc12d4f73a1f176d70d47b6fced76cb19913c771476565fba7f1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/admin/groups.ts:276 \u00B7 packages/api/src/admin/groups.ts:512 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9277d6d3bde7b2fb081e2241ff977d7daee8bfc4929dec256e123e36521f8fa"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/api/src/admin/groups.ts:377 \u00B7 packages/api/src/admin/roles.ts:883 \u00B7 packages/api/src/admin/roles.ts:1171 \u00B7 packages/api/src/admin/roles.ts:1258 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d15476e8309d5604d69a4c2f51715a2c412bb3870a5e77497ff917a7b8abb46"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:788 \u00B7 packages/api/src/admin/langfuse.ts:817 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8c56f1fa05f92f426468310e4769229a9c048a35ff213cb9e1fbca1cb31db4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/admin/secrets.ts:1723 \u00B7 packages/api/src/admin/secrets.ts:1927 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"9001e4f8facaea49cd2c67dde43157db4b126436a639dbfad56236c3e3796d32"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/activityLabels/runtime.ts:233 \u00B7 packages/api/src/agents/activityPhases/runtime.ts:197 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b1ec24c80d37b57f574dfb610db54e06d8f93cf63ff4c2856c91e468e3bf55"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/checkpointer.ts:69 \u00B7 packages/api/src/agents/checkpoints/saver.ts:31 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2343aaba928f1208791ceba74e50d4d0922934ce190f1fe7c32493ac8121e1d6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/checkpointer.ts:670 \u00B7 packages/api/src/agents/checkpointer.ts:679 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b996f9489abc74f0241d5187a608e3e513498c7c3b4a200155f1add92e5751"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/api/src/agents/hitl/allow.ts:192 \u00B7 packages/api/src/agents/hitl/allow.ts:231 \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":"packages/api/src/agents/hitl/allow.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"29478cee3beebbcd678fa2bb88cba2fb93b8d407fce3b1c1efe70969699d487e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/api/src/agents/hooks/runtime.ts:158 \u00B7 packages/api/src/mcp/oauth/obo.ts:157 \u00B7 packages/api/src/mcp/oauth/obo.ts:166 \u00B7 packages/api/src/mcp/oauth/obo.ts:175 \u2014 the 4 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"80707e1ad2680952f5c8f1848174c81a22ae745097ff3e877eebe582dcaab3f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/intent.ts:90 \u00B7 packages/api/src/agents/subagentDelivery.ts: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":"packages/api/src/agents/intent.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9106b348ab71213a1d4f579cdeaca157ca554c75c5f51effc33f4b0728876e7e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/management.ts:156 \u00B7 packages/api/src/agents/validation.ts:174 \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":"packages/api/src/agents/management.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba092b4776626ad0852c23630b44447aba6eac83ebc84aeff9b5e53e04b4434"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/management.ts:202 \u00B7 packages/api/src/openapi/skills.ts:28 \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":"packages/api/src/agents/management.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"74db9b691c119c4ad9ee4872357ad086e2abbaca30b1d9570c3d59d495f881be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/queuedTurnHttp.ts:293 \u00B7 packages/api/src/agents/steering/request.ts:439 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe710accf15217b2700388b4d45b09838c1aeea20a0ce61e1368e7e4b52b105e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/api/src/agents/responses/background.ts:152 \u00B7 packages/api/src/agents/responses/background.ts:232 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/background.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d3ab11a07e05af6a21d62d3ccc018074e668ac02c441d6a9e8da159552b6c1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/run.ts:2537 \u00B7 packages/api/src/agents/run.ts:2852 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2537}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aca61b606c7be307a45c061de493bf9389cf1f535b0f2e2b71f9e0501cf05a2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/subagentActivity.ts:103 \u00B7 packages/api/src/agents/subagentActivity.ts:128 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4d30b8c37fb95b5097e6e56fa398e0dd547564b7e59e96786f89198ab05a37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/agents/subagentTaskRouting.ts:523 \u00B7 packages/api/src/agents/subagentTaskRouting.ts:563 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db62f72026e61435e8ade486d049b76197accf0915975f2506168976acea6f0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/api/src/agents/tasks.ts:149 \u00B7 packages/api/src/agents/tasks.ts:183 \u00B7 packages/api/src/pulls/handler.ts:373 \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":"packages/api/src/agents/tasks.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e31cef8714821e2fc1e5e56f481beb704e4ef0f442de274cabc3413b0fe5748"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/api/src/agents/triggers/delivery.ts:56 \u00B7 packages/data-schemas/src/methods/auditLog.ts:143 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/delivery.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40a212253e8728c1309c4c5993080b1c4fa74b1e0ff540eeffbd2e9e53fb872"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/app/permissions.ts:275 \u00B7 packages/api/src/app/permissions.ts: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bdf6a974fbf2fdc563c1e71d43f1bddddd88ed6775bb7e09e4a2a81d667491c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/api/src/auth/allowedAddresses.ts:80 \u00B7 packages/data-provider/src/config.ts:395 \u2014 the two spans are one implementation copied and then locally edited \u2014 88 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/allowedAddresses.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b4598338bbf7fb6e6cb1e7b40000f9a3b38c3b9d90a35b38b469fe9334fd84"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/api/src/channels/artifacts.ts:208 \u00B7 packages/api/src/channels/artifacts.ts:273 \u2014 the two spans are one implementation copied and then locally edited \u2014 67 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/artifacts.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbf4571fb0274305e53e2037324d5f98e0e83f48d936732c87310a4bafd4ec5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/channels/identityHttp.ts:103 \u00B7 packages/api/src/channels/identityHttp.ts:111 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identityHttp.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5ca8fe55afef05269873015bc2df93cb9e8d17906d5e8bde2fe061b8991995"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/api/src/channels/identityHttp.ts:170 \u00B7 packages/api/src/channels/workspaceHttp.ts:252 \u00B7 packages/api/src/channels/workspaceHttp.ts:274 \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":"packages/api/src/channels/identityHttp.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"793e746f5db2b500156b1062f34fb93390b31ac6935e8fb678795fd170f1510b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 12 locations): packages/api/src/channels/runs.ts:562 \u00B7 packages/api/src/channels/runs.ts:780 \u00B7 packages/api/src/channels/runs.ts:819 \u00B7 packages/api/src/channels/runs.ts:840 \u00B7 \u002B8 more site(s) not listed \u2014 the 12 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c01f5d169154e446eed2754d98189cb86b1305c4578224d19fc218fe4806bd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/api/src/code/http.ts:388 \u00B7 packages/api/src/code/http.ts:671 \u00B7 packages/api/src/code/http.ts:885 \u00B7 packages/api/src/code/http.ts:1000 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dd972bd402a60de09b0a8a1d54a8e0b1d40b8f89bfdebefe9f7c467309e978"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/api/src/code/http.ts:514 \u00B7 packages/api/src/code/http.ts:571 \u00B7 packages/api/src/code/http.ts:956 \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":"packages/api/src/code/http.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cf31bf352088bac5f2f1e16f31a756bdc774e42cc87bbf0412bdf1bc78733a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/api/src/code/instructions.ts:30 \u00B7 packages/channel-gateway/src/socket.ts:138 \u2014 the two spans are one implementation copied and then locally edited \u2014 62 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/instructions.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09c8c1d20c7fb5e9dee983596ef5047d002931c3ffdd3b36414922e7c9c75a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/code/lifecycle.ts:17 \u00B7 packages/data-schemas/src/methods/codeEnvironment.ts:63 \u2014 the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef64d01286cbde7ba48d69c120a8166cc4c8cb401dc790c1731fc24cf00eb7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/plugins/deployment.ts:97 \u00B7 packages/api/src/plugins/deployment.ts:110 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/deployment.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"41dd89bb5f66a881d32bcbbec5528c011534d889a0bbe8ca639fcf86d38dcadb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/prompts/service.ts:307 \u00B7 packages/api/src/prompts/service.ts:350 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/service.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae897cb6c1d62a01aa26b9305dc1835852c643865535e7c9b00b232a6690e862"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/rum/proxy.ts:105 \u00B7 packages/api/src/rum/proxy.ts:113 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bb24462239fbf4775f225cadf27a7938b942292900374c2be9a534336ee018"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:3476 \u00B7 packages/api/src/stream/GenerationJobManager.ts:3750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3476}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efa0031493480d0feef0e4fe235a63ec1056ddd01cd3742a79754cd06dddc5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:6343 \u00B7 packages/api/src/stream/GenerationJobManager.ts:6353 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26a6048d36c620dea6ca05482c5cd22b8482ca1ea4dcf4d52b9c2a4bc363636"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/stream/implementations/InMemoryJobStore.ts:1875 \u00B7 packages/api/src/stream/implementations/InMemoryJobStore.ts:2373 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a14794dc0465fecba41308f480ffb880a14e9aae53ca82bf3575e019fc2e6f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/api/src/utils/axios.ts:127 \u00B7 packages/api/src/utils/proxy.ts:238 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/axios.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26fea6c2b328de41f27766edd20c040214c68fab01fd9707a83526e5e5ad839"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/channel-gateway/src/app.ts:150 \u00B7 packages/channel-gateway/src/shared/route.ts:52 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7954e4176e514f82a672c7c3edd5b1f245adddab22803e3c344b25f5fc59ec8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/channel-gateway/src/render.ts:769 \u00B7 packages/channel-gateway/src/render.ts:776 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"750955d9823198c3636618f49ae423abf700e35d4b78823b85e106f820ad821b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/chat/src/components/subagents/activity.tsx:58 \u00B7 packages/chat/src/components/subagents/panel.tsx:229 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/activity.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"6549b49f9d21206cb2a821ddeeefd0b16666752c249753fcbe744e3e93478831"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/chat/src/components/subagents/panel.tsx:802 \u00B7 packages/chat/src/components/subagents/shared.tsx:109 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a9f87dd35a7b33cd9d77e119e67a1d9a7ba49be9825a8cbbe840d48a8c1c41"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/chat/src/core/parts/approval.ts:71 \u00B7 packages/chat/src/core/parts/parseJsonField.ts:1 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/approval.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbf71079a3b2484b36ab38957391fb90c279b026a4adc65a104e13cc234a717"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/chat/src/core/shortcuts.ts:159 \u00B7 packages/chat/src/core/shortcuts.ts:385 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/shortcuts.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e74f3dccb9ebb7add4c9b6d9cdbdbec22f41661a53f1b58bd4cfc2363a4fdf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/chat/src/core/usage/estimate.ts:61 \u00B7 packages/chat/src/react/stream/usage/events.ts:67 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/estimate.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38561e10c191d25f8cc77696968b8f937e89fab333773650f3ea98bc0d14130"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/chat/src/react/steering/useSteerCancel.ts:40 \u00B7 packages/chat/src/react/steering/useSteerCancel.ts:144 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteerCancel.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce02b78b7fdb6d73b6e3751f1338c0de886d21ca6671881f20b2112e52eb6dd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/chat/src/react/subagents/state.ts:570 \u00B7 packages/chat/src/react/submission.ts:71 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0735ca3337b43624f7e8aedc6cba981314f2ceab78b12d60d028e899766845"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (7 matched lines \u00D7 2 locations): packages/client/src/components/DataTable/DataTable.hooks.ts:75 \u00B7 packages/client/src/hooks/useRemScale.ts:9 \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":"packages/client/src/components/DataTable/DataTable.hooks.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"810c309cb4d610d0fc15951635e908affd5904a5e2e0482d69efa05001495b05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-provider/src/api-endpoints.ts:443 \u00B7 packages/data-provider/src/api-endpoints.ts:657 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"00bad43a2906bfacc634eb66f8fe3b7b824692cdc2aa11e0f3499be43fedf339"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-provider/src/config.ts:1329 \u00B7 packages/data-provider/src/config.ts:1345 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"5684f2d0213094573d8729ebd59b55e4d99094760a17eef57b3f85cddb66a080"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-provider/src/config.ts:1364 \u00B7 packages/data-provider/src/config.ts:1846 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1364}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed2c4d59a54347013b60d56c2f8bc1ca721095653604be0734e39d53d103e05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-provider/src/config.ts:4194 \u00B7 packages/data-provider/src/config.ts:4212 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":4194}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7eff4be93e71741494081ceb7b69d7ac2d95f801ba52ce1142b7a331ae4be2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-provider/src/config.ts:4221 \u00B7 packages/data-provider/src/config.ts:4229 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":4221}}}],"partialFingerprints":{"codehealthFindingId/v1":"00fd0308af7301c98505b444ba1dc27565fda9f8bbd19484be9669d088f21c4c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4 locations): packages/data-provider/src/roles.ts:53 \u00B7 packages/data-provider/src/roles.ts:69 \u00B7 packages/data-provider/src/roles.ts:76 \u00B7 packages/data-provider/src/roles.ts:89 \u2014 all 4 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/roles.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"97d5c8634bb39a8f94a38d7d3a63dea1cf339eb2fa499be9562dd87f8fa4df56"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/app/resolution.ts:2394 \u00B7 packages/data-schemas/src/app/resolution.ts:2401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb77926f6fbd5995568bdf383432007f9e57103a67a1c4eeda425ed0dd401fd4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/accessRole.ts:82 \u00B7 packages/data-schemas/src/methods/accessRole.ts:107 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/accessRole.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3604b4b5ca8c4e4d2d20b010ff47ed89ea4fea643d7f3f41a48592e1cf803c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/agent.ts:2019 \u00B7 packages/data-schemas/src/methods/prompt.ts:1058 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2019}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d45f1a187e894bcb115ef33404643095fe581fdf7896b420da9a7e005344ec3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/data-schemas/src/methods/channel.ts:235 \u00B7 packages/data-schemas/src/methods/channel.ts:282 \u00B7 packages/data-schemas/src/methods/channelRun.ts:343 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channel.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"319b1137de797177160e66e3171bc87513a8b6140eff91eb9d1e82189e395c7b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/channelRun.ts:864 \u00B7 packages/data-schemas/src/methods/channelRun.ts:910 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f72191beef7592c91fafd6c7ddac17175875c53bf6217a96c2c61f25a01b8e1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3 locations): packages/data-schemas/src/methods/conversation.ts:3945 \u00B7 packages/data-schemas/src/methods/file.ts:796 \u00B7 packages/data-schemas/src/methods/message.ts:4373 \u2014 the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3945}}}],"partialFingerprints":{"codehealthFindingId/v1":"411081b0451843082d1784db5030bca2777b81a614cf84a6a2f73e58f29e91f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/mcpServer.ts:219 \u00B7 packages/data-schemas/src/methods/mcpServer.ts:360 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpServer.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71f681636989c6e244bdb79801e7bc83492ad6a489b7a99b294542114a73a1d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/message.ts:2073 \u00B7 packages/data-schemas/src/methods/message.ts:2131 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2073}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54f66c7465fd3eb65c52fe007f5c763a42b5db444d2f897f4f82fe62c53b0d2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/queuedTurn.ts:1290 \u00B7 packages/data-schemas/src/methods/queuedTurn.ts:1587 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7419e24789635356276d6bec41050d73e022b826dad631014fb45be69c97ef"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/methods/share.ts:1330 \u00B7 packages/data-schemas/src/methods/share.ts:1662 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"71e1736a957e00e3306559b2c1e7f153eb90c4fc7eb3c743563df163a7af1e27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/models/channelFeedback.ts:165 \u00B7 packages/data-schemas/src/models/slackRoute.ts:23 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/channelFeedback.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7144cfec85c8a150b47de74786e87bf1e9138b5983546ba72818a017bea936d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): packages/data-schemas/src/postgres/import.ts:163 \u00B7 packages/data-schemas/src/postgres/import.ts:220 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac179b55d8e09e84564393fae4f3cb0d4e61ce01a4f87658bb95c3486e063b7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/app/clients/BaseClient.js:69 \u00B7 packages/api/src/shared-links/protection.ts:131 \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":"api/app/clients/BaseClient.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68f7599e2495c8ff591fc8f434413b6405a6c401a2a3f1e9756d578ceb39e52"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/app/clients/BaseClient.js:1880 \u00B7 api/app/clients/BaseClient.js:1886 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1880}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e33b258a0461ad4e194963485d680ed1418706f16591f1a7b1ab4943816b5ae"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/server/controllers/TwoFactorController.js:139 \u00B7 api/server/controllers/TwoFactorController.js:178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/TwoFactorController.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"72e751434ffe0b5ab0e4ab89474df7df784dbab74a0e222c88964ee990c4052f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/server/controllers/agents/callbacks.js:485 \u00B7 api/server/controllers/agents/callbacks.js:710 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4eef658ba77eefedfdb7bcdbe0e6e9d27472b24495c35108172692f3aeb4e4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/server/controllers/assistants/v2.js:270 \u00B7 api/server/controllers/assistants/v2.js:298 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v2.js"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df7ce8ace871d50290f75848cd089f50a34a7541a9fb405bf87b325124f3228"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/server/experimental.js:722 \u00B7 api/server/index.js:502 \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":"api/server/experimental.js"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"128547dc15676bc9507fc87cddf75faf385c2df8325df90170a139b359a00e5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 15 locations): api/server/experimental.js:683 \u00B7 api/server/experimental.js:689 \u00B7 api/server/experimental.js:696 \u00B7 api/server/experimental.js:715 \u00B7 \u002B11 more site(s) not listed \u2014 the 6 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2dc5f62d7d844dcb3819af2c8a9ee6579b8c4a08037a265ee944c315a5da826"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 15 locations): api/server/experimental.js:683 \u00B7 api/server/experimental.js:689 \u00B7 api/server/experimental.js:696 \u00B7 api/server/experimental.js:715 \u00B7 \u002B11 more site(s) not listed \u2014 the 6 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1181f3bdd0590eb9f7447c81f897c618a67ac38cdf5120ade0f06926cc154b2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): api/server/experimental.js:692 \u00B7 api/server/experimental.js:717 \u00B7 api/server/index.js:470 \u00B7 api/server/index.js:497 \u00B7 \u002B3 more site(s) not listed \u2014 the 5 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75aea8bab9de5d60cdfb1aa4a2a360126dbb0995fd6d6cbdf0dffe77be79455"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 6 locations): api/server/experimental.js:693 \u00B7 api/server/experimental.js:718 \u00B7 api/server/index.js:471 \u00B7 api/server/index.js:498 \u00B7 \u002B2 more site(s) not listed \u2014 the 6 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"49988c9e9feac09ab4e7562b7611eff8a64509655187b757055172848827d4f7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): api/server/index.js:496 \u00B7 api/server/routes/admin/audit.js:29 \u00B7 api/server/routes/admin/config.js:90 \u00B7 api/server/routes/admin/langfuse.js:53 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 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 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee037188216f38d52ef86a9fde75f580a65b4f17e3c7c8263b9d27078197d780"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): api/server/routes/admin/audit.js:4 \u00B7 api/server/routes/admin/code.js:5 \u00B7 api/server/routes/admin/groups.js:5 \u00B7 api/server/routes/admin/langfuse.js:10 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 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":"api/server/routes/admin/audit.js"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed9f514d2f649ec5c5a2b3b4ca46a98106ed8803955e74f21393ce7f03bd814"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): api/server/routes/agents/index.js:264 \u00B7 api/server/routes/agents/index.js:725 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f06d181e9cf6e6f7a4530e298f05842f68af6782591503624ed0dac0bcbc2d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): api/server/routes/config.js:286 \u00B7 api/server/routes/config.js:380 \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":"api/server/routes/config.js"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c817ac765c78ae1cdfba1272bfb20746cea316ba0d1fa3ce6003c00335f63df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): api/server/routes/convos.js:690 \u00B7 packages/api/src/conversations/archive.ts:46 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f814599287d879bbd887db5d6074a0037dc377ee6bbf3b6cd4c060c93c49dab"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): api/server/routes/memories.js:148 \u00B7 client/src/data-provider/Memories/queries.ts:120 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/memories.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2a2d68336aee6f99b50c3f21842cd9aa62846b0b6e8b3f543a597f9980951a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): client/src/components/Auth/TwoFactorSetupScreen.tsx:74 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:127 \u00B7 packages/chat/src/components/parts/DialogImage.tsx:57 \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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2757442008773022a6169da9ebe395270418d152cb8ba4e064f5ab1ea598e15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): client/src/components/Chat/Messages/Content/MessageContent.tsx:97 \u00B7 packages/chat/src/components/Text.tsx:18 \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":"client/src/components/Chat/Messages/Content/MessageContent.tsx"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd75e1a6163838b1d234ef85d23931a902815b2697c6e47f3580a8f59b8531e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): client/src/components/Chat/Trace/preview.ts:274 \u00B7 client/src/components/Chat/Trace/preview.ts:441 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dee70b09a30524e0f2233495e8df8721a8580cca202c5aa5d51fecfe96da13"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx:100 \u00B7 client/src/components/Messages/Content/Mermaid/Mermaid.tsx:209 \u00B7 client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx:72 \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":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6dae8912216a31062ec873816f752860398276d79d683c487a907e68bd150ca"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): client/src/components/Insights/InsightsView.tsx:554 \u00B7 client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx:125 \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":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42e4e287b3e2625969d9a42eee29d193db1a25e9880acc7a53f87ef3e987b6a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): client/src/components/Messages/Content/Mermaid/ZoomControls.tsx:26 \u00B7 client/src/components/Messages/Content/useCopyCode.ts:5 \u00B7 client/src/components/Messages/Content/useDownloadCode.ts:8 \u2014 the 3 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape \u2014 one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values \u2014 and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/ZoomControls.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f40d629547b4810790e98e1454fbcfe2d195642e0c0e7dbf9b19bcaddabff4f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx:121 \u00B7 client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/BackupPhase.tsx:38 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e686aa791396ece6d91a8d58b4a0635f05730a8a6802e04b2e1c0bbf0cfa87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/AgentFooter.tsx:37 \u00B7 client/src/components/SidePanel/Builder/CapabilitiesForm.tsx:25 \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":"client/src/components/SidePanel/Agents/AgentFooter.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ed4912a140bc71cccb51fb2a5d57ca971012fcb53e7338861b032477a871d8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx:133 \u00B7 client/src/components/SidePanel/Agents/Tools/ToolsSection.tsx:90 \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":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d95ff308898b3fa37b3d8112854afde72eb2c64db2d7859ed87976b1f643c8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): client/src/components/SidePanel/Bookmarks/BookmarkCardSkeleton.tsx:4 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPServerCardSkeleton.tsx:4 \u00B7 client/src/components/SidePanel/Memories/MemoryCardSkeleton.tsx:4 \u00B7 client/src/components/SidePanel/Schedules/ScheduleCardSkeleton.tsx:6 \u2014 the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Bookmarks/BookmarkCardSkeleton.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8db1277877b92790de7ea1668725808edd424b36d109803aee4e778985f9f3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): client/src/components/SidePanel/Bookmarks/BookmarkCardSkeleton.tsx:1 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPServerCardSkeleton.tsx:1 \u00B7 client/src/components/SidePanel/Memories/MemoryCardSkeleton.tsx:1 \u00B7 client/src/components/SidePanel/Schedules/ScheduleCardSkeleton.tsx:1 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Bookmarks/BookmarkCardSkeleton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b105d2c77cee86e161b1ff388367765b871e6dc2aae37d8de7968b653809bcfc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): client/src/data-provider/queries.ts:453 \u00B7 client/src/data-provider/queries.ts:477 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/queries.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a7399f118db2646bab881dbdb7f43fe6991deccf13ed218531833e4f35765d9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): client/src/utils/breakpoints.ts:20 \u00B7 packages/client/src/utils/remScale.ts:14 \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":"client/src/utils/breakpoints.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa71476a750d851d355af2a440201022e7e00d13bd30515b832a5f076754bc6"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): client/src/utils/drafts.ts:1020 \u00B7 client/src/utils/drafts.ts:1098 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6be97146869f960b5aaa2cbc1c3537df43d1e70cac9f6f6af47396f97f5901"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/api/src/admin/catalog.ts:578 \u00B7 packages/api/src/admin/config.ts:4997 \u00B7 packages/api/src/admin/resolved.ts:250 \u00B7 packages/api/src/admin/resolved.ts:319 \u00B7 \u002B1 more site(s) not listed \u2014 the 5 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/catalog.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1eb240f189bb0330bd9d185afe8fcca7e54c26e059114f861711ef86b619bbd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/admin/config.ts:4598 \u00B7 packages/api/src/admin/config.ts:4658 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4598}}}],"partialFingerprints":{"codehealthFindingId/v1":"2269b324f56c83394dcfb2c68771d974541c29d5df3fca54f395edc5d2568690"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:313 \u00B7 packages/api/src/langfuse/destinations.ts:194 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ca5ab23311315b973c40598c0e3202e1f7e69145562503097af8a93d9bb548"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/api/src/admin/langfuse.ts:442 \u00B7 packages/api/src/conversations/archive.ts:13 \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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"284926908321a56f2e3f680a18facded323bf22bee9803d2bc44ec7479b40e53"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/api/src/admin/resolved.ts:291 \u00B7 packages/api/src/admin/roles.ts:1170 \u00B7 packages/api/src/admin/roles.ts:1257 \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":"packages/api/src/admin/resolved.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe92704ba4e4bf275cb46045a37f1c67ef021bcb04abb1de21ba9a31ce4c8f8b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/agents/control.ts:287 \u00B7 packages/api/src/agents/subagentActivity.ts:602 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"89e499b2db482cf004f211c13a73dfccfcad9f34094a6299b30fb5bad03f7efc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/agents/handlers.ts:1380 \u00B7 packages/api/src/agents/initialize.ts:260 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd64cb51b5e2c3895b785bf73205b766b2bcdc50a45c4d9a3b84a69dea7d15"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/api/src/agents/initialize.ts:187 \u00B7 packages/api/src/files/code/destinations.ts:322 \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":"packages/api/src/agents/initialize.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff8c24496dfaa44a96142074b0b8d24dae95d29d252918fcc7c824652660965"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/agents/remote/lifecycle.ts:368 \u00B7 packages/api/src/agents/remote/lifecycle.ts:389 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"73ffe8a46430606d33f4457501005557b7c8afabac2bad3d414da1b3d96f4de2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/api/src/agents/responses/host.ts:247 \u00B7 packages/api/src/agents/responses/host.ts:267 \u00B7 packages/api/src/agents/responses/host.ts:295 \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":"packages/api/src/agents/responses/host.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae907381ec569e70d9aad28da5dd262e540056bb1008113cab853a08be6551f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/agents/responses/service.ts:1207 \u00B7 packages/api/src/agents/responses/service.ts:1218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"686ba396af1bb4222b85a0ec422532dec85720307178412216daf4351e298370"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/api/src/agents/subagentContent.ts:490 \u00B7 packages/api/src/agents/subagentContent.ts:513 \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":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1cb33457664a9322e9e1ba30eb3a7b04f1b51ece6d21f24aac58ffaf56a250"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/agents/validation.ts:495 \u00B7 packages/api/src/agents/validation.ts:533 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validation.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"6744b6876ae69ac7d40adc82f8c6a08f28d4ccbff054be42f786e0eaee28f7f8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/api/src/app/loader.ts:49 \u00B7 packages/api/src/schedules/authorization/policy.ts:28 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e53edf53ac1621a80c6f52dca6bfcbe40f39da3d8b163d311717405f8751db"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/auth/allowedAddresses.ts:38 \u00B7 packages/data-provider/src/config.ts:386 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/allowedAddresses.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6e010fd64a9628f90780281f4249ce8aaeaeda3c64a75c473388f6c82cd39a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/auth/ip.ts:132 \u00B7 packages/data-provider/src/config.ts:354 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd15220ccac858352fe33794b3e11ef65e2cd3ee7594f534ba46363cbf359892"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 17 locations): packages/api/src/channels/identityHttp.ts:109 \u00B7 packages/api/src/channels/identityHttp.ts:168 \u00B7 packages/api/src/channels/runs.ts:561 \u00B7 packages/api/src/channels/runs.ts:779 \u00B7 \u002B13 more site(s) not listed \u2014 the 17 copies are spread across 4 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identityHttp.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"382108e30fb6bded3d1097cdbadbe197d62922f542d5c3e0df5335a528e4040d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3 locations): packages/api/src/channels/identityHttp.ts:154 \u00B7 packages/api/src/channels/identityHttp.ts:171 \u00B7 packages/api/src/channels/workspaceHttp.ts:275 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identityHttp.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0a867a1d30cff37c651ed85d04fb39af7c4dd0259f0950744fe8c06e4d5ec9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/channels/runs.ts:626 \u00B7 packages/api/src/channels/runs.ts:641 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"b078f19cab30ea8e66669fafff02c0746f7ee33fb0fa589d12e68b6d223cf207"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/api/src/channels/service.ts:356 \u00B7 packages/api/src/channels/slackDispatch.ts:77 \u2014 the two spans are one implementation copied and then locally edited \u2014 60 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/service.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd58ab0bac7da92afe089b98e73bdc320dd157165614ad83b83d6bd714ff86d4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:267 \u00B7 packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts:284 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ac1f5d13328c81923c7f7647b3991c16eb6da507d58b41091e7412f9b8864a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/projects/handlers.ts:327 \u00B7 packages/api/src/projects/handlers.ts:367 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c86c9074d1252e6f797ae3b59a7f194369a5d05e94fbb62aa6db9b8d44859827"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/pulls/lookup.ts:172 \u00B7 packages/api/src/pulls/lookup.ts:193 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bef90e25e26c7926473d8a7455d37cf4dc05e5d3c02fc0daae4e65f0d5ac01f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/schedules/handlers.ts:772 \u00B7 packages/api/src/schedules/handlers.ts:1072 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c135626c3599a386aaa1a7744a0d2130f62edaabe65d28c3c7280fdd1eb8ead"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/shared-links/protection.ts:498 \u00B7 packages/api/src/shared-links/protection.ts:593 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a86f923e34bc2a2b144e8c7387816048949c49b84896b8ae68a442febb1d706"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/skills/management.ts:353 \u00B7 packages/api/src/skills/management.ts:371 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/management.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ada00ee5cf3f5a2637c73b64ab2fbabe77e71b2172cede295a750ebcbe839ac"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:2107 \u00B7 packages/api/src/stream/GenerationJobManager.ts:9776 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"42315d5f3d7aff997880eef836ff31e5a23a83dadc9adc601e5d8f90a51bad0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/api/src/stream/implementations/RedisJobStore.ts:6074 \u00B7 packages/chat/src/react/subagents/stream.ts:53 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":6074}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b2675141c24efdf81ab0304947a24dae39336549c076665661995a10b4fece"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7 locations): packages/data-provider/src/api-endpoints.ts:58 \u00B7 packages/data-provider/src/api-endpoints.ts:230 \u00B7 packages/data-provider/src/api-endpoints.ts:238 \u00B7 packages/data-provider/src/api-endpoints.ts:271 \u00B7 \u002B3 more site(s) not listed \u2014 all 7 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0634507d9d5e63c6b629df299f28464e1dd27fbfcf8db63cbbafa1dd7e0e8c87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5 locations): packages/data-provider/src/api-endpoints.ts:232 \u00B7 packages/data-provider/src/api-endpoints.ts:240 \u00B7 packages/data-provider/src/api-endpoints.ts:299 \u00B7 packages/data-provider/src/api-endpoints.ts:665 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc299ac2ebf34ab930c4f2aa200cba1557050866fa481e41a9322873d68fb591"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-provider/src/api-endpoints.ts:458 \u00B7 packages/data-provider/src/api-endpoints.ts:682 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d5b41841a8269f82ab22f815d13b9da6eedc120d7fe3e00f5a69f2fdcc8af"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-provider/src/config.ts:1054 \u00B7 packages/data-provider/src/config.ts:2528 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"096275e586bbeedb7c7f85cd108320f3d49a5d885e067a9e67b25fc9e8bdb1f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-provider/src/config.ts:1828 \u00B7 packages/data-provider/src/config.ts:1853 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"628679663abc72cdce9ec8918b0ac819ad88fd455be9b888f9bb05c68406baed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-provider/src/permissions.ts:250 \u00B7 packages/data-provider/src/permissions.ts:258 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/permissions.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8a91861bd9f995a930c06353e1d198414bfb4c88e633e3c43eb8f594594a6e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4 locations): packages/data-provider/src/roles.ts:62 \u00B7 packages/data-provider/src/roles.ts:101 \u00B7 packages/data-provider/src/roles.ts:107 \u00B7 packages/data-provider/src/roles.ts:113 \u2014 all 4 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/roles.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb223c003288b5c5a5307f24ebdfd0073c35d5140d6a2be6dc64af31e9708e7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-provider/src/schemas.ts:1186 \u00B7 packages/data-provider/src/types/responseReview.ts:26 \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":"packages/data-provider/src/schemas.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"853aee55bcbae10e0dc983bdf56d976a5c8a0238257e07c226c802f16ce134be"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-provider/src/types/queuedTurns.ts:33 \u00B7 packages/data-provider/src/types/queuedTurns.ts:49 \u2014 all 2 copies are in the same file, and the CITED SPAN is a run of DECLARATIONS inside a construct \u2014 the members of a type, or the entries of an object or array literal \u2014 with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal\u0027s entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or \u2014 where the copies are a literal\u0027s entries rather than a type\u0027s members \u2014 one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared \u2014 a decorator and its options, an annotation, a registration table\u0027s keys \u2014 the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/queuedTurns.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"025d07c8a5b1e2c1f7be632988b9585345f9be2e96b34b885aa9e9fa51f6141d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/app/paths.ts:74 \u00B7 packages/data-schemas/src/app/resolution.ts:575 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/paths.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17d00664b9e1f13c94d227d8b2e0614d377a8b8086ef8d0f4c26aa283b8e40c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (6 matched lines \u00D7 2 locations): packages/data-schemas/src/methods/browserSetup.ts:412 \u00B7 packages/data-schemas/src/methods/browserSetup.ts:423 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"45229da9786362c402c19c87d64c550e96c86b4d7ea009452e6f3b12b20d912b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/methods/chatProject.ts:275 \u00B7 packages/data-schemas/src/methods/chatProject.ts:669 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6923aca15fa27118dfd76189ef87e7052fdade22c5a5a50b2e3636a3d18fc3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/methods/slackWorkspace.ts:315 \u00B7 packages/data-schemas/src/methods/slackWorkspace.ts:525 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"349a24870c82c4e194d134f9921f7532df6007df9ca400633b80344601677229"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/methods/triggerDelivery.ts:1971 \u00B7 packages/data-schemas/src/methods/triggerDelivery.ts:4912 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1971}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cac80b0c0f2694277e7dd14fe2effbcaf08ffdf12035150a91ae29082c5a0c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/methods/userGroup.ts:479 \u00B7 packages/data-schemas/src/methods/userGroup.ts:501 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4d3ebc4af78f88499a102aecffe19bf1b684ceea354a8b76bc63940fc4b40c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/postgres/import.ts:138 \u00B7 packages/data-schemas/src/postgres/import.ts:218 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d5ea7cc46e293a6251eea058b5c26ed442c4e60092a686959db702988a20a1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): packages/data-schemas/src/tenant/conformance.ts:91 \u00B7 packages/data-schemas/src/tenant/conformance.ts:100 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/tenant/conformance.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b898cf3658e0121a04d407f099d4f51f9cffceed7823f1d257a96a5015e6304"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/Agents/VirtualizedAgentGrid.tsx:142 \u00B7 packages/chat/src/components/messages/MessageNav.tsx:470 \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":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dbf090edea862b6dd1ab53eb3fe38071a2c6ad7680dcf9ae72a15f8f9d09a85"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/Auth/VerifyEmail.tsx:16 \u00B7 client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx:47 \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":"client/src/components/Auth/VerifyEmail.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"60984ecd90046b093ae1c5bfa9e6eb7625061b7cc042fa50db00f57b8aecc510"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/Lia/engine/face.ts:162 \u00B7 client/src/components/Lia/engine/face.ts:167 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab9219f97e3a7b51b91e59af1523c8ae385deda534b833df57e347397f636b3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx:53 \u00B7 client/src/hooks/Plugins/usePluginDialogHelpers.ts:10 \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":"client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7e31dcfdd80cb18e092562249ca2062a3598a60e3d44b1b5804a3f62853bdd"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/SidePanel/Bookmarks/BookmarkList.tsx:23 \u00B7 client/src/components/SidePanel/Schedules/SchedulePanel.tsx:62 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Bookmarks/BookmarkList.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18d3e1c548ead8fee27ee96e8679a7330d5c80c598f34a4ebf6c83b03d90a0e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/SidePanel/MCPBuilder/MCPServerCardSkeleton.tsx:4 \u00B7 client/src/components/SidePanel/Schedules/ScheduleCardSkeleton.tsx:6 \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":"client/src/components/SidePanel/MCPBuilder/MCPServerCardSkeleton.tsx"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7830fae6cb4b250e55b8160c386abf752dd3c6191e04e8560924a2205f9d8f0b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts:236 \u00B7 client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts:274 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"76fd8c2c4695c5716dce3e03e89753a450f0db05781a5675fda4c8786498b1f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/data-provider/PullRequest/batch.ts:228 \u00B7 client/src/data-provider/Subagents/queries.ts:17 \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":"client/src/data-provider/PullRequest/batch.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3845c0b0f605d8ac0c57cc9b1cc81b02d6ded22e2e717e6284f434bd5359be8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/hooks/Conversations/useReplyAlerts.ts:116 \u00B7 client/src/hooks/Conversations/useReplyAlerts.ts:147 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ad521e7241fafe6be297e3aec666f0f180c7c8404e7e2be8ed817d05256ba3"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): client/src/hooks/Nav/useDirection.ts:9 \u00B7 client/src/hooks/useDocumentDirection.ts:5 \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":"client/src/hooks/Nav/useDirection.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec446469f28437f863504e9b20c0e0fbde12c87adb64f5e7850aca7b8d7e8a75"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): config/migrate-prompt-permissions.js:197 \u00B7 config/migrate-prompt-permissions.js:204 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-prompt-permissions.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aeacefffa0059b292fe8e788d4617bf8bfa22376d2ec0869d3957aa11df4ee"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/api/src/agents/background.ts:1614 \u00B7 packages/api/src/agents/background.ts:1745 \u00B7 packages/api/src/agents/background.ts:1779 \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":"packages/api/src/agents/background.ts"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d837b9f83e2019daf3673b05758ecb98ce99399c1459b16e3c2ab771b8ca0d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/api/src/agents/run.ts:2001 \u00B7 packages/api/src/agents/run.ts:2541 \u00B7 packages/api/src/agents/run.ts:2854 \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":"packages/api/src/agents/run.ts"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"536915d95d6b8d961fe06183550147147022bff7a22a64d498974c1a74927054"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/api/src/agents/steering/promotion.ts:78 \u00B7 packages/chat/src/components/subagents/transcript.tsx:130 \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":"packages/api/src/agents/steering/promotion.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"657b216bcb2f719547d05c8b6047392c957ae4d054f59f35880ba7116b300f87"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/api/src/agents/subagentActivity.ts:603 \u00B7 packages/api/src/agents/subagentContent.ts:574 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"a20058065c200a99329767da92effc83e79a9c066e1a666d1d902343ed1675eb"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/api/src/auth/ip.ts:34 \u00B7 packages/data-provider/src/config.ts:308 \u2014 the two spans are one implementation copied and then locally edited \u2014 64 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee50251567aeb2ce4395d8994418aa755eb997fe6e1aef5ab5bf829c367685f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/api/src/auth/openid/session.ts:1338 \u00B7 packages/api/src/auth/openid/session.ts:1354 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1338}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3405bb0ce9c4634c8559667025154863cc36d78a30ac8e11a33a0c4ad33b4ed"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/api/src/mcp/MCPManager.ts:2007 \u00B7 packages/api/src/schedules/bearer.ts:391 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc16fadf5c1035eaf800bcd46f898fa887019bf0eb0e9f5fc650311a495165cf"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/api/src/mcp/oauth/cleanup.ts:197 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3765 \u00B7 packages/api/src/stream/implementations/RedisJobStore.ts:3849 \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":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d8d4e479cf8120ca228d0ad7e483b5c5f8ad15248808efe26457c3d0342ecb7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/api/src/middleware/code.ts:6 \u00B7 packages/api/src/middleware/promptResolveLimiter.ts:5 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is inside a TYPE DECLARATION, not executable code. There is no function to extract and no call site to call one from, so do not read this as an extract-a-helper row: the collapse a type offers is a generic \u2014 name the shape once, parameterised over the part that varies, and have each copy instantiate it. First check what actually differs between the copies: where they are a MATRIX of cases (one entry per input, differing precisely in the case each one pins), the repetition IS the enumeration and collapsing it would delete cases rather than de-duplicate anything \u2014 leave those alone. Reported because the copies that are not a matrix drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/code.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a167a5ae88241bf7230cc00c877a414e91705d12518381870d0f6d84260ff4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/api/src/stream/GenerationJobManager.ts:9972 \u00B7 packages/api/src/stream/GenerationJobManager.ts:10001 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9972}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc431f179daac20293ff4d1341a8cd13108ef962a95a904d23e022012e8e5db7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/channel-gateway/src/config.ts:80 \u00B7 packages/channel-gateway/src/config.ts:98 \u2014 the two spans are one implementation copied and then locally edited \u2014 52 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/config.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ba408a7499648b5253ff6f264edfcbf39f590f732294cbdbbb8144198427f9"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/chat/src/components/composer/steering/Queue.tsx:571 \u00B7 packages/chat/src/components/composer/steering/Queue.tsx:818 \u2014 the two spans are one implementation copied and then locally edited \u2014 66 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ded6abfb8d2e72af6b8743939017f9c4c8d79ff56886e72ff338baeb0689f2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): packages/chat/src/core/code/routing.ts:123 \u00B7 packages/chat/src/core/code/routing.ts:146 \u2014 the two spans are one implementation copied and then locally edited \u2014 74 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/routing.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70ed8481239d899212572e3f4d2d37b21dd27b3e6c706e62b34e09c0f60e881"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-provider/src/api-endpoints.ts:541 \u00B7 packages/data-provider/src/api-endpoints.ts:613 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ebac203a7b87646cc55194ef85b402593761d3dd943c01ad80f1b49176a932c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-provider/src/theme.ts:279 \u00B7 packages/data-provider/src/theme.ts:317 \u2014 all 2 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/theme.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8d6ada0771dffdbaccb551057f16337146ab83c4900f171cf3c1ed1ac1b589"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-schemas/src/app/conformance.ts:855 \u00B7 packages/data-schemas/src/app/conformance.ts:898 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e475c6fce6e2248181333567ddc990ebb37781280aea141abe9551f12fa6525"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-schemas/src/app/derive.ts:265 \u00B7 packages/data-schemas/src/app/derive.ts:271 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd95e60394377ef31b863dc617dce3cca5125ccc17b9327813741b4d23b530fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-schemas/src/contracts/favorite.ts:56 \u00B7 packages/data-schemas/src/contracts/favorite.ts:154 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/contracts/favorite.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ef61ecbe2d3a1d27993295dfada153889a98ba4181c62d22c8e812d5c2c480"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-schemas/src/methods/schedule.ts:755 \u00B7 packages/data-schemas/src/methods/schedule.ts:1154 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a19c8ce3ee6316283da786850df19d31627419e8dc9c128737507141b31e05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3 locations): packages/data-schemas/src/schema/agentCategory.ts:44 \u00B7 packages/data-schemas/src/schema/schedule.ts:312 \u00B7 packages/data-schemas/src/schema/user.ts:246 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/agentCategory.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"11014cc211e960485dbe1345fb5939889d9cf5664d7d41fcb371e483eabc1c31"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-schemas/src/schema/skillUploadIntent.ts:30 \u00B7 packages/data-schemas/src/schema/triggerDelivery.ts:248 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/skillUploadIntent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc2cdfea1ef6c20136982a1e133b6ac3c379af5f04d4eded752e6e74d1d10708"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): packages/data-schemas/src/utils/tenantBulkWrite.ts:74 \u00B7 packages/data-schemas/src/utils/tenantBulkWrite.ts:80 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/tenantBulkWrite.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb91de39e587a50059fe99ef59dbd7c82c3ca44de6de3a6b31e7189b027fee5b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: client/src/hooks/Chat/__tests__/turn.messageIds.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../../packages/api/src/middleware/messageIds) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/__tests__/turn.messageIds.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"edf760f574e4cbf9edd6e38485f4fbd80a89a1ed5084d2f33570f9312fac2c2e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: config/invite-user.js:7 reaches into another package with a relative path (../api/models) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/invite-user.js"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75a3ffc22488054c89a8225a522c03da24b38403e7b6b1cac814d9fa8ddb7b6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: config/invite-user.js:8 reaches into another package with a relative path (../api/server/utils) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/invite-user.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35c297810985a6ec2d7273490f38a6beebb1b2fe5fa1835c3cbe01def841ee6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/byom/browser.test.mjs:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../packages/chat/src/core/shortcuts.ts) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/byom/browser.test.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e2ac94dbc412e63bc0ba12684aacef25e02a361131859742961441de273f76"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/content-filters.helpers.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/api/src/protection/programSize) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/content-filters.helpers.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a36ba56662b5ff7fb475ba1aca3e8b03ce2a6d55bf879d32118d5c08563ff0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/model-spec-starters.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/model-spec-starters.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"708d0613431247007896da93f95abaf869bcd3cb73f846a640f704aaa7ba1571"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/action-method-labels.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/action-method-labels.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ba22627e59a8295002a37b3b232e0b50343f6cd7e5bcf8760144e2c83295fd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/badge-label.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/badge-label.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6154178f6079079c57d958d22c227ee925de876e9813c69374a7cbc8a03d96db"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/button-roles.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/button-roles.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2dc57be770b94669e5f72d0e478c62d62e1eb98bba9842f38cc6502defce49"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/chrome-border.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/chrome-border.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"f341efdc66284a9d32dec0bafe78bd29e5de0d3200738418edf3daf4188c9fc9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/chrome-quiet-surfaces.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/chrome-quiet-surfaces.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"074600498be4bd916fafd0e0e696cb2a9980e59b44a6a01555706cbf162cdad4"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-checkbox.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-checkbox.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff3b1240eb22ad163cb30a9ab075dd5f663be11f63e7956ecc367183aed4916"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-control-radius.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-control-radius.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c2903bd9213efbcab33acfea3b47d82374f87a4e06c1c164042692144c06a7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-layers.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-layers.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62f3f3efaee5981b6dc13a67236f04105a756f47d97601ebccb5fd96f5cd2a5"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-spacing-mono.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-spacing-mono.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd6ef8a97e6e381f26e6edad3f0ea157973c3d6f7e499b7531a69660b95e519"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-switch.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-switch.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cbc1cd8eb87747f182c4727f1937049a8c8a611c13d1d69709fe57d9ec6f44"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-table.spec.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-table.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"16ec3a9c99336faf84ea591b21eb3d8a7d1f579d09ee19847d2b33353847d693"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-theme-shape.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-theme-shape.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e1b41b8fef1189212a9d256ff51b0c00d02c41ed6f94884aec67005d98aaf41"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-theme.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-theme.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"000db383a8fef918756bdce6ec00bd8cd2523342cf7d1557deb37e5c0897f505"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-theme.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/default) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-theme.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"c275a0f1d1f81db107d0b1e588bd60ad1bc46adbdfd03a0dec844d6b7312d454"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/clickhouse-theme.spec.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/clickhouse-theme.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c95ffcac8d7191e7e9def9c82c50f2e2212c66741e02d4b34d93714858322a1"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/control-border.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/control-border.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37aa32e70a5de117416163abbdb4b40e7aeaf045d464676ab2cd081e8efbd98"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/control-border.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/control-border.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d6355cf6c330b86a555d2461aa772078d3daa953d951fc945239ed8f8a59bc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/control-spacing.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/control-spacing.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1013e27b5dfac081d1e99dee9d0ad9230f1002b537158a95bcadce77f07c059a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/corner-roles.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/corner-roles.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a2eb795e7b78eb2948578f33c7110669cfa5fb574c175da0c9a35fb5ab04b9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/deployment-theme-first-paint.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/api/src/html/theme) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/deployment-theme-first-paint.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"210a4b3ccf4274ad4206a9c62d5081ec5e505a1a8e65f50e73143afac608af21"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/deployment-theme-first-paint.spec.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/deployment-theme-first-paint.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6c11694621aa33ee471000a7d13b6d8d60d5ab0b141d42f420bb4cd20c6ae2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/deployment-theme-first-paint.spec.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/registry) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/deployment-theme-first-paint.spec.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6cee480d2a73e680d5bfa7c9987db0a00574e5ae808baf263a778ab3beb0b0"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/deployment-theme.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/deployment-theme.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5fbf59b76eb7bba8f0e70f58d41ee5ba5ca1b6dca070823f25a41a489796ef"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/deployment-theme.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/default) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/deployment-theme.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aca8738229fe76313d466c2f78fa7a65147a92ccb3d3cb89cfbbf6c8d620563"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/deployment-theme.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/deployment-theme.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec569040968b5297c9c3f1f4313408e3cde55eb14c1241778392d6fdec9e2099"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/dialog-chrome.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/dialog-chrome.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadcdfaa51098702d6de1431319f25f23c929f0b9d7611f6a8ab7908ea977171"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/field-fill.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/field-fill.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c40ceae36f29fadb81ceb36eae39f6ec58f63b2f859d302a14703cd83cff03fd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/field-focus.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/field-focus.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e184723c232ee4dc05c68ea76ffef1a11643400239112d250a57bd80babd54d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/field-variants.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/field-variants.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0730ff3863a344d6a835abeb6c63b7a385afc4060f344ba674095ac066cd588"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/file-tile-theme.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/file-tile-theme.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"80befebc0d3973e3fc3fc05122fb63035f662f019eae2978e26230a40aef53c9"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/focus-outline.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/focus-outline.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1ec583375d479ef3910720ac7581b96d7e38acdf08121391a8ac23fa7d97e3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/focus-role-utilities.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/focus-role-utilities.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3ee9dbb1fbc0757f3c73f11ca5c9387833ba1965b01cf22fb583a26a0c868ce"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/focus-subtle.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/focus-subtle.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83013d14471328c828f62c620736588d4b752f36f6a1fdec57dc24f51de9722"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/input-number-disabled.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/input-number-disabled.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bef16768968cc4804cba47acf7b7c3ae8d0959bd674a164f71b6ff23d50575b"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/input-number-option-focus.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/input-number-option-focus.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b6ffbf5a26cdeaab71b471209030e2e6e77b240d16fab768b2b8a2206c8117"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/literal-roles-theme.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/literal-roles-theme.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d226509aa6303e142850af633579d6d6696b7cbb05e5ea5f4c1e5bf088f8597e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/mcp-images.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/api/src/files/resize) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/mcp-images.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"004c0db3e15fdb275a57314812147346519d985d009711ea3df95ae5e79dc294"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/mcp-images.spec.ts:6 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/api/src/mcp/parsers) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/mcp-images.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7f3691cc312a713ca59ad060f338ffeb56316e2d15cb0389dd07f2fdcfe8a67"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/media-overlay-theme.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/media-overlay-theme.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1ebebe343ea21569298f302ca51228f62e3db238bfda28b183d95d792add2c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/memory-alert.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/memory-alert.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc2318129ed223caed265871bbf786b2eb0b2a6185effaf914102e53c8990e3f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/menu-shadow.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/menu-shadow.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1269607b21e6c5b3018d3c7e2d12f3e9ff8784d3a9f6a4ad1da32f05d2ae80"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/message-attachments.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/message-attachments.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"d76dd844942b5509d417c5d30b952f50685f8e737550f1d37b3226986b71653d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/message-theme.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/message-theme.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e28c0fcc654683a3911357ed07c6ee33532aad1c73d30641a78b8a1edb2400d"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/mobile-drawer-controls.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/mobile-drawer-controls.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd919195ef5da0a0df7532ec02a39667464bd9a7577a4f643449f9cc4fadd47"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/native-search-warning.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/api/src/app/permissions) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/native-search-warning.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8841fbf498a79556fd482e90b4d96a2c2528b855ee70cf12327c72b6a4eeb548"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/nested-popovers.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/nested-popovers.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d01326d94d4a6b2d3f1389ad994f65fe44c755e4c388513f8ce1992068beb8e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/panel-shape.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/panel-shape.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"158a34b58c6946c37d66124b492c5932dd384ce7f597bab58cef3d401f2abf8a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/primitive-sizes.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/primitive-sizes.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca1120e8be95b567335f07bb6d59b4b0b9db441e233952dcb87ebc84c343033"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/principal-type-labels.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/principal-type-labels.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb999e870a9e44de383b3c6785b651ac1bad5cf484c69a0837d4090a76f250dd"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/prompt-category-icon.spec.ts:8 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/prompt-category-icon.spec.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b809b74b37a720420e16426b4ed1a23a409c1e8772b55e25c2f480fc958f32a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/prompt-category-icon.spec.ts:9 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/default) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/prompt-category-icon.spec.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1407d88c55c33a0df73117b5573f3b7d08ccfebdc047f8808add97956152b413"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/prompt-category-icon.spec.ts:10 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/prompt-category-icon.spec.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"997ec436a1545c570971c689730c2cec075f316483c311879a77738fc41fc459"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/prompt-surfaces.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/prompt-surfaces.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f28b0d3b62ca47380ecf76023a1c865c13bfaf4411b6adc9128c2ac3e4ee67"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/prose-shape.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/prose-shape.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"7716cf8c35e49194258921a5905d262d55a7f45075d00aef68926bf1735ee9c6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/rail-nav-states.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/rail-nav-states.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a170aad584724b4dacf301fb0d4cbfa707df60c9e07f148a97e5bfbe42651f"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/scrim-opacity.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/scrim-opacity.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd474375f31911be6eef4c12ffd946b901e3dee40c5a01c60cb1c8151f53119"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/semantic-surfaces.spec.ts:11 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/semantic-surfaces.spec.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19fc42846bbfba72f58cee43d0d0046f87a911ae11a785619b6ff892610a472"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/semantic-surfaces.spec.ts:12 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/default) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/semantic-surfaces.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9be3333275bb90e3edd4598aec71b16a1fd47e78805e9fe70653f1e8e425378"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/semantic-surfaces.spec.ts:13 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/semantic-surfaces.spec.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0f2243b4e765e5efc06b07bf0bfe3efefa7c39df6253620218181ee68c71ea"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/share-deployment-theme.spec.ts:2 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/share-deployment-theme.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff267f78963b7b117a40558a8610591b35a20f6089ce31872b5de88a3602b303"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/share-deployment-theme.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/default) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/share-deployment-theme.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6de35c8d3cc842d6d9bb7c355d5ea1b418eaae8db94d6fe02dbe0e7c09b31e25"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/share-deployment-theme.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/share-deployment-theme.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd179e4cb16041fd9f05305e478aad42d27945f2aa1a2c39317131971dc404f3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/state-roles.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/state-roles.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc4d211d510c2a0884560b9f40cb8bd94afafc08f44604d1231221c5a37308e"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/stylesheet-roles-theme.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/stylesheet-roles-theme.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde930abf11ed1773beb9c72f6258087622e7a5c1e4b90414ac5ddccfade58e7"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/theme-paint.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/theme-paint.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"397c44d2323b77f439f69f25324a193ff35260c3ac25def26a6fa49002b827ca"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/theme-paint.spec.ts:4 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/default) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/theme-paint.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef203d837d47a973dddba1149a81adcc4bd1b4c7961019af11275689c6292c0a"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/theme-paint.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/data-provider/src/themes/dark) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/theme-paint.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f3ef77096cfb0e3044a6f9246f20e87c62d6068dd6e60b2ff6534cc72e5cb2"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/theme-root-nesting.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/utils/theme) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/theme-root-nesting.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b299bc07cc44d3866108bb51cbe63ece176a6323973865961f5629781e8960c"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/theme-surfaces.spec.ts:5 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/theme-surfaces.spec.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc36df3911fa64a40a55fe0eee54974469660579273f5760eb63d27106572f00"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/theme-tooltip.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/theme-tooltip.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad4554b62ee9ce5a5eaab42b57024f1b024b948911f0bc8459ec652a8ddc10bc"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/type-roles.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/type-roles.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d89122b5148e7b693dea03c3f98e5ac71d164037ab0e0811841506c0c393d6"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:test-cross-package-internals]: e2e/specs/mock/scenarios/type-steps.spec.ts:3 reaches past another workspace package\u0027s public entry into its internals with a relative path (../../../../packages/client/src/theme/themes/clickhouse) \u2014 the test is coupled to a file layout that package makes no promise about, so a refactor behind its entry point breaks the suite. Import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/specs/mock/scenarios/type-steps.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebe65eabba314127ef7b3174b4c322a3ad846ff820bf0d93f0d34b3ad6b5764"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: scripts/clickui.mts:17 reaches into another package with a relative path (../packages/client/src/theme/themes/clickui.json) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/clickui.mts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9e63c0c6ad7c3c55d0e3ff3797748e8b47c459023264f31614835da8fff4f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeAgent (cyclomatic 298, cognitive 344): initializeAgent has cyclomatic complexity 298 and cognitive complexity 344; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b33adf89e9ec41d2bafee338bf7e030b7ac871561faf4b94d5d2ffd83a7f133"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResumableAgentController (cyclomatic 234, cognitive 344): ResumableAgentController has cyclomatic complexity 234 and cognitive complexity 344; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a2485ebf4d96e46107018ec98e83f66df37e362407fff501f8710f88ef2b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResumeAgentController (cyclomatic 208, cognitive 335): ResumeAgentController has cyclomatic complexity 208 and cognitive complexity 335; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"549fe73f0d5d2e42e012ca2f708b97de1d173f28880efa5c3a37c95c91967bf4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 192, cognitive 317): (anonymous) has cyclomatic complexity 192 and cognitive complexity 317; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc703fe88e3d229925ad2052d358ff0b91c63392eaa5cc631308bee4625a7ec5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpenAILLMConfig (cyclomatic 169, cognitive 271): getOpenAILLMConfig has cyclomatic complexity 169 and cognitive complexity 271; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a825d5ac2a8ecf8bd3a605d3e916043c0a902e387639117779c24be430121e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startGeneration (cyclomatic 154, cognitive 233): startGeneration has cyclomatic complexity 154 and cognitive complexity 233; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca80976891143ca31b96ac76af3d8fc50c161976274e270ee1fe2e8a379ae62c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubagentThreadPanel (cyclomatic 150, cognitive 142): SubagentThreadPanel has cyclomatic complexity 150 and cognitive complexity 142; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef1e220ac5691d07cce783b54d362887e3142c122abf3bc977d21a84fb0e00b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deserializeJob (cyclomatic 128, cognitive 129): deserializeJob has cyclomatic complexity 128 and cognitive complexity 129; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5719}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f2091590a8a9173c0cffa3eb4310015cd05dc642e566aada67e7f01d5e2f0f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCheckBackgroundTask (cyclomatic 127, cognitive 396): runCheckBackgroundTask has cyclomatic complexity 127 and cognitive complexity 396; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"7526d957692368b07ae264c5d6fd7706e98ed6599296ec8f7af87eff45ab43b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidResult (cyclomatic 121, cognitive 99): isValidResult has cyclomatic complexity 121 and cognitive complexity 99; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"73676424759aee714cffa930835b2960cf477d0f48d1e264c50749dcfca6004e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function subscribeWithResume (cyclomatic 120, cognitive 195): subscribeWithResume has cyclomatic complexity 120 and cognitive complexity 195; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6336}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe5f064b91b874c0cefb561644a851272c7b960ccb7eed0d5aa78ac3e12bfa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTool (cyclomatic 118, cognitive 215): callTool has cyclomatic complexity 118 and cognitive complexity 215; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1523}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45a421ccd78830b3df38ab675ffe9e1ac7ef8f1d3328b685063bb6b78352d0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateInterfacePermissions (cyclomatic 117, cognitive 170): updateInterfacePermissions has cyclomatic complexity 117 and cognitive complexity 170; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"161bb82c6d05b98fb4a9debcba62b58ef4be98a561a848ba0f57738a1529ff7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WorkspaceChannel (cyclomatic 115, cognitive 82): WorkspaceChannel has cyclomatic complexity 115 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"016d74f52dd25a228ddd1b13c49215c031371ee621deacaf65b2375100254e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSettingDefinitions (cyclomatic 112, cognitive 184): validateSettingDefinitions has cyclomatic complexity 112 and cognitive complexity 184; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc7a79ba48bb36b098392119c9c42b33d3fdf7ef4969bb137c2a1a212bcf982"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordScheduleOutcome (cyclomatic 111, cognitive 141): recordScheduleOutcome has cyclomatic complexity 111 and cognitive complexity 141; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1450}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92f7c1e8a739cf23ab2491383cad6bf217257ab866a17f772ddcd87b909dbab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createJob (cyclomatic 108, cognitive 106): createJob has cyclomatic complexity 108 and cognitive complexity 106; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"78002bd8a5e87637cfa7d293568dc458cf27b2d0c427ced86009be8275f2961b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeWorkspaceTool (cyclomatic 107, cognitive 143): executeWorkspaceTool has cyclomatic complexity 107 and cognitive complexity 143; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bd29c397444dfa9e50a73b5a38b39b2b8df78a030d11fce6dd77085aff0885"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createJob (cyclomatic 106, cognitive 139): createJob has cyclomatic complexity 106 and cognitive complexity 139; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2548}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f600c3bb9b91e8b905d092e074f344a191e58acf41547078d41ad74a93b2aa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMessageContent (cyclomatic 103, cognitive 259): extractMessageContent has cyclomatic complexity 103 and cognitive complexity 259; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":781}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9a4fdec3d88fcfcdd76a58ec3c1d75b29cd4827c8af5e2ce1d86da9552f5d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSteerRequestInternal (cyclomatic 101, cognitive 118): handleSteerRequestInternal has cyclomatic complexity 101 and cognitive complexity 118; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfb171218a2b373f97470f198f2b7d48cfe19636a7ba780b70472faf91bbfab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRun (cyclomatic 99, cognitive 112): createRun has cyclomatic complexity 99 and cognitive complexity 112; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744d926badc15ba1613252628fc3b0bcd50a60e9ba9d9ab62816c2614b23e8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldSubagentEvent (cyclomatic 98, cognitive 152): foldSubagentEvent has cyclomatic complexity 98 and cognitive complexity 152; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"087493d6a2d32ca4292673f11bcdba7237e66babc06edac1cadb2eadbfdbadda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGoogleConfig (cyclomatic 98, cognitive 142): getGoogleConfig has cyclomatic complexity 98 and cognitive complexity 142; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c6d77247791855874abfde9dca2b47e767141f5b81921cf4c1c2defe757d29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimBackgroundToolResults (cyclomatic 98, cognitive 110): claimBackgroundToolResults has cyclomatic complexity 98 and cognitive complexity 110; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2e95b7d789b080d0d2d8c84d8e4e87121d9ce81a1ee383a39e02815690a524"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveConvo (cyclomatic 97, cognitive 136): saveConvo has cyclomatic complexity 97 and cognitive complexity 136; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2422}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c67b84bea12dbeb061ef22b27c996934cb5a4df83c10fafb33ae97904eb5e10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLLMConfig (cyclomatic 96, cognitive 128): getLLMConfig has cyclomatic complexity 96 and cognitive complexity 128; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"43882ff07c252ee86b5602fdcec0bf8baa2f8e5044fa48c5eb68005b44d92019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordEvent (cyclomatic 95, cognitive 180): recordEvent has cyclomatic complexity 95 and cognitive complexity 180; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f8e285f8bdbf697c1f3c70f25704cfcea670d615f67bb9b42b05da36bd3394"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeWorkspaceMenu (cyclomatic 95, cognitive 84): CodeWorkspaceMenu has cyclomatic complexity 95 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"433650c929d9b9be3e10392590d7a684e7354b7a7ca1f83ebbaf2c405445798b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectModelBoundContent (cyclomatic 93, cognitive 203): inspectModelBoundContent has cyclomatic complexity 93 and cognitive complexity 203; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2cba18853e05c6bbf445e824b1e46ef7ca1d1be7c4964351092ca761ef158c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTurn (cyclomatic 92, cognitive 91): buildTurn has cyclomatic complexity 92 and cognitive complexity 91; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/build.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d0d41c0234514f1148b9b4a1448d9a7f96733070b175d748e982cbf4a36714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendReservedMessage (cyclomatic 89, cognitive 134): sendReservedMessage has cyclomatic complexity 89 and cognitive complexity 134; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26f147ca87ae9cfc452c5cf3ba173a54dea9f529ea69b106e04544d5fe500ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatCompletion (cyclomatic 89, cognitive 95): chatCompletion has cyclomatic complexity 89 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4563}}}],"partialFingerprints":{"codehealthFindingId/v1":"548a6036fd53c013c37d9fe623ba62abd4353f4db9d4e29bf6f4a2897c9e034d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAgentHandler (cyclomatic 88, cognitive 128): updateAgentHandler has cyclomatic complexity 88 and cognitive complexity 128; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87328d2cae5499cf58b22a66f1eb3776c6020b263f422c508473e54ba7a870e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bulkUpdateResourcePermissions (cyclomatic 87, cognitive 123): bulkUpdateResourcePermissions has cyclomatic complexity 87 and cognitive complexity 123; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1047ad9c8d1a1104e546171957f4b86a187574231c7a541e5d19c32f859546c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disposeClient (cyclomatic 85, cognitive 100): disposeClient has cyclomatic complexity 85 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/cleanup.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb4a1b80044d658c15738821600cbf202a41437c219a5e526f49c38917016b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCallGroup (cyclomatic 84, cognitive 72): ToolCallGroup has cyclomatic complexity 84 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"285b12d6531fec78cd05cf6b903d8725e5202f8aa5fab9630679877182336d8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMessages (cyclomatic 81, cognitive 110): buildMessages has cyclomatic complexity 81 and cognitive complexity 110; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a98bc34c0268e31cee03dcf684bb9bd66a26067653e6fda51ea11bcf68384469"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleReadFileCall (cyclomatic 81, cognitive 110): handleReadFileCall has cyclomatic complexity 81 and cognitive complexity 110; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4651}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8bae3d41591521654705300d9de56b0dc06e8629290aa3d7fca182517de8b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function abortJob (cyclomatic 81, cognitive 93): abortJob has cyclomatic complexity 81 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4740}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df6d47b2dc2e48b6d10398cd06bc44dd417ec201d8bf393afc2851570eb8f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 80, cognitive 103): (anonymous) has cyclomatic complexity 80 and cognitive complexity 103; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ae1fccd12131a33c8ac8f923e6a39b3e15b175a874e1b1b79745fac5d04462"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateExecution (cyclomatic 80, cognitive 71): validateExecution has cyclomatic complexity 80 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cea8ad12e941d37d7d08dda241a3801779e8395e804e88bfbad8db09490d29a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 79, cognitive 118): (anonymous) has cyclomatic complexity 79 and cognitive complexity 118; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"080d033ba08a84ce32dbe3076e016b41c73e4dc554d24b67509a35b7ead557ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startRun (cyclomatic 79, cognitive 89): startRun has cyclomatic complexity 79 and cognitive complexity 89; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"1529a10943ecf9dadcf0f1b85adb5ea59d85e7c1e82f0cd8393bba8cb34ea771"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function QueueRow (cyclomatic 79, cognitive 59): QueueRow has cyclomatic complexity 79 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc90403e6e3bc74829703ebb602c6186f3626410619a3ccd41958b29b93983a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldConfigLayers (cyclomatic 76, cognitive 212): foldConfigLayers has cyclomatic complexity 76 and cognitive complexity 212; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2354}}}],"partialFingerprints":{"codehealthFindingId/v1":"696a12d544e07de35c31f26b1e53b546f923a058b8c1275342bfe89de32eb858"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 76, cognitive 113): (anonymous) has cyclomatic complexity 76 and cognitive complexity 113; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7371}}}],"partialFingerprints":{"codehealthFindingId/v1":"979585dfff0883340653ccfa0eb4b1bd3fb3feb138c600d8b2b61e96acca3b2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initiateOAuthFlow (cyclomatic 75, cognitive 91): initiateOAuthFlow has cyclomatic complexity 75 and cognitive complexity 91; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7f0c8adc2828b63b7fadde10aa13ff229623151d6c9dd8cae6e85b89b79904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Breakdown (cyclomatic 75, cognitive 68): Breakdown has cyclomatic complexity 75 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ff1044aa674f4fa5e3d67d9cb1b6cf784fe29cb554b2bbb21ec085eff54094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 73, cognitive 82): (anonymous) has cyclomatic complexity 73 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d9f28bdb3a0993e7ad4e1b2d4b255639b2aebfaa9f439d6989e463b5130f399"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpaqueFields (cyclomatic 73, cognitive 76): getOpaqueFields has cyclomatic complexity 73 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"57150cb5ea077ece8a3c55bbc3b487c9e1d2d360c995b7052ab47361bd2abf83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getContentParts (cyclomatic 72, cognitive 127): getContentParts has cyclomatic complexity 72 and cognitive complexity 127; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4428}}}],"partialFingerprints":{"codehealthFindingId/v1":"053fc13bb152ad62d11645f7ae024458c8b3f2b6672a78743fbd2a7627a52f51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 72, cognitive 116): (anonymous) has cyclomatic complexity 72 and cognitive complexity 116; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/helpers/oauthTestServer.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c0cecf85d2aaaa248432c1c1fd36848dbdeb3be2f9c8e47fd74e7b2a1da684"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useTarget (cyclomatic 72, cognitive 51): useTarget has cyclomatic complexity 72 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/target.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"291006f52b6359f7b52849eedff72abf807226e4d8ecb98b17978688f0d2c837"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkAuth (cyclomatic 71, cognitive 100): checkAuth has cyclomatic complexity 71 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ad36b93ac70d33a8b6c241d652ab0f047b8a0ecf5f4da63410d0c3c224c33e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getListAgentsByAccess (cyclomatic 71, cognitive 89): getListAgentsByAccess has cyclomatic complexity 71 and cognitive complexity 89; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2084}}}],"partialFingerprints":{"codehealthFindingId/v1":"e525efbb0a62f9a238092b9289843e3c81d3d39032837e96c96e01cbd2d9160b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeClientWithProvider (cyclomatic 71, cognitive 70): initializeClientWithProvider has cyclomatic complexity 71 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"813dc581f6acfa831bc8a83342fa788561b1255c131a068cce329177137bc515"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 70, cognitive 85): (anonymous) has cyclomatic complexity 70 and cognitive complexity 85; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bf38ecadb0dd952357d0fa4fc86eb670f7f96fefc7abe0717882477b53f731"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shapeSummarizationConfig (cyclomatic 70, cognitive 77): shapeSummarizationConfig has cyclomatic complexity 70 and cognitive complexity 77; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1419}}}],"partialFingerprints":{"codehealthFindingId/v1":"349831765ad4e172bd7946b55aede03405e024df833d2c6ffb5cc22de24f0df3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 69, cognitive 98): execute has cyclomatic complexity 69 and cognitive complexity 98; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"5428abca700f29553c574c50122820bfd002e6b192c72ad4e7da63ce5abb77cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Artifacts (cyclomatic 69, cognitive 62): Artifacts has cyclomatic complexity 69 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"708241ed02866edd5135bfb434f650071ae9d7bcb2f357257f248b8fa08eb461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSync (cyclomatic 68, cognitive 101): handleSync has cyclomatic complexity 68 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/sync.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed48fef3142eb92984dc44a55f52fe682912c291aca251a863244c7979dda71b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 68, cognitive 96): (anonymous) has cyclomatic complexity 68 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":"packages/api/src/schedules/fire.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5392eeed6d02dec2837a7a46f1622b19ce36c62e743384acb47d86361a075912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduceStep (cyclomatic 67, cognitive 102): reduceStep has cyclomatic complexity 67 and cognitive complexity 102; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/reducer.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b7da1a0a6dbf270326d758b8a66f45146f6bdbd4787bbb222d502f90d2afff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendOpenIDAuthResponse (cyclomatic 67, cognitive 82): sendOpenIDAuthResponse has cyclomatic complexity 67 and cognitive complexity 82; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95d35641908944419b54fbf27eab1559d3e16ce336aab0d84809fc1d150c6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadToolsForExecution (cyclomatic 67, cognitive 65): loadToolsForExecution has cyclomatic complexity 67 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53f23ec59a5c527199cde9591bf14b9e5f4149977bba7d3ee122105c77d853e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function McpSection (cyclomatic 67, cognitive 55): McpSection has cyclomatic complexity 67 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"989df8d2e375f693e6359fa8c0b2c32d6908a3334a79f05dc559ad31bbeafff0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertProofIntegrity (cyclomatic 67, cognitive 46): assertProofIntegrity has cyclomatic complexity 67 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e774c9848a94aa0aca187aa4a7f44d52fe16f01acf592f9baafce478281484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function name (cyclomatic 66, cognitive 95): name has cyclomatic complexity 66 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/vite.config.ts"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8a3f445df5ed0d6ca8bcf567b1f66694b1623ac8032eb95bed9697d95fcb98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processAgentFileUpload (cyclomatic 66, cognitive 90): processAgentFileUpload has cyclomatic complexity 66 and cognitive complexity 90; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"4212d459cd0439aba04e9e73e5f45232ac22c16a547abb38b425768399acf3c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachSubscription (cyclomatic 66, cognitive 87): attachSubscription has cyclomatic complexity 66 and cognitive complexity 87; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5216}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab3661361bdb6b311dc44d14d52f942def272230935687262995781ec9c44fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 66, cognitive 69): (anonymous) has cyclomatic complexity 66 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f2ac31a1f38120f87b81de90af7b972486021552d4252c2658aca4289d2ca7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidRequest (cyclomatic 66, cognitive 48): isValidRequest has cyclomatic complexity 66 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"950cc080847c3579bad580d8ea5c36ab572d032b87d9ea67da60980d28892e65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTheme (cyclomatic 65, cognitive 64): resolveTheme has cyclomatic complexity 65 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b5f622a5ef3405cb74b7b7935d31c25acb6d843c0364a3fb1db2b09628f8858"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadConfigModels (cyclomatic 64, cognitive 102): loadConfigModels has cyclomatic complexity 64 and cognitive complexity 102; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e617ca39ad9490686626d5135fbc4f9e618cd64fd2e6febd2fbef2001197b9f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 64, cognitive 100): (anonymous) has cyclomatic complexity 64 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":859}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a39573943864e23bb03e15c87658c76a8ba328bedc5d3a62fa497098f5196a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function storeTokensUnderLease (cyclomatic 64, cognitive 81): storeTokensUnderLease has cyclomatic complexity 64 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc65ba52a5632e07adac11eb022767ba87d1b89ea44560184564078ba860029"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 64, cognitive 50): (anonymous) has cyclomatic complexity 64 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"29470454c8c69fbd87e7bb49176bbecf7092139f2c73fd703719c61d9c568e7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertJsonSchemaToZod (cyclomatic 63, cognitive 107): convertJsonSchemaToZod has cyclomatic complexity 63 and cognitive complexity 107; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1f3bf0b3207b7c106bea28550a714d5f1634e5a5e7ffb16578fef84c20ed02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConvosByCursor (cyclomatic 63, cognitive 101): getConvosByCursor has cyclomatic complexity 63 and cognitive complexity 101; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3680}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c9731cd0774a46953fd76502eb24ecf769950bf0253c1eed356269786fcbbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ask (cyclomatic 63, cognitive 68): ask has cyclomatic complexity 63 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/turns.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"65eb558df36ef2fc250aae8de0aef49b7967eea5974a980e4d02870ac5f708c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeResumedTurn (cyclomatic 63, cognitive 62): finalizeResumedTurn has cyclomatic complexity 63 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"9759233cb6358d2ef5b1f4b7c6a035885b0658c8b4fb81ab52bebac2beb694db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitChunkNow (cyclomatic 62, cognitive 104): emitChunkNow has cyclomatic complexity 62 and cognitive complexity 104; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7193}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba1a57cfaa829e18212812dec7d725e64fc1c5a55c47108b4338dd625918eea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimAgentBackgroundToolResultBatch (cyclomatic 62, cognitive 86): claimAgentBackgroundToolResultBatch has cyclomatic complexity 62 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3032}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b010dd438fd74d1754fdeb058148baca53e6448ff75289ceea0e3c326a827b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitAgentEventActorState (cyclomatic 62, cognitive 70): commitAgentEventActorState has cyclomatic complexity 62 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49fcf65732449c53379933a720b5413ea49e0402f596b552e93c0faef30aa2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRecoveredContent (cyclomatic 61, cognitive 81): applyRecoveredContent has cyclomatic complexity 61 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a34513b8ce1bee05d79024e8140b6e77fe451ac27d46667369f4e69313fd00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResumeState (cyclomatic 61, cognitive 76): getResumeState has cyclomatic complexity 61 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9085}}}],"partialFingerprints":{"codehealthFindingId/v1":"f633243cbbb8b22dd54f5bfaed3a92d39ffcb9436ab9bc4f7ab9057581035647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUserConnectionInternal (cyclomatic 61, cognitive 73): createUserConnectionInternal has cyclomatic complexity 61 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e9897adb08d62e785800263e234f13a7986eb0f03e255d284c8d8daabad341"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createJob (cyclomatic 61, cognitive 66): createJob has cyclomatic complexity 61 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"6223f51dd848107b252416d4f40a35dafddc4d998e98185927df03a806bd6a35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function WebSearch (cyclomatic 61, cognitive 57): WebSearch has cyclomatic complexity 61 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/WebSearch.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f84fa5bdc63f58a345da43b0da3d25c4077c2bf6fcc2f2cc8fb5e72829b001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OwnedLink (cyclomatic 61, cognitive 43): OwnedLink has cyclomatic complexity 61 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":"client/src/components/Channels/Link.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f03f9245f2392ff6ee352b09ec5dfd69726e456892dcd13388258e0e8ce5e690"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectModelBoundProviderContent (cyclomatic 60, cognitive 114): projectModelBoundProviderContent has cyclomatic complexity 60 and cognitive complexity 114; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2778}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4211e12b0abfe1c3497a19643cbc52e7a8cbbec0311bc2277d2fbe922f80b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSchedule (cyclomatic 60, cognitive 62): updateSchedule has cyclomatic complexity 60 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7c3e847136337b4d890f7e9de24fe39109ed344a60a370fc1b479fed899098"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeBedrock (cyclomatic 59, cognitive 74): initializeBedrock has cyclomatic complexity 59 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/bedrock/initialize.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"3196353a6884dfebf2eba09324e33cb98c4446b950d35fa87560b4bea07888b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeCompletion (cyclomatic 59, cognitive 68): resumeCompletion has cyclomatic complexity 59 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5442}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff99e4dd08c632190b5b2fcefc3604395d615b598c2d6a4af6db466c80f2971"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 59, cognitive 68): (anonymous) has cyclomatic complexity 59 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e723fb0ef9e529b1e0737e7015c681b04d7ab98488f8fbe37c4c52f37fbf8a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishTerminalJobInternal (cyclomatic 58, cognitive 94): finishTerminalJobInternal has cyclomatic complexity 58 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4421}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8fece59ea0e31fb8d77c8c92180f956f6bc7d5fcd3e41552cb06c06a05b676f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentInferenceParameters (cyclomatic 58, cognitive 71): resolveAgentInferenceParameters has cyclomatic complexity 58 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"4df45e07a493586954e992839028e4ad4a8a8e4d766cdf559c94e4a69444e868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 57, cognitive 79): execute has cyclomatic complexity 57 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"261d02594e83eac04936970c9eaa109fa37841d8e30804173ff336b0e4a28a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 57, cognitive 75): execute has cyclomatic complexity 57 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ca4b1c6736653bbd970ed470a1d5cc23c4522a974b4b314bde902ad3adddf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileGenerationLifecycle (cyclomatic 57, cognitive 64): reconcileGenerationLifecycle has cyclomatic complexity 57 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/reconcile.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"24f1b24af9ce5f1afb8c3bd7b9b564899f9f9a74631580a0c4bb57c602a06c5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 57, cognitive 52): update has cyclomatic complexity 57 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"e939b943933e84eedd35350a6b2bdad4524bdba6320fe4c7719a846857593500"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordMCPToolAuthFailure (cyclomatic 57, cognitive 47): recordMCPToolAuthFailure has cyclomatic complexity 57 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bc7e670e01585fc1092b7ccf3b4025cf9c467afe55cf5b2e0a2dac9ca23e09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 100): (anonymous) has cyclomatic complexity 56 and cognitive complexity 100; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7072}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab046f000bdc1bb95c311316bef5748f7cc53ab60b8c4fcc1f0bc969bb70b9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 79): (anonymous) has cyclomatic complexity 56 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-assistants-server.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1fbbb0cf3471ad1cf0ca3623d81e9b040f545bea4df688354e40096eaef7fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 73): (anonymous) has cyclomatic complexity 56 and cognitive complexity 73; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5777}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e86d7e5cb022bb2b87b453db44d4f126f52caa657240bb024de4150e54adb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 56, cognitive 72): (anonymous) has cyclomatic complexity 56 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/final.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"3debacc5d1f8d05cd9e5e1275ce9d99c736f77410b574b202a0368007a63bf13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchModels (cyclomatic 56, cognitive 64): fetchModels has cyclomatic complexity 56 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/models.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d8f7944f7eb820c4369b991ddf03b6af1aa735c3a92e5e5de4fbcc946bba00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeContent (cyclomatic 56, cognitive 60): writeContent has cyclomatic complexity 56 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"8482c74f38b03fcfd89a8f87a64e995f9d0ea6e0a093363f36280184335cf317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCodeBridgeWorkerStatus (cyclomatic 56, cognitive 49): getCodeBridgeWorkerStatus has cyclomatic complexity 56 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfef9da2d75643842504927591173eb327f852e8ae400da5ed70a4c4e1b43d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadTools (cyclomatic 55, cognitive 95): loadTools has cyclomatic complexity 55 and cognitive complexity 95; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03ab3c2168dc44a16d7959e1449f4fc2b3cead494b56086bc1c2ddf68e1651c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScenario (cyclomatic 55, cognitive 92): resolveScenario has cyclomatic complexity 55 and cognitive complexity 92; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/run-files-lifecycle-model.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"0371ee3353e462118a7faaa72bee77b0c164055d636833d24f7db2567177c4e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveErrorTurn (cyclomatic 55, cognitive 52): saveErrorTurn has cyclomatic complexity 55 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e13d0eac71688dfd9d73b21dee135da9c27f3ab9be51178992366c979b8487"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LangfuseConnection (cyclomatic 55, cognitive 46): LangfuseConnection has cyclomatic complexity 55 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7803ce15d74cf36bc300bbb2e11906eab9d848c67efe9c3fa37226badebbc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 83): (anonymous) has cyclomatic complexity 54 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"13577debe0d6f0f7f846702dafc39063bae58c0fcb390cc5f4ab8bda17635f64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 54, cognitive 76): dispatch has cyclomatic complexity 54 and cognitive complexity 76; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed581a50581eee9e5b0be2eca66f71d8c8f4b77120105722a6a481343e2f64f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reinitMCPServer (cyclomatic 54, cognitive 74): reinitMCPServer has cyclomatic complexity 54 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6c8f4b7c39f71c662fe7538da652326aba86d3e8e21f2bb459fdae4765d1b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertConfigOverrides (cyclomatic 54, cognitive 65): upsertConfigOverrides has cyclomatic complexity 54 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3378}}}],"partialFingerprints":{"codehealthFindingId/v1":"460b0c0aaeba81c2ce94e8cf64dd930577480128760aaea5ae0da4a327fa6d59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAgentChatCompletion (cyclomatic 54, cognitive 64): createAgentChatCompletion has cyclomatic complexity 54 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"40d8e26161640393c94370541d6b24812130368712b4562063bafe4b4f4392aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyChanges (cyclomatic 54, cognitive 60): applyChanges has cyclomatic complexity 54 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4367}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d4155b8a292446b9fa59e65c156c1c9cc442324b712193c561d26b20cc83ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 54, cognitive 56): (anonymous) has cyclomatic complexity 54 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5ea1e1ed043e2b3c206c46f3616a27efc3963f5dd6194172fb8841451d3371"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reattach (cyclomatic 54, cognitive 48): reattach has cyclomatic complexity 54 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"759552800d3cf94a43a8aa7c9dfbc21c7e6c9a4862c885add37cbe3f9e26fd97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentPanel (cyclomatic 54, cognitive 39): AgentPanel has cyclomatic complexity 54 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d8c2abe44aa084c6293b23a101cc4ce6a376e30b4cc5c56c1177c9f07cbafb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 53, cognitive 84): (anonymous) has cyclomatic complexity 53 and cognitive complexity 84; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/bombadil/steering-lifecycle.specification.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51e3745e548eb012773b03b99e2001d43e88ba865b8f4d52ba067a567fa082c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveResponses (cyclomatic 53, cognitive 52): resolveResponses has cyclomatic complexity 53 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":3758}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69ca3fc19de8fd7ca30990153fbccfa98404289063d6e09405303a12a1e7d1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteScheduleForOwner (cyclomatic 52, cognitive 86): deleteScheduleForOwner has cyclomatic complexity 52 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72f01ac95cb169cff0db90f76c1985379e5a267805971947fe7487eaa8d2f57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 71): (anonymous) has cyclomatic complexity 52 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"063df793b0e419f450e5137f6bd13b89c59f93b81aa729a0a77ea3d345ed334d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 52, cognitive 71): (anonymous) has cyclomatic complexity 52 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/host.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c355c4dc06b1dda740add072d7c546dae81b08ea018e14f900b44de651c57c6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveMessage (cyclomatic 52, cognitive 70): saveMessage has cyclomatic complexity 52 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1218}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99c9c4ca40f45dc850089b6b153ae43aa84ea497c05bd45d9493434ef2f3976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimTerminalJob (cyclomatic 52, cognitive 55): claimTerminalJob has cyclomatic complexity 52 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4060}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d3ff5bb04f480f0d2c8a8b8f7bac75cd7d4c05d856641d1b9fe5c4133402c09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleOAuthEvent (cyclomatic 51, cognitive 94): handleOAuthEvent has cyclomatic complexity 51 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1874}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20bb1786ec23841c6b203e8c145ec5b647f2ace5e9b2f6527266190048c7246"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHandoffScript (cyclomatic 51, cognitive 61): parseHandoffScript has cyclomatic complexity 51 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":2978}}}],"partialFingerprints":{"codehealthFindingId/v1":"d500d262df8641938686fb041aa6c828d7695eac4219756b663ea2e73117b9e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Conversation (cyclomatic 51, cognitive 49): Conversation has cyclomatic complexity 51 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6aa0bc83e5586f472fd00ec8361f601da7722a06ebe0197794fb83b040f6bc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 51, cognitive 39): (anonymous) has cyclomatic complexity 51 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2185}}}],"partialFingerprints":{"codehealthFindingId/v1":"05964676264aef1086188c310b6ebfe7cee0b8706fd1344f9d2b37f2b3f40a99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageRow (cyclomatic 51, cognitive 31): MessageRow has cyclomatic complexity 51 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":"packages/chat/src/components/messages/MessageRow.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e711c554d22cdbf6d16d3a1a628082637e02279a1d015728e7f32c598aa9d74d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotExternalMessages (cyclomatic 50, cognitive 132): snapshotExternalMessages has cyclomatic complexity 50 and cognitive complexity 132; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5041804e529b3e4279749752e398d7cc412ed18cdcf13c59ea0c6b2abd0c7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 50, cognitive 98): (anonymous) has cyclomatic complexity 50 and cognitive complexity 98; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c9050525d199ab37deb1b59301e8040d7ea1e4894999bc51bedceae2119f1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionStatusInternal (cyclomatic 50, cognitive 52): transitionStatusInternal has cyclomatic complexity 50 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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3075}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aecd38ac8dcb991c19888ac1baefa4e4059b39df930419f546b0df5e3c0c29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Effort (cyclomatic 50, cognitive 43): Effort has cyclomatic complexity 50 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":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"1714c92452f79675ef54987876ee141eb75ef48c3c2314f1e991ab1c3cef3cbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatForm (cyclomatic 50, cognitive 42): ChatForm has cyclomatic complexity 50 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b89a841b3d88227cd67cc5b53625d49eba63d3781e8a4e748aa6686ce63e3e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeDurableWorkspaceRequest (cyclomatic 49, cognitive 94): executeDurableWorkspaceRequest has cyclomatic complexity 49 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/requests.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"db92c72a36d3242cc7a2cff3450188ddc4b0adf892211556b836ce8a7a83dec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startGeneration (cyclomatic 49, cognitive 94): startGeneration has cyclomatic complexity 49 and cognitive complexity 94; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/launch.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1ff58a97afa3c9afbb3a02a2cab748865614f7b775667fd46c427cb51e2c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSubagentContent (cyclomatic 49, cognitive 92): readSubagentContent has cyclomatic complexity 49 and cognitive complexity 92; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec27d2df2dae1df583d87b904f967f3cd4ce8b435db2446e25825cd11a3576e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectSubagentActivity (cyclomatic 49, cognitive 91): projectSubagentActivity has cyclomatic complexity 49 and cognitive complexity 91; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"db66579f635be93991e55ce93df120c629ac8866581d2093bde95ee1240c6032"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectStoredMessageForProvider (cyclomatic 49, cognitive 88): projectStoredMessageForProvider has cyclomatic complexity 49 and cognitive complexity 88; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bde894fc62e1185d48c32cb153cac2dc0320c3f1f68be2b97243de01dbc63c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeGeminiSchema (cyclomatic 49, cognitive 83): sanitizeGeminiSchema has cyclomatic complexity 49 and cognitive complexity 83; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"495edbcad161c89a8014837ecd1d2cccf9c94823bf2e52ec4e4dcb5f7062e70b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeOpenAI (cyclomatic 49, cognitive 60): initializeOpenAI has cyclomatic complexity 49 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/initialize.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"5473493ddd9583e52276dbdadf990361aa844a6becc989cd5f41def8c29a0660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 53): (anonymous) has cyclomatic complexity 49 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b8fcde35fab2fc30332808c9442410ea2b84bbfbb6d456b0ca911d104b7f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverLanePublisher (cyclomatic 49, cognitive 52): recoverLanePublisher has cyclomatic complexity 49 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad1bfe7ab3d8737c50cd04d3eb6c19b25faa18d5c6d3fe787426691564e064b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 49, cognitive 51): (anonymous) has cyclomatic complexity 49 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5954e320cf643ac38e89e13fd7d224fad75d5622be711084a0ae81f1deb7a633"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OwnedChannels (cyclomatic 49, cognitive 35): OwnedChannels has cyclomatic complexity 49 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"486d2c3a18ab42b9d82722d9f181bd9cb2abfdf96c6edc79c64013a259f124ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 75): (anonymous) has cyclomatic complexity 48 and cognitive complexity 75; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a62457fa0794dff90527d5f6396d49b30a2bdea1840faa9c84f6b2e328cb0e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverMissingStream (cyclomatic 48, cognitive 65): recoverMissingStream has cyclomatic complexity 48 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/missing.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef393e05e5b191b8b58415490f49be39e4767f9aaef20de9fa137427595e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareThread (cyclomatic 48, cognitive 62): prepareThread has cyclomatic complexity 48 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3610fecf254fe58d6960de0f889411cb5f33875ece2542ba34c0bc683a71b4e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 61): (anonymous) has cyclomatic complexity 48 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6044}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c876d8249de13b3486989118531126cfca8e5f886c5c19ae72d886f33a584b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 48, cognitive 39): (anonymous) has cyclomatic complexity 48 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc3a72fe2c665edca030f7f0d7c92ef948e259d2427d3d58505b19d7a41a5db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function privateView (cyclomatic 48, cognitive 37): privateView has cyclomatic complexity 48 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":"packages/api/src/agents/responses/review.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e21be8fa46e66381e0dc947d53e8a7d458a3b37df046499dbbdf36644b40707"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackgroundTaskCard (cyclomatic 48, cognitive 33): BackgroundTaskCard has cyclomatic complexity 48 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/BackgroundTaskCard.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8ac5fe4aee2794f8de3f558c8be60c3fb16c2a24e92b5a134ffbda0c4402df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 47, cognitive 60): request has cyclomatic complexity 47 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":2031}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a2b8e9f721b3157a58784723eecf162c55ca81bbc58db534033cd573844148"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAgentTools (cyclomatic 47, cognitive 59): loadAgentTools has cyclomatic complexity 47 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b3aa3744c741f7e9a5a9ad0c43bd442ea6f5536df309f5114ff0d0d380920f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 47, cognitive 53): (anonymous) has cyclomatic complexity 47 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b85fc9b09a7d5ad6b531886cf1f5232e1696f5dcf825da39fa19ade7e16eca9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeJobMetadata (cyclomatic 47, cognitive 47): sanitizeJobMetadata has cyclomatic complexity 47 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/metadata.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6593b920fe4ea2b8450390abb2f65c7d6b4c9e4159c925be5ec4b6a5b7ea2f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadToolDefinitions (cyclomatic 46, cognitive 79): loadToolDefinitions has cyclomatic complexity 46 and cognitive complexity 79; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a14dc79d5e61d650d91bf0d7aa49616ac19c6734d359a5f17c5fc4f961d135"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 46, cognitive 68): (anonymous) has cyclomatic complexity 46 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed3620fbf621ce8a2426cc815c230e5b3e6578a1d74939e8b5b350a9713889f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubagentCall (cyclomatic 46, cognitive 39): SubagentCall has cyclomatic complexity 46 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cf93f8030f74b841d485a857abb5176df73be939ae921d9af6b118b329b754"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractNestedSerializedPayloadFragments (cyclomatic 45, cognitive 128): extractNestedSerializedPayloadFragments has cyclomatic complexity 45 and cognitive complexity 128; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"871a75dccef94fbba62322f01a4d8602884dd6a96b14fd77557559861c12a96f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshOAuthTokens (cyclomatic 45, cognitive 74): refreshOAuthTokens has cyclomatic complexity 45 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"257c1d668d91d4ac1641a2c7c8be25de729eb46561ec65ba5612b033c0501d87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleZip (cyclomatic 45, cognitive 66): handleZip has cyclomatic complexity 45 and cognitive complexity 66; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"162f59353a4e92082ad4caff8b161d498cef572be3e605864cef49010ba539bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchConfigField (cyclomatic 45, cognitive 60): patchConfigField has cyclomatic complexity 45 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a7d8bc77058f3e6242bd0a8950246d4cdb4f67159cbc194761cb20c695313c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContentPartsBody (cyclomatic 45, cognitive 41): ContentPartsBody has cyclomatic complexity 45 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"207548f0d59c265ba152292b3362ecd628462cb137a9276ada83fff5ae2a9a9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCall (cyclomatic 45, cognitive 37): ToolCall has cyclomatic complexity 45 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":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb2c20654aa50d975c52c48a95a5894838fa867c244580304bdb94809474aed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspect (cyclomatic 45, cognitive 34): inspect has cyclomatic complexity 45 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"813f9d5ebcc973ad77e4f0ed564f36905ae9b896d5693198992c4ee652f14c28"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContentParts (cyclomatic 45, cognitive 33): ContentParts has cyclomatic complexity 45 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8bf528a6b8a59185d37c81e5c7bd4e49099b2ed93235e299fd4d667e68b4647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeNode (cyclomatic 45, cognitive 22): serializeNode has cyclomatic complexity 45 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":"client/src/utils/richtext.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"51bd68e92110ff944f70de27d1c2f49739c48dff17b8cde8934432eab587d1a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeTokenRefresh (cyclomatic 44, cognitive 70): executeTokenRefresh has cyclomatic complexity 44 and cognitive complexity 70; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"9662fe2bc55e14a21e1359ec0f20b9ad87b71b5fe47aeef4ae304f1fc0d87476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MermaidRenderer (cyclomatic 44, cognitive 63): MermaidRenderer has cyclomatic complexity 44 and cognitive complexity 63; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fff2588bcd042ecd0b1b905d876f94cc7ac95c8ad39dcb89e130153bcf76846"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 55): (anonymous) has cyclomatic complexity 44 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f5d0019b5bb697c736897a1017737400107b73236af69dd167f21710f3956f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadCurrentProof (cyclomatic 44, cognitive 54): loadCurrentProof has cyclomatic complexity 44 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":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67dac2976704d56c6c19526119256c0c53514f682459862a7a7bcea1c20c6ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleInternal (cyclomatic 44, cognitive 52): settleInternal has cyclomatic complexity 44 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"c984d4d3cb464aa9fe38f853414cab9a3afbb9714d58c178670dbd1bd993ecfb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Review (cyclomatic 44, cognitive 49): Review has cyclomatic complexity 44 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Code/Setup.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc9f383f734761ea311690c9d8a666c96af05c5d6199496a93e0e95f3f5c753"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 44, cognitive 49): (anonymous) has cyclomatic complexity 44 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/runtime.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"956f19fdb271c5ecb5e14943390dccd5eca37ae023c26a9a73589aed84fcaff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleAfterRetryCeiling (cyclomatic 44, cognitive 48): settleAfterRetryCeiling 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":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2ff17742d01024ab4f3a9cb23f544be0b4736561ec957c695637c049baa575"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAssistantAvatar (cyclomatic 44, cognitive 46): updateAssistantAvatar has cyclomatic complexity 44 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/assistant.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e406a635b51d03a86d2895d56993e52788e0dafe0bd4089407993d163732721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeThemeColors (cyclomatic 44, cognitive 42): describeThemeColors has cyclomatic complexity 44 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/describe.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"922703aa6afaa643a836255546214210d903e01b3f13c779f585664fe2df1eb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolApproval (cyclomatic 44, cognitive 39): ToolApproval has cyclomatic complexity 44 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"49919421ca28cdd0d7ee1d8be013006a08bdec387b71d75c179361a7365a9be4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCleanupIdentity (cyclomatic 44, cognitive 33): readCleanupIdentity has cyclomatic complexity 44 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2705d1769b8d4eef9b7e6ea7f65b7a49b533cc6921e3960e36055eb925e0d63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Apps (cyclomatic 44, cognitive 30): Apps has cyclomatic complexity 44 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3405e31c75580fde69c21f6923b56148be6265d031ede60d71c5fb6d5d51eb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineDocument (cyclomatic 43, cognitive 93): inlineDocument has cyclomatic complexity 43 and cognitive complexity 93; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd10e5049eb04709ac5226d3fe3cea1976cd9ca3b70f1a07f2423c880684f99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canAgentGraphPause (cyclomatic 43, cognitive 59): canAgentGraphPause has cyclomatic complexity 43 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7703d48387bab8e8bd38c7daa964c74c42a16527b46978c0d61778f26089b17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupMCPServerOAuthWithFenceHeld (cyclomatic 43, cognitive 57): cleanupMCPServerOAuthWithFenceHeld has cyclomatic complexity 43 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e037743dd161401accecfb62ddb9795cb5c309b9e30b74deffce27169cd721f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 43, cognitive 41): (anonymous) has cyclomatic complexity 43 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3d95d5d2218ef8ee7459aec5e481184828a45d9ebb199b43da5256313c0aea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentDetailContent (cyclomatic 43, cognitive 37): AgentDetailContent has cyclomatic complexity 43 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"350be3489d8b3c1b99f828a34180f221685804df71968bdc220ab69a855b95da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeSettings (cyclomatic 43, cognitive 37): CodeSettings has cyclomatic complexity 43 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Code/Settings.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf7af89cdf04652ee39f04b6a1eba148679ff65d8d0fa7c9eb2e7309d4bd5b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillFileViewer (cyclomatic 43, cognitive 27): SkillFileViewer has cyclomatic complexity 43 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":"client/src/components/Skills/display/SkillFileViewer.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5901b1fee3bcf8bcf3deb3d3ff639d85624a01fd53c0390f9d56e800a5cbae7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 42, cognitive 69): cleanup has cyclomatic complexity 42 and cognitive complexity 69; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c379b36376c5a0696c7e265f662d4128cb89a046515cbac0bf41422e54a51e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function call (cyclomatic 42, cognitive 64): call has cyclomatic complexity 42 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"da43bacf56fdfcc82d27e610ff2cad620962894a4d7646c6319759f3f8d1ab1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overlayHostSteerParts (cyclomatic 42, cognitive 61): overlayHostSteerParts has cyclomatic complexity 42 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65cb2123e5da61ffbc13c0cb5f917935a3a918cd017fd704cfe49835af07ce5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadToolDefinitionsWrapper (cyclomatic 42, cognitive 59): loadToolDefinitionsWrapper has cyclomatic complexity 42 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e7c85c3eb1467870389f170778bc4123611e4905729361b93284bcbe4b67ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createNewConvo (cyclomatic 42, cognitive 46): createNewConvo has cyclomatic complexity 42 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea004c7fafa1d6a3615ce2ec52f1ba9fde68029ea9f620fda51a6274491fa3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractChatContent (cyclomatic 42, cognitive 44): extractChatContent has cyclomatic complexity 42 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/chat.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c61fe54426b463c8066041eee39e70c1fc62dc767937e188e2bd99ed7c74e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackgroundTaskCall (cyclomatic 42, cognitive 40): BackgroundTaskCall has cyclomatic complexity 42 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d52f0482c5148db330c149eaa2332aa189d167ac49974b26e8ff54f260f5c90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeWorkspaceStatus (cyclomatic 42, cognitive 39): resolveCodeWorkspaceStatus has cyclomatic complexity 42 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"798c544ff99a9fc4ab0ae1bd8ee7d72e64ef0acef513cca87f3fdff1abeaf4cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useComposerReasoning (cyclomatic 42, cognitive 35): useComposerReasoning has cyclomatic complexity 42 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"218076680b1a87b299730222d150860cee61eef09167389618c0468d6e3d52ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupActivityPhases (cyclomatic 41, cognitive 86): groupActivityPhases has cyclomatic complexity 41 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"a942790587a0fd91a51d78108029923cade9f36a6f99b3038acb63480b541102"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primeInvokedSkills (cyclomatic 41, cognitive 80): primeInvokedSkills has cyclomatic complexity 41 and cognitive complexity 80; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cb17657427d7310b675bb9a49648a593ce174ef83c8b5bf275bd09d3b407da1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAgent (cyclomatic 41, cognitive 56): updateAgent has cyclomatic complexity 41 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"207804ef40f95f94022a8e3bb4110848baf52dfa1ec5af1d1db04b554a70286d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 41, cognitive 55): (anonymous) has cyclomatic complexity 41 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.spec.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0f8cc0055dcb089ec08e2c6cc16902c9667c8f7be1178c38b0003bf5b300934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performSync (cyclomatic 41, cognitive 48): performSync has cyclomatic complexity 41 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":"api/db/indexSync.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c890fa85fbcd16ca4850195e749435ca6a918940783b6fd9ad4d3761a24f718"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConnection (cyclomatic 41, cognitive 43): updateConnection has cyclomatic complexity 41 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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56c9cbb07c487876240efbe659fd4be59371e1467368ec694faca3f35db6f56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeCustom (cyclomatic 41, cognitive 42): initializeCustom has cyclomatic complexity 41 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/custom/initialize.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e8c1fd99bcb7fdb211d2d3314aaace3a8d3160a0a6c01418c77b0bdb6bac30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScheduleDialog (cyclomatic 41, cognitive 36): ScheduleDialog has cyclomatic complexity 41 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1d7576a71a21f9a12925a008e52f97599ab442359fbd552910fa8d5e83e40bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDuplicateVersion (cyclomatic 40, cognitive 72): isDuplicateVersion has cyclomatic complexity 40 and cognitive complexity 72; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"c434208069a9b78a45f364fa90349c7b51e4dc28fa85803fb7a4e97469ab802e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 61): (anonymous) has cyclomatic complexity 40 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d718c973903277c74e82c52b581362ff6f350be81e53b26048901f39a6abee12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStreamingEvent (cyclomatic 40, cognitive 56): validateStreamingEvent has cyclomatic complexity 40 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/__tests__/responses.spec.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9ec664a1391268c390a557fb19d230ce337efd33ac714e43e78a2525a8ef40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transformToOpenAIConfig (cyclomatic 40, cognitive 54): transformToOpenAIConfig has cyclomatic complexity 40 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":"packages/api/src/endpoints/openai/transform.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a7acb056c2348d16165c9255449b9370ebeb1eb192cd116574d3e649e66c53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processOpenIDAuth (cyclomatic 40, cognitive 52): processOpenIDAuth has cyclomatic complexity 40 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":"api/strategies/openidStrategy.js"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9746442f36bafb8d942eac3f5f6c3567b868414b0f29c25e7cc003d8f62526"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resume (cyclomatic 40, cognitive 52): resume has cyclomatic complexity 40 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2806}}}],"partialFingerprints":{"codehealthFindingId/v1":"11aba0f532738150f24302bc1c97e6d94844e7f83c45999d8db340b78af55f99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 48): (anonymous) has cyclomatic complexity 40 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e9619fdcbad37eede37569d9a30b115942cd2517f6e308dc3298da81f6d153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 46): (anonymous) has cyclomatic complexity 40 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af6eea7e09d8b69584c8c4964700ecd0a9a1b68c02fc540d4259ca587051cd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getToolMeta (cyclomatic 40, cognitive 42): getToolMeta has cyclomatic complexity 40 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/outcome.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6a101c45cdab61e8521cc7d50ae4ad10fb31225d6cb1911d713378962f78db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 37): (anonymous) has cyclomatic complexity 40 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c651a43da2ccdcfc04c8119985348f840ea659ae8a180519e20ffc77eb3915"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJobIdsByUser (cyclomatic 40, cognitive 36): getJobIdsByUser has cyclomatic complexity 40 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4038}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81cf41f8b00da6abea5b8661ce668286f6d6c238663463be25a2298c7df2325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 40, cognitive 31): (anonymous) has cyclomatic complexity 40 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":"client/src/routes/ChatRoute.tsx"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec92526b145a59d48fb7c3689477c4e5c9aeeff9ae17ed312efb85284cc28e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Channel (cyclomatic 40, cognitive 28): Channel has cyclomatic complexity 40 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88777f1658f10eab4da21aa37169972916b37510b65a8b4c5216449b90500b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function graphOptions (cyclomatic 40, cognitive 23): graphOptions has cyclomatic complexity 40 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"bede1df12fb5ab6e8b513ec9d82ed46a97333be2cf7bbbd9c8c2137769117754"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserConnectionForTarget (cyclomatic 39, cognitive 74): getUserConnectionForTarget has cyclomatic complexity 39 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccf2a86cae261990f03e786cd560b5d243c79efa393db86afefeb4e02df42fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTraceModel (cyclomatic 39, cognitive 71): buildTraceModel has cyclomatic complexity 39 and cognitive complexity 71; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"abda7ba79ca304201babec24f665f65a21cc9493f9b6260516f6631396d58390"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 60): (anonymous) has cyclomatic complexity 39 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aa9be7c5aa4509fcfb34a1589284466550d1be6f6c18806cc9d869815889d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectConversationImportContent (cyclomatic 39, cognitive 60): inspectConversationImportContent has cyclomatic complexity 39 and cognitive complexity 60; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/imports.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ad24ce81d00d55827b96287bdb99422f800710610778190871a25c2c96b7bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateGraphSubagentTopology (cyclomatic 39, cognitive 59): validateGraphSubagentTopology has cyclomatic complexity 39 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validation.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe159ee5cc04eea6ff8b66a00b8b71cc026bfc2d866b8d2e3422ce31f22b5dff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduceSubagentProgress (cyclomatic 39, cognitive 59): reduceSubagentProgress has cyclomatic complexity 39 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"2319a7e0da0f706d011f89615e708ae455aa4b97dedf90ca8b6333568fb54729"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleToolCallResult (cyclomatic 39, cognitive 57): settleToolCallResult has cyclomatic complexity 39 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"b308361a9b2048ab069021bf52062ce7e1fea0fb44ac3e4db5875c2b7654b20a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pair (cyclomatic 39, cognitive 51): pair has cyclomatic complexity 39 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"346c910ce53f3d54c61c43a4e38ae65b2e83bfbbe23033691a146486a27171f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 50): (anonymous) has cyclomatic complexity 39 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/bombadil/specification.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"981fcf558fbb6b2a36e6e0a0c16727b20e50166333e6bde1509e3686db43ec19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 46): (anonymous) has cyclomatic complexity 39 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2668}}}],"partialFingerprints":{"codehealthFindingId/v1":"2babfa53785f8e6551ea5bc13049fa39049446e53fa45065ed1e01e99a380be3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 45): (anonymous) has cyclomatic complexity 39 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"2663128dac311a2f3b41b540e997851035d7a1c9590d10265e65b19e930d3408"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWorkspaceListCall (cyclomatic 39, cognitive 44): handleWorkspaceListCall has cyclomatic complexity 39 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2555}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d20155b0c01866b6d03d5f821801000b977063b1ca4423911989e59014ecf77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSkill (cyclomatic 39, cognitive 43): updateSkill has cyclomatic complexity 39 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f9d86effede53e81d4ca304d07c436383a792566d175bce2ad24b4266e8181"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentGrid (cyclomatic 39, cognitive 38): AgentGrid has cyclomatic complexity 39 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentGrid.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"223e71d0c44f88121b9302f8ecabf46d39fedcdc7981f5ecf72f8448ba71171b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptForm (cyclomatic 39, cognitive 36): PromptForm has cyclomatic complexity 39 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"de125bdff22734198d4d5d963165076196b193a2de5ac792f862f7dfce29773e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BashCall (cyclomatic 39, cognitive 35): BashCall has cyclomatic complexity 39 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25ad2e3bb0164b2a51a29c956f8d8b4e132edffeb6460497d14232a1c130628"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 32): (anonymous) has cyclomatic complexity 39 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Endpoint/useEndpoints.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a176a69e9050ed7dab1837059bb050204693a34c5bf7fa15c0c0ae571b2fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 39, cognitive 32): (anonymous) has cyclomatic complexity 39 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"c348ce7f1698dd802e922dd91b0e5949463389ad479a00fcab831cd8089dd80f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ToolCardImpl (cyclomatic 39, cognitive 31): ToolCardImpl has cyclomatic complexity 39 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":"client/src/components/SidePanel/Agents/Tools/ToolCard.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec8a1a84b7ae0060e785368580db80396acc875cecf8418a50d8fa2658d9988"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FilePreviewDialog (cyclomatic 39, cognitive 30): FilePreviewDialog has cyclomatic complexity 39 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93c35fd2918b4905a56c6cb1b44e6a1b62d828fb091af6cd59d58e7ee23f81a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 81): (anonymous) has cyclomatic complexity 38 and cognitive complexity 81; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3da4a2d4c86644758ce96038c743e91803c63a22bc2aeb2e6f3fb84f49a7b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProviderMessageProvenanceState (cyclomatic 38, cognitive 65): getProviderMessageProvenanceState has cyclomatic complexity 38 and cognitive complexity 65; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2c2efdc8afa397456547e23165864cbfce09617766e274a035c28039fb1457"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertSkillFile (cyclomatic 38, cognitive 54): upsertSkillFile has cyclomatic complexity 38 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dd7748b5f5a9b1025f0317001051d3f0c562b9e4a2f45c9caed4b023965b64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMergedFileConfig (cyclomatic 38, cognitive 50): buildMergedFileConfig has cyclomatic complexity 38 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2b0e17f4ea4a9cecfc1a1d11d49ab281b7fe4e4246275d44999e1d0cd55c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildMessagePreview (cyclomatic 38, cognitive 47): buildMessagePreview has cyclomatic complexity 38 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"efce53a8edb7f0e1d4345fee66f0e49c4623ed477fb5e76cf72c7a764cf58222"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 38, cognitive 47): (anonymous) has cyclomatic complexity 38 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Input/SetKeyDialog/SetKeyDialog.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"da9a2107db757c0253400d025066005b4afbaf921e97885150a636b97fa6f1ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function advance (cyclomatic 38, cognitive 46): advance has cyclomatic complexity 38 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/service.ts"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f76a0000a87c4433d0943626e5c33bae778416b582660d8b6592f25ec4e9494"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toUIMessage (cyclomatic 38, cognitive 43): toUIMessage has cyclomatic complexity 38 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":"packages/data-provider/src/parts.ts"},"region":{"startLine":911}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c9b3614d7c17fcf5f0571438aed67fa234c08f00efc8c2987ac450be6e8de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpenAIConfig (cyclomatic 38, cognitive 42): getOpenAIConfig has cyclomatic complexity 38 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/config.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"236e60aef02f93930692ad9cb495e7ac0c9075792e6cd11d7d13bb024caff5a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeAgentSortCursor (cyclomatic 38, cognitive 41): decodeAgentSortCursor has cyclomatic complexity 38 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"764e176a77cd1b8b23c29056593f4ab3bc212b6309be61cdc70b120fb307f2f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hook (cyclomatic 38, cognitive 40): hook has cyclomatic complexity 38 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8c37bbeaa46f77461d32c6cb2d02f19ee567a173cd237e65c03e82a80840fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadDefaultInterface (cyclomatic 38, cognitive 37): loadDefaultInterface has cyclomatic complexity 38 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":"packages/data-schemas/src/app/interface.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf8d3496c4cc6cc887ad43043fa87b5c4e4ffb4e2280125651ffe6e613b5e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRecord (cyclomatic 38, cognitive 37): toRecord has cyclomatic complexity 38 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"f762736cd36f6f8b3c7a453a4961b587ae11e6bac0b6604c13a460a6b8c3164d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GenericGrantAccessDialog (cyclomatic 38, cognitive 34): GenericGrantAccessDialog 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":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcbd8fbe139c74d6ea920a4f5c27392d6dd4112336a03e80a44883dbd772134a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitNestedStrings (cyclomatic 37, cognitive 68): visitNestedStrings has cyclomatic complexity 37 and cognitive complexity 68; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"85d11ccbbe0ab3f18d1b3f4f9390a563944c2a54badddaa99a4111edbde64829"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function logoutController (cyclomatic 37, cognitive 67): logoutController has cyclomatic complexity 37 and cognitive complexity 67; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/LogoutController.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4708afc16b3990471e50f26ebef63f6fc3a2f48c637cf7ab9500841a9a52fa8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 62): (anonymous) has cyclomatic complexity 37 and cognitive complexity 62; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"a776f68984918ae504cdc9d291df547dff03611bc67d1c3dc3c63d0c78dcf47d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unusedCapacity (cyclomatic 37, cognitive 53): unusedCapacity has cyclomatic complexity 37 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":1241}}}],"partialFingerprints":{"codehealthFindingId/v1":"c62d944d2489d55da974074fcce47d309f087034147597d65adfa86333a272e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function makeSlackPlan (cyclomatic 37, cognitive 42): makeSlackPlan has cyclomatic complexity 37 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"40020c87134c3a3c8e4c607c1baff95135d7797436beed64c27a3181f25d1a49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 37, cognitive 37): authorize has cyclomatic complexity 37 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5d6be5bd67e1c8c0338024b5e4a6806947b06dfad5a23bc0532f3c942e23aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProgressText (cyclomatic 37, cognitive 33): ProgressText has cyclomatic complexity 37 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ProgressText.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6fbcd7e90cbe35332d3f4c14f2206a031f008cfa523e47469b4c8c294f7a4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function progress (cyclomatic 37, cognitive 33): progress has cyclomatic complexity 37 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9982a634665d4926321e7393bf961636ba2804283c08c97a72b46f5d31d8ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileAuthoringCall (cyclomatic 37, cognitive 32): FileAuthoringCall has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"68de271b3dca30cb5156deab4aa310b1b926cb00dc24b96db1108efc27a09038"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectResources (cyclomatic 37, cognitive 32): ProjectResources has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"34548de273a9bbb0b8301ed07d468a241ae08c266ba2792d199a933df28c4c4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 37, cognitive 32): (anonymous) has cyclomatic complexity 37 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0ddf2c025cfaae819ce1a613ec1735fa152e9517aa300d5f9e885c588f9c39a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ExecuteCode (cyclomatic 37, cognitive 31): ExecuteCode has cyclomatic complexity 37 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2457db411135078f366abd4a0f68e8c435804cd7438a75443fee6fa824589f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageCancellation (cyclomatic 37, cognitive 27): stageCancellation has cyclomatic complexity 37 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8969545f0fefd99edbb4f5fe6855ccb0cf1d9a0ce0d7c2b0f9815e1e50e6e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 36, cognitive 61): prepare has cyclomatic complexity 36 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c486e11f513e308e4e921cdaa8ae27aa0592d810602c08dd735a1ad56ffc8d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScheduledMCPRequirements (cyclomatic 36, cognitive 61): resolveScheduledMCPRequirements has cyclomatic complexity 36 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d2dc627e850a38be3cb1c45e17cc0e9d6cb02564ca20893333bbe95f8755cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadThreadUserMessages (cyclomatic 36, cognitive 59): loadThreadUserMessages has cyclomatic complexity 36 and cognitive complexity 59; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/protection.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc62e71c5e9cbc5c5a0ea77dd9125e47a17269f2b688ae062b769c60c970f4be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 50): (anonymous) has cyclomatic complexity 36 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6309}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda53540b282e3b83a5b1b5b2e509c5cbb40dc21a52cbe64a006c5b0cc7d4b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSchedule (cyclomatic 36, cognitive 48): createSchedule has cyclomatic complexity 36 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf05af4c68b509d86bd1a994210b60074e027975b53d829f8095880a3eb2b300"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSubagentMessagePhases (cyclomatic 36, cognitive 47): reconcileSubagentMessagePhases has cyclomatic complexity 36 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"0584dcf194f276e3635374e7f07c2bc6a39e32727bb6bd0623cae7ba02c14892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 44): (anonymous) has cyclomatic complexity 36 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/enrollment.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e55abb78ab4b4a4f00a9adc31b65957fd8f90266a395b81f66201aa64e8b515"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveTokenUsageView (cyclomatic 36, cognitive 40): deriveTokenUsageView has cyclomatic complexity 36 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/view.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"260f316893b2a7150baed5f05f6e21b614df257558712ea8161c1c3c1fdfb497"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAzureSummarization (cyclomatic 36, cognitive 34): resolveAzureSummarization has cyclomatic complexity 36 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d5bc8b1353f130463561558463462181a0a99937b14a1cb00d9d94a832dc254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 33): (anonymous) has cyclomatic complexity 36 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2974827345403fa470005cc535d18036119244180a919a09f40bcbd26ff4681a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OwnedWorkspaces (cyclomatic 36, cognitive 31): OwnedWorkspaces has cyclomatic complexity 36 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"7521875f27acd824a6ad553bff292fea83f6c39b9b15d82c740216a36d652c22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 29): (anonymous) has cyclomatic complexity 36 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"0202aac3a0d2ef7f61ac4c70353ec4447352e54cd7b6d9a91117adfe2fa22236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 29): (anonymous) has cyclomatic complexity 36 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edcfee7333aae8154e0f02cc0be5f6c31863a4d5c64fb7c0c889659b4455aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 28): (anonymous) has cyclomatic complexity 36 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":"client/src/hooks/Nav/useSideNavLinks.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"50bd78f447b2b678534e7850129f7837c24c9b13925986b902c4ab3c2bbdd5b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 36, cognitive 17): (anonymous) has cyclomatic complexity 36 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":"packages/api/src/agents/responses/worker.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee99ad74a92092746843deae27530f77f33b0551cf72f98886d5e27f66efcc38"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pauseResponseForReview (cyclomatic 36, cognitive 13): pauseResponseForReview has cyclomatic complexity 36 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db540f823ece4838c7bb009e0f018ebfc76fec8c22e3bbe3c2dc840c242d96a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCanonicalFileReferenceIds (cyclomatic 35, cognitive 86): getCanonicalFileReferenceIds has cyclomatic complexity 35 and cognitive complexity 86; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59cac4cfa669a22123e868fb8a3f6052594819b8383353e1dada41c8383b3a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadCustomConfig (cyclomatic 35, cognitive 49): loadCustomConfig has cyclomatic complexity 35 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa16577d56c15446321fd6c0285077c33a8f75d4240625043721bf13ebcc3e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertResumeRuntimeContentAllowed (cyclomatic 35, cognitive 47): assertResumeRuntimeContentAllowed has cyclomatic complexity 35 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4256e7f55681ec407879fa3603339d0ee333e2d5efc7f792d79f144352ce5dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 35, cognitive 43): (anonymous) has cyclomatic complexity 35 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":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e5d742f80c3d40f04c9d242019fec79f2a1bbd12fc2092bd801b05052b31c8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAgentQueuedTurnEnqueue (cyclomatic 35, cognitive 40): handleAgentQueuedTurnEnqueue has cyclomatic complexity 35 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f51becbd713aceff78d029528cf80eec3a36df1bee2ab86bcfc7f263788dad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startUpload (cyclomatic 35, cognitive 39): startUpload has cyclomatic complexity 35 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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bce2982b982709fca1c354863288010d849d9006e45a4ff1e6bd1e57d1295c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAppConfig (cyclomatic 35, cognitive 38): getAppConfig has cyclomatic complexity 35 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":"packages/api/src/app/service.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba05c83838ab25f2a915744e0d9cd1417670f14111e86ce432604c7fc4059f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreAgentTriggerModelSpec (cyclomatic 35, cognitive 36): restoreAgentTriggerModelSpec 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":"packages/api/src/modelSpecs/continuation.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"34631de9e1dfe06281f12ca49da97a1321c15a5a43b4fec8b35056b3f08b6872"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatToolContent (cyclomatic 35, cognitive 35): formatToolContent 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":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80203f9279572232d2f4fc9cbf68806c55d0bf19eaa985202929c6314223905"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OpenAIImageGen (cyclomatic 35, cognitive 33): OpenAIImageGen has cyclomatic complexity 35 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b1a737bbcd98b729d576905453585d36b971731bf5b8ee3b17ef3660ab3152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function render (cyclomatic 35, cognitive 32): render has cyclomatic complexity 35 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c8f31b45d46a1ff7135cbb9e68ab89f5b0b5fb23b0a1b7ad8a141f35744d3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Header (cyclomatic 35, cognitive 31): Header has cyclomatic complexity 35 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Header.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"372b3bfcbf1b31a1c1d8858332b0eab597723cd65ca91cb954441422e188d3fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskUserQuestions (cyclomatic 35, cognitive 27): AskUserQuestions has cyclomatic complexity 35 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":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef3dff2b9cf4892af2beb006c16e14b06ef9d02611ec612303f75b90fa0979d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawEye (cyclomatic 35, cognitive 24): drawEye has cyclomatic complexity 35 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":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"46526b2f77a10135b32e1f57e526b04080631030c9b8f0450be55371b7d3a7a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 55): (anonymous) has cyclomatic complexity 34 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65cbf6cd58cc3345fb7f82f90f9981c29e418c0dfd40e5f323754e7b7473280"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeAndFormatImages (cyclomatic 34, cognitive 48): encodeAndFormatImages has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/image.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b625677e820bce61aceed0f5babd20ca04e317f9c69774cad2708e3a1dc4503"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMembershipSnapshot (cyclomatic 34, cognitive 48): applyMembershipSnapshot has cyclomatic complexity 34 and cognitive complexity 48; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2827}}}],"partialFingerprints":{"codehealthFindingId/v1":"0067bd6f3ba9c617a9e1f6fa4e65c00bdbcdff5aabee3b997b3dc0104fc884e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planCodeFileUploads (cyclomatic 34, cognitive 46): planCodeFileUploads has cyclomatic complexity 34 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/queued.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee93ea859770f474e61e46e8942e144a0039324d7846db859cae6847cff81f19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachAskUserQuestionAnswers (cyclomatic 34, cognitive 45): attachAskUserQuestionAnswers has cyclomatic complexity 34 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c312b0d8ffe4d9255272aeec3296ae176d92a607ce76d27cb32b3f381719073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 43): (anonymous) has cyclomatic complexity 34 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":"api/server/routes/config.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5b9bf6d299ca0dd761b8548973fa7d54ec26d032e8b857a3efccd94e9027c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMCPToolImpl (cyclomatic 34, cognitive 41): createMCPToolImpl has cyclomatic complexity 34 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":"api/server/services/MCP.js"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae0fb0d49069eebbbdb3d29700c5b983c01fb61283327e39fb5b9600d61d609"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hook (cyclomatic 34, cognitive 40): hook has cyclomatic complexity 34 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"56076be08fe3764f42a79553bbd6110a3b161496852a974652ed7dc70af7843a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveActivityLabelModel (cyclomatic 34, cognitive 38): resolveActivityLabelModel has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d350cd3429dc98635101e5e7d98161a527eb557feeac38ce13e4e956fe29003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 38): (anonymous) has cyclomatic complexity 34 and cognitive complexity 38; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cf6e1778f34c33a7078b2ae26e82d0c568927207b0078c2ddd69537b918f78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishTerminalClaim (cyclomatic 34, cognitive 36): publishTerminalClaim has cyclomatic complexity 34 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4229}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a80e67806cbb4d09d7e3e8a84de5123e0d61fe519ff15350f94826b305240a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 34, cognitive 34): (anonymous) has cyclomatic complexity 34 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindingResolver.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25c41e41cf1e9a8966b067f07b4abe9a023f079680190be1b48934f2b1cd2a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tombstoneConfigField (cyclomatic 34, cognitive 33): tombstoneConfigField has cyclomatic complexity 34 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4065}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e2d5c02b9ca5c894b2d54984d0a4348a043016da96e94d699f111dc7af497c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resume (cyclomatic 34, cognitive 31): resume has cyclomatic complexity 34 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca18eab727a35c6fd28c92a879db0d2619944dceae6e21a61f1dc8aaa35da5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeExecutionWorkspaceContext (cyclomatic 34, cognitive 31): resolveCodeExecutionWorkspaceContext has cyclomatic complexity 34 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd761242b3bceeec7585732aa12aebf4211acc8163795377ea2d2326c2f9add8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimParkedSteersDetailed (cyclomatic 34, cognitive 25): claimParkedSteersDetailed has cyclomatic complexity 34 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f52d97c3562f781d5cee6048342011fe9475998ff6cbdae60589a1bf3f8dc97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Conversations (cyclomatic 34, cognitive 22): Conversations has cyclomatic complexity 34 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":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6f63e1c871ed0fcb1f85f32d5f9f74c297d9bb129aa985b02ef2e03a047d72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function areMessageFieldsEqual (cyclomatic 34, cognitive 14): areMessageFieldsEqual has cyclomatic complexity 34 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/equal.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea72bc3f47a91d65075c744474450643d29c1f80f6628c42160a41a0b14c90be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listRecords (cyclomatic 33, cognitive 56): listRecords has cyclomatic complexity 33 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":637}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b97330d2cc639a37751774c35e16a03634babebb036111c25e32227c1e2de7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composeHint (cyclomatic 33, cognitive 53): composeHint has cyclomatic complexity 33 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/hint.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e902f0c0cf2a9cabce7154bc8212e9f53ae3e918b00a99de57c0f9efd0529632"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prependSubagentReplay (cyclomatic 33, cognitive 53): prependSubagentReplay has cyclomatic complexity 33 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a1054fbfea206922c084c088d2a4d23f5b8b8910ca1f253f9d8c52dd0544a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 52): (anonymous) has cyclomatic complexity 33 and cognitive complexity 52; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-user.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2396454f9f614879202d30f9f1e86d28e4bcbb75911dbd032c1db68894d7cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preflightCodeOutputBatch (cyclomatic 33, cognitive 50): preflightCodeOutputBatch has cyclomatic complexity 33 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/preflight.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a791fef82627d4adfa55753a8e97b7544d0b6cb602aba30d7e206ebfc1bdd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionStatus (cyclomatic 33, cognitive 50): transitionStatus has cyclomatic complexity 33 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c023c86f838d51dc1fff6e058a19cd071994e27e0cd26d8dd313338afcbac11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAccessPermissions (cyclomatic 33, cognitive 50): updateAccessPermissions has cyclomatic complexity 33 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d9c80ad3e582062538bd84a36ae40f7ddd3a08f5ec26adcb85507ba6c40b66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAttachedWorkspaceEditFileCall (cyclomatic 33, cognitive 48): handleAttachedWorkspaceEditFileCall has cyclomatic complexity 33 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4081}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b67721334d1668d59f6b51f14d6f48a7808621dbe79848a3381108a16e331ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeSkillMd (cyclomatic 33, cognitive 47): writeSkillMd has cyclomatic complexity 33 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3573}}}],"partialFingerprints":{"codehealthFindingId/v1":"73b6f2a0dcdefb1a7b3e778e4be1ef5dd5486703f5b4790f856237497bb08e18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function omitResolvedFileLocators (cyclomatic 33, cognitive 46): omitResolvedFileLocators has cyclomatic complexity 33 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4c0d6f9866f67c7df1ee661dff88ae6038085c3153384df3cfe7fc7a671089"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function duplicateAgentHandler (cyclomatic 33, cognitive 45): duplicateAgentHandler has cyclomatic complexity 33 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f5f34eda3aef3ea1a8cc1912517351512d679d9608e8c28f8899fadeb763be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateFavoritesController (cyclomatic 33, cognitive 43): updateFavoritesController has cyclomatic complexity 33 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":"api/server/controllers/FavoritesController.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e91a0d228cce8e824674293e629ec7e630e2506ad39ab2e49b6cb03d21e9f4b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlInvocationAndPersist (cyclomatic 33, cognitive 43): controlInvocationAndPersist has cyclomatic complexity 33 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2467}}}],"partialFingerprints":{"codehealthFindingId/v1":"920107f80cccdc3ee6c9e8de5fa3e70c5b47796516681b6e2105537f50ce80fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileRetainedJobs (cyclomatic 33, cognitive 43): reconcileRetainedJobs has cyclomatic complexity 33 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1306}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca83b1cfd1babf98618ce909d7297d3cd32619e03ffc7d64f088c879eea3ebc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptRequest (cyclomatic 33, cognitive 42): acceptRequest has cyclomatic complexity 33 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/comment.mts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe80dee1ef6ecf3441de2a4ec8208ba7b24032e7675d1f845c7d65cc42ecd054"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAddedAgent (cyclomatic 33, cognitive 41): loadAddedAgent has cyclomatic complexity 33 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0018595869f4bc376763ad1710e1da5ae7bc6d472e6b4de57057e1ac3a63bf30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMemory (cyclomatic 33, cognitive 41): processMemory has cyclomatic complexity 33 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"893a197d641cc20545be23f6e1f519af07589332b45feb4411e408484662af97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFrame (cyclomatic 33, cognitive 39): handleFrame 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":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3e0c2b5d0e4819a89fca237f06ccf2556879a797023671844e213f910f6d22"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 33, cognitive 36): resolve has cyclomatic complexity 33 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3559de4cec261ce864a9cfdb3c3a2f0bef800e6da0796c337535e196520012"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planMatcher (cyclomatic 33, cognitive 35): planMatcher has cyclomatic complexity 33 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"777e8d1cb0b8de592b815e31c62aba4554da270ea35522a74b3db7173ee5277a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveChatProjectContext (cyclomatic 33, cognitive 35): resolveChatProjectContext has cyclomatic complexity 33 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/context.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3740b380a46d1bcab35596ee3374c6480e6bf14c3b450dbf5e84a9ea440567a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function titleConvo (cyclomatic 33, cognitive 34): titleConvo has cyclomatic complexity 33 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":6145}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43a0e17213df11d650183ea9347ecdcc8ea78c5d748ae12f953bea9bfe42298"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWorkspaceSearchCall (cyclomatic 33, cognitive 33): handleWorkspaceSearchCall has cyclomatic complexity 33 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2460}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fa55982aee665316f9c0741ab77c93236b83cf813cfc758e3cce68197392a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Bar (cyclomatic 33, cognitive 32): Bar has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Bar.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"634293e90f6543e4e7d65b92d84854c5efc48356781f5dfd06efe9ef12ddfb86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 32): (anonymous) has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/transport.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a0c6a36953fcae5e6ac80ccb396d0f3e694bf4b63bc52fb25607d4b6cb5353"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRecord (cyclomatic 33, cognitive 32): toRecord has cyclomatic complexity 33 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":682}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee378b0223048957944e23ed72b381cb7cdae94c696746272e111cfa142eb6c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 33, cognitive 30): record has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/accounting.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"da469930906623479ab80d1a8b1a7e9e7558bd98821629090c97813ab8170a58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 30): (anonymous) has cyclomatic complexity 33 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/responses.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f93e1153a56c57cf32a3140717e3c8d61d678467d6fdbae562255061e2119"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ActivityPhaseGroup (cyclomatic 33, cognitive 29): ActivityPhaseGroup has cyclomatic complexity 33 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"769c7696219b9400d6c7585e12982bf95ec8e7444aba524ac44d96e6c01ca3b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatRoute (cyclomatic 33, cognitive 28): ChatRoute has cyclomatic complexity 33 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChatRoute.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"344cac8346a0365d623795b8cf0a6ab605e4d10b792b192dee8399fefe670976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 27): (anonymous) has cyclomatic complexity 33 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"339cf88da18250955c3cdd05d2ebc670de0a7fcef5a08186826d3792ff8fd1da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordAgentEventActorReconciliation (cyclomatic 33, cognitive 25): recordAgentEventActorReconciliation has cyclomatic complexity 33 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e09add8533fb9f1691f3e9dd7c66d550016fd994d941fd2c3a7aa24facc24851"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentFooter (cyclomatic 33, cognitive 20): AgentFooter has cyclomatic complexity 33 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":"client/src/components/SidePanel/Agents/AgentFooter.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb26468625ed2046596990b32c1555da8baf2e90ffc47dd215682a96c64f74b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 33, cognitive 18): (anonymous) has cyclomatic complexity 33 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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b02124f85ae74900e1a3e46724a0cb81cb1c44b6ec244f5fffc3fe07d53fa92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateUserPluginsController (cyclomatic 32, cognitive 53): updateUserPluginsController has cyclomatic complexity 32 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3856d67fd8c330f21ef9610a787b7ea54aeb842c668cff48e1d10c8ae0207c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliverMessage (cyclomatic 32, cognitive 49): deliverMessage has cyclomatic complexity 32 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28b2327dd163f895d79ab9254d536d30b589c8758e9db9b2fc2ec7c7897d37a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolValidationFeedback (cyclomatic 32, cognitive 48): toolValidationFeedback has cyclomatic complexity 32 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":"packages/api/src/agents/validationFeedback.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f1f15ef58137fda50b92dde204d4ca5abe667761b102533f00c1290d66c175"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 44): (anonymous) has cyclomatic complexity 32 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1635}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8391817f5ebcb31eced09e6828eb8063567e8fd8d2b3baa51576eabf3b894db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 43): (anonymous) has cyclomatic complexity 32 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/delete.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f6a165cb6edf9ea5de2f27ae06536750a49cb4a6e826c276cdb026514db350"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncSource (cyclomatic 32, cognitive 43): syncSource has cyclomatic complexity 32 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1625}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c15341a82af86c0baf8232f3ca4ad5b01269ec18c73ce73f2c36ea8e666578"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCacheMultiplier (cyclomatic 32, cognitive 42): getCacheMultiplier has cyclomatic complexity 32 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f418e0fa46bc2ab63e9bd5d9c558986057714462716fe15b35817b0837cd859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 32, cognitive 38): mutationFn has cyclomatic complexity 32 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":"client/src/hooks/Input/useTextToSpeechExternal.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dbb0f1242b675f48fd53c83594bd21488246d351a0a5ee7b67967ac9499d20c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 38): (anonymous) has cyclomatic complexity 32 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":"packages/chat/src/react/messages/useConversationSeen.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9c2755853a320dc965c2f99243cda797c7cc2bf545c1dfb2c0d4fe7cfe6d6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replyResponses (cyclomatic 32, cognitive 37): replyResponses has cyclomatic complexity 32 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"196ead1470e43d44731fd20178003af5de2d77077f9020b895f84cfdffe6c975"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revertAgentVersionHandler (cyclomatic 32, cognitive 35): revertAgentVersionHandler has cyclomatic complexity 32 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b258245783dcdb3bf833857764d2b4fd3dd7abc472f23b5a5b3903861101dbed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 32, cognitive 34): (top-level) has cyclomatic complexity 32 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ReadThroughCache.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ca57dbbbcea46d3c85967be9392ceb9f024e800688f0910213bc5973030761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreLegacyOverflowAnchors (cyclomatic 32, cognitive 32): restoreLegacyOverflowAnchors has cyclomatic complexity 32 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"90bdd7c08e6e88c4bbe7e36e333f5d94dd59c91ef0edf80c4ddcc72502f071df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 32): (anonymous) has cyclomatic complexity 32 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efff9c76760f1e7afc6c65c762d362b2a63a09f3947b51793b59597fa09d252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ServerInitializationSection (cyclomatic 32, cognitive 30): ServerInitializationSection has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa365f5ad3fff34cdea0e340362876068875a347a3b3684d9473ee3184e065a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyReasoningLabel (cyclomatic 32, cognitive 30): applyReasoningLabel has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/reasoningLabels.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8c58a91bc956d4825872ebd93ce6823a5428eaaa5562cd6fe4dd2f26ac25a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 30): (anonymous) has cyclomatic complexity 32 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9bbe9ef2765305dd55de53962e72b4254fcc5b0eeb8e3de7e1b6b6ce4a232d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hydrateSessionFromResolvedTokens (cyclomatic 32, cognitive 26): hydrateSessionFromResolvedTokens has cyclomatic complexity 32 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1771}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c38dee9a6efed17a2cbdbfe501a81a3024a1a3c353dee574420948d0fb69b26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 32, cognitive 23): (anonymous) has cyclomatic complexity 32 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edaeb4cb88d0488ec7015e4dc2e3898ba4721f2fc4f860579bc9de89a6d89f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgentEventDetachedTerminalEvidence (cyclomatic 32, cognitive 20): parseAgentEventDetachedTerminalEvidence has cyclomatic complexity 32 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":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f94427493170d639b54ccbb224228fdd47e271a75684bf58925cbf836fb7ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateDocumentBlockTokens (cyclomatic 31, cognitive 56): estimateDocumentBlockTokens has cyclomatic complexity 31 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"97af4b652d12ebed6b726632bbbde23a45e6aabc3cfe6271df21f98af9ba27c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reviewModal (cyclomatic 31, cognitive 56): reviewModal has cyclomatic complexity 31 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e876ace3ba19cdd660b0847c60fef61b400c520db5174f03a4115816c99ff8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 49): (anonymous) has cyclomatic complexity 31 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a11ea7cf63e813c0fa76cb83ce47aa77ed5d6db95204ac14a6ecd8607d3868"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMotion (cyclomatic 31, cognitive 49): updateMotion has cyclomatic complexity 31 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a69b0c5dc1b77bed5987f07a74a530c57806be744c9da2624d517ddd33625f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispatch (cyclomatic 31, cognitive 44): dispatch has cyclomatic complexity 31 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/shared/app.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c435107749bc7c7cf89dfe55234542458beaf46e802a18006b07597dd99e193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onRunStepDelta (cyclomatic 31, cognitive 42): onRunStepDelta has cyclomatic complexity 31 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fac2e7ab240d92cf8d43ab9136e3771ef32725845cf9411d7ab8d1a65e65eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operation (cyclomatic 31, cognitive 41): operation has cyclomatic complexity 31 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1593}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a713b29107f857f4caadc87d187bc509c3335a2b6294ffc8d39822901138e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pollOnce (cyclomatic 31, cognitive 40): pollOnce has cyclomatic complexity 31 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56aace51b7c7e9e31fc8dae7b1c99695508185476cdb486e3cc362c9bf6b0c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function slackRouteLookup (cyclomatic 31, cognitive 38): slackRouteLookup has cyclomatic complexity 31 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":"packages/channel-gateway/src/shared/route.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"564dca5f2066aede2a0fd380b510197baf90daba8cbc898dfd148c5a9f8b7b5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatV1 (cyclomatic 31, cognitive 37): chatV1 has cyclomatic complexity 31 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5a4b53a22ac3ead5d616181d4fd89e2cbc12114c201bd4d753fefe403d2efc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chatV2 (cyclomatic 31, cognitive 37): chatV2 has cyclomatic complexity 31 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea6e1ecf081b90c2c8d14f332d2bb5c2bd855b3b8dee84e50e0db18f011f2d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMCPEnv (cyclomatic 31, cognitive 36): processMCPEnv has cyclomatic complexity 31 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":"packages/api/src/utils/env.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f1fe571c44d78c8be5b72b34d204b8097ffa921daef00e41df864523eb781ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reduceSubagentReplay (cyclomatic 31, cognitive 36): reduceSubagentReplay has cyclomatic complexity 31 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2dca4c4f433c521dc5b166c72b2479b4a83994bfb80f9d64426ba2729e4f352"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resource (cyclomatic 31, cognitive 35): resource has cyclomatic complexity 31 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"41194c2251f2fdf75e83d7bea1081d1351a9b46f21c10c3232cc5e1cbb08dae5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 35): (anonymous) has cyclomatic complexity 31 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5839}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb29c6ee05ddaa7ab4413f3abb7752c0a5459faf7398d90e8e3d300c5e9f6747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deadLetterAgentQueuedTurn (cyclomatic 31, cognitive 35): deadLetterAgentQueuedTurn has cyclomatic complexity 31 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2520}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc86f2da83feba8bd1196ad8b96491911e4cd45f7cabb0d310ed376a615d74b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 31, cognitive 33): (anonymous) has cyclomatic complexity 31 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":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"db29df5d0b3954d2076e567d93c55c9fe776516f5d85ca92fcaf8daf9fe9f844"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateResponseRequest (cyclomatic 31, cognitive 32): validateResponseRequest has cyclomatic complexity 31 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8081038889403d351e24743906f7ea03c89f4f1c396e42a8a843700b1815bda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commit (cyclomatic 31, cognitive 31): commit has cyclomatic complexity 31 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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60857eddebfcf2410d027372675075733d22e844c8ce07f20a46887603f42c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find (cyclomatic 31, cognitive 31): find has cyclomatic complexity 31 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":"packages/api/src/pulls/github.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2ad9e946b31ae16be29e0171fccbd1cae3aba563e41ccda8a8e8e3b483220b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function composeAgentUpdatePayload (cyclomatic 31, cognitive 29): composeAgentUpdatePayload has cyclomatic complexity 31 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bf664b96fe742f97bd9f9a32de4e1e9bf8dce8450e5c72528ad5dfa2c316da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeGoogle (cyclomatic 31, cognitive 29): initializeGoogle has cyclomatic complexity 31 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/initialize.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf3910db6fbdcfc510b54b64463fb4755de0881a7c7e38d3c4b6580b51cf8f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataTable (cyclomatic 31, cognitive 29): DataTable has cyclomatic complexity 31 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"82564737a5af6c872d83260d4546fc86039e1739973c1ee4f96ed35ccdaa78cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageRender (cyclomatic 31, cognitive 28): MessageRender 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":"packages/chat/src/components/messages/MessageRender.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"32503689afb12d4cc5db96c64f620153afe09310ba8ce9c0c5afd26774ea9ec4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useAskAnswerMode (cyclomatic 31, cognitive 26): useAskAnswerMode has cyclomatic complexity 31 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c63a9627220fd431edcfd5eba9f3b2f438d95c6f33c967301437d2c4990b84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReasoningSettingForTarget (cyclomatic 31, cognitive 23): resolveReasoningSettingForTarget 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":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aeeb5d33ab28c0f40cbcef33e25f529ca89c651d7e68c5ccc67573c4be1596a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nestedAttachmentCalls (cyclomatic 30, cognitive 74): nestedAttachmentCalls has cyclomatic complexity 30 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c19afaa55469672eb066a06613eae058516750a931e77f28f126c6f88a360d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rebaseActivityPhaseBounds (cyclomatic 30, cognitive 53): rebaseActivityPhaseBounds has cyclomatic complexity 30 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4104}}}],"partialFingerprints":{"codehealthFindingId/v1":"13526c88a6cacd2499fd01279b51b9d07d681bbbb65fe507a6e1ab81ba9c2013"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 30, cognitive 53): finish has cyclomatic complexity 30 and cognitive complexity 53; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"08abcddc7281e1694e673becc1e44d5cba9b2efe6b66483f8c76959f4f35fc83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertUploadContentAllowed (cyclomatic 30, cognitive 52): assertUploadContentAllowed has cyclomatic complexity 30 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":"packages/api/src/files/preflight.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1195e4d65cc25ceb992a7b906448b04e46652c9ba494d1a02feffee69a7c038c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 45): (anonymous) has cyclomatic complexity 30 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/controller.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7739a0ae89c538ae35156528571a1155d944bf80608516497f768698867194e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 43): (anonymous) has cyclomatic complexity 30 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":"e2e/bombadil/branch-reload.specification.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"750f1273aba9e5ce6f5c2190c2da2bf05c120de358ae63c210a9ee782c922402"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 41): (anonymous) has cyclomatic complexity 30 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9023952615ed08803ada8e120a61650e8c4206e80a7b298599d780df485046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expireStaleApprovals (cyclomatic 30, cognitive 41): expireStaleApprovals has cyclomatic complexity 30 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9577}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc4c6968dfe18c56133954d79aae9988c423281eca60fe4408aa868f69e194d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measureFunctions (cyclomatic 30, cognitive 39): measureFunctions has cyclomatic complexity 30 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/crap.mts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b788e696e986fd1eaa89f7860727762ec3b63c4b647d77aa6b328c671f10da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRunInterrupt (cyclomatic 30, cognitive 35): handleRunInterrupt has cyclomatic complexity 30 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4355}}}],"partialFingerprints":{"codehealthFindingId/v1":"a756d8825e541e5c2e9f3283a0bc26d0fb2fde7b6bff980d53c35ee2df530ce0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveRunStepFromEvent (cyclomatic 30, cognitive 35): saveRunStepFromEvent has cyclomatic complexity 30 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7898}}}],"partialFingerprints":{"codehealthFindingId/v1":"796dbe2341ade8e955d3028e1b1409a1e717382273e138173e73791eb7fbf12b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveComposerKeyDown (cyclomatic 30, cognitive 34): resolveComposerKeyDown has cyclomatic complexity 30 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/shortcuts.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4797a7183d59636d031014e4ea4919bd576526b485524c23cee5c60e1c165dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 30): (anonymous) has cyclomatic complexity 30 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/principals.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f0226ab4e202f5e7cec2c52733f1ea32eec2e1d6e4e0e5f23e8b1dee32b509"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getListPromptGroupsByAccess (cyclomatic 30, cognitive 30): getListPromptGroupsByAccess has cyclomatic complexity 30 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"c328b21d80a7788b09813b74071f62bd1250caa8b068ba1ebfa0645129581fed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 29): (anonymous) has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/guard.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e92849bf91316c38b4d1591370e2e26e1ee7f594526e8b469a587e438f53be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishConversationTitle (cyclomatic 30, cognitive 29): publishConversationTitle has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/title.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd2b52dabe68a9132b3a6bdd4ea754f07bf5012babe72eb450704345dc34569"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find (cyclomatic 30, cognitive 29): find has cyclomatic complexity 30 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb7eb8e69379c502f88e1639fbc05c46458267f55374e3ddcd343163bf55e56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Inspector (cyclomatic 30, cognitive 28): Inspector has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f11975447ad94a06886e84ec2909ced16f198e3151ca9621390139efb3d07c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 28): (anonymous) has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/command.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"6360bcbdf7e9459806f7bf3cc3765b29f59467822e3ca28bb68e1f90830b2aa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishGroup (cyclomatic 30, cognitive 28): publishGroup has cyclomatic complexity 30 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/queue.mts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d23f004a30775b22ff9898d6cb577233c21fab78e0c616463d750e3c95d5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackgroundTasksButton (cyclomatic 30, cognitive 26): BackgroundTasksButton has cyclomatic complexity 30 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acb03db421869a2805b62c2064daba345b7919bc1b78acef3b733edd79d8bf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 25): (anonymous) has cyclomatic complexity 30 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/buildDefaultConvo.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca27dc2ad269e38f8a9053fac6fbf760b5e7a22f6eb15ba5d1de4f7a9a03cbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskUserQuestionSingle (cyclomatic 30, cognitive 23): AskUserQuestionSingle has cyclomatic complexity 30 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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7facbf4b95bf5374ba567a4cc1f8a00cc80d8d9529cd78345add7bf6962471ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseQueuedTurnAdmissionSource (cyclomatic 30, cognitive 20): parseQueuedTurnAdmissionSource has cyclomatic complexity 30 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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b47abc39752f0607c0e32ee17a5ae3ff2794a6f7cd454a463166856a14e67a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 30, cognitive 20): (anonymous) has cyclomatic complexity 30 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":"packages/chat/src/components/messages/HoverButtons.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffef911aaac33dd058a1a4af6305a67300f74f85776d3c51076c493e17fa4aa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 30, cognitive 18): start has cyclomatic complexity 30 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3924760432676f9ef964f6a18142ddad762060de8b70bd49c0b442ee2e9251a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleOAuthRequired (cyclomatic 29, cognitive 56): handleOAuthRequired has cyclomatic complexity 29 and cognitive complexity 56; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2376}}}],"partialFingerprints":{"codehealthFindingId/v1":"584342bc4ef75e9162368f074333acb35953290ca517654a3a88adf68dea025a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanup (cyclomatic 29, cognitive 49): cleanup has cyclomatic complexity 29 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9726}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16f6cafeda5a99c48d3989fd936ec31fecb0f9dbf1dfff9168d1ca600032c40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInvocation (cyclomatic 29, cognitive 48): resolveInvocation has cyclomatic complexity 29 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":"e2e/setup/fake-model.js"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"209f7a077f3def9d9a93c2ee44dc4ee0321329890c171d4e84b4b5f1ac252160"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function invoke (cyclomatic 29, cognitive 45): invoke has cyclomatic complexity 29 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"e06887b14b8294275d82e282b33386082cbfbde30e617438425b12ec7cdb3993"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleAbandonedRuns (cyclomatic 29, cognitive 45): settleAbandonedRuns has cyclomatic complexity 29 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d23b091b99b68e8fa6006dc6b4f26e3be9c7c052c12d8cbc194126acb913e2d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function control (cyclomatic 29, cognitive 45): control has cyclomatic complexity 29 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbd3f29e03f21ab6523217753542b7620ce2bd62d0667e750656699f524e443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 42): (anonymous) has cyclomatic complexity 29 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6783}}}],"partialFingerprints":{"codehealthFindingId/v1":"201956ba47221cb161d5d268c04a5731eb1a62601626835272c2e560e6967912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toBoundedJsonValue (cyclomatic 29, cognitive 42): toBoundedJsonValue has cyclomatic complexity 29 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":2039}}}],"partialFingerprints":{"codehealthFindingId/v1":"802d89b767ef7e478defcc177dab2606517e3f65e0c0e808d0adcf6506969cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeReports (cyclomatic 29, cognitive 42): mergeReports has cyclomatic complexity 29 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/merge.mts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06251a007bb232f85f9d6cbca799d7a8754d26a0300ef403ece24a836dca2562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEndpointOption (cyclomatic 29, cognitive 39): buildEndpointOption has cyclomatic complexity 29 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":"api/server/middleware/buildEndpointOption.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"985da4168ef3659e2515c643d78ac5af247969fc65b8b3905ab5312b788d81da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteUserHandler (cyclomatic 29, cognitive 39): deleteUserHandler has cyclomatic complexity 29 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":"packages/api/src/admin/users.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65141821725a9ee22163293a8351a0dc37eef5643a7bb092a1271af4db235fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function quiesceUserSchedules (cyclomatic 29, cognitive 38): quiesceUserSchedules has cyclomatic complexity 29 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":2332}}}],"partialFingerprints":{"codehealthFindingId/v1":"26e44da41e1f49f35749a912d4c4749904262688a4b06bc79e8412b464ef649e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveBalance (cyclomatic 29, cognitive 36): reserveBalance has cyclomatic complexity 29 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":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac29b920aea64ec803505d76ef431abad4fe7154bcc4daf2d87aa0b8d37191e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prePush (cyclomatic 29, cognitive 36): prePush has cyclomatic complexity 29 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":"scripts/pre-push.mts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d46973dba9a79cbd2e8b9012bec918887234f0119235e4b080094fb144c6ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _call (cyclomatic 29, cognitive 32): _call has cyclomatic complexity 29 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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"114be265935893fedb9f4e2bf8e1bdd32f3a0839483eba2a4789de86f6300cf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateFinetunedImage (cyclomatic 29, cognitive 32): generateFinetunedImage has cyclomatic complexity 29 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":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d354fa9a1527c65b76808d1063c6872e8bf76fed49e88e550a9630408cfd6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeBundledSkillFile (cyclomatic 29, cognitive 32): writeBundledSkillFile has cyclomatic complexity 29 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3759}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa79af3e69f8da9e2e818c747849e179cb031f3deb54fa5510d04c308031c53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSubagentConfigs (cyclomatic 29, cognitive 32): buildSubagentConfigs has cyclomatic complexity 29 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":"packages/api/src/agents/run.ts"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdcd1871c9ae299312acf4ed516591f82988a53c6a6543b34986ebd5abc616d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 31): (anonymous) has cyclomatic complexity 29 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-flux-server.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"295fdededfa9b4b8527a981fb5f07bd670ef9d75c72749eb4a069109cd27ba9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateJob (cyclomatic 29, cognitive 31): updateJob has cyclomatic complexity 29 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e0ffcfec2be9cc7083451115522554cbf43934eddbda4d25d8aa91a4caa98d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 29, cognitive 30): handle has cyclomatic complexity 29 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":"e2e/setup/fake-code-server.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"19679b3e50435dd54bae1072197f2365c3da471d591d82487a217a1d307d4c56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureReasoning (cyclomatic 29, cognitive 30): configureReasoning has cyclomatic complexity 29 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":"packages/api/src/endpoints/anthropic/helpers.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6591c641a7cc02a360aa7935f32ac415a451ad78b8f2c5eb198e94338c1920b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryEditDialog (cyclomatic 29, cognitive 28): MemoryEditDialog 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":"client/src/components/SidePanel/Memories/MemoryEditDialog.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"72edc057f8e672dec543f8a785dfa03610642751b6ee4ede2c1b985d080fa931"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 28): (anonymous) 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1d549cb94943e2702205d96a7d30a4ff4b0012369877e8dafbaacbb2c2c465"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 29, cognitive 27): onSuccess has cyclomatic complexity 29 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":802}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15dcfec61991a516bc879572785d889dfefe2f412dfe61800bd72447120f4a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Landing (cyclomatic 29, cognitive 26): Landing has cyclomatic complexity 29 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Landing.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b937e78210efc93684ecf1273d9fd54fd8e141f85bbb2b12184e4cded963d51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicSlider (cyclomatic 29, cognitive 26): DynamicSlider has cyclomatic complexity 29 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicSlider.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"86124ee77c1e8f33ba58367b8dcf596f5657bc490d74b239ce4430712bdd9a34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 26): (anonymous) has cyclomatic complexity 29 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileContainer.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcd978f321f126b916d3ed5a3263cc39755c99bab4a34d2c8dc77396f1bdbb5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OwnedReview (cyclomatic 29, cognitive 24): OwnedReview has cyclomatic complexity 29 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":"client/src/routes/ResponseReviewRoute.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde0e88485d1e9b2801262eca2dcd8d007721a3bec3b22750c9d6ba0b6014fff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 24): (anonymous) has cyclomatic complexity 29 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":"packages/chat/src/react/steering/enqueue.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0514cd4fd0243cde0cea8349bfbec0827f216acb26463c3d834a7bb9e033758"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 23): (anonymous) has cyclomatic complexity 29 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b606989f6441c7b978b068558236e371df2ac024734eb172a3e072c72f48579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordSubagentTaskControlReceipt (cyclomatic 29, cognitive 23): recordSubagentTaskControlReceipt has cyclomatic complexity 29 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e1a52ea4bdc2ab92d638735448e5c0261625b063058ee35d062ff0e2d1d3da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditMessage (cyclomatic 29, cognitive 22): EditMessage has cyclomatic complexity 29 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":"client/src/components/Chat/Messages/Content/EditMessage.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a33b7f8b49de7542ff430723052153c0f813d8be0789ed7e19ecff611b821e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 29, cognitive 21): (anonymous) has cyclomatic complexity 29 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":"api/strategies/ldapStrategy.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"506a0b6e79405088fa7f4f9fc196a38a88c2a9b36af1725045b14ca46b49b6ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTask (cyclomatic 29, cognitive 21): parseTask has cyclomatic complexity 29 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":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f206e1f7edc363ce65968d3e1ed9c6c815575bcabd81a8357744c70b516aa46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findLineWindowMatch (cyclomatic 28, cognitive 61): findLineWindowMatch has cyclomatic complexity 28 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e72f183ba5350e7fa3c23638ef72dc4dd08e9d72ced5aa57da4ac384571f9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function openapiToFunction (cyclomatic 28, cognitive 61): openapiToFunction has cyclomatic complexity 28 and cognitive complexity 61; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"119d5468d5cbaed2ed8d26dee132d4f664d1bd1e210279ed10fe8c9a6e0a9b45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executePrimeSkillFiles (cyclomatic 28, cognitive 58): executePrimeSkillFiles has cyclomatic complexity 28 and cognitive complexity 58; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e742ca120a63a97b60064a693988605f5cf21d9b2df3628a4a65f818ed78577"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBlockedOpaqueFileField (cyclomatic 28, cognitive 57): getBlockedOpaqueFileField has cyclomatic complexity 28 and cognitive complexity 57; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0ec90ec8cb335fb8a00cae6e2300c5059d67fecfb451dd68325a14c40cb940"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function newestLine (cyclomatic 28, cognitive 54): newestLine has cyclomatic complexity 28 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":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"53581532b73d773839f37de314add9983deaa779f10c79e596821da7e5864acf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planCodeSnapshotMounts (cyclomatic 28, cognitive 51): planCodeSnapshotMounts has cyclomatic complexity 28 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/destinations.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2f1731b833d638180b0eafb9baf6c0ec3df9cddc0eeb82bf0bbd78867304bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeRetentionExpiry (cyclomatic 28, cognitive 48): computeRetentionExpiry has cyclomatic complexity 28 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":"packages/api/src/files/retention.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"4984691c07c733d020be6ba91bd877c4191bd3410d1ed6ff180235bb7670a64b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getIndexedTerminalHostActionJobs (cyclomatic 28, cognitive 46): getIndexedTerminalHostActionJobs has cyclomatic complexity 28 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3572}}}],"partialFingerprints":{"codehealthFindingId/v1":"c192c8ef03834480b7a9d00ed689fe099a9262779c0794019e437de696afd22f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateAssistant (cyclomatic 28, cognitive 44): updateAssistant has cyclomatic complexity 28 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v2.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a58ce0031d2a79b40519284f4970fbf39d0546a6a1ecdca3147e1ce7118d07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 43): (anonymous) 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":"e2e/bombadil/model-lifecycle.specification.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a827ba1471aa4fdb1e6494c9c05d25c100960e50660b71f95433d5f50840a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 28, cognitive 43): main 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":"scripts/static-checks.mts"},"region":{"startLine":2252}}}],"partialFingerprints":{"codehealthFindingId/v1":"018cc7fbdbd4c6c2399426e43896661f1d9f3c18cd3d46a21aba7cdde77cab18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flushRedisCache (cyclomatic 28, cognitive 41): flushRedisCache has cyclomatic complexity 28 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":"config/flush-cache.js"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f92d53ee61445d13500d6970a911c5d3a45c17de98b01223907cd5e32a660"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleBatchMembers (cyclomatic 28, cognitive 41): settleBatchMembers has cyclomatic complexity 28 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5415dab282d0a40e25fcede2892b2f3dafa45391ba4dbc02562058a66510cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 40): (anonymous) has cyclomatic complexity 28 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c823a1183289fa563b6ec51eb827ace21b8d44ec5c4b14d8c22223af9fc4b45a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectPendingMCPOAuthPrompts (cyclomatic 28, cognitive 39): projectPendingMCPOAuthPrompts has cyclomatic complexity 28 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/resume.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ce04bf01aeab1d618405c1737767dc7601ead5ef6946df540b66e768ecb6a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMessageContent (cyclomatic 28, cognitive 36): formatMessageContent has cyclomatic complexity 28 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":"client/src/hooks/Conversations/format.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fd14cf3a027ccb85db2d9ee0a371270e8dc3605254e89a0d0f549c0c164ee89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLinkedInstructions (cyclomatic 28, cognitive 35): resolveLinkedInstructions has cyclomatic complexity 28 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/linked.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"1857d67c163c6bcc4051c7e10c945b8ca5c21629546b701d7a0fcc6dd64a0e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runPreflight (cyclomatic 28, cognitive 35): runPreflight has cyclomatic complexity 28 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8022f7c20bd2eafc034576f23540f8677808909f2d9e31b4a111d371b02f71b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 33): (anonymous) has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"289e5b96d42651f90a7ee6f4ba06f520d56299169e84d5c9ae17d2d51f75ec3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSharedLink (cyclomatic 28, cognitive 33): updateSharedLink has cyclomatic complexity 28 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"9faca4d27cc348224f83b811755d05adebbae6c0bc8fe8f11dd289e54b15aa82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createGroupHandler (cyclomatic 28, cognitive 30): createGroupHandler has cyclomatic complexity 28 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":"packages/api/src/admin/groups.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"8767d690b85e5fd3f48f705ac07a7b3bb32d6fd79d6e04041383a566aeb27a4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encode (cyclomatic 28, cognitive 30): encode has cyclomatic complexity 28 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":"packages/api/src/agents/files/encode.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de42ffe5f1604188f36ae3d33425050b969b42b3d8930c6391e443f12410ce6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSandboxFileFallback (cyclomatic 28, cognitive 30): handleSandboxFileFallback has cyclomatic complexity 28 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2230}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dafdbdcabe67b51c98f7b7e40ef9f44181fab1eb3ed5ec9f1bec63738189db1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkBan (cyclomatic 28, cognitive 29): checkBan 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":"api/server/middleware/checkBan.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7582177320504eb4cbb84893266cd3fc8f9c0cd08dc0ef342cf3d8b4045b6d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimNextAgentQueuedTurn (cyclomatic 28, cognitive 29): claimNextAgentQueuedTurn 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a6b442b079151460da1c5ffd2d222b46df4cf15e3c77d9c6b7826992d25709"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hook (cyclomatic 28, cognitive 28): hook has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07b7d47b6f1a0d543611c0ed08b369f0df70e4e3b04499583bd3ff19c5d6fbf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDefinitiveFileStorageFailure (cyclomatic 28, cognitive 28): isDefinitiveFileStorageFailure has cyclomatic complexity 28 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e8eea49eb6560264f719cd4f3a0dfe2f438c2a9bd734ec8c373ccd8f113f45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 27): (anonymous) 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":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff25542f8c0b29ab99c713183c819d0eff0c9bacd3c6a03805b2a4761b8cafbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 23): (anonymous) has cyclomatic complexity 28 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d229aaa1542b629e26d2711cf00ef8bbcf59f9c8c73ad0de32444c93ca7e347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSkillUploadRecoveryCli (cyclomatic 28, cognitive 20): runSkillUploadRecoveryCli has cyclomatic complexity 28 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":"packages/api/src/skills/recoveryCli.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"07abe8654ed74c95c3599948cee9746bd1ed938329d853cb1db6d1ba79ed72ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 28, cognitive 17): (anonymous) has cyclomatic complexity 28 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"186e11c89973474cf7c16d7257491e098053cf5cc462a0ea0a38110676edaa57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function session (cyclomatic 28, cognitive 13): session has cyclomatic complexity 28 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/summary.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ee3b2a7dee8813fc1f5cdcdf818db207f83533d5a005847895631e14547d81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function always (cyclomatic 28, cognitive 13): always has cyclomatic complexity 28 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/eslint/design.mjs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d62008ed79c3fba3d4999ed1ae0d0bcedcf8343913e0b6c08fbc4968e351f09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function planPluginHooks (cyclomatic 27, cognitive 74): planPluginHooks has cyclomatic complexity 27 and cognitive complexity 74; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a26ecd82495a02520f526610f7defd3098d50f25bff8725a5eb1af9ff4d52ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 50): (anonymous) has cyclomatic complexity 27 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"edffcbba53f71be6f11efbc27b6255fb793d7641a530dd4c27435f5e8bc14711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshOpenIDSession (cyclomatic 27, cognitive 49): refreshOpenIDSession has cyclomatic complexity 27 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b1cb6af4ea86aede61165cb8138a3416b9801586f2bc7afc1339d354ab74d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workbookToText (cyclomatic 27, cognitive 49): workbookToText has cyclomatic complexity 27 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/workbook.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"35dba41360954c7728f2a07c496cb895a0fed58998071de1ccbafc3865b68613"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPreviewIndex (cyclomatic 27, cognitive 47): buildPreviewIndex has cyclomatic complexity 27 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32bad796ae8ff791157c8e41f7bb8547505b53bd8210ddcb48c38d6e27f30d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldLegacyInvocations (cyclomatic 27, cognitive 46): foldLegacyInvocations has cyclomatic complexity 27 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1298}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7478b1fb892dc5cbb052721fc8824bd0f821d6ac8919c9eb34bfa988bdb45e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildRunToolSet (cyclomatic 27, cognitive 45): buildRunToolSet has cyclomatic complexity 27 and cognitive complexity 45; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bf62644c62f1f4921d858cb864f7d5c8b09ebd81e300043a4ead16cdfb9676"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadFileHandler (cyclomatic 27, cognitive 43): downloadFileHandler has cyclomatic complexity 27 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8b4ab7da0635263fd7e292eae70f8483982b330cac5040fec4ae25ab4bd6e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nameToolRounds (cyclomatic 27, cognitive 41): nameToolRounds has cyclomatic complexity 27 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"db99f8765a3d8dc5e7049e637c1755138d52060fe39f882b3bf61e7b4b8d2bb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCatalog (cyclomatic 27, cognitive 40): buildCatalog has cyclomatic complexity 27 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/items/catalog.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca5508591289b1258cd88c2d24bb5e6c0af1824b4cbe1e7594a4ea9a9cdc99f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotNestedSubmittedValue (cyclomatic 27, cognitive 39): snapshotNestedSubmittedValue has cyclomatic complexity 27 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":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba2c5b34b10f2ff1584e4e4609539a9b77344653276531bdac35312421f47cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 38): (anonymous) has cyclomatic complexity 27 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":"api/server/routes/messages.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fddca5e845b21895819448840398c1daaa1b4337cbef00ff084adbc1a71ce8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateRequest (cyclomatic 27, cognitive 37): validateRequest has cyclomatic complexity 27 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c447b4af0fb4141a9a9965c9d94c5d4a82a43bb53d3319f81dfa846e6439c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSubagentToolTimings (cyclomatic 27, cognitive 36): reconcileSubagentToolTimings has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"d24d2b29850ce1b0308c6364fda86746eb92a1c1539f6ea131afc95fe6d032c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 36): (anonymous) has cyclomatic complexity 27 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8e37d8f0c10b5349099a42cf6361b98f24ae4af0c565504e6383bf7a10af16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processValue (cyclomatic 27, cognitive 35): processValue has cyclomatic complexity 27 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2c415d7eb596831e61618b741f1c0c8469b60f4b63bc0aa7f764558758b290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 33): (anonymous) has cyclomatic complexity 27 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":"e2e/setup/fake-label-server.js"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"336ea19dd3b0a7663ce2a2688576eb349fa73997377a1cd40b66ae6bc0eb5747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareChange (cyclomatic 27, cognitive 33): prepareChange has cyclomatic complexity 27 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":"packages/api/src/admin/config.ts"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dca62efa71f974791f7e4acc08077c1e90f91ac3d891e908deb981ef33bc0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadFileHandler (cyclomatic 27, cognitive 33): uploadFileHandler has cyclomatic complexity 27 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":"packages/api/src/skills/upload.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d85932eba1d40570971634cc25e8ba392e0cb9469badaf8bb4465ca2926193a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateRoleHandler (cyclomatic 27, cognitive 32): updateRoleHandler has cyclomatic complexity 27 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3abd6dacde6f29975216379cc65a82a569b711db625ce653a3e6ed85183e0ebf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEndpointFileConfig (cyclomatic 27, cognitive 31): getEndpointFileConfig has cyclomatic complexity 27 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1139}}}],"partialFingerprints":{"codehealthFindingId/v1":"68249d23543f562b2e4e67190ab0b3a97ec10c8fe2428ad794f3ef8a8489877d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 30): (anonymous) has cyclomatic complexity 27 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":"api/server/routes/agents/actions.js"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56fbe3f1148336e67dd7062888c43038171721f07e5b00eb3954ea30b9dcb04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toLinkedWorktreeRequest (cyclomatic 27, cognitive 30): toLinkedWorktreeRequest has cyclomatic complexity 27 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":"packages/api/src/code/workspace.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a7ca6a340af4ffda662e6539852aa01e560735bca817e2f82ac19391628e42"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateStructuredTokenValue (cyclomatic 27, cognitive 29): calculateStructuredTokenValue has cyclomatic complexity 27 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"417d72549cf2ee434adba1c2900e2b67663e480d186a82da68313ec663e426b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function afterSettle (cyclomatic 27, cognitive 28): afterSettle has cyclomatic complexity 27 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":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd772ed36c2153664cd06ba7b5c9d34fe9881feb9e3bb1bf0b70748a43ec325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRow (cyclomatic 27, cognitive 27): renderRow has cyclomatic complexity 27 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":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bb5db30fdb186d0f3c8c77152f408878822142a47950efbc3e02592731d6fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 27): (anonymous) has cyclomatic complexity 27 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":"client/src/hooks/Files/useAttachExisting.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7965986514bfe18beadf665c76aefced64e6d2b825168a3f0c9cc86858881e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendStoredMessageFileIds (cyclomatic 27, cognitive 27): appendStoredMessageFileIds has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c93e8d630b9dbece0b591be1fb16a641c9a0cabaa12de8061f66d159b57d185"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSharedMessages (cyclomatic 27, cognitive 27): getSharedMessages has cyclomatic complexity 27 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"0023494b3642aa532fcd23315e743836edffcf2fd33fcb725e6c0daa29a335dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SharedView (cyclomatic 27, cognitive 24): SharedView has cyclomatic complexity 27 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":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89bcd20987b8f5d4e205b4f8c163d91aed446af450bdf1122914182f5bd23f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertStoredClientBinding (cyclomatic 27, cognitive 24): assertStoredClientBinding has cyclomatic complexity 27 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":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"712d78af7e66d714118ef9bd8fb61ec1e9c8e2006d32c482f20b3f535b92d110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPServerDialog (cyclomatic 27, cognitive 23): MCPServerDialog has cyclomatic complexity 27 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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7880487799f654881261f032cf0beb1beb4ca72091066bbd155326e6d5cf5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOrchestrationSnapshot (cyclomatic 27, cognitive 23): resolveOrchestrationSnapshot has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"35d37203b79d8483018221d1421753495d96c924e05351abb1ef10818e873cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordProviderExecutionDrain (cyclomatic 27, cognitive 23): recordProviderExecutionDrain has cyclomatic complexity 27 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8469}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e08806d3535f559a337de569238610d07ea6d4b2be449e33beb8b533db75aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmEmailChange (cyclomatic 27, cognitive 22): confirmEmailChange has cyclomatic complexity 27 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47e527e2495792fb1d5c63e4affde73aaef8399348020428a7b209102c0cf3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 27, cognitive 21): (anonymous) 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":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87e52acf5ba25bcd948efaf3c2adedb10aec836162df86110b9090a5b4be8e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimDurableTaskResult (cyclomatic 27, cognitive 20): claimDurableTaskResult has cyclomatic complexity 27 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2088}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7fb1a1d820d5074ea2f99e7fb935f490f92739f59c1e05674fc8a556413b50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setAuth (cyclomatic 27, cognitive 20): setAuth has cyclomatic complexity 27 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":"packages/data-provider/src/actions.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e1d0205de9da5e6c778e4cfe77d9bc3a42af1af6593a5b525ed114dd9e6298c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotEntry (cyclomatic 27, cognitive 18): snapshotEntry has cyclomatic complexity 27 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bb176924506f7c601bd61f876cf5d854a9c35d313f846ba127a63c47f42c27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAgentEventActorSuspension (cyclomatic 27, cognitive 10): validateAgentEventActorSuspension has cyclomatic complexity 27 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b17587bbf1b751535f795d0fa8582de8594f64cae3222fd68fd87bf274e742"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeAndFormatDocuments (cyclomatic 26, cognitive 43): encodeAndFormatDocuments has cyclomatic complexity 26 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/document.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f156f8a0486a777bab8858105c87f8450fb6dfac113c24d0038294e8df8ea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moderateText (cyclomatic 26, cognitive 41): moderateText has cyclomatic complexity 26 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/moderateText.js"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"71082c50e372d90ccb56ee765ecaca6cf3336050dbf94addc8faf391c79325c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterAuthorizedTools (cyclomatic 26, cognitive 40): filterAuthorizedTools has cyclomatic complexity 26 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbcc7814e82a9879ac2226ef67763149b09739411d361b9b7fee2d83d030ce4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 39): (anonymous) has cyclomatic complexity 26 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/bombadil/hitl-lifecycle.specification.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e4230440348d2879d4a7e3ceeb7566ff322ad056c2f6b6683ef4f02310ae61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverToolsInternal (cyclomatic 26, cognitive 39): discoverToolsInternal has cyclomatic complexity 26 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ae847249a5d7cc543f7508ecc4a8f23db0ebb33eacdd9fe8c041057f0d256b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeJsonSchema (cyclomatic 26, cognitive 37): normalizeJsonSchema has cyclomatic complexity 26 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae1f7d1c698aea664e6bfec756f9ef69db1363bbaa0ddc39ba4a95145591377"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onRunStep (cyclomatic 26, cognitive 36): onRunStep has cyclomatic complexity 26 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29506935eed472748bf5eaa36138bf772ac7cfd0904b274199a5f526b1d7ed0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadConnection (cyclomatic 26, cognitive 36): loadConnection has cyclomatic complexity 26 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":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ce0311e7af6de20364ceffdad669906bcaad29ed39dcd1bfa663490790aafe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverCommittedCreate (cyclomatic 26, cognitive 36): recoverCommittedCreate has cyclomatic complexity 26 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8cd1717d0dfa0c72db9d0cda0c47349174451eea509a0ac523f2de506a1c69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteUserController (cyclomatic 26, cognitive 35): deleteUserController has cyclomatic complexity 26 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":"api/server/controllers/UserController.js"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a58889df2ea623ff5ca0725355bde4f1d91acd1739b371656b4c2bc306a61"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 34): (anonymous) has cyclomatic complexity 26 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39cbf28ca8855cfc658a3cb992332ebec8a17c7624711264f2d57d7902f6a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sumBranch (cyclomatic 26, cognitive 34): sumBranch has cyclomatic complexity 26 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"3909062ed6004b0f321a20ae7248d95c254097ef26419e19673e19569734d1b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findOneAndMergeMessageProvenance (cyclomatic 26, cognitive 34): findOneAndMergeMessageProvenance has cyclomatic complexity 26 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"18597ebfd1fb1a67a3cdd692c3df306e818b4280b9611d69c9554d3ec35ad821"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beforePublish (cyclomatic 26, cognitive 33): beforePublish has cyclomatic complexity 26 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":"api/server/routes/agents/index.js"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca8351860ecd9e804a2979c5d5759a4d51e1d1cff03ce87ad8e0b94be4082d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 33): (anonymous) has cyclomatic complexity 26 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":"packages/api/src/endpoints/openai/sol-luna.spec.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fbeff9a20d8c7178db4ae41add3e16ebe83bfe68d0198d7857bf193b780f617"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function register (cyclomatic 26, cognitive 31): register has cyclomatic complexity 26 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"430e21343e87b960d3e6818440912c6e56f5619d1eb9eb86c7cdf95f8c030a25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordRunOutcome (cyclomatic 26, cognitive 30): recordRunOutcome has cyclomatic complexity 26 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":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1490}}}],"partialFingerprints":{"codehealthFindingId/v1":"986fabe2df430aa21f8110c3e43294540bd48eec2fdf63bf1a166cb3cb1531ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processAttachments (cyclomatic 26, cognitive 29): processAttachments has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1814}}}],"partialFingerprints":{"codehealthFindingId/v1":"2badef3bcced21b7ff056e56c315da167a82ab83929bd0da642cff96053a6fa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _call (cyclomatic 26, cognitive 29): _call has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"437a188313d7b308c9f6d48b11dd059e847304cf7de402e902c17ae159f139cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeOAuthFlow (cyclomatic 26, cognitive 29): completeOAuthFlow has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"acb3745ae31ff734b7c2aed36f6e2744a9200effabe013ba60bb7cb09fc8b786"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 29): (anonymous) has cyclomatic complexity 26 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"971154c9541f04ee7bf18f12254488d9fb2b7a063c0d91e3ca1cea0f36f60af6"}},{"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":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b111c3b1b737ae5d0b7e7b4949b94dc1bb430282ddb5032c089b2e3c11bf397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEvent (cyclomatic 26, cognitive 28): onEvent 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":"packages/chat/src/react/subagents/stream.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd758ab1aec910e79cac59e4ffdba1a3f4629c66738e74b6c1fcf3f6b95cb1cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDirectoryPrincipal (cyclomatic 26, cognitive 27): resolveDirectoryPrincipal has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/principals.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9912512af12e490a7b7ac385d65be9e76f483c429759489682df5ccea22348cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHistoricalToolNames (cyclomatic 26, cognitive 27): buildHistoricalToolNames has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c687515efe1539ef3b810e36be0f020fd9d07a26440f6aa7928ad59deda5ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performIdpRefreshGrant (cyclomatic 26, cognitive 27): performIdpRefreshGrant has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"394d2bace7c71a85cb26939983a05ed658aeac6e72b2a2040c47f3718581663a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function find (cyclomatic 26, cognitive 27): find has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f8044793e19a60bece70bfbe6c6f8a8929d9e61abba537f99bc0361b444615"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 27): (anonymous) has cyclomatic complexity 26 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdd876a7d9a736b7bab42b4863ff12c245f2deb23ae1f56e5c2a4affa0c9f70"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 26): (anonymous) has cyclomatic complexity 26 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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6983c102e5d790fa181249930783197921fee29af2767adefb62feb2fdd81ada"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 25): (anonymous) has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca35166da087f873ef34cf64d078adbf61c72744b3c79d6bcf0082921edcd06"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteSteerLeftover (cyclomatic 26, cognitive 25): promoteSteerLeftover has cyclomatic complexity 26 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2630}}}],"partialFingerprints":{"codehealthFindingId/v1":"c598b95c6203882a63686fe6d2ccbef21f97c1e7efe8c21ea312975406c600ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSubmittedReasoning (cyclomatic 26, cognitive 23): resolveSubmittedReasoning 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":"packages/chat/src/react/chat/reasoning.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcd1f27ae1dc7f2c48d9171f38910ab856c8d9b2c6472b74a4fc07ef9c057f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useSteering (cyclomatic 26, cognitive 23): useSteering 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":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbaa86083c72e8a86bdbbd9a7ae9a621ccd37122488d5e301d221faf3dc3169"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ControlCombobox (cyclomatic 26, cognitive 23): ControlCombobox 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":"packages/client/src/components/ControlCombobox.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3fda09b2c157060e184621234db3cd35dd58696fbd21d96c426122a26ef080"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepMerge (cyclomatic 26, cognitive 23): deepMerge 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"1129a30f7f38911642a755eb357f91ef6158f5fe5017136f471ebea67b0bd5f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RequestPasswordReset (cyclomatic 26, cognitive 22): RequestPasswordReset 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":"client/src/components/Auth/VerifyEmail.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efbd3c20cb114c5358628cbde24c91cead05c32e8211dace20d284ae0e6fe9d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function InsightsView (cyclomatic 26, cognitive 22): InsightsView 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":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb687a5fd7ccd11b9e1425e281d846914ee07d42305261555cb450b8a2fef8b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function threadDetails (cyclomatic 26, cognitive 22): threadDetails 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":"packages/channel-gateway/src/render.ts"},"region":{"startLine":752}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3be41e0e43bb4f17c245b1a277a404415af6fde22ca65c5bfcdfe1102b471c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CompositeCitation (cyclomatic 26, cognitive 19): CompositeCitation has cyclomatic complexity 26 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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ebd7dbbc8931072ba90a5896a5489abcd3a4026b8f713c685841bb01df9b93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractSSEErrorMessage (cyclomatic 26, cognitive 19): extractSSEErrorMessage has cyclomatic complexity 26 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":"packages/api/src/mcp/errors.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4a367a1ebaa3079f71ad860b7868a6243be9e4347ea2bd523416ba5cd687838"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 26, cognitive 18): (anonymous) has cyclomatic complexity 26 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/Review.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7644d638ada4cf9dcbf349a7e136686b26f01087ce8c00e9412a11cb82ebee44"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retiredAuthority (cyclomatic 26, cognitive 12): retiredAuthority has cyclomatic complexity 26 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/retirement.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e399dc5752cf3470e05dbf9e7cee65b8567988b2737af4cf46a15ccfbe954082"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useGenerationsByLatest (cyclomatic 26, cognitive 11): useGenerationsByLatest has cyclomatic complexity 26 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/generations.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"17712f9a31821c292b0ef084d5e8aeebf21feb0699329589974d3abaa1ecb0ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshController (cyclomatic 25, cognitive 64): refreshController has cyclomatic complexity 25 and cognitive complexity 64; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.js"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a2ed2df495eef728ec2e445e2d01429cf42353f3e59c3c0c5be2254d3d27d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAppOperation (cyclomatic 25, cognitive 46): runAppOperation has cyclomatic complexity 25 and cognitive complexity 46; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9d2dee5e1638d2568c2e2f7ecf83c9b9d02be83ba78d52062dcec1848aa1f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 41): (anonymous) has cyclomatic complexity 25 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a012a9917b258a780d7766c1e19e05a026e3b0ec2f28bd6e2bba3a19d664e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncReorderBuffer (cyclomatic 25, cognitive 41): syncReorderBuffer has cyclomatic complexity 25 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b037d55d0485b3b48529b739faf3994ea5e5e1d3b44dbf88cdb5cae40a95d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMCPTools (cyclomatic 25, cognitive 37): getMCPTools has cyclomatic complexity 25 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ae63fcc3abd4e4b7c69016052935e9782d9860b6083dd07be8ead087ae1657"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCanonicalReferences (cyclomatic 25, cognitive 37): resolveCanonicalReferences has cyclomatic complexity 25 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b2fbb5f7a64f5e326e026b16e3051aac5991f90972330ee120fe5d73e8b43f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldReplaySegments (cyclomatic 25, cognitive 37): foldReplaySegments has cyclomatic complexity 25 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa0f3a8f2e4a78e1f4fe3a0a21591530696b78a13ca757c775568f33f636e8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 34): (anonymous) has cyclomatic complexity 25 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a4c11ffd1853bcfe46ccc849ac683dbab2af69bebf56b1294e1d27f92d7128"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerCodeExecutionTools (cyclomatic 25, cognitive 34): registerCodeExecutionTools has cyclomatic complexity 25 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba30fa26857d2ea7915a0ff3a4f1cbd561401b77413424e172402db369f4131"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cloneJsonValue (cyclomatic 25, cognitive 33): cloneJsonValue has cyclomatic complexity 25 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/json.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2b31e8d403ed6a3c244e7578753002d99634a609c1710bd7c6f5c62bdb0e2a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTree (cyclomatic 25, cognitive 32): buildTree has cyclomatic complexity 25 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":"packages/data-provider/src/messages.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3d16413ded196b2e22ebc3c94c51e4c123cb121c65ded4bc0bd3e17ac28bfc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function steer (cyclomatic 25, cognitive 31): steer has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7a23a3ff7d5c431f65533860bc91c32d04af86354ec911bedc552153f68630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consume (cyclomatic 25, cognitive 31): consume has cyclomatic complexity 25 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"7675e63f12e9b9aac52079fac19a21ac3728bebe26086f8836fefd2da7571848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 25, cognitive 30): handle has cyclomatic complexity 25 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b26d7740afe0758be50813ca3fe8b116c6e47dda4533acf8a80b95109699e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResumeStoredBranch (cyclomatic 25, cognitive 30): getResumeStoredBranch has cyclomatic complexity 25 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"621d66e2ab2d2b92609fb3506b5980015c6922e6da97084719cb2e273fbd22c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEndpointsConfig (cyclomatic 25, cognitive 30): getEndpointsConfig has cyclomatic complexity 25 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/endpoints.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf38a18ab230fd3c6c40f5a7b9e9f66f350786d37d2a24af403e0bc65f0067d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeClient (cyclomatic 25, cognitive 29): initializeClient 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":"api/server/services/Endpoints/azureAssistants/initialize.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c92b5decf9462d92131b3051a4b652fc93c84c6050af92b297feff5d14a3b5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateTransport (cyclomatic 25, cognitive 29): validateTransport 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":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"b944da9c4cfa89e6d6af9543fd14ef5852c9ae7cdc0fa6b96455c3bfc7eecc47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMessage (cyclomatic 25, cognitive 29): handleMessage 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"9696720cd5b398dabc9c8ff3c49e47003ebc70ff3ebea081f234e8e8a3415db8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorize (cyclomatic 25, cognitive 27): authorize has cyclomatic complexity 25 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/execution.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e445da4b0061df010d61df74a558416e8ff011ab168523643d379de2961851"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapModelToAzureConfig (cyclomatic 25, cognitive 27): mapModelToAzureConfig has cyclomatic complexity 25 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/azure.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f6f08651d2ba8a62967d222ac3f41cce210730fb817a51164a1155d55932c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseRequest (cyclomatic 25, cognitive 26): parseRequest 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":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"aedae40d680e081842a67ad0f96085b39843e0506cab4cfea3c093eb788eb98e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveConversationDecision (cyclomatic 25, cognitive 26): moveConversationDecision 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":"packages/api/src/code/http.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9dc31be438877aaf211d5a1babaee217f7d01ec4c95f8b06366ed87c97ece2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionFiles (cyclomatic 25, cognitive 26): provisionFiles 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":"packages/api/src/files/provision/callback.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb0316781764ca30f793cc680ec91bf5201355d2110df1f38cc28e0e63b88a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onerror (cyclomatic 25, cognitive 26): onerror 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98df8fa22f5710043b2b194bf0735411f18fea77422b971230d8a97f4d279c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 26): (anonymous) 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":"packages/api/src/pulls/handler.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aeac12b52e93e20f55622db570ca50b2cd8ffdd8e07d4350e5c62ed55e892e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleServedError (cyclomatic 25, cognitive 26): handleServedError 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":"packages/chat/src/core/resumable/failure.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5087830d940cd27eed1f2be69609622e418616fa4a0a6e61036344747b50f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VersionItem (cyclomatic 25, cognitive 25): VersionItem 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":"client/src/components/SidePanel/Agents/Version/VersionItem.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"64d9ad832dc6825d5dc1b344c0ba3a8a4551a625eed27655a25098f40a163039"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settle (cyclomatic 25, cognitive 25): settle 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2481}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8ea09e3f13ff0e257f5ab659da69f7cddd8d820694c6bf0f230d7968e81c7a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runAgents (cyclomatic 25, cognitive 24): runAgents 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4958}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4ebe52e8cd699a99a9bb410c074c878400f48e45d1f72846897382e34b2c3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 24): (anonymous) has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/__tests__/ToolCallGroup.test.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0897be1ceb2a6f8958d0c7e96dc853c7651ee1b4ae040b6908449e61cf1aa3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReasoningControl (cyclomatic 25, cognitive 24): ReasoningControl 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":"packages/chat/src/components/composer/bar/Reasoning.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"31576f27d400e5596f1fb6f814e71a98f56ccaa2f4db74dea51f5601eb40a0fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 24): (anonymous) has cyclomatic complexity 25 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1484}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7fff87faefd55592f40c982e13ff22aebb09ae40f6733caaeaac7773e323747"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VirtualizedAgentGrid (cyclomatic 25, cognitive 23): VirtualizedAgentGrid 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":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb15e71170d6a0c2c975352a0292aece12bb7fc1803dc7be84965f57b52968a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TaskCard (cyclomatic 25, cognitive 23): TaskCard 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":"client/src/components/Chat/BackgroundTasks/Card.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f56028073cfd9d06a6ed014220f7e6e685f5ab14705fce3880ed199c4adbdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getToolIconType (cyclomatic 25, cognitive 23): getToolIconType 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":"client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8ed0c7769ee86f615bb2d1fda6634bd67cc002fc5a2b76544e1d8e612e0f7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Message (cyclomatic 25, cognitive 23): Message 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":"client/src/components/Share/Message.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffabdb2c5572fd576f1e4371dd3a395415622f2b2b9c4dc03f835773a751556"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMessage (cyclomatic 25, cognitive 22): formatMessage has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/prompts/formatMessages.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dc07a62885cb3ec3a79fc908c1c3964249626a7c21c1e27b421eb6fb720d34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayDurableControl (cyclomatic 25, cognitive 22): replayDurableControl has cyclomatic complexity 25 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"b991bc90fd371c5abb4d7445616ceaf104d697a3e4286de9849d0e11232552f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LangfusePromptsDialog (cyclomatic 25, cognitive 21): LangfusePromptsDialog has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfusePromptsDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"0691fd22209e93c9a10f63b3c631f8fbd13991d2441728f18d408017cbef492a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareScheduledMCPBearer (cyclomatic 25, cognitive 21): prepareScheduledMCPBearer has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b3ba9e78da8b680c4087362438ab4a968d80bb8ab7059d3c9b42cb64d5db13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readResponseArtifactCatalog (cyclomatic 25, cognitive 21): readResponseArtifactCatalog has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/artifacts.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd4e0be22bf10af039643645599ef235729025a339ab5cee613b0e5cce25cbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertDeliveryEvidence (cyclomatic 25, cognitive 21): assertDeliveryEvidence has cyclomatic complexity 25 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelProtocol.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba72ad6a9d0769b29e726ff1744257823ff3bff63762255c1b50cad53ba96e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareArtifactsContainer (cyclomatic 25, cognitive 20): ShareArtifactsContainer 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":"client/src/components/Share/ShareArtifacts.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecafa1aa213c708a83bb7e5c7c7f8186f1bbdd42795071760901013ca5be12b"}},{"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":"client/src/components/UnifiedSidebar/ConversationsSection.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a6b2556e3c938adc5df28f8cabb897704881d264d3a83e2432a773e0c09f08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSubagentTaskControlReplay (cyclomatic 25, cognitive 19): getSubagentTaskControlReplay has cyclomatic complexity 25 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2791}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86ef5b14fd275c58bcfa186e4bc83fe03fd7dfbec85ecd42f7d0bb66a142bdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 25, cognitive 16): (anonymous) 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":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"be93b5fb04384c5bb33cef62a1682e6008d88262c6bc05ad035cc2d645da4a51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 51): (anonymous) has cyclomatic complexity 24 and cognitive complexity 51; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/mermaid.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d8ec631d997b40fe7edc1f4f0dc42a71a91a9127e015b34be6733af077e31c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockFilteredImportContent (cyclomatic 24, cognitive 43): blockFilteredImportContent has cyclomatic complexity 24 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":"packages/api/src/skills/import.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"641a66875ecca289791c69651ca5c23e5421ddc275a10afd6d0b14e055167bb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAndParseOpenAPISpec (cyclomatic 24, cognitive 42): validateAndParseOpenAPISpec has cyclomatic complexity 24 and cognitive complexity 42; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1e80fd50ea8416d128d1c928e8bce74c05e47d0157326f2f10fb9cc18e661f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 38): (anonymous) has cyclomatic complexity 24 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"429eca47c8173208a3b65b416837bfece1ee94aeee545dd41aa08e1d5309649f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInvocation (cyclomatic 24, cognitive 37): resolveInvocation has cyclomatic complexity 24 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/run-files-model.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"914ab59ddcb7960d64cfb0991c19036239d8b28e0f7585a9f471ef32e254ceb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function foldSubagentEventIntoTicker (cyclomatic 24, cognitive 37): foldSubagentEventIntoTicker has cyclomatic complexity 24 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7028b5e92979f20cc1d9150d4ea54f4e1217c1a80d1e6ce12d10fac1142a4d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 36): (anonymous) has cyclomatic complexity 24 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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":951}}}],"partialFingerprints":{"codehealthFindingId/v1":"b358a762acb34cc9c1cb5b5ef2de5579dd826b727f54badefefb40d07fa39711"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverAgentTriggerLanePublications (cyclomatic 24, cognitive 36): recoverAgentTriggerLanePublications has cyclomatic complexity 24 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"dace14a0f7540f4df3f312440ed842408af7387e085c181bef519a832025c550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 35): (anonymous) has cyclomatic complexity 24 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":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa6b373ec5bd7c72963e465005f2a3029a0d266edf1ee129c444fdc4fec3bf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 34): (anonymous) has cyclomatic complexity 24 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/events/abort.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"414b516264adde440b5d4a4b71ae6ab38135df4c84aa44791d915ace5d679ebe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordAuditEntry (cyclomatic 24, cognitive 33): recordAuditEntry has cyclomatic complexity 24 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbc2741a7ed8312773766bc752a491bdec1c6a04e6baad8f24567bf54a1dd967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useProjectMenuItem (cyclomatic 24, cognitive 32): useProjectMenuItem has cyclomatic complexity 24 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/useProjectMenuItem.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0faa31dd06769fea3104096a83d2b003e538a85ae51a9c5e0741290f2c1bdb14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendChunk (cyclomatic 24, cognitive 31): appendChunk 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"18227ed73194d2788d305a83d0bbd592d5d7c1dc6f5bcf135fe7d7ce685459ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Palette (cyclomatic 24, cognitive 30): Palette has cyclomatic complexity 24 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":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"3531eb30c7331e9b2c433e1b4953ac078e8f73bea4e3a98b3f2203610f40cfb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 30): (anonymous) has cyclomatic complexity 24 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":"config/create-user.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc0ed043381ec5a64f296ea0b31502b4e74f6b1e67d5cb68e0b590b7edb9a03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addRoleMemberHandler (cyclomatic 24, cognitive 29): addRoleMemberHandler has cyclomatic complexity 24 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0958c7af8d47212a244b4a1f3e499368388606fb8e29857da0c6f6390a2dff11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function view (cyclomatic 24, cognitive 29): view has cyclomatic complexity 24 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa01a0d803f688c03c1b6de2acfd237e3801477d456ba150595a0a4f7ff9f121"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _call (cyclomatic 24, cognitive 28): _call 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":"api/app/clients/tools/structured/OpenWeather.js"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae929e4f27b5624008d769e676ea492669d895415f4fd4ff7c09b1a65ebb6cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 28): (anonymous) 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":"api/server/routes/admin/auth.js"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cde33959a768da8380685dc6e8ff7ad36c789e26c462a8572414579a740ea0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 28): (anonymous) 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":"packages/chat/src/core/resumable/events.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1d94ff872839f41f2e765b4df778b5ace16fe3df110f67fcbaea35fbef1229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySubagentToolTiming (cyclomatic 24, cognitive 27): applySubagentToolTiming has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/toolTiming.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1b2dd0a4567fade74a657a637ab0a4e57ae4883686559b563b135a8842f8085"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function register (cyclomatic 24, cognitive 27): register has cyclomatic complexity 24 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a0a9142cc2da509796f6919bdbab27f428fe5bbbc3e0d0ecf48d0affee2f74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 26): (anonymous) has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/assistants/actions.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5baccb1843bb6ea3475de0c592ecaac561ec2c2bd5d1ef21b4d3cfbac562ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRumConfig (cyclomatic 24, cognitive 26): getRumConfig has cyclomatic complexity 24 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/config.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b6dcbe4d9982d8d123d8d65ea709018278c434adbc73e884a7f0dedf85a1ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteConfigField (cyclomatic 24, cognitive 25): deleteConfigField 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":"packages/api/src/admin/config.ts"},"region":{"startLine":4227}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb07e13b759202e6883c48f242b7966596eb4e1508eb1715f32959818b3f0513"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 25): (anonymous) has cyclomatic complexity 24 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"038aef5f2d05327f167a2fd23a83131016d357a8e8f6dbd199484912e71dca68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildBalanceUpdateFields (cyclomatic 24, cognitive 25): buildBalanceUpdateFields 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":"packages/api/src/middleware/balance.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a04afab3244021148f608b15bba6caafff5718247f08fc420c500eb1b206166"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJobIdsByUser (cyclomatic 24, cognitive 25): getJobIdsByUser 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1500}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d085087879e9ef8acf381da9c37f3d172eae6b7aca4503ff079641b4f0e72c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDefaultLLMDeliveryPath (cyclomatic 24, cognitive 25): resolveDefaultLLMDeliveryPath 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":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3b07f0740eab24716d8469de3ebb572d48f17f58c2aaa1ed619a7620aec701"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDirectOpenIDBearerConfig (cyclomatic 24, cognitive 24): resolveDirectOpenIDBearerConfig has cyclomatic complexity 24 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":"packages/api/src/mcp/openid.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2414084b708e69892567e013028a830093065e601ada04ee92b669be090340e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthSection (cyclomatic 24, cognitive 22): AuthSection has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/sections/AuthSection.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eec13dec5b4dfce6fb7c8f0c0fc6fd069cc38c7428839f0b294edc1ed09a45e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSummarizationProvider (cyclomatic 24, cognitive 22): resolveSummarizationProvider has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2db2125d3eb95de57e818d3c81d94318a6dec4fd7b66c91bff2fe89a0db4163"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discardSteerLeftover (cyclomatic 24, cognitive 22): discardSteerLeftover has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec9929186fe8ae3d2cc526d81890bcfeae301b2570282cbf3a38b876bf5c614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEvent (cyclomatic 24, cognitive 22): normalizeEvent has cyclomatic complexity 24 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/events.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2910cc5cbdd93a97154df415e9eea3e57418e954741cd332ecfe7126272de57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 21): (anonymous) 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":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"06cfe0ba272c633aa2efa2c24a0b3aa322dd238ad63859bdbd9956699ef6ed7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestEmailChange (cyclomatic 24, cognitive 21): requestEmailChange 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":"packages/api/src/auth/email.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d39f38ea48c433dac31b8e978715415d31348dd11f5e79890814b7b87ed98e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setCloudFrontCookies (cyclomatic 24, cognitive 21): setCloudFrontCookies 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":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0fd405bee4a5f6349836cfca9920f1d21ba78fe17d44733bee56df7ab988e1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chosenByDisabled (cyclomatic 24, cognitive 21): chosenByDisabled 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":"scripts/eslint/design.mjs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"68788fc9491af663ccc947d8c342e97dad9a580bfb77b1bd63126c3cffbeb3a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EndpointIcon (cyclomatic 24, cognitive 20): EndpointIcon has cyclomatic complexity 24 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/EndpointIcon.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dff672ebc06be5c7ba8892afb4f8863e786937b98ad782cb441498360609212"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 19): (anonymous) has cyclomatic complexity 24 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9580d299d4fe6498d96be3c2c0b21637aaf75518f3f064973710625875ca1a83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryCall (cyclomatic 24, cognitive 18): MemoryCall has cyclomatic complexity 24 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":"client/src/components/Chat/Messages/Content/Parts/MemoryCall.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3b69e2da20a846e0ded3a25f36676775c28598ffb464daae04487e54089fbd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LocalizedDateRangePicker (cyclomatic 24, cognitive 18): LocalizedDateRangePicker has cyclomatic complexity 24 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":"client/src/components/ui/LocalizedDateRangePicker.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e2d7486bab95138ba5e23c6d655ad5dadc0e3b1266bfb474fd966f2d8aa2a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 24, cognitive 18): finish has cyclomatic complexity 24 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5dcf32a3aae51ce9cd07863e6cac76c2eed13f611e8c0b3af3590f2afc54cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveAgentEventActorDetachedAction (cyclomatic 24, cognitive 15): reserveAgentEventActorDetachedAction has cyclomatic complexity 24 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03617b2303af242b26d48a6bb3dd28151d276d0d160ba2322e1d11989d07667"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 24, cognitive 11): (anonymous) has cyclomatic complexity 24 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/summary.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b3783c3e1662d9941b71fab64f34dce57af92a847f99ed5c665ab71f33ba03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sniffImageMime (cyclomatic 24, cognitive 9): sniffImageMime has cyclomatic complexity 24 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1974}}}],"partialFingerprints":{"codehealthFindingId/v1":"63fb6e05333b2114ccf65624ede2fc4f764d6e32aac4f8c37a988f0cbc94b9a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateDynamicSchema (cyclomatic 23, cognitive 55): generateDynamicSchema has cyclomatic complexity 23 and cognitive complexity 55; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8847e9653cfe007d544253c183a0e9a4f443c75d259d5a02607846243d0ec24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function in_progress (cyclomatic 23, cognitive 52): in_progress has cyclomatic complexity 23 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":"api/server/services/AssistantService.js"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"85420eedda359b91b3c9bc9c7491577d41e83e7d95182f33c2336383bab0db27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processRequiredActions (cyclomatic 23, cognitive 50): processRequiredActions has cyclomatic complexity 23 and cognitive complexity 50; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf4151ebe1ea79ce4e9fe986b1dc24371bd814bb6bffd2bff9dbd0ff780e7dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserMCPAuthMap (cyclomatic 23, cognitive 39): getUserMCPAuthMap has cyclomatic complexity 23 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":"packages/api/src/mcp/auth.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"1990742cdcecebaa79bab7bcd98b83cbe4c653cb1fb167f21a319de8713bd70f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActivityIndex (cyclomatic 23, cognitive 37): buildActivityIndex has cyclomatic complexity 23 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36125d91b4084fd30f269feae2b0adf1467633b4e5ab9a4144c8cdf1a173eea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRunStepDelta (cyclomatic 23, cognitive 37): applyRunStepDelta has cyclomatic complexity 23 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3729fcc43e59895dec0c320c4eedf125d5a194374853d5dece7b77257d5537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAgentAttachmentStats (cyclomatic 23, cognitive 36): collectAgentAttachmentStats has cyclomatic complexity 23 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":"packages/api/src/agents/attachments.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"65756c7fd114c7078764c3786f186a76960a9632e770d828d0272c3c690ba286"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchAudio (cyclomatic 23, cognitive 32): fetchAudio has cyclomatic complexity 23 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":"client/src/components/Chat/Input/StreamAudio.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87ab3cd4bb34ccad9c978e2ff0c4527ce441cffb2dcda8d3724094e92ecbde3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupSteps (cyclomatic 23, cognitive 32): groupSteps has cyclomatic complexity 23 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":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3f9440f7925906be41f2b7c034f31200feb5a2d36678ebefd97ffcdb524e939"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSkillFileTextForAuthoring (cyclomatic 23, cognitive 32): loadSkillFileTextForAuthoring has cyclomatic complexity 23 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3391}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d844168558a8e69a3be7597322f6d1aceeab56f2c1a86290130d98a8c390dba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePredecessorMismatch (cyclomatic 23, cognitive 32): resolvePredecessorMismatch has cyclomatic complexity 23 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":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1229762f5f063a37c3373bffaf7fe738bac1debc334b3220ba86bb21b0c0a7aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 31): (anonymous) has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"eedf538aa07a018fbb6875f4444aaaf1e9e9c7e786fde7c88d0a73199ddb9b12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function chooseLife (cyclomatic 23, cognitive 31): chooseLife has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"42fdf7ca4742405e2873058debbf2306848fb253efa9228e935e3a39e41a58e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeAgentEventActor (cyclomatic 23, cognitive 31): executeAgentEventActor has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cc0a63acfef0e12fa47a89579e6b44a7abc8b65b58ce68ef3ba7c46b3925cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSkillDeletion (cyclomatic 23, cognitive 31): runSkillDeletion has cyclomatic complexity 23 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletion.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acd319caae453cba4c0cf8a49ac13c3cc4fcaf939a1252c135fc3078ebbaaa0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAndFormatTools (cyclomatic 23, cognitive 30): loadAndFormatTools has cyclomatic complexity 23 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":"api/server/services/start/tools.js"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2768b932a66e0cf0a4d81adbe185ad17c3cf27a1ea66081a2ffd0beda1df2e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSkillToolCall (cyclomatic 23, cognitive 30): handleSkillToolCall has cyclomatic complexity 23 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5212}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43a6f1f77bfbb12a8283d6e213d38aa138b9b8e930d86c7cd842b1d8969a156"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteRoleHandler (cyclomatic 23, cognitive 29): deleteRoleHandler has cyclomatic complexity 23 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bd0814baf6f8d5971ed0a3d3c77a1389141725e914852511dfe7c0817bb663"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEditFileCall (cyclomatic 23, cognitive 28): handleEditFileCall has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce696c7f0b82d33c176665adfaebc7e1e2318207cc2f545cd67851f6195faa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructTransport (cyclomatic 23, cognitive 28): constructTransport has cyclomatic complexity 23 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1716}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c86916a0aa3e9a7e8a51125aecc8105a0584cc80a7bbdd7ac2ea694ecfb57e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 27): (anonymous) 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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c115ea613025cb735d9285e47db5ca74e0374c4f1921a29e280b098d3e0040c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 27): (anonymous) 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":"api/server/controllers/assistants/errors.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ab50ae8d9656a0fbfe8d93a9488b923b66c7d7675384c638f7202931d885e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getServerToolFunctionsSnapshot (cyclomatic 23, cognitive 27): getServerToolFunctionsSnapshot 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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b9e1fc0567b5b42a6cb63f10653f39e63bacf5eace00fe189dbefa9c37304f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getServerConnectionStatus (cyclomatic 23, cognitive 26): getServerConnectionStatus has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"3849460c8dfa61f20ea1357f2b5cdd1e3d3e44368bb51edb9f5435878ca9d757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 23, cognitive 26): handler has cyclomatic complexity 23 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0674e4152c6ec0a8ba5785a32e405bbe1738d6bc486b30487a875a7ecfd68f11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareProofs (cyclomatic 23, cognitive 25): compareProofs has cyclomatic complexity 23 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":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1732}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a2fa30802b65f6c7af78587f07c6086247dba2af81856d8e76c0446930cc956"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sortFileImports (cyclomatic 23, cognitive 25): sortFileImports has cyclomatic complexity 23 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":"scripts/sort-imports.mts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba45c2ca4c8c5a9941f37b665970b0e27cbae3228f0d0bea80a1d0dff4a156cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateResourcePermissions (cyclomatic 23, cognitive 24): updateResourcePermissions has cyclomatic complexity 23 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PermissionsController.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cc564335faf61540b0a56fa7eb446ea75d288109d2f6529cfa72067313688c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConnectedAccounts (cyclomatic 23, cognitive 24): ConnectedAccounts has cyclomatic complexity 23 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/ConnectedAccounts.tsx"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd06add049a2ad0b7f43dd0c7f6d18680748eaefc86b3fdb44ec4909031ee92"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restorePendingAction (cyclomatic 23, cognitive 24): restorePendingAction has cyclomatic complexity 23 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1835}}}],"partialFingerprints":{"codehealthFindingId/v1":"399c1f807a7a34a0703360db9ba685ac6e3dd42cf70f7f2688c60b344ccc351e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 23): (anonymous) has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"560b2d677a6353c366e78f9fd7110301eeb6d484758f1ddad4b95a6703c6ffc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 23): (anonymous) has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1231}}}],"partialFingerprints":{"codehealthFindingId/v1":"86021d23b41f43da6a9031940d346334cc2a58b0614d54e75d62bf71ade9c856"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateGroupHandler (cyclomatic 23, cognitive 23): updateGroupHandler has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f262228bef60b2e77349d35f466794330d80b50a61262098a344399ee9ae634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commit (cyclomatic 23, cognitive 23): commit has cyclomatic complexity 23 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae3dc62334f86756482190dea60fad9051c53f014bed8124bc83e0f047d7c6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectEditor (cyclomatic 23, cognitive 22): ProjectEditor has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectEditor.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc9640c4a7fe6f0b7934bf72a6f9fadf0118d7bbb27bf80f637cccd70cfc49a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getArtifactDownloadFilename (cyclomatic 23, cognitive 22): getArtifactDownloadFilename has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/artifacts.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38b285c042ecc518198be4859f054ecc32332a98261538c125b9246b4af5484"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSteerCancelInternal (cyclomatic 23, cognitive 22): handleSteerCancelInternal has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"589026fa8c3b502b1cba6f12de4e80a4aa59c733876912d403fceca35038a686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 22): (anonymous) has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/instructions.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e598bc741a21cf5ed47026e8fbe7c0e8b0db351fbf29e82331aecbfdc7a28eb9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLangfuseConfig (cyclomatic 23, cognitive 22): buildLangfuseConfig has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/config.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34d901d043d330403155f78db4aaa1f3746c514e020dacf934711b5437a4647"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pause (cyclomatic 23, cognitive 22): pause has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"de931e3eb272256877edd22344d168b9ac17959ae17a8d45f8d1021dd6f5c0d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSubmissionFromResumeState (cyclomatic 23, cognitive 22): buildSubmissionFromResumeState has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/resume.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eeb1a0a34cca728c65ef8be10709c66030328e71cdc9567d62868bfb8029b72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 22): (anonymous) has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueuedTurnReveal.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d578991621f8819cb3f4f2f34ea55982c645f017588e0ab759e13b10575ce8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 22): (anonymous) has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/SecretInput.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdf9dc8fd2618325dda325a00eea8f9a3c671ed6be35f649140e1e4d53ec587"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function touchChannelAuthority (cyclomatic 23, cognitive 22): touchChannelAuthority has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelScope.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ec4650a4001157bb2f7c65121fae8a7a351be0048b1776063d7dac1e6fe9ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getInsights (cyclomatic 23, cognitive 22): getInsights has cyclomatic complexity 23 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"97aeb6bbb3b396cee2ec395bf83449d59ccafb93f84709de8b3fd338b6bf167a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHandoffTool (cyclomatic 23, cognitive 21): validateHandoffTool 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":"e2e/setup/fake-model.js"},"region":{"startLine":3367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f96dc4889efe20d3e06c52de5f33dccbeff00b93cabad409ae6d17ba8671d39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observeToolEnd (cyclomatic 23, cognitive 21): observeToolEnd 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":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2b46f5e763b7a266ce55ceafa80231822effea50e23bfc2c7047a1e98e13d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishRun (cyclomatic 23, cognitive 21): publishRun 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":"scripts/quality/comment.mts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbd674fde5f7c8e18cc4fc4f52d18cf28b8742e570fbcfb1a252924ca5034f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 20): (anonymous) has cyclomatic complexity 23 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10577fb9d2ad046218348dcea1c395db9c74e85c36361282f6cc50d38d10832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 18): (anonymous) has cyclomatic complexity 23 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c0fdb4f47188acd91ff58e15feccbe999d201318ca2c2072c85234052a2230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeParkedSteer (cyclomatic 23, cognitive 18): consumeParkedSteer has cyclomatic complexity 23 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2902}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7954c01bf617b0aed6f7a51a87a9b7da6baa42370a9d2a45312163538c7082e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPreLoginPayload (cyclomatic 23, cognitive 17): buildPreLoginPayload 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":"api/server/routes/config.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacd6874e0c49e6517fffc11df6a71f959744d9f11d0bda824cb7c8df0e61b11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PopoverButtons (cyclomatic 23, cognitive 17): PopoverButtons 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":"client/src/components/Chat/Input/PopoverButtons.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"df80d60a5ed251c299154e37249052b9aa6250d5e8d0c90a3e14f7221e957e08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function OutputRenderer (cyclomatic 23, cognitive 16): OutputRenderer has cyclomatic complexity 23 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1b71cbd6f27a1e6fe8bb9af62cf29dbad974530c1d59ff718fd5a0adc03781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function azureGroupSecrets (cyclomatic 23, cognitive 16): azureGroupSecrets has cyclomatic complexity 23 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/meta.spec.ts"},"region":{"startLine":1437}}}],"partialFingerprints":{"codehealthFindingId/v1":"33296a61a69d4c90c2ebc866955b9a04c91aca788573071f3ea011dc18051b4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 23, cognitive 16): (anonymous) has cyclomatic complexity 23 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.spec.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee5b12ff32cfc1f3a1be1a379b31495ad6a27261ea5d7099f5a0a112ddb0e91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isValidCompactionSemanticIndexEntry (cyclomatic 23, cognitive 14): isValidCompactionSemanticIndexEntry has cyclomatic complexity 23 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/types/compaction.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b016b24e836fb764d4e0dffc84c04950f492d04a41c1dfeabaa51b337e962f84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawMouth (cyclomatic 23, cognitive 9): drawMouth has cyclomatic complexity 23 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":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9fbae6761a2b802754f36c6440a91a74f64137c078b3033c39816278820697a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAzureGroups (cyclomatic 22, cognitive 49): validateAzureGroups has cyclomatic complexity 22 and cognitive complexity 49; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/azure.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"2604c028b9c99efb555bdc5c300792705159b2713e4bf34e70a9ae7de9915134"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistPermissionPrincipals (cyclomatic 22, cognitive 41): persistPermissionPrincipals has cyclomatic complexity 22 and cognitive complexity 41; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/provisioning.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"269d295f645943c8f524fa95b3537500734278548415ea66f26d6fbaba11688c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 37): (anonymous) has cyclomatic complexity 22 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1902}}}],"partialFingerprints":{"codehealthFindingId/v1":"7143cd17a1869381649cf47e285bde56769749b82d3dd7142d33e7b361f3a944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPreviousAttachments (cyclomatic 22, cognitive 35): addPreviousAttachments has cyclomatic complexity 22 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1915}}}],"partialFingerprints":{"codehealthFindingId/v1":"65896db26f62f2b909824ec80ceb3443f5c46b157571215e2880b353e3be4daa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncMessages (cyclomatic 22, cognitive 35): syncMessages has cyclomatic complexity 22 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3783c27cab9a8074384b233322e16c452fd61ef493e9b20cf886795cbc0f26"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactConfigSecrets (cyclomatic 22, cognitive 35): redactConfigSecrets has cyclomatic complexity 22 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b4aad968f4213e906a2d9f172bb8fbb2321e5e67ae02bd274fa5cd746cd372a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function injectSkillCatalog (cyclomatic 22, cognitive 35): injectSkillCatalog has cyclomatic complexity 22 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"d998a162a0fef7dbc9d632a559d9052ac0d0fb58190eae17b078b1c580d001a3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getText (cyclomatic 22, cognitive 33): getText has cyclomatic complexity 22 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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/ProgressText.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c3cda6c9872692f8ddb8222ebe5a61d1fe6113dbfc4485318bd40abfa56a31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeTranscript (cyclomatic 22, cognitive 33): serializeTranscript has cyclomatic complexity 22 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"b119134c70d8e9c2afd7b497829e0562a181c081d6eafcf209f73ac03c5fcbdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMessagesUpToTarget (cyclomatic 22, cognitive 33): getMessagesUpToTarget has cyclomatic complexity 22 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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47810977c19c9137b55d84d1899ea293429b59632d2a0e96c80ff4b0f16d667"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLayerAzureGroups (cyclomatic 22, cognitive 32): resolveLayerAzureGroups has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1910}}}],"partialFingerprints":{"codehealthFindingId/v1":"65de6689b2a86878a01451608863b563f0d7db38d3274dc3b8d1049006ec3f0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractAlwaysApplyFromBody (cyclomatic 22, cognitive 32): extractAlwaysApplyFromBody has cyclomatic complexity 22 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e24a656214a3d6607962154bbe66056a3c7fb2b02b1702027d15f68a4590b7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 22, cognitive 30): refresh 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":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8af08d04b1422adf7c779b8406985681d6682c9f7c327ee8703d3bd4db1d46c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nativeDecision (cyclomatic 22, cognitive 30): nativeDecision 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8384b199716cf821df8097ae2204f01ff3e46314ff607a7dbc3894adc3ead074"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteConvos (cyclomatic 22, cognitive 30): deleteConvos 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":4078}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6d4e097bd688e89387f5f5b6e107e3364d2fc9c806961f99f7348079ec99c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeOutput (cyclomatic 22, cognitive 29): normalizeOutput has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7799c66476776e979bb1fa0a7cb0fb513a9975ed431e66f7a9e91304f58ce1b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 29): (anonymous) has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"efea47333cf7a1d33e6adee5e66fecec49092d4d9b505109f45c313efa1bef1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateActionDomain (cyclomatic 22, cognitive 29): validateActionDomain has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"752cff0d91097e5c28d18e25e0c890b9f09745a6e544fe00dbb50981da504b98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCitationTokens (cyclomatic 22, cognitive 29): collectCitationTokens has cyclomatic complexity 22 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"72051494f7778e17591bada6b1e4e3cf89dcd20cb20eb9f400abf0c16e1d0918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordActivityLabelUsage (cyclomatic 22, cognitive 28): recordActivityLabelUsage has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcc5b13e02002c6cbafd628536b91f1cfbd501dbeb9285549cf3c4e9027cd48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 28): (anonymous) has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"442828a29700f5439fc2b49e54adbf78f8efdc5771996576478aec38e589f2be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 28): (anonymous) has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.spec.js"},"region":{"startLine":2761}}}],"partialFingerprints":{"codehealthFindingId/v1":"579a19fda5ffe95d765f06d3ea95ec8a501c9f0d429482e6f78ac8eb16d25064"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAskUserQuestionPart (cyclomatic 22, cognitive 28): resolveAskUserQuestionPart has cyclomatic complexity 22 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4db4df166b47eff336e336f70ccdef5e37f0f8b9a9bbf6b02e66e0ca563f14b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 27): (anonymous) has cyclomatic complexity 22 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":"config/update-banner.js"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1c2449cc2a7ac77a539bf8730f9deb575a916973b378e3cc69cb0c733ff84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function close (cyclomatic 22, cognitive 27): close has cyclomatic complexity 22 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d8adf62c56de7fe37c5b54a196850d7481b418fea49d13ece56d8f85e03899"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 22, cognitive 27): create has cyclomatic complexity 22 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"02479f49888bb4d6bf84bb70ea3fd34abbfac81853449aa20f2b9aab0b19896a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stageAndFinish (cyclomatic 22, cognitive 27): stageAndFinish has cyclomatic complexity 22 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b39e395b0e8559dd679c3aa8cc909d3bb2a83d2b4570466f58429588d0b8ae1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 26): (anonymous) has cyclomatic complexity 22 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c37cb1cf0a8382f3a28fd43926acae2d950367bbba7c21d55987d8e18b1d1f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 26): (anonymous) has cyclomatic complexity 22 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"f49ff8b115b422fbeedc4af2b084f805a4450586815f457e7252b203539d6b08"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 26): (anonymous) has cyclomatic complexity 22 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/harvest.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"b614e769d538fc61ab6f10b6021d961064374e2798facf51ede5ea0ea47b468b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 25): (anonymous) has cyclomatic complexity 22 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c1917028bd4bce4589ab7876dde94c0437e6ade20813827f8fbaf92ec41b7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 24): (anonymous) has cyclomatic complexity 22 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":"api/strategies/openIdJwtStrategy.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"31e764d6499f32d1713733c8563e41cbee5912bbbc6f85f19d874edf64819f14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 24): (anonymous) has cyclomatic complexity 22 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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"c888fa779b1ec10100552dd427f382fb18569ac4b62d5f4816919c39b7e9cb47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function synthesizeReasoningLabelGapEvents (cyclomatic 22, cognitive 24): synthesizeReasoningLabelGapEvents has cyclomatic complexity 22 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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c3ceefd3765d423634dd236f04bc3a8dec4dc6f6e64878df2bf16c0f10ac4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlInvocation (cyclomatic 22, cognitive 24): controlInvocation has cyclomatic complexity 22 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2375}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc5fd114593b0f22be092c9fb2897eaa9c7ba1c51971e311477ea2512d9e5e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function calculateStructuredTokenValue (cyclomatic 22, cognitive 24): calculateStructuredTokenValue has cyclomatic complexity 22 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":"packages/api/src/agents/transactions.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"939c1ea34523dbb746ebfd36bbea34bb98ad49dea2f162df9bfbe0d1d2f09829"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isEffectiveUserSubmittedPath (cyclomatic 22, cognitive 24): isEffectiveUserSubmittedPath has cyclomatic complexity 22 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":"packages/api/src/protection/provenance.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88738bafa2edeac08934eb0ba338ed13ae85c9a576bfef134757f794e4deaa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function apply (cyclomatic 22, cognitive 24): apply has cyclomatic complexity 22 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2349}}}],"partialFingerprints":{"codehealthFindingId/v1":"f653110fc07b9db9ef4d2e0c4208e9f9edc934dbfee96f713b31978134d60c51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSharedLink (cyclomatic 22, cognitive 24): createSharedLink has cyclomatic complexity 22 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":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1358}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffe304ec2be8c37eab80375cfa56e99dfe7d083e36a27c9800f4adaadbe0f20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 23): (anonymous) 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":"api/server/routes/messages.js"},"region":{"startLine":647}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dd86464faae6c08091db657d6accabd5832c5f239f0d9a1b0af262f20f3bb82"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 23): (anonymous) 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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a18a850379597bc8c9b4375bde359b1f63fd91ad0113385c64228e921a3d9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeWorkspaceSelections (cyclomatic 22, cognitive 23): resolveCodeWorkspaceSelections 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd191fd3f56a0f81535d00a92c8773bb8f6d2853a3ef52b486b02961f4b7bbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"431c7f2e5fb0d946a4bc89313b3ff1f9e41355cd1a64a2c5588178d264e42b73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"98656858729189c3d9edaf882c3f43ea3302c9353daa942e83390541408b9d3a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 22): (anonymous) has cyclomatic complexity 22 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/content.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f34cafa63b628751f60b71cad2c64dd15667b393ca14e7fe694f555e066b2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAgentTriggerService (cyclomatic 22, cognitive 21): createAgentTriggerService has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f468e60ce22ad8fbb37440d3352775b97e7b4c4b12252ea6c5e10a7f06e7d1b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function patchHandler (cyclomatic 22, cognitive 21): patchHandler has cyclomatic complexity 22 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4c416a4453583a49bbdc3740ee96a1d7a239f4be8f9607fa78510c70bbf8ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AskUserQuestionCall (cyclomatic 22, cognitive 20): AskUserQuestionCall has cyclomatic complexity 22 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestionCall.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83ed6c8c2a87319bd9e89c7a8389400e88c7116887d7b1dc5db7a7768a1df7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicInput (cyclomatic 22, cognitive 19): DynamicInput 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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab723eb0db7f919016b8564bd086ef27c83990f962def83e6a12ceebb556d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfigCatalog (cyclomatic 22, cognitive 19): getConfigCatalog 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":"packages/api/src/admin/catalog.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"04495414869a9d7be7fd04319f29038ee0f3cccd66093f60689bd694316bcb16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 19): (anonymous) 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":"packages/api/src/middleware/error.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ceac62957dfbf3331e9da4cfcf50989f66f853cdbe20eeb1c309e70fc39457"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setMessageOptions (cyclomatic 22, cognitive 18): setMessageOptions has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"720eaedac2c05dc3a56a4353bbc1555221952d40c876a6be6de02f2406a815ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 18): (anonymous) has cyclomatic complexity 22 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/DuringRunSendButton.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c017c12ef7409c71e45fe879071dbd377ff19f7691ecdb942c94b332e2b81781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SharedLinkButton (cyclomatic 22, cognitive 17): SharedLinkButton 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":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"737d276c16e9382a154c0e266b4fe7b4c147492afc7c33d977d9c9e6cc4f9c32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildApprovalPreview (cyclomatic 22, cognitive 17): buildApprovalPreview 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":"packages/chat/src/core/parts/approval.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"808a03651174838de9d358be27734ddd352ec46a794a2d2d21f58ba4a3d837dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateIPv4Literal (cyclomatic 22, cognitive 17): isPrivateIPv4Literal 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":"packages/data-provider/src/config.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63f5777c02593659cd2af92523959892836557bb4f3f92a902dc2c4851cd9d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveSkillBlob (cyclomatic 22, cognitive 16): reserveSkillBlob has cyclomatic complexity 22 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/reservation.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"563af2e2c3c3c652011ce3c40f485806c98f67680d8907c017b524a1cbbd3af5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 22, cognitive 14): (anonymous) has cyclomatic complexity 22 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/responses.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1c2288dc715cfdad2e8915068f8bbeea0f3f7d704289a0f11bb50119ee3d71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toUIPart (cyclomatic 22, cognitive 11): toUIPart has cyclomatic complexity 22 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dfc39da6f0f6a67584f94472ba6f0aea8d8be1232e0786f34fe29f15e353c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimNextAgentTriggerDelivery (cyclomatic 21, cognitive 44): claimNextAgentTriggerDelivery has cyclomatic complexity 21 and cognitive complexity 44; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1507}}}],"partialFingerprints":{"codehealthFindingId/v1":"9453f819b166c84b8ff5fb3e76bc0c1cf4e30a75bc6e2c2d7a93d8238fb044b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 43): (anonymous) has cyclomatic complexity 21 and cognitive complexity 43; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/BadgeRowContext.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b36bff2ad7fb8d228b091ecb006d83c40ebd4aa0363a36f47010f0830171665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readToolsSnapshot (cyclomatic 21, cognitive 40): readToolsSnapshot has cyclomatic complexity 21 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2850}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddfff479961562b9aa455ef5e011cee8aaf251284a0a7f4a74d1b8b215cfb20"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function healMcpToolNames (cyclomatic 21, cognitive 39): healMcpToolNames has cyclomatic complexity 21 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":"api/server/services/MCP.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc629ba9d1f9e14e57138a5fcbf8c1738c27eff8f5a5ac59c500f4beeb91bca0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 21, cognitive 38): handle 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd73f0a6f4e5114228076e4f67c9fe3138440a770cdb5615834164d39ba00e29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 36): (anonymous) has cyclomatic complexity 21 and cognitive complexity 36; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9ad96d26a7ff18c0d96b042df2e031b64849e03c41baecf49e6ed9affa2b193"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyModelSpecEphemeralAgent (cyclomatic 21, cognitive 35): applyModelSpecEphemeralAgent has cyclomatic complexity 21 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":"client/src/utils/endpoints.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"467e7c6ea8fa9485735a00214fcecd15ac7de38280fd2321e5e6f3b75a365fa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyCitationTextBoundaries (cyclomatic 21, cognitive 34): applyCitationTextBoundaries has cyclomatic complexity 21 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"de58c30292659de57d34479501fb75a60e3807c80564e13e622a6dc77eb8300c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 33): (anonymous) has cyclomatic complexity 21 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1364753378f1a11a912b2b6ce5eee9c3c9be135cd2c91c114fe3905541eb2cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function probe (cyclomatic 21, cognitive 32): probe has cyclomatic complexity 21 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a22709daaf39cb2b8e05fff74317d134e67cf3309e7fb647aabbae2ee7bba0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 32): (anonymous) has cyclomatic complexity 21 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/content.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"e453cdc1ae32636ee2fbf55499480ed7243bfa513a99e4bf272f35f8b4453855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelParameterWrapperFields (cyclomatic 21, cognitive 31): getModelParameterWrapperFields has cyclomatic complexity 21 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":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2e95fd3aa4f14acc90f9180a28a539091665899ddfc82bbc1f332d9d65c0a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadServiceKey (cyclomatic 21, cognitive 29): loadServiceKey has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2daa3e0fdb6c3276011a58fc8f102f2d0a54a710b9d7b73f01eb21f4e0bd1a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 29): (anonymous) has cyclomatic complexity 21 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad14d7ac9fbcd2fa5a35fdd79d345a8eb05e95147ea0150911cef7c3977f25ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBoundedJson (cyclomatic 21, cognitive 27): readBoundedJson has cyclomatic complexity 21 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c92f573c9a14dfceb17ab665eb062ef79dda4992b5140702c16b6385dd96880"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectProviderMessage (cyclomatic 21, cognitive 27): projectProviderMessage has cyclomatic complexity 21 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1964}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b70af2605a9f5784ae810f7753369464859e0cb8b3c2473afefaa04617f878b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertResolvedSkillContentAllowed (cyclomatic 21, cognitive 26): assertResolvedSkillContentAllowed has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1de96a36fd860310a5119b0c9dffa7a4c9e5e6003d5a7b57d92090bab87d563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tick (cyclomatic 21, cognitive 26): tick has cyclomatic complexity 21 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"7010517c13bdb6a59ddaad6f0fe0eaaa0fe0e261356cf43bd7325b39470b0c29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDigestRequest (cyclomatic 21, cognitive 25): parseDigestRequest has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"066fabdfb568c1f05ae4570754c701bbe4148b1f3eece70e615428a0335dab94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerPluginHooks (cyclomatic 21, cognitive 25): registerPluginHooks has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"59bc64f675fc2b71c84e6f2b37fab2e948e35fec17f8c91e1d01d9f6fdbcc6f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRecord (cyclomatic 21, cognitive 25): getRecord has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"51ca1f296107a8bc2fac9a7527aa2e4a375897aa5b77819e41f7aeb4e1d289fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOAuthReplayEvent (cyclomatic 21, cognitive 25): isOAuthReplayEvent has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4bc9f756cfcf49a1dba148e2401f3374672a4cdb0b601f8d63bbedae02f5cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stop (cyclomatic 21, cognitive 25): stop has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b4acbc9a677c3c86c871c4953c393acf9b9e1f46041eb3b2af187bc85c288cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 25): (anonymous) has cyclomatic complexity 21 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db610f06049c1cc31eef801a7301a534669dcac7666d92266df48257a8bca04"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamSharedFile (cyclomatic 21, cognitive 24): streamSharedFile has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce27747ffa55df028601d40025fbd68ebda25853d0943d92c81f1a822c764d8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HeaderMenu (cyclomatic 21, cognitive 24): HeaderMenu has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/HeaderMenu.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7450c8f21f8b921861e9f7821448aadc63b1edf6753701749a8521e128c5e314"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 24): (anonymous) has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"2527046a6e1b2225ee52f820ed4bbc2433dec451d6c3cb1f8e3022d26829b506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageFilterPii (cyclomatic 21, cognitive 24): messageFilterPii has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/messageFilterPii.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b129cdc94d6202eaf2cab6cdfba854ad9961aba3bdccf31662f6797c5dd184"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserSubmittedMessageFieldPathState (cyclomatic 21, cognitive 24): getUserSubmittedMessageFieldPathState has cyclomatic complexity 21 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd8d221e985b00fed89c696aa0ff38ebf802a244516da20ef1f63c1ba694cf69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadEphemeralAgent (cyclomatic 21, cognitive 23): loadEphemeralAgent 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":"packages/api/src/agents/load.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f56c0ce2ced638286c7889e3783ce685df0368e2894237b1dcf20322835472"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 23): (anonymous) 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":"packages/api/src/agents/responses/outbox.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f852aba397f8df3fcf6ce7ca2167c57494864107bcf42ad152ab1ba7bd6867c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchOrderedToolsSnapshot (cyclomatic 21, cognitive 23): fetchOrderedToolsSnapshot 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3005}}}],"partialFingerprints":{"codehealthFindingId/v1":"720faa0d732a6f42f51464f7b688a86902ba88315b4f5ca914040b04e38401d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 23): (anonymous) 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":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ce3f5f880956f5db73bb495ad1bc02a4c5edd980b51bcccbaee354940f798f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 23): (anonymous) 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":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"33f772b7453154a23425f82545fa7f5d24a3b79674902336e26b8a93ed2eb9cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 22): (anonymous) has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"11360b61fcaf24f492b7e894e1a8afbe4d6f3fde217f6e9c5b9659b7c85dc005"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishResolvedSessionTokens (cyclomatic 21, cognitive 22): publishResolvedSessionTokens has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3173e1b0d019ac8db5a372017eb73fd1d1c1b5f67b3eaaa49d619a6b95bbd7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOrCreateRuntimeState (cyclomatic 21, cognitive 22): getOrCreateRuntimeState has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3224}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b11258cd9ff05547c6d30e056acd0abed73a4082009142e2f6cc2ee5e184de3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function request (cyclomatic 21, cognitive 22): request has cyclomatic complexity 21 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/comment.test.mts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eb1db69067e4189c6207b5d8bf7a7b0a7f71552fa8e2003237b0f555500a72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useMemory (cyclomatic 21, cognitive 21): useMemory 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":"api/server/controllers/agents/client.js"},"region":{"startLine":3316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ad0792d07630bc7e0ad638d0ed637fa07bd6b479300afc61487eae49b571f37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRenames (cyclomatic 21, cognitive 21): readRenames 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":"packages/api/src/admin/config.ts"},"region":{"startLine":1546}}}],"partialFingerprints":{"codehealthFindingId/v1":"f06bdb0a866c06b4e825c4e4cc62b7cf3d9280105873b7b66c1730b8bf5ca906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settlePause (cyclomatic 21, cognitive 21): settlePause 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":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"7262a22e43ae6ea66d215bb83d69a53a0537e37b0111ab6b2ba52024d2a4cfa8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticatePasskey (cyclomatic 21, cognitive 21): authenticatePasskey 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":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":602}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94ae00b08c303cd12ce1982737983913941bc79bd42de6c8ed79b26e23b20c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processOpenIDPlaceholders (cyclomatic 21, cognitive 21): processOpenIDPlaceholders 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":"packages/api/src/utils/oidc.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8c5c307bd098fcd22fadc9b8644bb21dd9f5a1709386d60cc267eb72d7bf77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleAgentEventActorReceipt (cyclomatic 21, cognitive 21): settleAgentEventActorReceipt 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":3566}}}],"partialFingerprints":{"codehealthFindingId/v1":"28b0bb300fce1732f40e8795960643ba43a9ef0e9a9bbe0d72223b18c991ae8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderBody (cyclomatic 21, cognitive 20): renderBody 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":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2717ff2139a2a94380dec6241d763c2ba5a02b41a6661e22163c3289db87ab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 20): (anonymous) 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":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dc416c8dfff2c0b3873ae195ea81c06530f6d44451463fe7f95f8923904c69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSteerResult (cyclomatic 21, cognitive 20): parseSteerResult 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"231c3fa782a4526ac3f31e9a25ecea5885dee868733985e52a8488598512875b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectOpenIdRole (cyclomatic 21, cognitive 20): selectOpenIdRole 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":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"7453890dd9c012d1e368456ec7d72d75c878f3b4d28a58ff74902232720e8df0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueSteerWithReceipt (cyclomatic 21, cognitive 20): enqueueSteerWithReceipt 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1969}}}],"partialFingerprints":{"codehealthFindingId/v1":"deecb51efd3c9f86a5211df40b92d930b7dd596c88be6b8b342d9e346e9c1b24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Badge (cyclomatic 21, cognitive 20): Badge 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":"packages/client/src/components/Badge.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebdfed051f792587ab3c13bfb4947ff146946c5fea7616a96842602b7a807d87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Dropdown (cyclomatic 21, cognitive 20): Dropdown 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":"packages/client/src/components/Dropdown.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3901e7243849a7efd496bcd05b35d73c9d9dd531cfcda0285c04fa517089040"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 19): (anonymous) has cyclomatic complexity 21 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9f34b15d19bac3311abaa0a804245feabe3f718e1f4c1607eac65516f41d69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyToolPreparation (cyclomatic 21, cognitive 19): applyToolPreparation 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":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57bc629ab7210863d0da4d0bb0c39104ed10d29fc4a9829dd60b195d54f5923"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 18): (anonymous) has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"230f53a6fffb9e9ccd67a7320cc941eb14ab253a6378560d9550f1bfed509fb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 18): (anonymous) has cyclomatic complexity 21 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"818bafc59ee8e9892c686dbddbedd56a1b39c8c866f6968e7d0068597fb58f7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Decision (cyclomatic 21, cognitive 17): Decision has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/Review.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e37ec6567e7daf75a93a77713b7d1f4c9688e5d836b855f89080751a8ad69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateIPv4 (cyclomatic 21, cognitive 17): isPrivateIPv4 has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4786ae0e951fc6b54ae0989bd02a47473a1896a4261489a92d0c7184496890c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function issue (cyclomatic 21, cognitive 17): issue has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identity.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0cab60b4144b9eee72d665ab66f5f36ee56294cb1e83268fc6c56c5a5955880"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimAgentBackgroundToolResults (cyclomatic 21, cognitive 17): claimAgentBackgroundToolResults has cyclomatic complexity 21 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0713242c84c8912b63779a431dc493664b03ae2a319b9eb42a2db7c6102a69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configureSocialLogins (cyclomatic 21, cognitive 16): configureSocialLogins has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/socialLogins.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4dd6e31028a2cc6d9c0cb64b37f19fa0f8ddb2058ea06dd1ec7e743ab67730"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillCall (cyclomatic 21, cognitive 16): SkillCall has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/SkillCall.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa8391181f22eeb83982a5ba8c53d89e305829b22359042b5064c606105649ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PreviewedToolCallPart (cyclomatic 21, cognitive 16): PreviewedToolCallPart has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/hydration.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ccc7c1b3dc9da7f84314aedaafc84539ff168b37f9621f1934b30b9aa0e87d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishRunArtifactFile (cyclomatic 21, cognitive 16): publishRunArtifactFile has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df298f307782eaa6fe98b9213bc1931d15f11f1314821e88e9a3c7785ef7a5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueAgentTriggerDelivery (cyclomatic 21, cognitive 16): enqueueAgentTriggerDelivery has cyclomatic complexity 21 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b68912b1ec069ca3e018cce4553fdbe8088f0f4b6068cd0eaf592ade9ec5f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EndpointModelItemComponent (cyclomatic 21, cognitive 15): EndpointModelItemComponent has cyclomatic complexity 21 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"259f5eefd313344a7beae0108ec6830e35ef1bd41a26c06b21fcf3485f93853d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConvoSwitchLogic (cyclomatic 21, cognitive 15): getConvoSwitchLogic has cyclomatic complexity 21 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"309de1f57caffb78dd60f9968ebf97e1213b25689728f204ae3fa8cf3802286f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 21, cognitive 15): (anonymous) has cyclomatic complexity 21 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9a1fbd9fcfdef51503befdae06bcc968e4dbe8b690ce7db499376354ed4d35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReceipt (cyclomatic 21, cognitive 14): assertReceipt has cyclomatic complexity 21 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e220f5d9175eff9d43a39135eb75bc1f9c4d172c17f2aec23b9c608fd3d165b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expediteAgentTriggerDeliveries (cyclomatic 21, cognitive 14): expediteAgentTriggerDeliveries has cyclomatic complexity 21 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2612}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f30b97e3806ed0f1874526364d101b503d1fae8e16b69da735cf331ab34638"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provision (cyclomatic 21, cognitive 13): provision has cyclomatic complexity 21 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/credentials.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9de5fe4c8b9142314fc45bd168cc61c02bd5f9e27fb80afdbc4002a5cc99e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeArtifactDeliveryFailure (cyclomatic 21, cognitive 13): normalizeArtifactDeliveryFailure has cyclomatic complexity 21 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/artifactDelivery.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1b95268f6294a189b3157cafd463de1fbefb3330dc4a70c705bac8b177dfac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveBinding (cyclomatic 21, cognitive 11): resolveBinding has cyclomatic complexity 21 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":"client/src/components/Responses/OAuth.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d619bcec23d8bb6df8885d3358d7e4f113d56f1b9aeab264f86190929071c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEvent (cyclomatic 21, cognitive 9): onEvent has cyclomatic complexity 21 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/legacy.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc4e5c46797398a4ea01c7379e64ab4742063d7c47f61b63d11de4f8699c375"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _call (cyclomatic 20, cognitive 39): _call has cyclomatic complexity 20 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":"api/server/services/ActionService.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a84c18323872441c3a4e1a078480dec34006a4cd72a0e66159f681970db0755"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 34): (anonymous) has cyclomatic complexity 20 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bc99d43fd4a296389c8b066c8097e69671181543a5ba31dcde9261d016e7b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processConversation (cyclomatic 20, cognitive 32): processConversation has cyclomatic complexity 20 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":"api/server/utils/import/importers.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"4282a1a3cf0ec51a67e64dca11dd281fe8eef9f6dbc6348a9c7b530cd44f3e48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatReadFileText (cyclomatic 20, cognitive 32): formatReadFileText has cyclomatic complexity 20 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ff442029a1b83908521c0deabe19d3a6f04696c00a2de3aeab05145d08ba87"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 32): (anonymous) has cyclomatic complexity 20 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":"packages/chat/src/react/chat/stop.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31d0004dd77b93bd1b40173c8c1dbbacb2e052bd2d56c2fcdedd2a7901a518b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveConfigSecrets (cyclomatic 20, cognitive 30): preserveConfigSecrets has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1766}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f8cf317d7523386e107a3cf261ba4e39fea82a33127709d06929f9fec1661d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function partitionComposerFiles (cyclomatic 20, cognitive 30): partitionComposerFiles has cyclomatic complexity 20 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/files.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf1bddb27ae236ebae9f1d3d9484d6d48ffd4925bc0c87a12a1aa9885fcbb0d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operation (cyclomatic 20, cognitive 29): operation 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":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc36c4cf9edc4081537ac1f7c1000fc30d1451f398fbdd998fd74bda9cb1ef9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bootstrapCredentials (cyclomatic 20, cognitive 29): bootstrapCredentials 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":"packages/api/src/credentials.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a315b8fddcabb36678a243ded5adf1ff9015950deb3bed8891c3512f3eca51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeWorkspaceMetadata (cyclomatic 20, cognitive 29): resolveCodeWorkspaceMetadata 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":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"601b2737744c85320aad3ca543821222ed158b0aa8a64c19c9eb2e9053a4a5ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disabledExpressions (cyclomatic 20, cognitive 29): disabledExpressions 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":"scripts/eslint/design.mjs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"526911832b11eb567cc727a6d3bdf1438b01e370cb6c9a2fb6234c33b917092b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function suppressionProblems (cyclomatic 20, cognitive 29): suppressionProblems 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":"scripts/static-checks.mts"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c061b68cbde40d0c6509c82ff7ad0ee745010a431d0f1ae9b7709c6938a9b177"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFileSources (cyclomatic 20, cognitive 28): extractFileSources has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9485aa9ffe42e69f1c9174bf539b81c5aafc87a29516a9fd7b85d0564cce44ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadToolApprovalHooks (cyclomatic 20, cognitive 28): loadToolApprovalHooks has cyclomatic complexity 20 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2ab3ce18067a0c198eaeea08f6b33a932879f7ec49f0d012dddc7c3c0e3649a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 27): (anonymous) has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/bombadil/fork-lifecycle.specification.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"09511d454fcc40dd81602b83fac6d7413e2054484d9693e9c7de35825083e397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 27): (anonymous) has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/retrieve.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c30fb32b13dc4b735fcf7269332c64615300030846732a37100cca760493537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOutOfBalance (cyclomatic 20, cognitive 27): isOutOfBalance has cyclomatic complexity 20 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abee442a4882f5ed64d68b9a0f6814d0863e469f0f3cb6c3f01d905b467e799"}},{"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":"packages/api/src/agents/client.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"42eba8902d7596e87f8e0f8c06e7625f985827d86766b40d329bc685af641596"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function build (cyclomatic 20, cognitive 25): build 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":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fbcd893bd214ac7fd781304a8d0ac1b30fafba775b157b063a5ce6f42c04ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 24): (anonymous) has cyclomatic complexity 20 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":"api/server/routes/memories.js"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe1e0b98773c84fec03e3938f3dafaf5230233290f4ec720faacd59a70f09399"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function skillAssertionResponses (cyclomatic 20, cognitive 24): skillAssertionResponses has cyclomatic complexity 20 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":"e2e/setup/fake-model.js"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"b449f2108228be6b2d112843870c7d6ed088e0b9b34e465c577751e56f735d84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBackgroundToolResults (cyclomatic 20, cognitive 24): parseBackgroundToolResults has cyclomatic complexity 20 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2068}}}],"partialFingerprints":{"codehealthFindingId/v1":"346894e7c75e1571defa30c9910c9da8c1bafa7d5e2525d03ed132741e731f0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureFilterableAttributes (cyclomatic 20, cognitive 23): ensureFilterableAttributes 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":"api/db/indexSync.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"721658f927fcb3c130a49d16392bb41a54155b40a267ad6467a06841777c0117"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderAssistantsToolCall (cyclomatic 20, cognitive 23): renderAssistantsToolCall 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":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a2c34cae0524130a4168c8a07448fd631e040a18b8f6f6841a6fe4a327934f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 20, cognitive 23): onSuccess 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":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f44d069a02ead21e853ffe229c935e584bc7507d21a16a53955afc2c36d9b18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertResumeToolContentAllowed (cyclomatic 20, cognitive 23): assertResumeToolContentAllowed 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":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"140bfc83ebcc0d4a535e523a6c3629c357ec4204890af3adb2de5bb9f56cabd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function customSchema (cyclomatic 20, cognitive 23): customSchema 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":"packages/api/src/agents/inference.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4b2de3a5a842d580d1fc067ee31526a4da7b50944d3234b175ea1af7baa35c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 23): (anonymous) 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":"packages/api/src/auth/localRefresh.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b21de215b87ae65f1730109cce9d5c6c2e290053fc3b7e15fd8d8e3d7b6deb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScheduleNow (cyclomatic 20, cognitive 23): runScheduleNow 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":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":1166}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e37f45209c72b3fa804f9c81f5a53b8ab87817889da6ce849f7785c47092e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSharedLinkStartupPayload (cyclomatic 20, cognitive 23): buildSharedLinkStartupPayload 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":"packages/api/src/shared-links/config.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6e8a93a4e61662e3f057525bdbae9170f67e0934601f72e05d59b9fe7778bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildToolClassification (cyclomatic 20, cognitive 23): buildToolClassification 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":"packages/api/src/tools/classification.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4ba0b28013040af99acb060590c0b8b464bc45e4ce9b075e68d05c0d64a81b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchImpl (cyclomatic 20, cognitive 22): fetchImpl has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.spec.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ecaf9e454cfca787f53ec4aa1acef376733a8cda986efef924303bc690245e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processCodeOutput (cyclomatic 20, cognitive 22): processCodeOutput has cyclomatic complexity 20 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"d056aabc8fee486b2957aaa9d1695128e02eb8df10259c763f6ea606324e5d23"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 21): (anonymous) has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"12a365c6ddda3d708bb854b2d79156196b56ef4894bce1c378779f7e92344fe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LimitError (cyclomatic 20, cognitive 21): LimitError has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Error/LimitError.tsx"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"988084be06a3479dd7e53f973eca258e01a7253ae1f26fda66f58651d97b5c14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCreateFileCall (cyclomatic 20, cognitive 21): handleCreateFileCall has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"62df3ba9682c153c9512606282c9489a0580f95c939c45762185eaed8273f16c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeCloudFront (cyclomatic 20, cognitive 21): initializeCloudFront has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e7133a7c4b449b43820199d00246d8e1d70f4f7221bdccfa9a339733588c42c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAuthorizationFixture (cyclomatic 20, cognitive 21): verifyAuthorizationFixture has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/conformance.helper.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4dd10518ae54e288bb34b4f9854ca0be1d2b900c5070288b08b7ed6a02890d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function revertAgentVersion (cyclomatic 20, cognitive 21): revertAgentVersion has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2716}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce784dd609af11fb524863b44fe4efc9081d837e92c99bb0056d5ce67e0e54e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildFilter (cyclomatic 20, cognitive 21): buildFilter has cyclomatic complexity 20 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"22dbc1d66bf906bef73940313bea220e31046302f1ff0182b11797d0c9b0b40e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResourcePermissions (cyclomatic 20, cognitive 20): getResourcePermissions 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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"17862c35695f0473fa8cb0e12fa94a658ce3ce3db05080810ca4ba3c8a6629f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 20): (anonymous) 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":"client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"af91ed23c32c72e6338624e8c5dcb855d194e7d546aeb29325cf3988b87513f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeSubagentSnapshot (cyclomatic 20, cognitive 20): serializeSubagentSnapshot 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":"packages/api/src/agents/background.ts"},"region":{"startLine":2372}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f5d24537c8414744c4f81379052e5e474539b8931633b0ca484e0fcbadf9fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlResultFromReceipt (cyclomatic 20, cognitive 20): controlResultFromReceipt 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b23f557d79c19d9d08bfdbfedac52a3d1596311d93da79a57779c3d3fb11a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEventActorContext (cyclomatic 20, cognitive 19): getEventActorContext has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2247}}}],"partialFingerprints":{"codehealthFindingId/v1":"31fc987a6f5b6e766a1ac96c121b0b2450695fc33b1e83ef7b90525417dacb4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectWorkspace (cyclomatic 20, cognitive 19): ProjectWorkspace has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectWorkspace.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0909d78e50ebe504e88220a4612f56a712fae6da41035e1d2feb449baf4dab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04824bdcf46799944e85e19bb8743fceb5094e8b8037aab73c2f01562ed5cba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveConversationCodeEnvironmentDecision (cyclomatic 20, cognitive 19): resolveConversationCodeEnvironmentDecision has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/decision.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1a10e1aa9c83e5a0003b92ac464528ece7f1a6159610f0d7c996f7c8a7874a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 19): (anonymous) has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/rename.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"636c1defb905bd127046110f288046c2b2bd721be520f1fbf580e4eb32ee335e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStored (cyclomatic 20, cognitive 19): parseStored has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3760c6ef61b4a63c6ce48536e04a8863fb6050ad31da2f275861439bf8580317"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLimits (cyclomatic 20, cognitive 19): getLimits has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc66643f94723c66c9347190786690160a04011ccc1e0e8f608ac6353447152"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSkillFileContentAllowed (cyclomatic 20, cognitive 19): assertSkillFileContentAllowed has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/protection.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2723ed9eedd442b5297352c67357dc8780b9f6fafff398be026e5d7cdf61ad49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainSteers (cyclomatic 20, cognitive 19): drainSteers has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2077}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bff4d695bf0a718c2388007c666e7a0fa208d7bc954c6b8cf4a660051b63bcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfigIssueParams (cyclomatic 20, cognitive 19): getConfigIssueParams has cyclomatic complexity 20 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b33628af4cc8f68a1107d15236ea83dd45ea7d19580c85cc09edc7f9d2dd77d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adoptRotatedTokens (cyclomatic 20, cognitive 18): adoptRotatedTokens 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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0797d1a1a843b1ff973eea6a888a9a580d3b2dae68a6d3c839bfc1a90adaa7a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function previewToolCall (cyclomatic 20, cognitive 18): previewToolCall 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":"packages/api/src/messages/previews.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d088eb858fd7f2989357b2add9fbf6c5f26c1f055d9c91373251a6a075da7c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreClaimedSteers (cyclomatic 20, cognitive 18): restoreClaimedSteers 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"1563dafba42cd0f7f8b99c46a412962dd4005410d34c32b2b39d9341c5a54e16"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function responseBinding (cyclomatic 20, cognitive 18): responseBinding 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":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"82254db1e7fa6025db3d41696e13bde189fb9e27aa9cf8c7cb568b6b77e24a0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f9861a11464d22e244d003c016d70338fe75cab06d4d794860114090d72b48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/toolApprovalGrant.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b8e25918c30889557d8cc1a178ffb4a288f51edb102ca6c72f032b678d8f37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isObject (cyclomatic 20, cognitive 18): isObject 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":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed001d5c298c5029b5627a17e8923e520b580c7333e412602c67b4fd0d81b105"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useChatOptions (cyclomatic 20, cognitive 17): useChatOptions 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":"client/src/hooks/Sharing/useChatOptions.tsx"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"be2d287b2ed5128aeec4eeb1789323562b1702c688a8c88d768d9e58d2fe8126"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 17): (anonymous) 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":"packages/api/src/files/code/priming.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"807990ce7273fbb5762a3b6cf1e5cffccc1c522d6dec762a3928dfbfb675189d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function artifact (cyclomatic 20, cognitive 17): artifact 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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c3bf07a93e1c016a6bd580cb25a9e536ba86ad3271e2968a2aba94ecd3a46d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findShapeIssues (cyclomatic 20, cognitive 17): findShapeIssues 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae0b946b9698ded02e3e8a21a3a68eb9e5e8f339e4d60c664b4e8e29b9fbf1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeEditedContent (cyclomatic 20, cognitive 16): mergeEditedContent has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1623}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ec89c81ea8c5fa72a5e0bca354d17d0959b3d0cb0fb10e15415ca40f11ae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConvoOptions (cyclomatic 20, cognitive 16): ConvoOptions has cyclomatic complexity 20 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"39213f1fdc09215adce0c79cef69442debd0b953a2b4d28b76374720d3d76078"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateReply (cyclomatic 20, cognitive 15): updateReply has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identity.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6232edbb7db75db6f19a928b9366abba371d496a4eb9db7c5f22258259bd111"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReasoningOverride (cyclomatic 20, cognitive 15): resolveReasoningOverride has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/modelSpecs/reasoningOverride.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"09742442c6560c8098d56784d9460fb26aa20735272816bc6c1fbdef9f904923"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parsePull (cyclomatic 20, cognitive 15): parsePull has cyclomatic complexity 20 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/github.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"338c8e7c44ae31c6322935577e83eedb21dc69cbe47fe2de58785821a1129297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processRun (cyclomatic 20, cognitive 13): processRun has cyclomatic complexity 20 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c1d63da1dff3055edf2b670f7e6de923375783c694ef19fd3fed412cbd9f2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCodeWorkspaceEnvironment (cyclomatic 20, cognitive 10): isCodeWorkspaceEnvironment has cyclomatic complexity 20 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad2cf71510bc7327146119bef7d791ccfb2ecb46ebb539d85ab1eb3508da7c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readIf (cyclomatic 20, cognitive 9): readIf has cyclomatic complexity 20 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/load.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"856f7cfb85ca19191f492f34b313362fea061eed53f43ea342ff23fd1b0c3fd5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandNodes (cyclomatic 19, cognitive 39): expandNodes has cyclomatic complexity 19 and cognitive complexity 39; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"11fbaa9a4fde6a8d84a9be4824216f4859a6c9f0c2c57adfa283e0080eb7a4a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReachableGraph (cyclomatic 19, cognitive 38): resolveReachableGraph has cyclomatic complexity 19 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":"packages/api/src/agents/edges.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bb27d54f6bffe3f28c45d9408f358813a4cc675d6f3badc09ec8c0066dddc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerFileAuthoringTools (cyclomatic 19, cognitive 38): registerFileAuthoringTools has cyclomatic complexity 19 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":"packages/api/src/agents/tools.ts"},"region":{"startLine":1360}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd89d3cc9ecfb2f48a96b4d20ac2bc11af827fbdb4e0684ac5db4dee9c5d0d80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyAuditChain (cyclomatic 19, cognitive 33): verifyAuditChain has cyclomatic complexity 19 and cognitive complexity 33; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e918f36c4aa53b611a97db1ea3ec31008c941a3e4c5af0496d256dc4a7ef3c3c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainAndBuildInjections (cyclomatic 19, cognitive 32): drainAndBuildInjections has cyclomatic complexity 19 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe9f3f7f7e8e4718e63ad2b69c41a75900e4983c91f0b2958ca7fe822a6d5e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function destroyTaskControlTransport (cyclomatic 19, cognitive 32): destroyTaskControlTransport has cyclomatic complexity 19 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1f0cb5e7c22d5dc4916a4acd25b90ab2e6193a9e93ca6e397e527f62c9a25e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateSkillFrontmatter (cyclomatic 19, cognitive 32): validateSkillFrontmatter has cyclomatic complexity 19 and cognitive complexity 32; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3ffdef4f5d9eb4cb23e0e4574f8d79dfd00e02428356699093c5fd28d119ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 31): (anonymous) has cyclomatic complexity 19 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/DescriptionWords.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3875234d59132917fb12a8751b308ae2d98fc714930ba7629850c1c50e13e646"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropSchemaFields (cyclomatic 19, cognitive 31): dropSchemaFields has cyclomatic complexity 19 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5d0aba89c1be77f0e215bed5c5f39bb9dd031148485b36b89145fae460162a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 31): (anonymous) has cyclomatic complexity 19 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/documentdb.spec.ts"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"0030683e467320daf6640a89ec626a1306a92d003689972f74e7d1c886a9099b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readWindowedSandboxImage (cyclomatic 19, cognitive 30): readWindowedSandboxImage has cyclomatic complexity 19 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/image.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ff221f82e9928d814512b4561de926f0cc11408e85bc81f0d3ee11cc87e6d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function takeoverGeneration (cyclomatic 19, cognitive 30): takeoverGeneration has cyclomatic complexity 19 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3711}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d09387f3d063c2590b3285d46ba6c3af4670265097ab0528c4bf6f970671e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMessagesUpToTargetLevel (cyclomatic 19, cognitive 29): getMessagesUpToTargetLevel has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/fork.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e78dd2ec04c0f52251b8f88bf9889746cc894da599be06f04e2b87073efdefe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 29): (anonymous) has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/plugin.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"92b53bbe362ba77c9b9d46dad5878a056c676c2393c470393117f3eca97edda6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isDomainAllowedCore (cyclomatic 19, cognitive 29): isDomainAllowedCore has cyclomatic complexity 19 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd9d8613c5c913c14ce106ac54b40ea7704b1bdae9bfd4679ec55abfa2169ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 28): (anonymous) has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"829d3d29e5dc27df4967ea4b66d9adc176ae2aa711e4b9ffc4b7941ae506b848"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMCPServerTools (cyclomatic 19, cognitive 28): updateMCPServerTools has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df64fa7cf9e0ebde0fc590c30b7885dda05eb9195be289013f78c9f3bcc6fa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveJsonSchemaRefs (cyclomatic 19, cognitive 28): resolveJsonSchemaRefs has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78fa95b0d6adee4c32829ed05ff965e5b5ac480cda399f3d6e22d21b0188a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 28): (anonymous) has cyclomatic complexity 19 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/workflow.test.mts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"54283d5e41cea61ab649990a899962749a4d2a5381d7175069d55491cede2328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decodeEncodedText (cyclomatic 19, cognitive 27): decodeEncodedText has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a545be6a8988c1d6c880941f76cf486a6f2f1edf5d93dcbf3c8fe6dd24d2860"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onWebSocketMessage (cyclomatic 19, cognitive 27): onWebSocketMessage has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eb7b243d1a43ad11aaf32bedc1609cb874eb8a37b6353333979d13290d8e32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffStartToReplacement (cyclomatic 19, cognitive 27): handoffStartToReplacement has cyclomatic complexity 19 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/outcomes.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"336df995cec3e515519ffe74614352ea28aa959b9d426e69fa0cd40ea9cce104"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function poll (cyclomatic 19, cognitive 26): poll has cyclomatic complexity 19 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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb98612dfdb4177323a627b97b40964bb792e7c28bf7bd398af34f56b09f3f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 26): (anonymous) has cyclomatic complexity 19 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2348f55f1f9139071b1edb35c0b9b19c86602957cec936863a681715bebb7a33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isScheduleLive (cyclomatic 19, cognitive 26): isScheduleLive has cyclomatic complexity 19 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1757}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d20bdb7197119e8469d8de9ca1d3b3125e511287fccdaba39b3c4f0f399947"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeReplayEvent (cyclomatic 19, cognitive 25): sanitizeReplayEvent 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":"client/src/lib/rum/privacy.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c3738e2490a24a3995d2f8fd51c6e9ff12cb3d2616d3fcf76a12a7d0ddc764"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transform (cyclomatic 19, cognitive 25): transform 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":"packages/api/src/protection/transform.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4bdf3073f649bd4935e34a578709c5ab9a685f633b540c6e90c9ec6f0e02aaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubagentControlHistory (cyclomatic 19, cognitive 25): SubagentControlHistory 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":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef487ae81b7ae9dfbdf447548a5b0a3d23bc4f48f9d361d0a25f9313d05eedc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disabledSense (cyclomatic 19, cognitive 25): disabledSense 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":"scripts/eslint/design.mjs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"882198481fe1fdb2a91a52f1f036bb606c581e3fd329c56b3abe142c558902cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeAnthropic (cyclomatic 19, cognitive 24): initializeAnthropic 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":"packages/api/src/endpoints/anthropic/initialize.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5539a6d6d10d89a33fb72aedf4bb764abc31c051587c9b5e8dbd4c981e77b71"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 24): (anonymous) 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":"packages/api/src/mcp/zod.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"089401476376a243a4eb205f846359e92fc9e1282e97b7638484a7703fa4c949"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 19, cognitive 24): execute 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":"packages/data-provider/src/actions.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c760ed901f0f43b6696cf4854f93d86ab92889e1dc4da24269a96feb532c049"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function combineResponseSegments (cyclomatic 19, cognitive 23): combineResponseSegments has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/segments.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d195d967fa123424b5c364424216f520a033528d8a8f36359035d6d3fce2475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollbackSessionPublication (cyclomatic 19, cognitive 23): rollbackSessionPublication has cyclomatic complexity 19 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1320}}}],"partialFingerprints":{"codehealthFindingId/v1":"32dbe0b8ec310925371f9684989ea133e81a338618fb3e776b1cf7140a344c5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callTool (cyclomatic 19, cognitive 22): callTool has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7665a75b5b5faaff55dad846e28a7310cd52278cb15a45f6844bc03cfb80dc4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectToolInputSchemaKind (cyclomatic 19, cognitive 22): detectToolInputSchemaKind has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"212d6230c5ceccddd0bf9c91d8df3adc7326f8c0845fe4b4b84e483d95678665"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sniffImageMimeType (cyclomatic 19, cognitive 22): sniffImageMimeType has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mime.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6261cc92c50d76fffea0c8f6e83cbd1f86771169d635f17ee29745cef3aebff9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeImageRequest (cyclomatic 19, cognitive 22): authorizeImageRequest has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/images/authorization.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"d01cae6fba776b0f26ee5220d1f21b11e0831760dcd63f5288619d4ace414896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStoredProviderContributionState (cyclomatic 19, cognitive 22): getStoredProviderContributionState has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"86280367830bfcf96d80963c8955b9b7a9bd0ebdef71638dd699e233b099f541"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 22): (anonymous) has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/content.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5834780d0f0f5b85655c42b3e5a00467e0819a7c097a8f35a127761fcc1d2231"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 22): (anonymous) has cyclomatic complexity 19 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/send.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"84882c4ed67b5358fb30501ad0f665d5ad1e0e70e44b5325beece816ab0e9722"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startServer (cyclomatic 19, cognitive 21): startServer 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":"api/server/index.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc1d1c75034b4bfc957286438d195a53616a8e92282f0da8e935272479bfc2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 21): (anonymous) 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":"client/src/components/Agents/ErrorDisplay.tsx"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d28ac85de7cd2b72cb09a927e394bd4a65645b56a384ea77aa6e744b86360d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function testConnection (cyclomatic 19, cognitive 21): testConnection 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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca9bed686e174db5b4b8e86a1b78e7cc683df451cbd0e77c0357ec3e9f2fd79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchImpl (cyclomatic 19, cognitive 21): fetchImpl 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":"packages/api/src/code/setup/service.integration.spec.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b04b0a1a2afc64b32afa36234c4f8659130d78ca8516f47c6a9f2afd309f6c67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createHandler (cyclomatic 19, cognitive 21): createHandler 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":"packages/api/src/skills/handlers.ts"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdf4ef7266ea9fbe081860375e0dcec707de73d850c0fb66d0ebe8638fbd8cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBackgroundToolHandle (cyclomatic 19, cognitive 21): readBackgroundToolHandle 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96862bee06f6b764b37a76d6f24107b3b0bac7a36e6d435369bf3c0d9f3e12b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 19, cognitive 20): record has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6529b8081cd9ad71a14dff1496c1fd46378978bfa0825caf3cf8f4049b41f02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleWorkspaceFileRead (cyclomatic 19, cognitive 20): handleWorkspaceFileRead has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2364}}}],"partialFingerprints":{"codehealthFindingId/v1":"db30d3319c7aa81669e8dcb3a7e794e4b4c5b4a5d4dc5ce594a2be1fcc73b6c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 20): (anonymous) has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"527f1a65b36179f146fe7a7af8560609a16b93eebfed740e9b00cf55e0384507"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 20): (anonymous) has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e4b07cdbcceb53b5793b9f4874528dfc62c47f4bc097f5c26c87fa732dffe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateContent (cyclomatic 19, cognitive 20): updateContent has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/content.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ef0752de5f30b2ba7380b67a64c66fe443292349ef618d63477a35110b150c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spendStructuredTokens (cyclomatic 19, cognitive 20): spendStructuredTokens has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/spendTokens.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa402690a845186c3f577d5563f1371ca2e262f726bfff785d3ba4a77a468f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function judge (cyclomatic 19, cognitive 20): judge has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/eslint/chat.mjs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ddb6eedad14358b76a00641480a7b14bff96f2c785469afebd84be8913830e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validate (cyclomatic 19, cognitive 20): validate has cyclomatic complexity 19 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/readme/lib.mjs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"506e72d1b8897a91991cca419e0b5f38a5ae432a907cacfb65396dd487e8a240"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterFile (cyclomatic 19, cognitive 19): filterFile 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":"api/server/services/Files/process.js"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d79c2fe3989f63f639abc70b11db40ba8e88456a31a3d58b304eb5afd20721"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileItem (cyclomatic 19, cognitive 19): FileItem 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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"64cab0ae3dadea118f9d8b9d33e24032339246a22ca083ed4e47c55a1b4bcc01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function feedSubagentAggregator (cyclomatic 19, cognitive 19): feedSubagentAggregator 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":"packages/api/src/agents/aggregation.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26304f0d2c4fa9973224a26e4b6b0f1ec92f718ed319ace35e5b7fae69a085d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeSandboxTextForAuthoring (cyclomatic 19, cognitive 19): writeSandboxTextForAuthoring 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2880}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecfd2f8030b6484c8c2508e843619e83731947040e0eb1c06cee3ac5646322d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 19): (anonymous) has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1d336843ab1063b9820328c45c29006a44cce3fe2c19769693515fe26234ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteOne (cyclomatic 19, cognitive 19): promoteOne 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":"packages/api/src/agents/steering/promotion.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"08198ff8cdb51c05b85df87e528667551ae33f399997367c236336d78f0ade5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function send (cyclomatic 19, cognitive 19): send 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2505}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf34775cdf82ffa763df9e6aa24eaebeebdbc74e77495ec8cf245beba07161f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateById (cyclomatic 19, cognitive 19): updateById 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":"packages/api/src/memory/handlers.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"646cfce9fd81288284c3508eda6e6aab43376de617a09906f7e8478a670fe4b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function overflowEarlyEventBuffer (cyclomatic 19, cognitive 19): overflowEarlyEventBuffer 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6024}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc40bdd9a27cf65920d65a946507cb5c363f2029fe71350e806028a7865a30d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAskUserQuestionsArgs (cyclomatic 19, cognitive 19): parseAskUserQuestionsArgs 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":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a83188c0ca6d1a4e2713e0ff3774fbc8ea9fba7b03466af05a026ae3047e0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 19): (anonymous) has cyclomatic complexity 19 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1923}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ab777ddc82597697b39b982f3c55bdcbce3c86d7d2a458fbcb402f4a166d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UnifiedSidebar (cyclomatic 19, cognitive 18): UnifiedSidebar 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":"client/src/components/UnifiedSidebar/UnifiedSidebar.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"681e464edb17edf272e879ffe1872410d7956fafbf6353156843a355a94858f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareAgentTriggerDelivery (cyclomatic 19, cognitive 18): prepareAgentTriggerDelivery has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/delivery.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"2996e93b205baf9a88f464fd1bf6d3663ef000bd701c4ea4462d1f2b5ae2352f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/rag.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c451eddabc19156dcb72ecb147ea86356f588cd95413808f2aff531ec7c71d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverServerTools (cyclomatic 19, cognitive 18): discoverServerTools has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"205f718bd4ab6cc81ba8818a4adc727e834a455f08f2a0d4f7f2fa6d54ac105c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function beginProviderExecution (cyclomatic 19, cognitive 18): beginProviderExecution has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8568}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc942bccd32eaecaa583ddeec05191981322d5f2954925923abb5095f8abc36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SubagentActivityContent (cyclomatic 19, cognitive 18): SubagentActivityContent has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a2fb165bfc31203f8bad65aee24b5313f86cfda60081b69d7367636f10c48f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptLivePersistedActivity (cyclomatic 19, cognitive 18): adaptLivePersistedActivity has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1c8dc47d5b25a21807adb4be452e92200742574c18ab844941fe316b51eb03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"b846c4515e7b33b767a71d304a233ebe880c902ad32620450fef25506a53482a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistDisconnectSnapshot (cyclomatic 19, cognitive 17): persistDisconnectSnapshot 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":"api/server/controllers/agents/request.js"},"region":{"startLine":1916}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd61429bb83bcdf0953107a889d6b2a911a8c21015ad4678258c6a1fbeb0d293"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldShowActionButton (cyclomatic 19, cognitive 17): shouldShowActionButton 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":"client/src/components/MCP/mcpServerUtils.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"153679dcdb4118bff5e96ca7ff3ee583b483a39ff1ddebe9e1f669c7c264ad66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateDeferredHitlSchema (cyclomatic 19, cognitive 17): validateDeferredHitlSchema 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":"e2e/setup/fake-model.js"},"region":{"startLine":3142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c098c28892246ea4ffcaa96a6c9d3f6c8613367eaa6bb42ea539f26e780a4459"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCodeExecutionApprovalBinding (cyclomatic 19, cognitive 17): isCodeExecutionApprovalBinding 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":"packages/api/src/agents/execution.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49108c6bfa9da3c4aa8820e552f1a0a0fd54974f6e5c0bc06e8a654e6ac94ad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onEnrolled (cyclomatic 19, cognitive 17): onEnrolled 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":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e9a9560ad7a557ba530c77c1fe621dd152779b047baa2bb3db8716058cfa19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishFencedRuntimeRetirement (cyclomatic 19, cognitive 17): finishFencedRuntimeRetirement 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7618}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d7719d2818db1592e1bc13f28e788a760d4f3643a85391fd30b3a2470f8146"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Fork (cyclomatic 19, cognitive 17): Fork 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":"packages/chat/src/components/messages/Fork.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6489252527189a84467ae5521b2824dcc44639188807d5e70b6ba0e2601a01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readRequest (cyclomatic 19, cognitive 17): readRequest 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":"scripts/quality/comment.mts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"30025d9e069f77f0088a6b0d86442edf943e7aa9be529f8a6a8fbc9b9baeb916"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dbe311886979fa2522a6b04c13a4b5a9a2e1801c519f2699995c973b0642a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EndpointMenuContent (cyclomatic 19, cognitive 16): EndpointMenuContent 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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8d0fa16b5ee88f7a8e83e9b064d0ab8f0a1cc526e574c452ec9b5df7bfdbb7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f22aef11f8edda96fc7659b83bc65cf0d8ee23c0fb52225df3bab183ed24c7d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordScheduledMCPToolAuthFailure (cyclomatic 19, cognitive 16): recordScheduledMCPToolAuthFailure 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"0435932f27663b1c4153520e1f56c17ef15cb6dba6aa6afaacbaf376e4172b63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function response (cyclomatic 19, cognitive 16): response 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":"packages/channel-gateway/src/client.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"00770594a89dfc7bd229da2323f6a308cbf16c906da92cfcbdf90a1df627a46f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 16): (anonymous) has cyclomatic complexity 19 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d1369964126b994856395cdcf8ee6cd981a946025d695a407080cf9f7840855"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 15): (anonymous) has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dacf9945b54c54aa06b6ffe024370bcad210864836eeb5e84f19198670ba5b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function categorizeFile (cyclomatic 19, cognitive 15): categorizeFile has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/processAttachments.spec.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f160b5638eeaabd39b0c597fa70ceb8827f592e49aeac808237f5212e993c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCustomPattern (cyclomatic 19, cognitive 15): readCustomPattern has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e87ec7c32bd425da7012e5b440878229222c3022810908e819c5ccb1f30c943"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFinal (cyclomatic 19, cognitive 15): handleFinal has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/frames.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b9b251f68f306f1c820efb037d2349f246297eaf53c2cf4359ef0ac75fbbf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useOwedSuccessor (cyclomatic 19, cognitive 15): useOwedSuccessor has cyclomatic complexity 19 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/successor.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"749c70f05da71138b972eb70ffb25264563d4713fbbf6a002e759f91be472481"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 14): (anonymous) has cyclomatic complexity 19 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":"client/src/hooks/Input/useMentions.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"23f6278b9b8ae9daaf1c479b99aff5ccc6b403413ff5f5233335971a1d0cb30e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeRequest (cyclomatic 19, cognitive 14): authorizeRequest has cyclomatic complexity 19 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/credentials.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb4198357f350aec506ddbbb8fb0906192492ea6c0b422193e7fe4302eaeee9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 14): (anonymous) has cyclomatic complexity 19 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/FileRow.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee5cebf381aa5c74e7674fb9aceeee34349bc573dec2aea1434faedcec9d8d59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function UserKeyError (cyclomatic 19, cognitive 13): UserKeyError has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Error/UserKeyError.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9647700d3d57b3e5d2a02508dc1600411fd0603de65011713461d5833cae0cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Passkeys (cyclomatic 19, cognitive 13): Passkeys has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Account/Passkeys/Passkeys.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"16570b3bb634eccb8ad33325e5229b005d7f017fd9661b255cf4c534eae8f8d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 13): (anonymous) has cyclomatic complexity 19 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/authority.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"6156aaf24895788109e1fbabf030f334d8528178ec02bb1e2f9b2e2f52079011"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 12): (anonymous) has cyclomatic complexity 19 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab24e2f461296b11d8286802a32769d801e19b61c40712adcbef071722975a34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rememberHook (cyclomatic 19, cognitive 11): rememberHook has cyclomatic complexity 19 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2771925c172056e1da2800fbc76fd41147044e483e9af2f73da7a762441968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Consent (cyclomatic 19, cognitive 10): Consent has cyclomatic complexity 19 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":"client/src/components/SidePanel/Schedules/Consent.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f098472677bf538f92d50c27f93acd141ea57200690f1f44b864a794955e18c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function artifact (cyclomatic 19, cognitive 9): artifact has cyclomatic complexity 19 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/client.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae86a220e415e37513d1fe1111e24a9761a4b677ddaa33c97a545cb8ccf7ba18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSubagentDispatch (cyclomatic 18, cognitive 48): findSubagentDispatch has cyclomatic complexity 18 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":"packages/chat/src/core/subagents/dispatch.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"023911c507401a8112bdcb4e90527015109f4aefa4710debf1363a5e209242f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateInputToolExchanges (cyclomatic 18, cognitive 38): validateInputToolExchanges has cyclomatic complexity 18 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f8397cce46331f8e6352bf8192add27c1ac3070b63209027967e2e2cff7061"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preserveArraySecrets (cyclomatic 18, cognitive 37): preserveArraySecrets has cyclomatic complexity 18 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dafad46b45132132eb704238c9973a0dfc1f1e7fac9c465805d0d528e6a114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deltaHandler (cyclomatic 18, cognitive 36): deltaHandler has cyclomatic complexity 18 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":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f77af69b116e00c4c5138e7c9d16d34cec3847c9b067d6f4299634b74db21d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAlwaysApplySkills (cyclomatic 18, cognitive 30): resolveAlwaysApplySkills 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"32cb6b5c6507d55896ca0b9a2c405e9872984e03029ff31651493c83f4b81395"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeAndFormatAudios (cyclomatic 18, cognitive 29): encodeAndFormatAudios has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/audio.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"568b7d83793a2bb764379705ef8866483e8220aa7b4d1ca1a0c1e3185d725ecd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractStoredMessageContentWithBudget (cyclomatic 18, cognitive 29): extractStoredMessageContentWithBudget has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59f0019817deb88525c381a8fdd1729e1a480e9b80276c70f62f942d1d4f496"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleStrandedRuns (cyclomatic 18, cognitive 29): settleStrandedRuns has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e87711741f0ccf9e2be78a6dc26a64bfb7412e86e77f0037374731d409a1f48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownedCheckpointReferences (cyclomatic 18, cognitive 29): ownedCheckpointReferences has cyclomatic complexity 18 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/checkpoints/catalog.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13d62600da1880bb8953c6e9e0f073b4cec0db9b845ca225b4b3f6e0bbba448"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 28): (anonymous) has cyclomatic complexity 18 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"582d72cc17d2d59a1532016378b0b61c8987c1914702bea024083d3bfc886a3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 28): (anonymous) has cyclomatic complexity 18 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"7405102bb80b8451d94671a8c4722d5864b2a91255d969d3a211dc0aa0dde020"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureActivityBlockContext (cyclomatic 18, cognitive 28): captureActivityBlockContext has cyclomatic complexity 18 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":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89a6f92a869e917d1c2fc4e59eb02542ba46e16a46490b0d6dfa765de3f9e5a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachAgentOwnerContacts (cyclomatic 18, cognitive 28): attachAgentOwnerContacts has cyclomatic complexity 18 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":"packages/api/src/agents/ownerContact.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6087b4a4f42530c6c8c693f7dcf70a8e1044ee7798380c32bd4084ec09119f2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertImagesToInlineData (cyclomatic 18, cognitive 27): convertImagesToInlineData has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4411acae5bbe76c255ab7c4f9c63767315a429ab4cdc530eef19087d7a7c5458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 27): (anonymous) has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/failures/tracker.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"635aa895cbee72f27e00e69b168a9b9b28e6fccbc5e0de779458c89df04c1031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueSubagentChildren (cyclomatic 18, cognitive 27): enqueueSubagentChildren has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1842}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41c6a068fbd4d733b76b159f39a258543adceaa1e8790c9d86444ec81e9da24"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contentFilter (cyclomatic 18, cognitive 27): contentFilter has cyclomatic complexity 18 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/contentFilter.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"124f41041081a9c32a0592b9aa380724c7295a8da3914f53a64f5cd56c598cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function conversationInsertVerdict (cyclomatic 18, cognitive 26): conversationInsertVerdict has cyclomatic complexity 18 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":"client/src/utils/convos.ts"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f3e31587c87361015b43b7e2a8b434d94e547ecf0effc2b3fc546759085757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawFeet (cyclomatic 18, cognitive 25): drawFeet has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/body.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c41ed2c0f12bc3e1eb8ee9cb4f2ac884a59db14a70ae3d8f5d024a636794922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 25): (anonymous) has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ee88c7ed6dd62f99a836dc1d5aa6aef348f956bff3c35dd72d5a1f18288ff4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 25): (anonymous) has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/run.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"7236e776de074062136bec0420dc9073cab95bfe690262962dc46b62c253f06f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fitBoundAppSnapshots (cyclomatic 18, cognitive 25): fitBoundAppSnapshots has cyclomatic complexity 18 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/appSnapshots.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42262168a751eb20df1cab7e86617af4fee3f6ca9e1d0c63f867dcdeb03ece9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findOpenIDUser (cyclomatic 18, cognitive 24): findOpenIDUser 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":"packages/api/src/auth/openid.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b340d652fce22958db9bddf5561b43606daaebdd3c4641531fea907e01da3d73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 24): (anonymous) has cyclomatic complexity 18 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6158}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f6e7ab665934f88717ad94e08a7b962e14909807e5400d9cf7ea976f1e83a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeRoleMemberHandler (cyclomatic 18, cognitive 23): removeRoleMemberHandler has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"252abbf98444b4540560220ee0dbf5dbfe8199291b4afd3f2bf45a636f7f81d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseEditConflict (cyclomatic 18, cognitive 23): parseEditConflict has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/edits.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ac21ded365f7680b65ff0fea9123cc65ef754dafadf62d57d7ce6bb1f2f979"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveAbortedUserMessage (cyclomatic 18, cognitive 23): saveAbortedUserMessage has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eff85fad214668038b6cc47e22ea8c1f59097cb0aa3bfd9f2e59136917164c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function proxyRumRequest (cyclomatic 18, cognitive 23): proxyRumRequest has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/proxy.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2fbde3b5eb5de86bd810349f1ded8d00b43ec3dd71ebe1364386eebc6bbd34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeInspectableEncodedValues (cyclomatic 18, cognitive 23): sanitizeInspectableEncodedValues has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1520}}}],"partialFingerprints":{"codehealthFindingId/v1":"b254329b3212502a227ad8c31b342cc9475095b5095af7830912ab6f295fd673"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteFileFromS3 (cyclomatic 18, cognitive 23): deleteFileFromS3 has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"142755b620003cbb8a3941fa3279ea26ba10b7f31ce15fcae55957511edbfdf5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withHiddenAzureGroups (cyclomatic 18, cognitive 23): withHiddenAzureGroups has cyclomatic complexity 18 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"745f8a7b8e82b2ded931f25bfcd36a20c30942f9c2e4ac044767175457f45bc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 22): (anonymous) has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/images.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d834dea41453a0b3f4867bc7f5add055b881acf5dc149914fcfcb586db27de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupConversationsByStatus (cyclomatic 18, cognitive 22): groupConversationsByStatus has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/running.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7462f02bd778c9e88d8229feb6f4ec902d0939ac1fa0a28fdc55458f7ebb2013"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 22): (anonymous) has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4e7cce69f1a17444b23497205c8cc774a1901a3b5813be4ae6c573654c271e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeSandboxSessionArtifact (cyclomatic 18, cognitive 22): mergeSandboxSessionArtifact has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c66f917c3a1ed99139b93cdcef5a4d36f6c3e529d882f39c67d619a601e8164"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeAgentOcrConversion (cyclomatic 18, cognitive 22): mergeAgentOcrConversion has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/legacy.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d1d552851cbaf2e8402e92737ed5030a23c47eaddf89867b49488562ed9291"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleStart (cyclomatic 18, cognitive 22): settleStart has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/settled.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84a4a46832fd0dd621a5e93843d6e4c51cc8278897a864a6aade204f8224602"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEffectiveAgentQueuedTurnPredecessor (cyclomatic 18, cognitive 22): getEffectiveAgentQueuedTurnPredecessor has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2801}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5d0fe03885029443878dc13129f7e523c0bc2d7957135f533546f7ed5eacf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evictAuthUserDocs (cyclomatic 18, cognitive 22): evictAuthUserDocs has cyclomatic complexity 18 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/eviction.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"550e409b10585e567c5c70fb16da7aba2e5844f0240ff4fdff36ab90f30923b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAgentHandler (cyclomatic 18, cognitive 21): createAgentHandler 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"da02182ba1a0f1095963c78c9cd99f1b1f3e64659f0f1fe02019f01510229fe9"}},{"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":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6190e99bbe9af03b596217db3744015c0f3f951d6bef2bbfa39d481f6034634"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesMcpServer (cyclomatic 18, cognitive 21): matchesMcpServer 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":"client/src/components/SidePanel/Agents/Tools/items/selectors.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37e221523dbb5f4a0365b08a747ee4c94291d60c26f0fce70fe834ec2804e12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAskUserQuestionResume (cyclomatic 18, cognitive 21): resolveAskUserQuestionResume 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8251f838504104e6b68ab6a8523bbc61f2bf9e5d09258967dec88a0f79d815"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 18, cognitive 21): start 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1591}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f393a22054d4e5f0e1798597cf5179d2e4dc7e269df7b420d7e0a5b6edca1dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primeAgentAttachments (cyclomatic 18, cognitive 21): primeAgentAttachments 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":"packages/api/src/code/attachments.ts"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"882b684b7fe79d5566bf0c3cff03a5f5eacce2bc4badce09ab3d0ae61ffb5905"}},{"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":"packages/api/src/skills/management.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc534357b556dd21a66412c0d3e00433d8ba839c7d24f68427fcf6dfaca6920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCredentialUsable (cyclomatic 18, cognitive 21): isCredentialUsable 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":"packages/api/src/web/web.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d949b5fa7520ce666df72714249544b76e7c19d612d19603a61c9ff7b16ce7"}},{"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":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffd6fc329c7611d2d2324307b31644e2771d6bc06b2275cce9c7555150afd6f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThemeProvider (cyclomatic 18, cognitive 21): ThemeProvider 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":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"406d0836215f5545623da650c39dc81dd9960c36ae56aef20a6132c24c283cf8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCodeEnvironmentWithinOwnerLimit (cyclomatic 18, cognitive 21): createCodeEnvironmentWithinOwnerLimit 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":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"049da2035f172829654ef8d45b63b91c2f26308cbabb059e6947ea6e723c62cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/samlStrategy.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abcc88861aa69552ba2b003cb7fc8a2d0fc0c16a272409ba6110b34ef02eff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c1924f949b78b210073f1c3d4b938d77cc139bb10eee6311552dbe122df8713"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncProgress (cyclomatic 18, cognitive 20): syncProgress has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d9f9f5133d862b6a3585958f13b01b6164252af49009ef84297d7f89ce32aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDeferredProvisionFiles (cyclomatic 18, cognitive 20): getDeferredProvisionFiles has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4714d824e95478cf055ab7338997342e1efdd9deb8ef2936ec268cd777e2d8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 20): (anonymous) has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackRoute.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5675336bf2aa0610e8033b7440c8867e9e638822760143d6c080ffe5440aaa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkLabel (cyclomatic 18, cognitive 20): checkLabel has cyclomatic complexity 18 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/activity-labels/checks.mts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a8abf9269175b6e2a0488c6b86b6784b1a0b58f508abcb52bc8a2466c4031f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function blockFilteredAgentContent (cyclomatic 18, cognitive 19): blockFilteredAgentContent has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"af855516693e4f51b0ed16b2b1776c9be36e9afaf1b649d0258b419b85d65be7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getListAgentsHandler (cyclomatic 18, cognitive 19): getListAgentsHandler has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1809}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aa2c74a6fc5df597198a3ca5ff06d73b4097b80dd7531b78200b211cf7479cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processAddedConvo (cyclomatic 18, cognitive 19): processAddedConvo has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"842151ea96bbba51237137dedef1e5878ba53fc4a3f28323ce211cfa7e1a4ef0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retrieveAndProcessFile (cyclomatic 18, cognitive 19): retrieveAndProcessFile has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1580}}}],"partialFingerprints":{"codehealthFindingId/v1":"317cf95b13a175ddd29900572cbf247a1cc4580588007eea9c32fad1ea63eaf6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDefaultModelSpec (cyclomatic 18, cognitive 19): getDefaultModelSpec has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b70b310dc79a22d4fbbecbdb0d728ae95a70c44075dc91698a471902898c77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAgentTriggerEnvelope (cyclomatic 18, cognitive 19): parseAgentTriggerEnvelope has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"e03d1f9455e09de46e5c4ad32c51f5999f153b554d74c2e9645ac9a1961972d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processChunks (cyclomatic 18, cognitive 19): processChunks has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/speech.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf928b572d0ec7a896729f390aafae5582db882556cd48a63ff9d78c785b3519"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeClaimedGeneration (cyclomatic 18, cognitive 19): resumeClaimedGeneration has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3857}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc255ebf2d299256605b96527a47d92782a176dd3fe451aef0e25383e28a986b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b46a225a9bb248154f0abc36a2861f15b540816607e420e27ca431ece03aa14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 19): (anonymous) has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6488d8cde0a6e922d11aaf31710c8fa527700dc52fc8cdec47018e19c808a9c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function endStopped (cyclomatic 18, cognitive 19): endStopped has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"389bd5adba3a0f76d25f1b7cf8d3b8545de4f28c337bd9e2a7eb5e4cbd4979c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeEnvironmentSelection (cyclomatic 18, cognitive 19): resolveCodeEnvironmentSelection has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2376329ac2849a9580a1cfce9cf5f9118e1ba28f8e42cb045b4cfd113d39fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeFiles (cyclomatic 18, cognitive 19): normalizeFiles has cyclomatic complexity 18 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a68643c5b4060987b493c948bd0dbc9be809c8946aae4ccb1e3eb8d0e9bc01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grantPermission (cyclomatic 18, cognitive 18): grantPermission 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":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"751c3e0996d9722af81b6c50c85861ef272ae8c71036225c3c9a5377951c699e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpenIdRolesForOpenIdSync (cyclomatic 18, cognitive 18): getOpenIdRolesForOpenIdSync 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":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e15ca4c18f21995cfa9dec7caee414189de78822e520d66c1687adb60e4c3ba7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasStoredAuthorization (cyclomatic 18, cognitive 18): hasStoredAuthorization 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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"2141dd3b66f67edc2edb2ce8058e12e218ff0cf94a46ab3e9812a3da37e4161a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 18): (anonymous) 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":"packages/api/src/utils/axios.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2f545a8961a5b2f71fc73d342cf8367c244d98df09afc20c2ca43657783278"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveChannelIdentity (cyclomatic 18, cognitive 18): saveChannelIdentity 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":"packages/data-schemas/src/methods/channelIdentity.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42ef8cc0e87c37f39aa8401e615861baaebb4117631278b1fcb272099315760"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commitFileProvision (cyclomatic 18, cognitive 18): commitFileProvision 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":"packages/data-schemas/src/methods/fileStorage.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff8e47a145c17a298c9f98b34131836626d240574e604f6581e38a67259afcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDisplayValue (cyclomatic 18, cognitive 17): getDisplayValue 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":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"051220bdfe0defa3a54b492e473794ea20dd094a9f8acca686fe1cb0965d3ba6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/forms.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"da09a8c6269aa47c009b5fa4ea2e3237ddd67bbede2c0e9ad279d9655d028fd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeRuntimeMockConfig (cyclomatic 18, cognitive 17): writeRuntimeMockConfig 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":"e2e/playwright.config.mock.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a55248d0e3b37bd8c3e750d7f2ca62b1625a4731a6d5bb0ff3131111e82a76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"87d93b80b079b6811062106b0da2702440c503827249a3e6872caaf0a894a611"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlResultReceipt (cyclomatic 18, cognitive 17): controlResultReceipt 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b364be41c6e53cf89c54379fa133beb28ef05de5656430cd8540156711e4e1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (top-level) (cyclomatic 18, cognitive 17): (top-level) 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":"packages/api/src/mcp/mcpConfig.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5995faee8f9b69d6ae90882bf724c5f24b5dfc53d6b1c826039f3267fc6c122e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DialogImage (cyclomatic 18, cognitive 17): DialogImage 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":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6b6e31b1dff1271eb3a450b9b083e43a5e1306657d8367a9432ee64f361008"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 17): (anonymous) has cyclomatic complexity 18 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e1e8ef4f0ae99602cde1a70515cbefa1a8a3fd907e6f0bd86bb627dd62ce5e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createSkill (cyclomatic 18, cognitive 17): createSkill 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":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7547ef0657e9cdf59f9e60f97d617836c79c2a2583137aa9050494d6211fc10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function upsertSkillSyncStatus (cyclomatic 18, cognitive 17): upsertSkillSyncStatus 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":"packages/data-schemas/src/methods/skillSync.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b851416786d82bf459226484e2647aaa65141b39b4e23a6dd1a9752fc7714304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishStagedApproval (cyclomatic 18, cognitive 16): publishStagedApproval 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":"api/server/controllers/agents/client.js"},"region":{"startLine":4231}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1ad05094b61eef2f7c8ae5a6c760bfae8adcea9ee302ca4660da8dddbbb761"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createChatSearchParams (cyclomatic 18, cognitive 16): createChatSearchParams 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":"client/src/utils/createChatSearchParams.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14650512d73ce5bdccd9807a18a84af9e3efe95feb39c4d8fd63fcdd5e946cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pauseForReview (cyclomatic 18, cognitive 16): pauseForReview has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d092b8b57fac08e893b9d4a5f30f6c268218e9c59978664dac0e9d5d087738"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSteerArmInternal (cyclomatic 18, cognitive 16): handleSteerArmInternal has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c69d2d685879292edeb6cafc8da4b6e9ec4cbdc4350668264f08552bb110a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistResult (cyclomatic 18, cognitive 16): persistResult has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3660}}}],"partialFingerprints":{"codehealthFindingId/v1":"58a876c72a6469e4c4aa81496e5c4be1dec5f39a4403578ff0eec98aad868f86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertThreadMessagePage (cyclomatic 18, cognitive 16): assertThreadMessagePage has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/protection.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c47c4df6d74fae812ebd58ae5b675423a2742655bdada9336ff0435713f4ca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isContentTraversalProtected (cyclomatic 18, cognitive 16): isContentTraversalProtected has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"67665e6f84660096cc17cfbf874c600a7ac3afed9eb4d2139cf84fe4f4b3dc46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 18, cognitive 16): resolve has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"226e1fc7d7744f62212fd1d94222dd208fa65cb70ef6608de8e721dc2213d406"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function traceTo (cyclomatic 18, cognitive 16): traceTo has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"45410a21dcc4a0a3868efc3faf3aca5b9ea7ff2aa95afc0372da8ff859f5e15d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSubagentBackgroundHandle (cyclomatic 18, cognitive 16): parseSubagentBackgroundHandle has cyclomatic complexity 18 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/handle.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee57dd41401fdca05b22e9980654634f53212447d6355c0492911547057699b"}},{"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":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e81ef56c836a6ad0cead2ca2c2206c79d36136814a3b106d9b08afc9fbc326"}},{"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":"packages/data-schemas/src/methods/toolApprovalGrant.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df3febcae6fdc571899bf1dff78e6808d9dcaaaee2cd9e8626a94cfe639bef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function GitContext (cyclomatic 18, cognitive 15): GitContext has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa13b4e8f964fc848d6b1fd68dc0baca27d7b59cbfc9439351419f9e7b94b68"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RetrievalCall (cyclomatic 18, cognitive 15): RetrievalCall has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"168ee4e846a0ced35bb3d6ccb633ec92eb0d38baa2c702c99ce4a4cf57311e19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentError (cyclomatic 18, cognitive 15): AgentError has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Error/AgentError.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78d24779037fea6eee46d139efc8fa916960a6eb2091a152559afef29ba8a93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CreatePromptForm (cyclomatic 18, cognitive 15): CreatePromptForm has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/CreatePromptForm.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fdb874daf09e5ccbf0f3fe129f69907bc03a6dacaa15b73f6641d81d740b6d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillsSection (cyclomatic 18, cognitive 15): SkillsSection has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"a139e4937c775268d2881788f0ef84c7381bd8d992c2fc2531db55e26714264f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"83277e61d4d8e741694ed9a95d3bd6c06655cfea2240c69fcfa512d0de72a2a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SchedulePanel (cyclomatic 18, cognitive 15): SchedulePanel has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/SchedulePanel.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1100ffbf484ab321aceeb93446ffa035f1e1a75f8673bf6dfed008e08fde437b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseDigestNode (cyclomatic 18, cognitive 15): parseDigestNode has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aaeeb41766e9a73454da902f3d06d34416d470dff9a6f09a2d9657439c26dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 15): (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/chips.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfbdad57d79f546c40abd21499b2abdb3c3f7561eb6f0ea507ff25a542b6781"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 18, cognitive 14): (anonymous) has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/__test-utils__/convos-route-mocks.js"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"649d1cc2aaab17b6b7a4902ed2df0efd2411acbbbcd40cb0c221bc5b4ec31c3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureEffectiveAdmissionBoundary (cyclomatic 18, cognitive 14): ensureEffectiveAdmissionBoundary has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1307}}}],"partialFingerprints":{"codehealthFindingId/v1":"49239a5c179591e763b9a831e95c5a939e81a00cbccf169f482421b0531a1416"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useToolCallState (cyclomatic 18, cognitive 13): useToolCallState has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/useToolCallState.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f208587087a39652e9f4e97b65e8d9933d35d89db94a6e4cff8110738040b315"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScheduledMCPConfigurationRevision (cyclomatic 18, cognitive 13): getScheduledMCPConfigurationRevision has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/configuration.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1da70e3071862720a5fa1f6700167f5c78662743373b7cc52bb72e67a2138322"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function queuedReceiptForMutation (cyclomatic 18, cognitive 13): queuedReceiptForMutation has cyclomatic complexity 18 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a67786ae917d03b84d52f79e45db6d3b9e7178a36851a178ea8c9b068171f76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function update (cyclomatic 18, cognitive 12): update has cyclomatic complexity 18 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1417253dca5607baa10d505995399b893227d4326f43abf3dac7d931c2a30a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useResumeOnLoad (cyclomatic 18, cognitive 12): useResumeOnLoad has cyclomatic complexity 18 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"63b6834e1b1be74cd6fff1f9888b88ef1971dd062f55cb1fdb0831b2b23b1328"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 47): (anonymous) has cyclomatic complexity 17 and cognitive complexity 47; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee9af6b3c89238d8e5efd45ee93164b31acb235f670e857e3e8289d340e06e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectModelBoundSourceFiles (cyclomatic 17, cognitive 37): projectModelBoundSourceFiles has cyclomatic complexity 17 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"13752eec37a55b441b1d52c40cdbdf7c38b9ae02af7ba481c958c62992200c4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processBatch (cyclomatic 17, cognitive 35): processBatch has cyclomatic complexity 17 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-shared-link-permissions.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"61dcaae12eebf8b0eba03146b0ce44127b9b66f4dedc1b34cd2fdca184e3e70d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 35): (anonymous) has cyclomatic complexity 17 and cognitive complexity 35; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/upload.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3babdda8442b704485b0e5a7f1992173e20080681f308a2b28a3984c4d2891f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCatalog (cyclomatic 17, cognitive 34): readCatalog has cyclomatic complexity 17 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/reasoning.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edf0211074418570d27a30b3344a8c9e0df24fe3545f1cdee44af4bd5ce90fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractLocatorAliasFragments (cyclomatic 17, cognitive 33): extractLocatorAliasFragments has cyclomatic complexity 17 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"670841dbc7c802d253f83e5ac6757399a6e9d2f582ac7c5995d2b78c203f9313"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareEntryChange (cyclomatic 17, cognitive 32): prepareEntryChange has cyclomatic complexity 17 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":"packages/api/src/admin/config.ts"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39646ae3141b50a616f3068c12eccd7cb48de97d8f6a05d53b99fc823ee6502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTextEdits (cyclomatic 17, cognitive 32): applyTextEdits has cyclomatic complexity 17 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":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adcc0fe48c3dea02feb58f913f1312b2af9ac122d67ec06e53590720749299b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onTouchMove (cyclomatic 17, cognitive 30): onTouchMove has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d592d6aab76ff370af90fc8bd2ffa7565e5d664e4a0bcd9e33170e8e08c1a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserSubmittedPathState (cyclomatic 17, cognitive 30): getUserSubmittedPathState has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2f097ce93b59db131e94415f93ea96da88775459c363243ed6dfdea147aa9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishStagedDelivery (cyclomatic 17, cognitive 30): publishStagedDelivery has cyclomatic complexity 17 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a2de2d6c229f4ff4ff2237820870f226674669c33fbd510d38f68c81d62e286"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 29): (anonymous) has cyclomatic complexity 17 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"61980a3ed61df62e9ce21a2fb7e8e4cd3cf43bd7652ffd2ae719c10699c71525"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSearchVerticals (cyclomatic 17, cognitive 27): collectSearchVerticals has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/verticals.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba537a928fa3acaf55002b3fd2ecb5e0d666fa407b51aebb47299f93721cd893"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectApprovalAgents (cyclomatic 17, cognitive 27): collectApprovalAgents has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff9df797eadbc15a0c86d2d910e60815a4fc7d71dc8d2e18b3871ce041a0eaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveAllConvos (cyclomatic 17, cognitive 27): archiveAllConvos has cyclomatic complexity 17 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":4354}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b77ce10fc13165d59149cf448ac071acf123f5ac894f7de89f8ab4f15502ec7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 26): (anonymous) has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":969}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9d124a2b5c7e07eedae94ecd3f496cc038078177e0ea2ce82a9cc9a7835c8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function declaredTypes (cyclomatic 17, cognitive 26): declaredTypes has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validationFeedback.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"671155039287901709ba2b004a51fa2520614686ba8ca216b9c8a1030c67d3e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encodeAndFormatVideos (cyclomatic 17, cognitive 26): encodeAndFormatVideos has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/video.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6786273df14dcc0661a2ce601a9135bec4ba99eca0711481aadfe5e500b237"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasScheduleCleanupObligation (cyclomatic 17, cognitive 26): hasScheduleCleanupObligation has cyclomatic complexity 17 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d287000a16fe2f1affc27fb9711902239c1faa7322b2f792fa20a94c40cdd15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResumeUserSubmittedMessageFieldPaths (cyclomatic 17, cognitive 25): getResumeUserSubmittedMessageFieldPaths has cyclomatic complexity 17 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2010bf014f4799e15554ca0da41fbce77c5abad6d943b7aef213c740c662044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateClientTools (cyclomatic 17, cognitive 24): validateClientTools has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/clientTools.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdef6f3e8d967618e92fb8f703171266b7d7a01eacd81e465771d2023bbc59a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createConnection (cyclomatic 17, cognitive 24): createConnection has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":810}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2ab7ecb1962963fde9e3c017e5ec929867c639993ecf00e9b938bc0a40134f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 24): (anonymous) has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"c457ae70403eaef46a9801906a706585216a98caf30df9858680de08f2bf30e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGrants (cyclomatic 17, cognitive 24): readGrants has cyclomatic complexity 17 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/toolApprovalGrant.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee70936474228577417373b74b2e8d1188d3b2a6d6a59a26461187ea5bbc3b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFileUpload (cyclomatic 17, cognitive 23): handleFileUpload 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":"api/server/routes/files/files.js"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"254a217829315ec77028099952cd58f44f855839df0fd06664b936060f9bb980"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyReplacedGeneration (cyclomatic 17, cognitive 23): notifyReplacedGeneration 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1996}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e68155e2492d262fdc89dd51bb603665e2f5b1b3263cbbff6c68fb0b25e555"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function submit (cyclomatic 17, cognitive 23): submit 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":"packages/channel-gateway/src/review.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bcd808d6c56536f8196c8abb24426b474a4897685d2e945b7bbdcb4bf49f67"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 23): (anonymous) 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":"packages/data-provider/src/types/runs.ts"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"505fd07bcdd04339990903ea837ff7fedbb008442f176327c9d0b3d5be6a16c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 22): (anonymous) has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc2525cb02db7ee289da83b85bf42024377938720c9fd6f34c566ee903f806b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drainActivity (cyclomatic 17, cognitive 22): drainActivity has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78b455532d04ef7492b4ffa4df710cafa4d9bd6aa00531c5b89198d42098e43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateProject (cyclomatic 17, cognitive 22): updateProject has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc032fb01ed9e3868cb8c7f6ca4c4146d1cc800a996dd72ccb3bc6b791a7b86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverAgentTriggerBatchReceipts (cyclomatic 17, cognitive 22): recoverAgentTriggerBatchReceipts has cyclomatic complexity 17 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1959}}}],"partialFingerprints":{"codehealthFindingId/v1":"643c7b7f1ed92f73fcc005bd56830b5bde02a6e9c9947496563b635e5efb7158"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeSkillMdContent (cyclomatic 17, cognitive 21): normalizeSkillMdContent has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"792d0380f6948e6d5791cb224c0bfc91047ce75d1278060ec548c3cf45c780f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishCompletedFlightTokens (cyclomatic 17, cognitive 21): publishCompletedFlightTokens has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1420}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d563793fd3641355cc25827db04180f0bcbef7e05e6f97baf36a72175036e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getReplayStepId (cyclomatic 17, cognitive 21): getReplayStepId has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"953bf1e2626c9bceebbb9b25baee4ff571bdc4a36e8107215b713cb2cf31c39a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function terminalizeUnexposedGeneration (cyclomatic 17, cognitive 21): terminalizeUnexposedGeneration has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"5367cdf91b94d1473ee54576c3394219f699989198a03956bbb8cf16e2c05244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractOpenIDTokenInfo (cyclomatic 17, cognitive 21): extractOpenIDTokenInfo has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/oidc.ts"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c6fac20834e87d4b630fbc2aa72a10c258404da2060cfca301c1b40f53ec092"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 21): (anonymous) has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/recovery.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"385dead416a9c26b8747d0125c184fd95a9f4f5377de9900f13d4e1c9b177b25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 21): (anonymous) has cyclomatic complexity 17 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ee8998fa161ad00a28855c561e6c20eda9afc796f2bc973a31f3c62a70958"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTitle (cyclomatic 17, cognitive 20): addTitle 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":"api/server/services/Endpoints/agents/title.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"06ca20fac073d1d6ba6ffe151426c6ee3124e905e5c11adfa248d17587e63b02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) 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":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f6941bb7cedd5cbdef00a7949337d87700c70af21efabb8d0e2928be42dc0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelError (cyclomatic 17, cognitive 20): ModelError 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":"client/src/components/Messages/Content/Error/ModelError.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd1bc4564c97417ae60d79e847036735306aa0a570100cb98b2944b40fb65819"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1844}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb024dd71fc9f41be5465eae54ade7f745171fbf5f951a9a087a8308a0b40c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function removeSteer (cyclomatic 17, cognitive 20): removeSteer 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2279}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2bf81cdfe5e0da210e0d62750059e31b366a4b5c65bd91a1d5ca3e40258c37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 20): (anonymous) 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":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"afd0430b3d1efcf9186eec01abbabc127ee61fa1893d42140515926870b95daf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPreparedCodeOutputBuffer (cyclomatic 17, cognitive 19): getPreparedCodeOutputBuffer has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4a7cde66b6cdf91f47d2fbf66a5e14608e76a53e38ec7008d487ddcc0ec0c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 17, cognitive 19): prepare has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a97254d5d2ba2645b297033701a4c4612bdb8af5fac4cedcaa6053c2daab0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attach (cyclomatic 17, cognitive 19): attach has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda4092ba32902768cbe2125384c5c8327959a86b09b27ac20f97032e633214f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyGeminiFlashOverrides (cyclomatic 17, cognitive 19): applyGeminiFlashOverrides has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"e833a7afead200221457b0740963c2458f8e1e4c6f4c0237f00e0c53b156a290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseAgentBackgroundToolResultClaims (cyclomatic 17, cognitive 19): releaseAgentBackgroundToolResultClaims has cyclomatic complexity 17 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2899}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cafb2f790f64bf212b94f067c61fdac8df500401e8cf4ee0028f00f03d7aa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 18): (anonymous) has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f15ebf13bdb96059e68b5830f0cb3ec165398101aedad7cc132b7dc70329c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateHandoffReception (cyclomatic 17, cognitive 18): validateHandoffReception has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":3461}}}],"partialFingerprints":{"codehealthFindingId/v1":"863a23c764caabb882d28eab01d8d9b30a0ffda1165f63e012b4fa1059a29097"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addProjectFilesToFileSearch (cyclomatic 17, cognitive 18): addProjectFilesToFileSearch has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff4ff465a8c755d639d092ea16fedecb8ec5e711402901d0bf35500bd6bc89c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSameLink (cyclomatic 17, cognitive 18): isSameLink has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c20d6e2b9b809d11e1f06905eff326f9b4d4034eb213123e4ebaccb156c151fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasPendingAgentQueuedTurn (cyclomatic 17, cognitive 18): hasPendingAgentQueuedTurn has cyclomatic complexity 17 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"5114e50e15c10f920a6f8779d5d4e897ca54fa4efa8fc64d14216f0c4d709d32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFileStrategy (cyclomatic 17, cognitive 17): getFileStrategy 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":"api/server/utils/getFileStrategy.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a8b86f442b06347ff6b4df7af5d156924b61d18121b5e79a6d32c7bff5d357"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LivePhaseHeader (cyclomatic 17, cognitive 17): LivePhaseHeader 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":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a08f7b6e5fd4780670ab003b51854873a2c096cb1ee49beecae82e06f37d182"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function copyToolApprovalAdmissionMetadata (cyclomatic 17, cognitive 17): copyToolApprovalAdmissionMetadata has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3047a55fe3352f4df0d521429faa40147e4491c7f509ac053ddff64595e5834"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveFiles (cyclomatic 17, cognitive 17): resolveFiles has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6234f78312bcc03984f0e1d072093e223a3a44c476d1726ba696496a008ff791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateSettings (cyclomatic 17, cognitive 17): updateSettings has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c9c12b5effab0ebb9781afbd9ca32948a5582f3c769460857f90f99007eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6540f780d00db4418e3bbdceea279c4f0525da4927ba5a06770d30652d4c83b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainReplay (cyclomatic 17, cognitive 17): retainReplay has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ef402f499c7fc9ee1d9d35d3f73c8ae207fe80a3abeaa4fb141985edf2c5ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 17): (anonymous) has cyclomatic complexity 17 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/placement.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec524e79d07004e34858be06b000d863d3a217020ffcbbe1b9c69366f117c50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeSandboxFile (cyclomatic 17, cognitive 16): writeSandboxFile 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3d853dd42ee7cf50a8fc70bf1054c9344a7ec53ccb64ff199be4be290b1500"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grantPermission (cyclomatic 17, cognitive 16): grantPermission 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":"api/server/services/PermissionService.js"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e78530af675558a3c7baea4af8ca5508897e6ca00de74e06f2ac9f038346c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SocialLoginRender (cyclomatic 17, cognitive 16): SocialLoginRender 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":"client/src/components/Auth/SocialLoginRender.tsx"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a842a2fe3f723a3b6ebccabb6aabd6211eb5f447b211b36b590db904ae168955"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/PromptsCommand.tsx"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06c12dc96a7560e9d7564e59639d41c9f16f390c1d3faa70f26ec8e4047f757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0323d13f43ff531ef645feca1bc152ddc55b7ef2cc4e2f5ebd0565cfd5cdf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ToolMermaidArtifact.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"d458eefdc9eb98e8dd66587492a8e89df77168ffd0b70d84c7c08d5044c5f462"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicDropdown (cyclomatic 17, cognitive 16): DynamicDropdown 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":"client/src/components/SidePanel/Parameters/DynamicDropdown.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b84091044dba08119731a1ab970c2487d3552e11f9535c435d41dfeaa758dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicSwitch (cyclomatic 17, cognitive 16): DynamicSwitch 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":"client/src/components/SidePanel/Parameters/DynamicSwitch.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74868403b3449fb1717885a5feb1eebf1ee979ef935127bb15fd347ba9da45f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Artifacts/useArtifactProps.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4382ed544f8955a354dada52bc7920fe005fc3d492ace0d7d58d34af924031"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPlaceholderText (cyclomatic 17, cognitive 16): getPlaceholderText 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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"087a6c555fc09f142130540c64bf0c99ec2c5079238ef3435dfac5e897377aa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundLeaf (cyclomatic 17, cognitive 16): boundLeaf 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":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e64ba65aa3624b4a45df65502a3ab70b9c5a6d63884b388a73e79db29e03cef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeExecutionContext (cyclomatic 17, cognitive 16): resolveCodeExecutionContext 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":"packages/api/src/agents/execution.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"103d62dc8aacd4d7d3ccd83ab5a6765e663b9f436e8c3d8f0ca7ea8aaa136094"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"239eb885536680d2b510768838892ea13a178ec4e114fd9891f3b3ff06a7c4f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 16): (anonymous) has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"98470f2a764217db393271c7cbce31afc56debfaae03850d87f04e80d461de6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareBasicConnectionOptions (cyclomatic 17, cognitive 16): prepareBasicConnectionOptions 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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09e77a8e2681ccb9a2434b5bf67a961cd900b3a40c0279c42326a2854ddfd10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPredecessorMismatchState (cyclomatic 17, cognitive 16): getPredecessorMismatchState 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":"packages/api/src/stream/admission.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b6b11a343ae4945a96acdfd8083d803250c142102ee8e71f21500b33c94ad7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadWebSearchConfig (cyclomatic 17, cognitive 16): loadWebSearchConfig 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":"packages/data-schemas/src/app/web.ts"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6331fae9e194ee292ff8711c7a3abe4c48d2d2884d80abdc17470aba138655e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeProjectFileRecord (cyclomatic 17, cognitive 16): normalizeProjectFileRecord 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":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db3508f144406e84e2247aed60b60c7f0e0ade9c7a7af210579f7beec20d3a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveShareFile (cyclomatic 17, cognitive 15): resolveShareFile 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":"api/server/routes/share.js"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e31e3a73c1c3e3a8a47ba6202ea804252a0a9c574d17e1af1aafc27d0a0c920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DeploymentTheme (cyclomatic 17, cognitive 15): DeploymentTheme 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":"client/src/Providers/DeploymentTheme.tsx"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef26ceb323d4239c968e9264abd4db34d7b8a645554a44c8d72e0ba3b825d3c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicTags (cyclomatic 17, cognitive 15): DynamicTags 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":"client/src/components/SidePanel/Parameters/DynamicTags.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3e4f6b61960edd704a1a68b2e960820e69fdc43f14abe32025ffcaaab07d47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConvoInAllQueries (cyclomatic 17, cognitive 15): updateConvoInAllQueries 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":"client/src/utils/convos.ts"},"region":{"startLine":1663}}}],"partialFingerprints":{"codehealthFindingId/v1":"b578f2d07d506cd4097e78d8dccc93732693631404274fc245e97fb0b77b1f4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isBoundEventContinuation (cyclomatic 17, cognitive 15): isBoundEventContinuation 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":"packages/api/src/agents/guard.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa763b79703eb97b02d997d707151a6a58431f700223fc37f074fb2c247a400c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildResolvedAskUserQuestion (cyclomatic 17, cognitive 15): buildResolvedAskUserQuestion 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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e4ae3b30eb4da7cbd643e816c7f2cd884a6f4da763dc93ec2620b0f091f07b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestGrant (cyclomatic 17, cognitive 15): requestGrant 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":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b5d59b6ab8284b76d3960a09cabf07b58af9910b77be6500c0bba00acd9cb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 15): (anonymous) 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":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6584bab0aec06485099f4094028e86a297189f3fd55827bad556cb070e2630"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findNextMatch (cyclomatic 17, cognitive 14): findNextMatch has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/plugin.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cd3ef8be5abb18c03ade02b72cef3a502c883aa56761049ea1984a830ea5ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveContinuation (cyclomatic 17, cognitive 14): resolveContinuation has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/host.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9fce672a3ac26716b4d26939d03a70426607ee5582f02a9a440e852aa8f27b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageNav (cyclomatic 17, cognitive 14): MessageNav has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"33981480532a05755441ddad90897e9e8492d37e533ee8fbf2f592e8d0041eba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RetryableError (cyclomatic 17, cognitive 14): RetryableError has cyclomatic complexity 17 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/RetryableError.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7a051fa34b66702002cdc6beadd07f0eb11f94ea15798e057813db8baaf6758"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 13): (anonymous) 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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"939b89dbaeb929f83bf17985c68d7be774021c775659a6fe6bd6e00683130196"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function oncalltool (cyclomatic 17, cognitive 13): oncalltool 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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e70addac22adb57b3ffbd9cb81f8eb281f58931f327acf00f2ede6eaa21e5cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepare (cyclomatic 17, cognitive 13): prepare 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":"packages/api/src/agents/files/session.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"9824f61b7bee9815a790bb8fd6cc1621cb637ce1a8e376eea34ce20845a9c74f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMessagesForSubagentThreadView (cyclomatic 17, cognitive 13): getMessagesForSubagentThreadView 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3068}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8af8bc716d481b5ec1642e8de5f8a1f418a65f176fa722a5be03d5c2dc4fbc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AuthLayout (cyclomatic 17, cognitive 12): AuthLayout 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":"client/src/components/Auth/AuthLayout.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29c3035b952fc2d643b9675555857ef990813118209a53360dadcc4220addaa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PinnedSection (cyclomatic 17, cognitive 12): PinnedSection 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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0a23880a2a4e3ab5a2a2a2a15aad3c0628d5069fe1a87cdb56e610e1dff2c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectCanonicalResponseTurn (cyclomatic 17, cognitive 12): projectCanonicalResponseTurn 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":"packages/api/src/agents/responses/turnProjection.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812c3f799313f8c8665f0bdc59d7b4c8f5d0da00fae460da75e63d22990a2d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseMergeRequest (cyclomatic 17, cognitive 12): parseMergeRequest 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":"packages/api/src/pulls/gitlab.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aed66767e9aacafc523020af0607f7c0f8de64f0b346bee0c2c500332c2b912"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveEffectiveToolResource (cyclomatic 17, cognitive 11): resolveEffectiveToolResource has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/upload/routing.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"af824d82ccd72571f7c3e7e926898aaa69af37db57b478fddb9abd0ed0e085dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isStored (cyclomatic 17, cognitive 11): isStored has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/lookup.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c20a344003f599823dc3dfe3edaaa9612a9cfb13032b2f32720fb0da11f0fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readScheduleFireContext (cyclomatic 17, cognitive 11): readScheduleFireContext has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/trigger.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"037a01ad63a40f8c7a41ddeb3e380885c8fbbdec3e0d37c215436a799c35c47c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isCodeWorkspaceSelection (cyclomatic 17, cognitive 11): isCodeWorkspaceSelection has cyclomatic complexity 17 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"494beb04f77b1d586f5069987a5b4a1b5e19f97dcf9d014b580507ce6c882c0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BotManagers (cyclomatic 17, cognitive 10): BotManagers has cyclomatic complexity 17 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/BotManagers.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af3d344345eaaafc5cac9f36e2eaa92a60f7034faee23e30fa8d9122725442f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readExecutionJob (cyclomatic 17, cognitive 9): readExecutionJob has cyclomatic complexity 17 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"caff02f2657953610db18df0f8427d47befc818b5ec551067b6c187e46034fc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 17, cognitive 9): (anonymous) has cyclomatic complexity 17 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"2382878f3d0be22d59e798b23f1689bba30199e67f194ab7d5a1cd84e78c70fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markdownReport (cyclomatic 16, cognitive 40): markdownReport has cyclomatic complexity 16 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/activity-labels/report.mts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"972bc8302b92602c9ed6f17d7d3b9e642997565cd983c8ad94eb04eb0fab73c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadMCPTools (cyclomatic 16, cognitive 37): loadMCPTools has cyclomatic complexity 16 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00c549ab4e0b1802dace8e31ff90e594de6b69144eb17d4561fcc077323847d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverConnectedAgents (cyclomatic 16, cognitive 34): discoverConnectedAgents has cyclomatic complexity 16 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee044b65066155ee8d18528f38c2f301fad492bc6fb9c8c64998d2de3a3caa66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 33): (anonymous) has cyclomatic complexity 16 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":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"adeaccbb4797d146c3f798de6b1b16fd31add8a00f5d11520e9218e831c00afb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSelectedRawStoredMessageFileIds (cyclomatic 16, cognitive 31): getSelectedRawStoredMessageFileIds has cyclomatic complexity 16 and cognitive complexity 31; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2453}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d01fb3b4e5677dd8237faac810ef796d60802999b75c2f6087f5c074a48b36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function convertInputToMessages (cyclomatic 16, cognitive 30): convertInputToMessages has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"12629ac1c2a7069b06de13a2afd0ed5d44d02329251f622b7e2fcac1f43ecdb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectModelBoundHistoricalFileIdState (cyclomatic 16, cognitive 30): collectModelBoundHistoricalFileIdState has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"feffc0cf7530ce8a9907cf9f5ba0aa789ba91a26477a081a9ff14be15f919bd3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPrivateTextInspectionTokens (cyclomatic 16, cognitive 30): getPrivateTextInspectionTokens has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3caa4ac26a1e541e739dfa2cf043edf8db1a171ff865b52113d1f4cf74ed7e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function walk (cyclomatic 16, cognitive 30): walk has cyclomatic complexity 16 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/object-traverse.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"da62df2a4ee69d0d806818da543ef28a8c51025ef33673bc12148508c3fb1c5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attributeIssue (cyclomatic 16, cognitive 29): attributeIssue has cyclomatic complexity 16 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"c98c6371030444334e794ac7e11a1fdc27fd40c912e7bfad4cf3288b7941f994"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withSkillUploadIntent (cyclomatic 16, cognitive 28): withSkillUploadIntent has cyclomatic complexity 16 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/intent.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbaf62d2e599e6b4c1efb639ff62094896d06603eb976b07c940c038ef9b21f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importClaudeConvo (cyclomatic 16, cognitive 27): importClaudeConvo has cyclomatic complexity 16 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc766c7a260329a02ef26b4eed656eab67338921097299ab73a71d5dcf85933"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupTimestampedStorage (cyclomatic 16, cognitive 26): cleanupTimestampedStorage has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/timestamps.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a657659444656da1183fffcad1cc60abbafb7102d8c67c9b81840c7aef3c83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encryptConfigSecretFields (cyclomatic 16, cognitive 26): encryptConfigSecretFields has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1645}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb98f0003cd8ac596b2b1213b034acd81c458769c327fcf968930706ae74d0e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderDigest (cyclomatic 16, cognitive 26): renderDigest has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c5a1e45272841d1e0ede0bc3be47fe38d60b651cdb5bd32755fc6b3f596c49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScopedTurnAttachments (cyclomatic 16, cognitive 26): resolveScopedTurnAttachments has cyclomatic complexity 16 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/delivery.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a46389dc090657b9360ce069e12067dc9659ada511f18ce8f1851b5f9e7c42bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 24): (anonymous) has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"69059fa074bdcdc096f80fdb07e091724bf32dcbf9ba401a5d6e89a4e9a60934"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteGroupHandler (cyclomatic 16, cognitive 24): deleteGroupHandler has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"006a425c5b424884b25918fb6bed93b78209bd8a80dcb8b644db27964778ae6a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncLangfusePromptCatalog (cyclomatic 16, cognitive 24): syncLangfusePromptCatalog has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/promptCatalogSync.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"6708ab269f61f171e458e7b8d4884cf7c8071793093f3563d69cc10d8ea01cd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processDurableReplacementReceipts (cyclomatic 16, cognitive 24): processDurableReplacementReceipts has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11b5c29210e6049d322519b153f2e4aaafebe47bf90da172d1ca16875bb1d0e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReachableCodeWorkspaceInheritance (cyclomatic 16, cognitive 24): resolveReachableCodeWorkspaceInheritance has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/routing.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b84a939764d8cf6358d126df3d7c04db7a0433042bf42fe9db7109f24bef1a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeUIResourceContent (cyclomatic 16, cognitive 24): sanitizeUIResourceContent has cyclomatic complexity 16 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c6c6bb8d273cdcc7c8c8ee3ba88b883174615d1fe56a96fe23814f2b81edf02"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMessagesForConversation (cyclomatic 16, cognitive 23): getMessagesForConversation has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1478}}}],"partialFingerprints":{"codehealthFindingId/v1":"409b8c0e06ebcc48405dea2b761a46cfde4225670ea979242bbcdf032bf94a76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDisplayType (cyclomatic 16, cognitive 23): getDisplayType has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/FilePreviewDialog.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e82ff639a9dc2fd6874b7b27d239a4227df99f8591b78cc3a5f737c63d81e158"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSubmit (cyclomatic 16, cognitive 23): onSubmit has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"37430a478734becca7cd73902ec864fe72b805f662941a5a863d2477e3e93b2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResponsesApiRouting (cyclomatic 16, cognitive 23): getResponsesApiRouting has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/responses.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5ef3895bde9fbb69e9fc033077c58b70ba808cbf871d0eb5639ea35e6bdac4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncSkillFiles (cyclomatic 16, cognitive 23): syncSkillFiles has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1438}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c90c3c6e1c178db475b1496f6d9659a503148b210dcb81e9b153941bc3cfda5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasTerminalOutcome (cyclomatic 16, cognitive 23): hasTerminalOutcome has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/outcome.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be576d2aa91cfbf1978ca407fda1e5d0c402a1712948b334d5c026a784b0cb5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function historicalActorReferences (cyclomatic 16, cognitive 23): historicalActorReferences has cyclomatic complexity 16 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/checkpoints/pruning.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83b3ca8b9beebf797c850dae8eec5f8bf5cd61fdfc561db2eda217287585b14"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"729b8197c670d97c5753f5848865ef2016e1a3f089013c2392bba3879bf9812b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encryptConfigSecrets (cyclomatic 16, cognitive 22): encryptConfigSecrets has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4711ad219156937117f31a4e94d4c42ca5dddd2aff66f6ab6c17acda7d6dcc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function afterPause (cyclomatic 16, cognitive 22): afterPause has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"c669070895b760df3eb72312b44d8096c6a94d379c229a436ccd37c4e4986898"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/retrieve.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f96fd65d7a2e361a14579fca99aa4e66cb0eb9b570354b3362ad982de360ca4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOboToken (cyclomatic 16, cognitive 22): resolveOboToken has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef7a8156a73df656d5aba56a88d0959bf665a704d0f5616300dee3c96139d01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 22): (anonymous) has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/run.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"1473995ee3dee74db464b8066fe39a5edf3d21b036c450515ad1165456984bb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAnchorSeries (cyclomatic 16, cognitive 22): collectAnchorSeries has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6b9bdd6c949e7633e576f6cec3cf048223359282310b613a026696b18368d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterMCPServerOverrides (cyclomatic 16, cognitive 22): filterMCPServerOverrides has cyclomatic complexity 16 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1617}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b10b17859af769cb9b7a724de24cb52d15c72906c72e037e9e4dd8208ff17e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 21): (anonymous) has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1041}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7b00140d5ad09599a5a93aedc579a46677c33c3bfec04be081274e4bcd5b45f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasPrivateEmbeddedIPv4 (cyclomatic 16, cognitive 21): hasPrivateEmbeddedIPv4 has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ip.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88adea51e058209b8f822290ed375ec7bda9e3f9867bc762a5834e5cc1f8b29"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldDeferMCPOAuthSignIn (cyclomatic 16, cognitive 21): shouldDeferMCPOAuthSignIn has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/defer.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a617b0679856fc1ab9883f4f34e345c5ddbe3e7c3bfbd2fa2720835cab8cb0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deepEqual (cyclomatic 16, cognitive 21): deepEqual has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"732a977ec01fd502269b78e1d2e766896314abf0c88f61bd8c249864dcc75714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeJob (cyclomatic 16, cognitive 21): completeJob has cyclomatic complexity 16 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4620}}}],"partialFingerprints":{"codehealthFindingId/v1":"c256c602c7f12a7599b248bb44a76b9267b4ece608d9516b59cf4a78426c13e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 20): (anonymous) has cyclomatic complexity 16 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"482ca48d6161a99f99c1f477ac28c8ce3d760b6b6e42f406a06b287556dabb79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primeFiles (cyclomatic 16, cognitive 20): primeFiles 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7832b7918ad56497482aa2b0d82870ab2371beb90cc2fea74e6f83a297c816"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deferredHitlInvocationResponse (cyclomatic 16, cognitive 20): deferredHitlInvocationResponse 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":"e2e/setup/fake-model.js"},"region":{"startLine":3207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0edcca1530ffe3c0b10cdfbff7264401958904c6eb573b64429b459ba45a89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteWithClaim (cyclomatic 16, cognitive 20): deleteWithClaim 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":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"326193d99d0c6d2d85a22e45debc44f58ad9a9372b8e9c5017d56cd7679cfd6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractKeyFromS3Url (cyclomatic 16, cognitive 20): extractKeyFromS3Url 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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"a464763faa7e96b62e921cabe62a38705a0269c209050cb98a466e37f177c41c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPublishedProvenance (cyclomatic 16, cognitive 20): getPublishedProvenance 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5a43685524e5af19ed73e487b0a0a6e8c970f4aa81fbdaf30425d82af9228f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parkLeftovers (cyclomatic 16, cognitive 20): parkLeftovers 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"0622831e4f9762f4715cf6cde8e7a174641590b1be0c9a7ce8294539027037b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function http (cyclomatic 16, cognitive 20): http 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":"packages/channel-gateway/src/http.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d8be80250947d4c6eb9efc2177e5cda80c128f7078b22adf1ddff25a22500b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitPhaseStamps (cyclomatic 16, cognitive 20): visitPhaseStamps 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":"packages/chat/src/react/stream/receipt.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e179a3c98e99d705ddf7e7391b0000850346e6e27bd5b6e85f6030e86a2d6aa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.js"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e837331774a90d7a95b53ebe182465e487c40eb6a4ea1ef0854fdf82e09045ee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 16, cognitive 19): handle has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"96acd12478db7462446008aeacae467489d00517b44bae09e6e2471a7883923f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 19): (anonymous) has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Actions/Background.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"810f6cc6da6e596fa4840e7ebafecf6a1dcc01cf792bccb957fe5161644ae1cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFiles (cyclomatic 16, cognitive 19): validateFiles has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14ac0c2236104d17144caa696a7c059dbcefd57c297ae67bb2cd6096cc59f18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importOne (cyclomatic 16, cognitive 19): importOne has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c534f2800bcf473c7010d6828c917f6556e8abd83069bec94e83d54a74bdda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isConnected (cyclomatic 16, cognitive 19): isConnected has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3146}}}],"partialFingerprints":{"codehealthFindingId/v1":"74e3cd2dee1d9a9222a384242f3e4c09ce9d407137b7a11d46fa50e76faa7e3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function introducedWithinAllowance (cyclomatic 16, cognitive 19): introducedWithinAllowance has cyclomatic complexity 16 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7654f993bfd46523972f499ed998b408d6c7c3405fa2e5ccc70a03a4f55256"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareEventActorContext (cyclomatic 16, cognitive 18): prepareEventActorContext 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":"api/server/controllers/agents/client.js"},"region":{"startLine":2174}}}],"partialFingerprints":{"codehealthFindingId/v1":"368f86c9f24f89e520987a681d9b303cc92b6405ecff7c6e3553faa730bff74a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startServer (cyclomatic 16, cognitive 18): startServer 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":"api/server/experimental.js"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbbbf29d9f79880e3024e03750b373ef2ed59c8c2535297085359549bdd42636"}},{"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":"api/server/routes/messages.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"679a94eacb63ff6cf92f132024cce7f3146d8875b8649b09f27f0564e05b6f12"}},{"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":"api/server/routes/share.js"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5dbabae9227054c8e9f4642892c7a70f28e26813c89dcd0b8882be93f9da204"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importLibreChatConvo (cyclomatic 16, cognitive 18): importLibreChatConvo 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":"api/server/utils/import/importers.js"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"935f8261bfa1fb24412c0cda62c149b303b11c6d26a09714de0f5f979c54536e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onInput (cyclomatic 16, cognitive 18): onInput 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":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"234e3c66fca96f48c45abbcc5e7793f7f9883d92328740912f431ed0ffadfb33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toggleConfig (cyclomatic 16, cognitive 18): toggleConfig 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":"packages/api/src/admin/config.ts"},"region":{"startLine":5009}}}],"partialFingerprints":{"codehealthFindingId/v1":"152cd50c213c4322e5115d704b18aa51eb450805327a54253b160d7146db500c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGroupMembersHandler (cyclomatic 16, cognitive 18): getGroupMembersHandler 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":"packages/api/src/admin/groups.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7ec5fe9afc084fbe473e6cb22a9efb7de2326441a9c7b37cd7f2aaec076560"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareStructuredTokenSpend (cyclomatic 16, cognitive 18): prepareStructuredTokenSpend 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":"packages/api/src/agents/transactions.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"827cf9b119f2e40427c47635705f8ee695616b4905b0c8ae11eb2fcf25f83162"}},{"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":"packages/api/src/channels/runs.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3562262ccdd40d455f2914761f89836a9bbee64d1435ecf26eeed9ae143eaf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readStdioServer (cyclomatic 16, cognitive 18): readStdioServer 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":"packages/api/src/plugins/mcp.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"2184d467661731508610414e2e9fa689123ac960e82517441c1a6c6074d193a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChildMessage (cyclomatic 16, cognitive 18): ChildMessage 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":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c1ae3f4c2c9215dacbdab09a5e2c272ee6f5da8c8fca813a35324d84b490c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseBackgroundTaskOutput (cyclomatic 16, cognitive 18): parseBackgroundTaskOutput 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":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb9a3d1f2c4b387c686b79662f8d468a5b0680d7f44618bbfba7bb2741466e7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authorizeTerminalTeardown (cyclomatic 16, cognitive 18): authorizeTerminalTeardown 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":"packages/chat/src/core/resumable/terminal.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc09ecd2707a82a41e226d29b50c66fe4bed73e6249c21aeb9596826f4a17ea2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function measure (cyclomatic 16, cognitive 18): measure 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":"packages/client/src/theme/themes/clickui.spec.ts"},"region":{"startLine":1775}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0bbd58c0e0f8142ac193925a7f6eafb2d37b4132e860aeb9c6928929777706"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateChatProject (cyclomatic 16, cognitive 18): updateChatProject 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":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"babc9b9b4dfa5c4fb40566eaabac333e775612b3f101d7deca6f93ae29300833"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateConvoAccess (cyclomatic 16, cognitive 17): validateConvoAccess 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":"api/server/middleware/validate/convoAccess.js"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"184dc3991afb3e41eb031a5030f7bd25745d0ed5f8b5cb35f548d5719687234e"}},{"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":"api/server/routes/memories.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f42303c26ff087d0cd316d2af9ff22bbf1d6a09a20c1cb7976336581675182b"}},{"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":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"387b5e068af7fc04334df6182afac6fd7c830d3770c8475cd35ec053377a337f"}},{"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":"config/migrate-shared-link-permissions.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"499f6999c9f9cbf9f435a3d73c55053abfba92efe5e817bd5ccbf79112345d60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadModels (cyclomatic 16, cognitive 17): loadModels 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":"packages/api/src/admin/catalog.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"e147d09393e2a079d9a6372861eeae48a38a55553fabe6113d7ede3d8d570649"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finish (cyclomatic 16, cognitive 17): finish 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d0183e4aee763b1bede40263fccebfcffdda46be2f4cb44d51c1e944224cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function promoteDrainedSteers (cyclomatic 16, cognitive 17): promoteDrainedSteers 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":"packages/api/src/agents/steering/promotion.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1af606fa805f3555d80d6c206de7d7e50daa2c62bbbdd28fdf6438360a1dcdf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireEventChildGenerationLease (cyclomatic 16, cognitive 17): acquireEventChildGenerationLease 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":"packages/api/src/agents/triggers/lease.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c11fe4a0110701694b26eb7a053b5ee42a2e7b69f080616898fe94d053850c"}},{"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":"packages/api/src/channels/service.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6625890a6160236829e6a0d2b526c6ab87c6c17780d45dbedb9ce84018382cf"}},{"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":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea649099201c7dbecbbeb37b64fb4b26230ea47df795a15df9a572d83942f80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function grantPermission (cyclomatic 16, cognitive 17): grantPermission 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":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe44e5ef76d1365db143b41ab20cb9ebd67f1026da8978ec0084cea5aa061bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deadLetterAgentTriggerDelivery (cyclomatic 16, cognitive 17): deadLetterAgentTriggerDelivery 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4475}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc781d33db5358880122e02f6c0a3b83b7b7786b56b031ccffa2f7847e248ab1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function abortMessage (cyclomatic 16, cognitive 16): abortMessage 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":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc11b0a73e56008f0f5863c4a6456ac9c7197c394ab6f57d52e40f3d3b08016"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasOpenIdAdminRole (cyclomatic 16, cognitive 16): hasOpenIdAdminRole 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":"api/strategies/openidStrategy.js"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a8efce7cc1f100df3c11545a7168bf643bbf1e0fe16f4fc74b02c80af0b51a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TokenUsageIndicator (cyclomatic 16, cognitive 16): TokenUsageIndicator 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":"client/src/components/Chat/Input/TokenUsage/index.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"605933437b72cf3951d983e9325ff125ab9588f43e810f84f39c1474706c1bae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContextError (cyclomatic 16, cognitive 16): ContextError 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":"client/src/components/Messages/Content/Error/ContextError.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"e384a0d6d0be59a041ce73b3acdef27c97cb2ea114942f90ea45f9b40afdd306"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadConversationMessages (cyclomatic 16, cognitive 16): loadConversationMessages 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":"client/src/data-provider/Messages/queries.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fb2a1b41f895a57d1327a0f639dea02dd5b1c0c01bb2381818f315e398b0e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Artifacts/useArtifacts.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"36576d058a11d2a50daf983760f701cc9154c114174e4cb0b66753595e6be8a7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7fcdf0e95cc112f2af9056922bc93780184242498588bddfdebee79c62eaeb0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPresetTitle (cyclomatic 16, cognitive 16): getPresetTitle 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":"client/src/utils/presets.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed7370dc897454a0958345da345d707439a0a51baf34001e14f3fc0277d6a7cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3567}}}],"partialFingerprints":{"codehealthFindingId/v1":"79161e13102b13b3357cd84d7e3b9d2fc246f8b746cbcbe8a8820453b72b8ff1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function execute (cyclomatic 16, cognitive 16): execute 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":"packages/api/src/app/postgres.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23803d7b80762e2147dd315a8f1759267e216a6ca6cb0e5de0721e24250928f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerPasskeyVerify (cyclomatic 16, cognitive 16): registerPasskeyVerify 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":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"6229eb95e52ca8b32761b0df8ff7777779e10e01a7028b9b2fa56fe3b52b4542"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getManagedUserConnection (cyclomatic 16, cognitive 16): getManagedUserConnection 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":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae239bc8771b9b87597d48b2af266c9fc4cb3317441dda1e8cf1a1cb9a7a90da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function guardMCPStreamableHTTPResponse (cyclomatic 16, cognitive 16): guardMCPStreamableHTTPResponse 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff10a1409c4f4c59bb9a55874e124a22114395b3a85983fab18e010e950f1fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 16, cognitive 16): publish 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2739}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23bad9f7c9109e351730d3fff0e0f21e1094ae12ef80ae35614feb59f323a89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommandOutput (cyclomatic 16, cognitive 16): parseCommandOutput 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":"packages/chat/src/core/parts/command.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ea9a58c7f8609754ecfe8ab3a20eb21763956f954fbfa6d792f50c7cbd1e00b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 16): (anonymous) has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0fbf2213f2fed5beb0fc97e2036a61841314582824fc3a77ea68f542a3fd56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retireAgentTriggerDelivery (cyclomatic 16, cognitive 16): retireAgentTriggerDelivery 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2223}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9b0a0d7131794d2093ef2e95d3f0f48fb5ca402a5dee4dbb844502cd305605"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PhaseLabel (cyclomatic 16, cognitive 15): PhaseLabel 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":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"2244c24e1b9e8b06d15d0e38dd61153b9193606971d673e88989ed774809765c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NodeRow (cyclomatic 16, cognitive 15): NodeRow 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":"client/src/components/Chat/Messages/Content/SubagentProgress.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc966fe8da753423fed5cf211b433b94e1b9b14e7ad5b908e1c49554475b27e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":719}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb01247a2b2767edbb2fd8467d904265871e0b621da8732063b3614a81c44e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicTextarea (cyclomatic 16, cognitive 15): DynamicTextarea 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":"client/src/components/SidePanel/Parameters/DynamicTextarea.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4265f4cfb585d277444bcacaafe7f1ba749f31d44ba2dbb9f7ac1fe478fe2a8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getIssueMessage (cyclomatic 16, cognitive 15): getIssueMessage 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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59834a9c89bb36ed20eae57733fa541bd126f433ff57608246275eacd9a0422"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Config/useSpeechSettingsInit.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2137c509168be9bc655a268a4e69e611a90dbf73c393aa44f6ca44a979bf4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 16, cognitive 15): handle 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":"e2e/setup/fake-rag-server.js"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"203c4fa7a2f316db07b1f0e2b0fe7676c75162fedc8a26e973b395de06ad3315"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBaseEnv (cyclomatic 16, cognitive 15): getBaseEnv 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":"e2e/setup/record.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c8b231901153d59f382bb88a56e831e485a7419b4c3306eb9bcce0fd6c5e45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getHandlerIssues (cyclomatic 16, cognitive 15): getHandlerIssues 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":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"6453668b7b80b826a5175a369e5ac080799c0d205c999220457e56ec36e7bad8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toQueuedTurnReceipt (cyclomatic 16, cognitive 15): toQueuedTurnReceipt 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":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"2020c78fda49bf87b8ceae05942bd0b125756e7eb30e69c5caf4e01bf965015d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateReasoningLabelRevision (cyclomatic 16, cognitive 15): generateReasoningLabelRevision 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":"packages/api/src/agents/reasoningLabels/host.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"013e95696f1e89b6d2d82f7332886dc017adbb2ae4916c138af1a8f881d490df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d30a092b6c1093052777f3e4979a92938197bdae8d0eb262cc407b90c19e42f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 16, cognitive 15): create 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":"packages/api/src/agents/responses/background.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39eb4a31e7c8763072ccaa4786e229ffc54ce0ad2e27c3a23a6e5eb92dab073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadAuthConfig (cyclomatic 16, cognitive 15): loadAuthConfig 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":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"96892e5c281cedd14ac1fdefa397596cd806738da25793e858de128a7f5b10a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRecord (cyclomatic 16, cognitive 15): toRecord 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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dece778b8d9acaad31058f1ccfd91a76d953ac912458781241bd4f0d40829d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lookupInput (cyclomatic 16, cognitive 15): lookupInput 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":"packages/api/src/pulls/handler.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc1b0558793f1b1346ff16cf434b0df3add554019880a0230e822cc12ea14eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 15): (anonymous) has cyclomatic complexity 16 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5a9163afcec55d98a93c00e751e1de72bfb670b3fcc5bb8b12e5ac16545756"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function valueFor (cyclomatic 16, cognitive 15): valueFor 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":"packages/data-schemas/misc/documentdb/sweep.documentdb.spec.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aea55104fef1f5e8a74fdad4f91393b42f7e2057ed7fb7bd59e20a7743570ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addChatProjectFile (cyclomatic 16, cognitive 15): addChatProjectFile 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":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5065d2c4105de41d8208af4634151f75a1412e816ded26d9d4eea19fa37cf66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function importSnapshot (cyclomatic 16, cognitive 15): importSnapshot 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":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f685fff61a07166d95968af79ff4124c2fecc58658aaac07cedc9e90804f8e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderRequest (cyclomatic 16, cognitive 15): renderRequest 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":"scripts/quality/comment.mts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a11354fdecf6f57acbc48e0004804e8d03db5e840942cb4754e274df1a82ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processFileUpload (cyclomatic 16, cognitive 14): processFileUpload 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":"api/server/services/Files/process.js"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee1a4d1167d68676b5a19648ccd72e4ca4ff8866295a644030ea6fca08f45cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CustomMenu (cyclomatic 16, cognitive 14): CustomMenu 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":"client/src/components/Chat/Menus/Endpoints/CustomMenu.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f820941f249924fb3bdc2bacb280d3bfa4ad3b29be7122f996f7438b13509e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageIcon (cyclomatic 16, cognitive 14): MessageIcon 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":"client/src/components/Share/MessageIcon.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9672040a83742b1a321df2b1fc132a984ab5686aa082d9364927f0fae4e8f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicCombobox (cyclomatic 16, cognitive 14): DynamicCombobox 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":"client/src/components/SidePanel/Parameters/DynamicCombobox.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3038a40ddbf1c2ee55d8df41ef4e9777c86ae79b5384dad668fda4e3bc07dccf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AdminSettingsDialog (cyclomatic 16, cognitive 14): AdminSettingsDialog 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":"client/src/components/ui/AdminSettingsDialog.tsx"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebf1c8c567ab491d89401a7717ecef9f44f835bacfc0d2e5e878cfbe16da88d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 14): (anonymous) has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":6062}}}],"partialFingerprints":{"codehealthFindingId/v1":"a404d9f473580ed6994152cd323ba256eadc4d4e6bf43cf9c6e6b1fdd4b7a0be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRunStepClosedTiming (cyclomatic 16, cognitive 14): applyRunStepClosedTiming has cyclomatic complexity 16 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"54181976087964814987e49193de6f6fc0d59381018020d8b0b4fc62650b56f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ReadFileCall (cyclomatic 16, cognitive 13): ReadFileCall has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ReadFileCall.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f3e8e6957535010b4d67b3826d3f053b9a9e2d06eee9f20a726ee22d47f832"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RecordContent (cyclomatic 16, cognitive 13): RecordContent has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3762af9b5e6cbc04f1c30512cb0da6ad60e93671c7a5ebb95f0ba8a4f30003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SettingsDialog (cyclomatic 16, cognitive 13): SettingsDialog has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/Dialog.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"406b9c7bb95ea151efd6f4505b254e945bf0f83937165c0680b4419f6c2f5200"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 13): (anonymous) has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSelectMention.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe314b99c5bd46cc7a02183aa4eb2fcd2128220b73567c5f8e6d1a7ace45944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 13): (anonymous) has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/store/families.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad3f374c3aa8a71582705baf877ed87cf35fe02ca7a380812dde907f6356103"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLegacyArtifactProjectionHuman (cyclomatic 16, cognitive 13): isLegacyArtifactProjectionHuman has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14643a14729dc8febf4b54c06966912baae5679270a787538fb238bef7571d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfigChangeWrittenPaths (cyclomatic 16, cognitive 13): getConfigChangeWrittenPaths has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/changes.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2dce0b20599d64812cec1a21043fcba4050c0bfe19d97c076e9d58a92f6443"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotPatch (cyclomatic 16, cognitive 13): snapshotPatch has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelProtocol.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e109bd508edb66a94fef3ff94ee9dd857e83bd835543187c4d5aca358d848223"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alongside (cyclomatic 16, cognitive 13): alongside has cyclomatic complexity 16 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/eslint/design.mjs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef8b5a3a120d9e3acc7afe4ce205def49ffafe66d5bff273aa726f2aae48550"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEventActorContextMeta (cyclomatic 16, cognitive 12): normalizeEventActorContextMeta 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":"api/server/controllers/agents/client.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ee7f6ba91ec2469f3184949b4df9fe2cdcfe4540dee0f01bed0d4191b1961e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPCardActions (cyclomatic 16, cognitive 12): MCPCardActions 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":"client/src/components/SidePanel/MCPBuilder/MCPCardActions.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"10840e48503ae6766bb87f733377ba8d3ba3a17f4eebb778624546d9fa0302b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canRestoreFileSearchUpload (cyclomatic 16, cognitive 12): canRestoreFileSearchUpload 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":"client/src/hooks/Files/search.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"811d21395fa2d02c83268eba3861a5e79dbfbdcecf5a731e7e4a7ec1d267bb4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 12): (anonymous) has cyclomatic complexity 16 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSelectMention.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f23e078fe3e69fe4813bfbb9bb8e753f35c71fb49804298f5c93835f6e7a8f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function detectArtifactTypeFromFile (cyclomatic 16, cognitive 12): detectArtifactTypeFromFile 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":"client/src/utils/artifacts.ts"},"region":{"startLine":1039}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c21790e1b0228a4049f00a60cd7a378504c8acf6e23195360a8374cef1b7887"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ParentSubagentsProvider (cyclomatic 16, cognitive 12): ParentSubagentsProvider 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":"packages/chat/src/react/subagents/parents.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"546aca6941b8ce7171c4e35f5b420b7832712e536a23888fdd0f77df069337ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveOpenAISummarization (cyclomatic 16, cognitive 11): resolveOpenAISummarization has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"3573b28a7c979acbd428cc40e1f423a183321878d0b06747e1757a22f123a57d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function candidateFromMessage (cyclomatic 16, cognitive 11): candidateFromMessage has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb775389fc4b73ed7305cce37174763cbbe800d6a44d9fe02b52e4252e4dde75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeWorkspaceRequirement (cyclomatic 16, cognitive 11): resolveCodeWorkspaceRequirement has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c88f7c4b763f058bf45e98eb1a21e2b3727ac3959bdb6b3110d727a1866d0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 11): (anonymous) has cyclomatic complexity 16 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"d40bd9c431412c2677a477048d06c2f903ed0052fbbf0ab222b212552718515d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 10): (anonymous) has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd70732641308b805f27ebdebdb4896052aa5bc7e81dec26bcdf48a12fc7a166"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canBindLegacyOpenIDSession (cyclomatic 16, cognitive 10): canBindLegacyOpenIDSession has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59e60c56b9e98fa78adfac4f691563ef06cb86043ebfc215859e67aa52d3e01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function actionRun (cyclomatic 16, cognitive 10): actionRun has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"5169b1632dbe06e54e404a7f05a90d354bbefa9022f36f243ab2e63167eecd86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isRetryableOboExchangeError (cyclomatic 16, cognitive 10): isRetryableOboExchangeError has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b047defd3f62c98cd9f39ae8528d697d9abb916c8b7cffde6d4e6b598061bdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 10): (anonymous) has cyclomatic complexity 16 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueuedTurnReveal.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"96011a5ef86a620900c741303b17c0a6ddd15cace13048fd94d959f650d347f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 16, cognitive 9): mutationFn has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b3e7d992a339f78d24a19c70fdae6e35678002712e4e64c01834d0bf79cc1e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function payloadRegistration (cyclomatic 16, cognitive 9): payloadRegistration has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b6b53a1b293fe6583872509aab58b76c4354ca4068b98740afd97fdaf72598"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function payloadRegistration (cyclomatic 16, cognitive 9): payloadRegistration has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c64154ed184d73d8e76c146b0c029066c97bf776492350cf0ff83b431cc466a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSubagentGraphs (cyclomatic 15, cognitive 37): resolveSubagentGraphs has cyclomatic complexity 15 and cognitive complexity 37; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"871937b9f3e6aa6869331256c007c9393f573c16945ec059c4529e9e2b763b17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildToolCallConfig (cyclomatic 15, cognitive 32): buildToolCallConfig has cyclomatic complexity 15 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5482}}}],"partialFingerprints":{"codehealthFindingId/v1":"82bc70a20e1e0326c2456d7c8293f3ed8d14d9d46a17a0d1fb21bc56269f59c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeCredentialFile (cyclomatic 15, cognitive 30): writeCredentialFile has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"e780acbe393426f061131b9254595672c8a44c30fa61e9d2b0be8ce2f4e9d1eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renderSlackDocument (cyclomatic 15, cognitive 30): renderSlackDocument has cyclomatic complexity 15 and cognitive complexity 30; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"683f8be643b1cb61af68c86136cff761289382987ff082001d3c14606276db2f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function directiveComments (cyclomatic 15, cognitive 29): directiveComments has cyclomatic complexity 15 and cognitive complexity 29; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c417cd22b5a268f03ae4ef1b73f8b49800068e28711dd1ef4e66838c3771894"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getThreadData (cyclomatic 15, cognitive 28): getThreadData has cyclomatic complexity 15 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/message.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"31cbd6dac7ad501551b7da01a12eca0f10cbd39a6472def9b2fc18f2b277fa03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseUnifiedDiff (cyclomatic 15, cognitive 27): parseUnifiedDiff has cyclomatic complexity 15 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DiffView.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6cb5383ee239835b70e2181f00b756aac5c7c1de47f0b8d03c1059349ef0a7e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 15, cognitive 25): onSuccess has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":1389}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7a1f3ee6b2cf6072b1588c3fe46350166b014b1920cd2a3d8f1faabca4da01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMemoryArtifact (cyclomatic 15, cognitive 25): handleMemoryArtifact has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/memory.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2e269c215af0668d7b317cd26527a85a14ef8b0099f617a8d3529ea8d887b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function evictOldest (cyclomatic 15, cognitive 25): evictOldest has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac71cfb0b33af505ad237fad24fd10f77966499d9e9f0e2d8be19c6a77c4db3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverTaskContent (cyclomatic 15, cognitive 25): recoverTaskContent has cyclomatic complexity 15 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/recovery.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b884b10c2d77a95ce52b717a67c2f01a88446ad58e91d73d44020c1e4956d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 24): (anonymous) has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"847d8d2c71b00d2d7caf48e29b7acd396425b8aba70acac71f7d85365650d97b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function emitChunk (cyclomatic 15, cognitive 24): emitChunk has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88ccb17432ce37af3fb99735aaf5f9875f4e7fc08cc24bca65e6c46e8375b0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawBlob (cyclomatic 15, cognitive 23): drawBlob has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"def3e7a490a31de051248f5bc3875526dd423b05ab57df85ab9a320e6436e63a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeEditArgs (cyclomatic 15, cognitive 23): normalizeEditArgs has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/edits.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9523cfdcd8e47f28ad205e9ee55dca8455c3a3de521ef62846b7ecf9f64d69c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 23): (anonymous) has cyclomatic complexity 15 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2300}}}],"partialFingerprints":{"codehealthFindingId/v1":"261afeca3a7b42f5d5d457be34c8b5599c2eb9fe0a2f73eb576f17a5c2b3074e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findManualConvoTitleInAllQueries (cyclomatic 15, cognitive 22): findManualConvoTitleInAllQueries 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":"client/src/utils/convos.ts"},"region":{"startLine":1525}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea031e4e57e56af8339d1e233057a513561fbafacd8f2b7351b03aa0bae3aae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function replayRetainedControl (cyclomatic 15, cognitive 22): replayRetainedControl 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":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9615948b1e225416ea0768295afb1468a6f58250b19bc7e7ae1f8ae74502516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discard (cyclomatic 15, cognitive 22): discard 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":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"760543490b4e8e53bec4f9219d420e82e4542af20d02640fb2a10de4d2c7ed3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearExpiredFromCache (cyclomatic 15, cognitive 21): clearExpiredFromCache 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":"api/cache/getLogStores.js"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e14b0996603936416fcef462246b87615370a90c4929cdb68f4d4c37ba1cbea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareRuntimeAgent (cyclomatic 15, cognitive 21): prepareRuntimeAgent 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":"api/server/controllers/agents/client.js"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2179ebfc958cb2aa1163f115469e521146413f088f1889181ad4f9ba3590755"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 21): (anonymous) 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":"client/src/lib/rum/useRum.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"6583b4014422ae14a33ed88b3b6a0a8a7a7ddb5d74d567879578caa1303fefb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInvocation (cyclomatic 15, cognitive 21): resolveInvocation 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":"e2e/setup/fake-model.js"},"region":{"startLine":3534}}}],"partialFingerprints":{"codehealthFindingId/v1":"6576728d43240d45d3c01acd532a7e47e8586dd25ef3b7700a58a610c30f9553"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function primeInvokedSkillsForProfiles (cyclomatic 15, cognitive 21): primeInvokedSkillsForProfiles 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":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":1014}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec9271a5634be386610bc55257fcdca503f3fc659d7d86b0d5eb475fc66aa5c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentScopedSkillIds (cyclomatic 15, cognitive 21): resolveAgentScopedSkillIds 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":"packages/api/src/agents/skills.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d899d90eb36ad469e0764b5d68f2a080c9135a7de695636762d9719e271b6b45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkCredentialDatabase (cyclomatic 15, cognitive 21): checkCredentialDatabase 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":"packages/api/src/app/checks.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6969d4de6bebbbdcea7dc899fdb05d01308af994f5c49ea947a4c01ea2b7ef31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProviderError (cyclomatic 15, cognitive 20): ProviderError 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":"client/src/components/Messages/Content/Error/ProviderError.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fccc0c64b892d2dc7b5a4917b19935132a6be2577e8a78e3697f87e71e7ded"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function activityTreeFromProjection (cyclomatic 15, cognitive 20): activityTreeFromProjection 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":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"04fb5477351d5011a60f1fa57b9be99cb895909ab31b99d52e0694ff4cff7bef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 20): (anonymous) 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":"packages/chat/src/core/content.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"8680dc355984c2e6577cf3e587bab3b8bc325ae57a5247bbb99623b1e86cbfad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverAgentTriggerUserPurges (cyclomatic 15, cognitive 20): recoverAgentTriggerUserPurges 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4878}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a55b62145667c2eb540e4dbfac342a800c900db9742004c1385a0a46e696d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkSessionsAlive (cyclomatic 15, cognitive 19): checkSessionsAlive has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"26f0cdc241de29c7e2566cc71cc8f12202ce0bc20dcf562703e6070ea358b4b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cacheMCPServerTools (cyclomatic 15, cognitive 19): cacheMCPServerTools has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c432af16ed22d2a16e02014d61422ec5f0502d4c5e489c763aa103b6f5d463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 19): (anonymous) has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"922310f26358037c575da8eb66fe17ecd7731c9263a2a29412841bb9343950c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForPausePersistence (cyclomatic 15, cognitive 19): waitForPausePersistence has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"87c69b95563c564f186940b65ac5ef4d87e100a5fc720183562531a7a80b3849"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteConfig (cyclomatic 15, cognitive 19): deleteConfig has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e5ca5b83890314595e3f3484e6b26934b69f1cfb328f40c73da2dc3910f0e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSteplessToolCallFallback (cyclomatic 15, cognitive 19): getSteplessToolCallFallback has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aa7f853ca4b35ff2db79bb6f6c513e07d27d03fa4958d6899332ad0a83ddbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readBackgroundToolResultClaim (cyclomatic 15, cognitive 19): readBackgroundToolResultClaim has cyclomatic complexity 15 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"66cfab58fcec8497da49d2fa171b8899be5e0b6d390fcec3e93459f041fb3ae9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runMemory (cyclomatic 15, cognitive 18): runMemory has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":3610}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc25f97f46487f6ac0c70025c026484463254b12242336cd3fb5bb48201126a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeOpenAIChatCompletion (cyclomatic 15, cognitive 18): executeOpenAIChatCompletion has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e6ca2b3ec9890db8c49586e852672678e6a274ff8b344bcad21ffc14ae9849"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeResponse (cyclomatic 15, cognitive 18): executeResponse has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"171b1b1563b83497504da37e0451460d655152a557524144a047a6733ba4f8cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/oauth.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"9801dfb2fb4ec2e3d36c8c2feac3fc1ea44979e65e7d31b89b119188995828d4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerUser (cyclomatic 15, cognitive 18): registerUser has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a5678eaa64bd85a20962455b3fc401b4bc686fefe709784528515338fc1964"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSpeechToText (cyclomatic 15, cognitive 18): processSpeechToText has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0aa534ef15eea443e45cd015fcf3aa83b2ab72c65d9752b32a38bea0f399ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolCallLine (cyclomatic 15, cognitive 18): toolCallLine has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"9095e97d000d68c8c3869f33d2d84a2ef052aa5c7e421648ac2e398a3d295292"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 15, cognitive 18): observe has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/toolTiming.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ebf4aced5c37c6f8d2ebcb6c2f2b141cd88c370a2f1fc74a432d910ff7d019"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 18): (anonymous) has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24a873143551fbc27efccc21fd4c31c3fbc559580a79ccfbbc184d9bcc9d0b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverStaleTerminalPersistence (cyclomatic 15, cognitive 18): recoverStaleTerminalPersistence has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"33987e0213e2bbd00b39996d1da6af517b9eabd2c937ec12eaf760ab843e36e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function set (cyclomatic 15, cognitive 18): set has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/schemas.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"0202a6e964d131a90f6aee0f808305bf7d077d8b2d384ff43f87c467e9f484cc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processModelSpecs (cyclomatic 15, cognitive 18): processModelSpecs has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/specs.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c17d78e0e52aa50a4de75658de5a42d146d57423763a1131aacd8e57eda627"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visit (cyclomatic 15, cognitive 18): visit has cyclomatic complexity 15 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/readme/lib.mjs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf509c28f9d8158b2de45f1261ef08520d95d17f0e5c6f1adbfcdf9b72cf817"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function performEntraGroupMembershipSync (cyclomatic 15, cognitive 17): performEntraGroupMembershipSync 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":"api/server/services/PermissionService.js"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed86b29cbd1ca50e9e587231150467adc07a8e3e7e48725524e6fd9f0cd04db"}},{"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":"client/src/components/Nav/SettingsTabs/ProviderKeys/utils.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf1aa27de3373250b8998b1c3795a319af9cb96b76fa956d9261a9c13e4f40d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMCPDiscoveryAuthorizationState (cyclomatic 15, cognitive 17): applyMCPDiscoveryAuthorizationState 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":"client/src/hooks/MCP/polling.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dcc4738a8f037d3c99cac9000a1ff994e4baaf4618d80b26f297a9230563bf4"}},{"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":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"462242e813429a3a0035ca67af709f4ab35c9dec286022d64822e5bd3995cac5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function machine (cyclomatic 15, cognitive 17): machine has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/router.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a31f1901dde193fc18f9186abcea24d6ffd3aa9424c1bfc826e91bb5d9b47a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAttachmentCallQueries (cyclomatic 15, cognitive 17): parseAttachmentCallQueries has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/parts.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d72bf84dbd3b7816e71eedf8c36c92b20cbc9e217e741e88f3544fb68e06553"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleFromObservedJob (cyclomatic 15, cognitive 17): settleFromObservedJob has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d6fffed9b1f42816d2acde571c1e7e933a6f57de6d9437fd19187981145e6dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listSubagentTasksForThreads (cyclomatic 15, cognitive 17): listSubagentTasksForThreads has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":3920}}}],"partialFingerprints":{"codehealthFindingId/v1":"afefe7d4e6001120462f9664a9e8800112d7779ac63e0ca70456eaa17a2e7e6d"}},{"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":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":767}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff98f7cdcda3f6322b060de577bc84d12a9bbc49989302c56c55d1d9dd7a881"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readSandboxFile (cyclomatic 15, cognitive 16): readSandboxFile 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dca31465362008d0b588f1bf75e4b296c8f5062cddda75a97d79ecbd09872a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) 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":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6413a0f1ebb4a69d00e42c3a8c6bd475e84ede7921d8cfc9795fdb3718e6478a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreRememberedTarget (cyclomatic 15, cognitive 16): restoreRememberedTarget 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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2010e4d3e8340f318a929bcba474f7c524b11f21cb4e0ab839b602590179a3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateLinkWrite (cyclomatic 15, cognitive 16): validateLinkWrite 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":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0d32269e655eb05b0dc33ebe10c20738291bd13b3ba315b717313a98ee0ef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) 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":"packages/api/src/channels/slackDispatch.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b810db7706481c1fe53f8e2c0f57c3165485df67f2cf4faf0b45236cc5744f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function workspaceAdmissionRetryDelay (cyclomatic 15, cognitive 16): workspaceAdmissionRetryDelay 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":"packages/api/src/code/workspace.ts"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"56625d412656977a594fd0f526b393ec84a2234a06846eece24976c8368c7a84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReasoningParams (cyclomatic 15, cognitive 16): resolveReasoningParams 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":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"4663dafc5860a543507754f45066ae5d9d6b1842a405af463215c1d96a91f98c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIPv6ToBigInt (cyclomatic 15, cognitive 16): parseIPv6ToBigInt 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8d50d3ada97b8b44a462467599046f8a63ae47e0c057519100fb7b3d3189ca1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 16): (anonymous) 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":"packages/api/src/skills/management.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cae77971bf91570d3478c3b76c4a8dd6397450dda3fc8905fd44e5371aee335"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentEventActorReconciliation (cyclomatic 15, cognitive 16): resolveAgentEventActorReconciliation 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1700}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3685668cc9204adb6292efa867dfeb23dee7da2dac89f543337733da1bfbb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retainSubagentControlReceipts (cyclomatic 15, cognitive 16): retainSubagentControlReceipts 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e20235608fdc324d4212704690fbf31aba729dc0dc4e67b3c863aa858074fb2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStrategyFunctions (cyclomatic 15, cognitive 15): getStrategyFunctions 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":"api/server/services/Files/strategies.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92531036d52e4f80ce56b88be970266ca1f9db80f75ca310da9235c968fbdfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ResetPassword (cyclomatic 15, cognitive 15): ResetPassword 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":"client/src/components/Auth/ResetPassword.tsx"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3573ee3587a60647417c9a185183cfcb3a1dded76b9ad6e2d4c2ea8ef217218"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EndpointItem (cyclomatic 15, cognitive 15): EndpointItem 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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c02efa037784fd754aa54e773f146325e721c70a839daf5bba1fa0f5856d33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) 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":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b4479e8374d74b72f64f2fde884fb021847a491fad4af14f5089fcb9210a3f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) 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":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce138c7493eac4fd5a0e26cf67491a62ed4568942c413c0ffdf4f7d98d11096"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findAttachmentRecovery (cyclomatic 15, cognitive 15): findAttachmentRecovery 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":"client/src/components/Messages/Content/Error/attachments.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c373be0718e161dbb5ddb606dc894a322e74ca18393b4ec5a44fa4faf7e669"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toTracePrompt (cyclomatic 15, cognitive 15): toTracePrompt 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":"packages/api/src/langfuse/prompt.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff5f322be5809b988e3e1da0ecc268f073b8e9b7d17fb828e4ecc08b4c0e521"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) 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":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93d2d7e9a9307ff9966a1aeb1895e07eeb7582c481c4d01813e81402f86f9d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcilePause (cyclomatic 15, cognitive 15): reconcilePause 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":2407}}}],"partialFingerprints":{"codehealthFindingId/v1":"568867b84b20e0b9bd766b6f2f0d913f522337df66e0679de192a345bfe723c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) 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":"packages/data-provider/src/parts.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"527479975a96afe20d5576040e54509edab286832554774a9aade1e0bc20a2cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getValueKey (cyclomatic 15, cognitive 15): getValueKey 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":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f80037fa5200e179d463f91e90e5965339aa91e723d2417aae3ca3810befa81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) 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":"scripts/dependencies.test.mjs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f51b1c41cb944224cf5a0c94800fc4ca01e1b20f28af361b1b3096c12cd92c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openIdJwtStrategy.js"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c647ed85509865a6b94b21e3268263f299ee3ec5fae6171856620f8366fd548"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ac1347d833ec11b5c4de162051c56f2e34ca54de9b1151f57c559bd2212b6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatGroupItem (cyclomatic 15, cognitive 14): ChatGroupItem 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":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"e971a0be9c24b64895977543e790541709d62882b5c6bd8483197bf1cf70d01d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adf921b96ca246b0c4a9ec6a88b26320d889b420061f4864ccb8be1a9218601"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ApprovalOption (cyclomatic 15, cognitive 14): ApprovalOption 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":"client/src/components/SidePanel/Agents/ApprovalOption.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b084497d34dd92f847f32b0406b7e4bcf4c5c46ed2eb1e20cafd665be928d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPToolItem (cyclomatic 15, cognitive 14): MCPToolItem 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":"client/src/components/SidePanel/Agents/MCPToolItem.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c628bd78214c2636f7ce940a4d0954943df6115b529a5a3084dd48a84f8c33fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AssistantPanel (cyclomatic 15, cognitive 14): AssistantPanel 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":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d97439f9056fe845e6ffbf4f5ecd6101bb371e9b0ed9fc2797d93471087d058"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBaseE2EEnv (cyclomatic 15, cognitive 14): getBaseE2EEnv 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":"e2e/setup/env.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca934d3ae0004ffed27d1db093dd6d4961fa7d4967f7f3acaabaf947bb612d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-mcp-app-server.mjs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"7435554d8345e9d37e7a66a1eea8c7f8628a67685e8db4d3545d20f28b4fb277"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBackgroundCodeDelivery (cyclomatic 15, cognitive 14): getBackgroundCodeDelivery 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":"packages/api/src/agents/background.ts"},"region":{"startLine":3287}}}],"partialFingerprints":{"codehealthFindingId/v1":"d68a47bd1c298c97d9df4210baac8795210aa75658e0d27367647f9e2ff5a229"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.spec.ts"},"region":{"startLine":3313}}}],"partialFingerprints":{"codehealthFindingId/v1":"d634458f9460a8f3bb965ce21e49d19813ee8212c71ae77e88f061a14b0fb460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 15, cognitive 14): handle 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5689}}}],"partialFingerprints":{"codehealthFindingId/v1":"f777dd1386c086d6669b169884cf9315caf9aa1b6056782981f0b789b054e244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completedRunStepTool (cyclomatic 15, cognitive 14): completedRunStepTool 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d0b50204105c3d49b0e8bd1b09f68ae94dd6f714d1a8260bc80f59a60573905"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9fc29f8c820e987637f4913035d2dcbc00204e461b7c46b1836e69b8cadce3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseStartResult (cyclomatic 15, cognitive 14): parseStartResult 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":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0f69f851443697520c462452ce58a8e3f8813f5b1759160bf727ccf56682b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc2be70d2dcad080c2701be36cde046c6089822e336b4a32425cf36edefc00"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/apiKeys/middleware.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d5c0fa545ba545ef4c3a4e3aa2e36617b39ad0bffe6d6b4969c20de3f75964b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySlackWorkspaceEnvironment (cyclomatic 15, cognitive 14): applySlackWorkspaceEnvironment 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":"packages/api/src/channels/deployment.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff05f11e84963c1ca4cc8b9008c07b1d381bd24a84dbc451af2ac608a2788297"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertWorkspaceRegistered (cyclomatic 15, cognitive 14): assertWorkspaceRegistered 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":"packages/api/src/code/http.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a23a0dad5f7633cb4f37dd886d8d98f8a6ca30edb2ec57bf0058e180efb479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadWebSearchAuth (cyclomatic 15, cognitive 14): loadWebSearchAuth 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":"packages/api/src/web/web.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bec430adf31fe2c748aacd35d52e953a7ddf8d5566581a93182912f6d672c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiMessage (cyclomatic 15, cognitive 14): MultiMessage 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":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f909c81eea8211fa6b681ac95755b82204891d6e712b7e50d89ec2c0f8afd7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/schemas.ts"},"region":{"startLine":1683}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94445ce4d7e270347bd3232af27cb5265a33f44a20a2f322055b80a0998313f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/service.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b6c331bd36ce9251992f9d60f0c04386ecd7385ff6aa9a0e60fa512943ed3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimNonce (cyclomatic 15, cognitive 14): claimNonce 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":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8f320f03bfd56dce3e300ef6132446f96c8b8260da5bd968a515fc6fa5520c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function maintainProject (cyclomatic 15, cognitive 14): maintainProject 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2916}}}],"partialFingerprints":{"codehealthFindingId/v1":"d053cf17576282edc1f95f6585469e12552c55ef073afd4da3ecaeffefdaed85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 14): (anonymous) has cyclomatic complexity 15 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1862}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dc2bd5720a7437072a7b38631f51829dc832fbfe939eb276e8ac61c2c969d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishReview (cyclomatic 15, cognitive 14): publishReview 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":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c131d31877c7224b7bd84d684ce6e644046b8a7dcf4c24bb3a58ee6e5ce55397"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ShareButton (cyclomatic 15, cognitive 13): ShareButton 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":"client/src/components/Conversations/ConvoOptions/ShareButton.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a6559b0b0ca5ba1235b2d1898b24801534af22b3c2b1c5b6d824726617f8cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BuiltinSection (cyclomatic 15, cognitive 13): BuiltinSection 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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/BuiltinSection.tsx"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"360f8a9c91ec8fb7ed9be3eaf6cd7b9c4dfc213c8a500955d35eb819f17b41b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e008d8c70748029b1385f21f52f5d350c525347d899e2292c1d08a5a3c9017"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dd26865231bf8c9dedbf0c676f479ea2a34a24efc2c1c4a6a8c064399fc64c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildEvent (cyclomatic 15, cognitive 13): buildEvent has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/audit.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efe6db7bcfec3cf81b294dc6bdafc7991de2ae23a5fb824af29e0c2a5abefa6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ad07eb554668699280993097ce4dc3de09fb8c2b8d6f0490f5bafe962106e81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/byom.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baea6a976fa931834339cd09244284fac3b40950d0c5af2fb49427cfb432cca"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMarkdown (cyclomatic 15, cognitive 13): handleMarkdown has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a00a88de7911df44aebb2ec9095bb7c55f4178d481bfc77322d6e897c2d1295"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 13): (anonymous) has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"183aed162a2c7e86f1a64d9914a86a1e217a2b37df1bfdfd4bf56858c31c18c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyModelFamilyDefaults (cyclomatic 15, cognitive 13): applyModelFamilyDefaults has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18879bd3caf02b8d1ffa3ca6e7bf7fb043c6ec1764de36a0ec1279b5a14d6a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertReconciliation (cyclomatic 15, cognitive 13): assertReconciliation has cyclomatic complexity 15 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelProtocol.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2d1ad5c257e9f766e4102485dbbfb4061fcf1e9766c858ac1e5daa4678a6d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleExistingUser (cyclomatic 15, cognitive 12): handleExistingUser 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":"api/strategies/process.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b19f5daeb32922f54c58e8223c413ae143f809ef48e7a873a89a0fd7d4ebb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ScheduleCard (cyclomatic 15, cognitive 12): ScheduleCard 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":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c6ce8b90e1b9fc5a436a520318373d2b3d8fa70bed40289db46059a9ec0cc7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInvocation (cyclomatic 15, cognitive 12): resolveInvocation 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":"e2e/setup/fake-model.js"},"region":{"startLine":2684}}}],"partialFingerprints":{"codehealthFindingId/v1":"6101355324cc9c659d1f3b1f3e53abde4e1981b53d82269046a465fc65fe7eb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshot (cyclomatic 15, cognitive 12): snapshot 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":"packages/api/src/agents/responses/accounting.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed53d9f3a3fcc14aa7513c270bb6fed1e7fd611f5fc40bcadbe1f3de7693ef2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createResponseExecutionRuntime (cyclomatic 15, cognitive 12): createResponseExecutionRuntime 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":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d828116feb95e595a54dbd0ce69a201e3311ef2f53001a8f574196902410fcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommon (cyclomatic 15, cognitive 12): parseCommon 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":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812e093977a6464e3d7e68e87670abfe592d375c4615b90e2e542954dfc3236"}},{"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":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"10500f2074ec3566b2c346009c2e119c4c72ec16f46511c3f077cc187a58b4f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markAgentQueuedTurnAdmitted (cyclomatic 15, cognitive 12): markAgentQueuedTurnAdmitted 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":2378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b40ad402053e2e1b3a518e589a1c7771fc2e1e055396f44833d1a1ae8d1e0f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeBlock (cyclomatic 15, cognitive 11): CodeBlock 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":"client/src/components/Messages/Content/CodeBlock.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9d61495c6f0f7d110d30d663fac5080bf820c1580bbcab27919b5c326cd5ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 11): (anonymous) 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":"client/src/components/Plugins/Store/PluginAuthForm.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"562e87d4b1085a960f183c5618ff307e5cf53c35031a2bf0bb5b2fc8faac0a90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleFinishedRun (cyclomatic 15, cognitive 11): settleFinishedRun 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":"packages/chat/src/react/stream/resume/finished.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61e05ddf3703bfd517f5b17e3849479c537f0df87483ea839286d711559e15a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleEditKeyDown (cyclomatic 15, cognitive 10): handleEditKeyDown has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"6253e30127922b91d40d1fdfff3350076243c5ded7406261c21b975307c26254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canUse (cyclomatic 15, cognitive 10): canUse has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/authority.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c59bc8ad83013b82552fdd4dbb709dd734007471b6eedb365e51f97eeb8a13e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 15, cognitive 10): current has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/credentials.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b50e9393bed904da3ec048eb63e10aad3c05525963c48d73a736b34ff18802"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function savePrivateTextMessage (cyclomatic 15, cognitive 10): savePrivateTextMessage has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b687a782b87e2079f0b44940f0fa729f0677a5256ca258c32c6386a96bce35e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromUIPart (cyclomatic 15, cognitive 10): fromUIPart has cyclomatic complexity 15 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e21568e139f98149c830b2bc3e61df9e98b018c1383d24c8a5439dec16fb59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function encoded (cyclomatic 15, cognitive 9): encoded has cyclomatic complexity 15 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/postgres/import.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"dec94341ba38ebbf027340e615ecb6f0be4dc324806509b25819c22921504e13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildTokenConfigMap (cyclomatic 14, cognitive 40): buildTokenConfigMap has cyclomatic complexity 14 and cognitive complexity 40; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/pricing.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"42027e1efa7119fad83506b04b611315fe77764b76bc7505b7792c9c794b0431"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function syncRefreshTokenCookie (cyclomatic 14, cognitive 34): syncRefreshTokenCookie has cyclomatic complexity 14 and cognitive complexity 34; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":811}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e3e484611ff35e5e6f20dae83fe4ab4a695fb757c2085759e9693af1977882"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamScriptedResponseChunks (cyclomatic 14, cognitive 29): streamScriptedResponseChunks has cyclomatic complexity 14 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":"e2e/setup/fake-model.js"},"region":{"startLine":977}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05d70588b57727546b97b0a8ae9909cb383e155c134820a5986b1b3eed0e680"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isOAuthUrlAllowed (cyclomatic 14, cognitive 28): isOAuthUrlAllowed has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56928610aafed2d4a87ced22049dacc80e113a4f06d461729ab91b918acf14a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 28): (anonymous) has cyclomatic complexity 14 and cognitive complexity 28; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c8f634ec3b98e6d362dfa8e2a16abf1b9a84141a2d93438ebf1498faf7cc77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamAudio (cyclomatic 14, cognitive 27): streamAudio has cyclomatic complexity 14 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":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d22c41d0f7173ae1e8866a63321346e1ab7d98cc555f54cdf207d7a176652a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCustomConfigSpeech (cyclomatic 14, cognitive 27): getCustomConfigSpeech has cyclomatic complexity 14 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":"api/server/services/Files/Audio/getCustomConfigSpeech.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee4982934b8706c12eb9bf7c520d8280da9b7c80292c94ecf84397675ace77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findRecordDrops (cyclomatic 14, cognitive 27): findRecordDrops has cyclomatic complexity 14 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"68da2dbe46f2bfeac1ff85cd2e24b374be5f1537ada52f0e02be82be45dd40c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 27): (anonymous) has cyclomatic complexity 14 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f70e3bcda8515b6405830e794b0d87bce92d26a655380abd0ed0cbe100e29f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mayFitJson (cyclomatic 14, cognitive 26): mayFitJson has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf666455ee63fc052cdbb243c2c53e3dc9f778955e128c4fb1a74af5cf740686"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectUserSubmittedPaths (cyclomatic 14, cognitive 26): projectUserSubmittedPaths has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2378dff28e798c2e84a4abd3f5130d5a15cfae6988b3341eada86c7cfc868db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotModelBoundPartObject (cyclomatic 14, cognitive 26): snapshotModelBoundPartObject has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"5006d40c5cb4b0fcb78f3c1e28dbb24366ae9d720f5cdfaf4ac82e591d5409dc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function autoMigrateLegacyLink (cyclomatic 14, cognitive 26): autoMigrateLegacyLink has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/service.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff0e186772008248838b0bf66db2af0b9043fd868d7d2c2d29b50d76d2d420b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectQuotelessAppliedSteerIds (cyclomatic 14, cognitive 26): collectQuotelessAppliedSteerIds has cyclomatic complexity 14 and cognitive complexity 26; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/steer.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"228413881d3b3627873f4b28fc17884c1351b220431bddffb122089364b56e31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function scanArchiveFiles (cyclomatic 14, cognitive 24): scanArchiveFiles has cyclomatic complexity 14 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":"packages/api/src/skills/import.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"111cef0e492c17f661b5f504146d5c03f3b6123f297b765ee72e1872ab949b07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resizeImageBuffer (cyclomatic 14, cognitive 23): resizeImageBuffer has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/images/resize.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"360fd0758795b3be07737f01fc2494f09ce34a683d18a2e1e017f84f33bec8cf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function place (cyclomatic 14, cognitive 23): place has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"64026c693019ffeec977d4720f633de137b06dc27c8a6510e69a1ce715674385"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getBlockedMemoryFields (cyclomatic 14, cognitive 23): getBlockedMemoryFields has cyclomatic complexity 14 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/memory/protection.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f0b389c14b1152b5e5d917cdd69cfafda3c695573cd6e99c6eb2a0b96961e51"}},{"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":"client/src/utils/imageResize.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"1319eaed6e0d60be1ff8f7b356d85f536b0d644e141c05f18f2c8c9f28946b48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getArraySecretInputError (cyclomatic 14, cognitive 22): getArraySecretInputError 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d96f94ad47f47846977f77b64431671ccb2eb15fe50ee3328f73d73603b7299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoveryEvent (cyclomatic 14, cognitive 22): recoveryEvent 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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"40993829d6a72826fbc16d72d5d900636a356bae019b311b7f504634f7c1f416"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processVertexModels (cyclomatic 14, cognitive 22): processVertexModels 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":"packages/data-schemas/src/app/vertex.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"609cef5081d92ea92566f5540ad5e366513122878fcd891cc10d78c7c8084479"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveParents (cyclomatic 14, cognitive 21): resolveParents has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e33b33332d29786eb67fa3353ff2d5299be2196c662ed0bc463e5c585e90c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractJson (cyclomatic 14, cognitive 21): extractJson has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/json.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a080d980c02ac57fb628ab786e1bcf5d89bf7da959758ff54f7f3082884e3ee0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveInvocation (cyclomatic 14, cognitive 21): resolveInvocation has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":2331}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3229eec1dceb835120e75d1fb44a948e1086156442e7e86b96f344c1a341aa2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 21): (anonymous) has cyclomatic complexity 14 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b256343850a22108af58f6b2ccb908a624e46640726ab6c73cb4c8c6ff4788c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSubagentCodeWorkspaceInheritance (cyclomatic 14, cognitive 20): resolveSubagentCodeWorkspaceInheritance 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":"packages/api/src/code/inheritance.ts"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"00422688893ddef81b7b3f50d8830c803ba61cb1edb6066dc82e73e9f7fc61e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProxyExemptions (cyclomatic 14, cognitive 20): getProxyExemptions 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":"packages/api/src/web/agent.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd57d6acd1c8ecfb9090bc4844ba9e788127908e64324288b853a4c1ec1d6639"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function messageToolChars (cyclomatic 14, cognitive 20): messageToolChars 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":"packages/chat/src/core/usage/registry.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4b6e78f607ffeab543583af74674da9b04a86a6236d0f7888d966edb11047f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptedOmissions (cyclomatic 14, cognitive 20): acceptedOmissions 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe55199349372a5d82305a068f7c5e8699de0f2ac9e0dbdbd7de0d4c3d42f0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupSequentialToolCalls (cyclomatic 14, cognitive 19): groupSequentialToolCalls has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/groupToolCalls.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"05854471270b6820e3e71b682c26cf4990bc03413cfbe097d0700c4ed499073d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/update.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"f15a39b8b6f8a4284b9d27283a70cbd131ba2552b512bc5e6e174eaba5b1a7ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failureMessage (cyclomatic 14, cognitive 19): failureMessage has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/lighthouse/process.mts"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c5b30c61a98fa8e7b982450d1aa657d0c6e525a7e817bcac001b1c9352004c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimBackgroundToolResult (cyclomatic 14, cognitive 19): claimBackgroundToolResult has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundClaims.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ff9cdf0d50a7a53fb539c0e7d2fbf8e9f2462fbe3b4b895073a0d72a9ab3f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getReferencedAgentIds (cyclomatic 14, cognitive 19): getReferencedAgentIds has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab7da3f3ae89ad1af5fec7f64e9dafd2de24dce1138ae980d8a160162b1c8c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 19): (anonymous) has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"313471d396617505d3fb656d0c423a384886d6688fcb3d1e30458037139276b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractFileContext (cyclomatic 14, cognitive 19): extractFileContext has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/context.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a20cec1f9b5a551820d80a57a5c585f7a26b6ac3c6c588708e01431eeef2aac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compactContentParts (cyclomatic 14, cognitive 19): compactContentParts has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/content.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f472fd808ddb9060b72403ad7d1faeba66c1f12c648e55540433d3ddea17319"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserve (cyclomatic 14, cognitive 19): reserve has cyclomatic complexity 14 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"9391037a7dc24dd727311af75c519965ee9ebfc3d5ce2a4ece99a1d2faa24468"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeSubagentContent (cyclomatic 14, cognitive 18): finalizeSubagentContent 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":"api/server/controllers/agents/client.js"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8543909c28e881e492975e11c15abdc7e8976baf03c188853be7f19f3b13418b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 14, cognitive 18): resolve 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":"api/server/controllers/agents/client.js"},"region":{"startLine":3199}}}],"partialFingerprints":{"codehealthFindingId/v1":"c69852a35bb948313dd4c6308f802b1634eb8e8926101d3e6a23e61f1cf17d6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 18): (anonymous) has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointPicker.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f7f686f6ddf194e9bb05ebed0ce36e438d09afd97226a4c8649ca0665d6100"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function capture (cyclomatic 14, cognitive 18): capture has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/session.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6216f964122c913d62a5610224dc5a4d9e2c80fcdb1afc062906b71a29bee5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForOpenIDRefreshFlight (cyclomatic 14, cognitive 18): waitForOpenIDRefreshFlight has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0e465fb1614f89a47fb7e1349547dd2c47c1fc0537f0f22869d78a516fc859"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProviderConfig (cyclomatic 14, cognitive 18): getProviderConfig has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/providers.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcb690ba4f5e89604cc7870ecb40098a510c025a48e6269f1763b4f0987f9cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prunedBranchTokens (cyclomatic 14, cognitive 18): prunedBranchTokens has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/usage/branch.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1260805c8e7618dbb740722c782ef0c7435083857c47e2b2e5e361d17e50d64b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bulkSaveMessages (cyclomatic 14, cognitive 18): bulkSaveMessages has cyclomatic complexity 14 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6cba87c376b8ef14cba8367908b0efc59d805034dd3feb225a3b097d6d1b09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countRetainedToolTokens (cyclomatic 14, cognitive 17): countRetainedToolTokens 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":"packages/api/src/agents/client.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"b355ddfb2b1ab06b0a903d6406e6c2dd559b23a1d1ed5b6f8679405b913a79d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getModelStreamFailure (cyclomatic 14, cognitive 17): getModelStreamFailure 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":"packages/api/src/agents/errors.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7ea922ae2f6ef459c3223c1c6ff76934a1359f957b421b9e0216831dc62b3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function content (cyclomatic 14, cognitive 17): content 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":"packages/api/src/channels/artifacts.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e09a8b085a3fe167814169bb96a104a96bd11aa7beee7c0f9ef33089b7ee99a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasAgentBasedFileAccess (cyclomatic 14, cognitive 17): hasAgentBasedFileAccess 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":"packages/api/src/files/access.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a5e38a11b0c2365723379c47d3c63debe1396093345ee3b8afa364d23bb460"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeFileDeletion (cyclomatic 14, cognitive 17): finalizeFileDeletion 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":"packages/api/src/files/finalize.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7caf9340b3e939ccb3ca08c1510b96f6909770b85e09e6cfe715e7dcbeac98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function add (cyclomatic 14, cognitive 17): add 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":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b662a597dd3e4b75cd282c4285dce6a09fcd969dd1861ce1bf777faf76ca178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSkillMarkdown (cyclomatic 14, cognitive 17): parseSkillMarkdown 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":"packages/api/src/skills/parse.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e88082d79b5c42228539cff2995e4f7d3c48a229dd2aece54314f0101f4d97f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 17): (anonymous) has cyclomatic complexity 14 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3852}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ba3b6daa5b9187dd34430e1d9af02bd016f2225a84c8dc856bd6c371920503"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveReasoningSetting (cyclomatic 14, cognitive 17): resolveReasoningSetting 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":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1369}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e6d9853f398a6e4de0d9b9a2b0ea57fc037cec085c796870e85d9dbcf85033"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function uploadAgentAvatarHandler (cyclomatic 14, cognitive 16): uploadAgentAvatarHandler 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":"api/server/controllers/agents/v1.js"},"region":{"startLine":1970}}}],"partialFingerprints":{"codehealthFindingId/v1":"83780e5ae8dffae61e340e42b80700a5a17c2ec1dc44e04d699a865a26b3b892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function navigateToConvo (cyclomatic 14, cognitive 16): navigateToConvo 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":"client/src/hooks/Conversations/useNavigateToConvo.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6615c34f3710f8397079d2b9f350be5baed497d8750664c195541bdd4f44b6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useFileHandlingCore (cyclomatic 14, cognitive 16): useFileHandlingCore 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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"5751a4a329d0d99ee3dffee525c1fc70d73fcfeeda5155834d6158e56f994383"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 14, cognitive 16): handle 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1626}}}],"partialFingerprints":{"codehealthFindingId/v1":"8890a99918f1dd08ebb708d7df3c97900d246d65960d6301c25a06e7cba59c7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebbc802d6262eda28509d042d9dff0442d86ac9ed869ccca8aff189f60e7ee2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validation.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"8beb538cb7dd36f4ab6901a516b66ffeb54434fc9895c5c9b21a0c3c3ac59d81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hiddenCustomEndpoints (cyclomatic 14, cognitive 16): hiddenCustomEndpoints 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":"packages/api/src/app/service.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"9009e19642ab7b5e05c6f3b4a19bf878eaf4fd96ff8108895faf6c1fde7e3f57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 14, cognitive 16): list 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":"packages/api/src/channels/artifacts.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"49701a3afdb5aca1fe682491167f4713388cf522d8a8e0ec3cb972d9763a06e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function approve (cyclomatic 14, cognitive 16): approve 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":"packages/api/src/code/setup/service.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9d67d4abdbfae001d0873b1e5c9ec5129cd47a149ec800449a144d8a26cf79d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCachedAppServerConfig (cyclomatic 14, cognitive 16): resolveCachedAppServerConfig 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":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8886883c478cfdf6fde3be89bcaf3a7fd24250e32e3c0ba829885151e69f1d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a52eaad7fea31fb3973aa954eee6c3da65e571cfb57eda7d143502bd1aa56e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureSubscriptionFrontier (cyclomatic 14, cognitive 16): captureSubscriptionFrontier 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":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"75456b1da6a1a0812507997cbc693db73ecd2bb566db53eba928b5f556738f83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 16): (anonymous) has cyclomatic complexity 14 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c371a129be224d73954003b288963efa338ac781bff7e2ee019f62be4f91e9f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/LogContent.tsx"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f6b7e1fc7dea34901ad7d4364a74aa7286428a854cdd630dc1dedb83dad0f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPServerStatusIcon (cyclomatic 14, cognitive 15): MCPServerStatusIcon 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":"client/src/components/MCP/MCPServerStatusIcon.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d23cb425e5892ddc5b23213c4584f0094b69c24500282982680a12c6debad60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function NavToggle (cyclomatic 14, cognitive 15): NavToggle 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":"client/src/components/Nav/NavToggle.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc20d7f1c6ba48ec2c88ffde478f91d4e36884690cf6c005e62592d12f6a9c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":1042}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a7b37251aa2e17ce8c6874856137007d9d727fe579f57610e85bb79d599bbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 15): (anonymous) has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"134add1a01aa09e83cd774d7772c06bf4c161450e53c44596b524fadb93e7c1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectTypeSpecifiers (cyclomatic 14, cognitive 15): collectTypeSpecifiers 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":"config/circular-deps.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea6b7da7f3ea24acc43abe6e774d7a746134c063598dc6f6bd608160e22cc355"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSandboxImageRead (cyclomatic 14, cognitive 15): handleSandboxImageRead has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2111}}}],"partialFingerprints":{"codehealthFindingId/v1":"726bb0bfc3eeed0fcd460f5a87853e346fab5fefbab01619e3009d1fe019b9db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRetainedAnswers (cyclomatic 14, cognitive 15): applyRetainedAnswers has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ce99c4ae2618023a5928441b747e69b9602a5f255ce055b7d3864c62c2ffea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScoreDestinations (cyclomatic 14, cognitive 15): getScoreDestinations has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/destinations.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"dabc28dd72caf2e760d1804c5c16f4b0ccc4ce5a5f91117233c8c17ed73e4fe6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRequestReasoningOverride (cyclomatic 14, cognitive 15): applyRequestReasoningOverride has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/modelSpecs/reasoningOverride.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"12369aac40c196b53af3cfb28aaaf853fdcca1eb9db8154f76e548ab1dab7d73"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertSharedFileMetadataAllowed (cyclomatic 14, cognitive 15): assertSharedFileMetadataAllowed has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca9ae0e5e2279aa6cdf42fd8cb9b164b0447724cf8243d5a2048238e3f6789d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stampForcedRetention (cyclomatic 14, cognitive 15): stampForcedRetention has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"b084134c3311ec6aeb65973dee2b220a1cc93a291cd1c76626045b95d698db89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stableStringify (cyclomatic 14, cognitive 15): stableStringify has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6180b87981c3e75963ee9d6abf28fc6131d95c7fc38577cff27051e78b939e86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function streamSubagentContentBatches (cyclomatic 14, cognitive 15): streamSubagentContentBatches has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/subagentContent.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a001c2ae1997c836f0cf3cd2f73ece34d49c7d6c94fb9dca040317ab0b1e93cd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMultiplier (cyclomatic 14, cognitive 15): getMultiplier has cyclomatic complexity 14 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40c5fcec4088f532a20630d2a2e3a5c174847743950d9dde8504177abaf4347"}},{"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":"api/server/middleware/accessResources/canAccessAgentFromBody.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a36c43859314ffd0d57923d98892d6c37e6c26620dfb2f6f1ddc6c68d767f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addTitle (cyclomatic 14, cognitive 14): addTitle 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":"api/server/services/Endpoints/assistants/title.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f90eabe8172403b0f7b175cbc4a436aeca81e5743506131c21795ce1753b96"}},{"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":"client/src/components/SidePanel/Builder/ActionsInput.tsx"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ed3768d236cc7ef02aaaf7de7835f73145aa7f8d5498c64f6cf6c416bdbf3b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryCreateDialog (cyclomatic 14, cognitive 14): MemoryCreateDialog 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":"client/src/components/SidePanel/Memories/MemoryCreateDialog.tsx"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d809ee2f2a7729e1e5fc21a25eae99aae86ca08c901dc64e63b14fc7816d9d0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEnvStatus (cyclomatic 14, cognitive 14): getEnvStatus 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":"packages/api/src/admin/catalog.ts"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a21323c0e85fc2ba7dea482bf300ccc94cfab1dfcf66a99161218d7336adf1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateStatefulCodeEnvironment (cyclomatic 14, cognitive 14): validateStatefulCodeEnvironment 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":"packages/api/src/agents/workspace.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d13bbca00d78bfc41c4b2079b99dd25504676865396065f7ba4f20efab932cc"}},{"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":"packages/api/src/auth/share.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4db07da06bd11c4843b25cb45b85b5eca5f179348933df440aa4339d6479132"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remove (cyclomatic 14, cognitive 14): remove 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":"packages/api/src/code/environments.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d78674aa9065931a3f145104441afb6fad41cbe73521178f9730889e930844a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runDeletion (cyclomatic 14, cognitive 14): runDeletion 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":"packages/api/src/files/operations.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f16e4413fbd75f2dfad5121a99d85ca3c44d71418e05ff30cbfcffb56187b39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function run (cyclomatic 14, cognitive 14): run 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":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8ef444bdbda2a114f1af23f8a1b11ac4a1281ee47e4016fa702701f384d44fe"}},{"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":"packages/api/src/pulls/handler.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"de99a75dcc1840634f476d57011876732ce74e1cabd110c454ef9857301fcb01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function abortScheduledJob (cyclomatic 14, cognitive 14): abortScheduledJob 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7532a252821c93829ac0bf04d3a6c7b3b5b591c9871c46128b6b89f7ddf4c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishTimedOutPausePersistence (cyclomatic 14, cognitive 14): finishTimedOutPausePersistence 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1bed9569e623d9aadbd21d3dcd8eb3d326945bac25eefa0d82bedc2412cf8c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function leaseParkedSteer (cyclomatic 14, cognitive 14): leaseParkedSteer 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2774}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4137c438b6783e886adbf5fef4c58e6fefdadd7f21ea38f41ac415f06c4973"}},{"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":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"087670e7c31d9334f21d3c37a0c06afbc4b518bf81705bc7dbb54874a1cc4795"}},{"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":"packages/client/src/components/OGDialogTemplate.tsx"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8555bd048e098d2eb6edacd759b531bb23a9db20bb9c80c1b12e5c66ae119c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleAgentEventActorDetachedAction (cyclomatic 14, cognitive 14): settleAgentEventActorDetachedAction 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a468ac9c5e7c97c68f1d23ff0a734f9a62612c5e73365af66b6d66f70a51952e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectMemberIdsFromGroupUpdate (cyclomatic 14, cognitive 14): collectMemberIdsFromGroupUpdate 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":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f060448d60d9bd587015aa1529a6cd33eb31876d60cad3660f1cfa011973a38b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function graphTokenController (cyclomatic 14, cognitive 13): graphTokenController 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":"api/server/controllers/AuthController.js"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c9fe883d389e197e6f1b45d234a81841b819309281d0db1c7fb9df0eefc3e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistRePauseProgress (cyclomatic 14, cognitive 13): persistRePauseProgress 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":"api/server/controllers/agents/resume.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c13520a69c877f1e5fc3f92930623078ebbeac8cc9ffbba265f26dcd7cc1d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelUnroutedGeneration (cyclomatic 14, cognitive 13): cancelUnroutedGeneration 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":"api/server/services/Endpoints/agents/subagentThreadStore.js"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3dda3ee76bdd4becdc250810bcd4cac52276498082b4a86799b0ec2deda74c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processFileURL (cyclomatic 14, cognitive 13): processFileURL 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":"api/server/services/Files/process.js"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13c392bc4510905f565da3f5f18cfd4a94ec4941a3ea7bff81088d8228d0b69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createToolInstance (cyclomatic 14, cognitive 13): createToolInstance 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":"api/server/services/MCP.js"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"0444209586febc08d31f772898c644cd7580d2a5122aa117df97b712ba19a8bb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forkConversation (cyclomatic 14, cognitive 13): forkConversation 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":"api/server/utils/import/fork.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b1810e1e445502eb50b190d9c7419891e39e1b8d3d2d46dc91308599b36964"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function LoginForm (cyclomatic 14, cognitive 13): LoginForm 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":"client/src/components/Auth/LoginForm.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ade99f85b2dfd11254fa52814b3fe5616bd423a7f92f58b731375db871c4357"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentRecord (cyclomatic 14, cognitive 13): presentRecord 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":"client/src/components/Chat/Trace/present.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"23855d5341ac30243458dee783e8915686b9657939002cff022cdb37ef78ea37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/RunCode.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c4528429da25600dc5c7674971b86c0c80c1c5829e2929878d122958e3d33e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/hooks.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a41d9082a10486b730234670159faf2b9e5620b16491d13450718d268b59d84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentParameterSettings (cyclomatic 14, cognitive 13): resolveAgentParameterSettings 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":"client/src/components/SidePanel/Agents/parameters.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a32b8d7073e2bb219d8a8e817befa598b8a8426dec72d40bfa88fbecd7fbbe91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MemoryPanel (cyclomatic 14, cognitive 13): MemoryPanel 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":"client/src/components/SidePanel/Memories/MemoryPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd0f6563a27af1461f994b59763096e852e192b18473f2785b131125f5450b01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"be90466c2b9ab761a21c92ee2179494a3a13d3f3096212ee2155baed4f052765"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/cleanupPreset.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a641acc25fd8d8fb4d22fa6851e65722c0754f0993b9a483ef1fb874dddcc827"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmTerminalIdentity (cyclomatic 14, cognitive 13): confirmTerminalIdentity has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6611aa9c7971cbf4eb5e4be8a12e8cf6e61f0bd432455bf32960379ac3de1238"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function preflightAssistantRunContent (cyclomatic 14, cognitive 13): preflightAssistantRunContent has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/protection.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f4fe0d9452d98970c66fc70c6424da1ed85cb30e665b91d1e54e2aa4052af3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readAuthorizedAttachedWorkerStatus (cyclomatic 14, cognitive 13): readAuthorizedAttachedWorkerStatus has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17a520fb4c530a2ff30161c9b387b817fd8ae9eab2a44b0090126b18996300c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyProviderPart (cyclomatic 14, cognitive 13): classifyProviderPart has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a2c1ce55b48017a20c9e70cd6495c75fe89a778e6f3d271d5829d6e8511271b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitBoundedSubmittedArray (cyclomatic 14, cognitive 13): visitBoundedSubmittedArray has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24cec4b2f97035cf35a7555a94ffe5f4d6f68a976ddcf46485d5b81f37fa4f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotFilterFields (cyclomatic 14, cognitive 13): snapshotFilterFields has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f630ff55e1f845227dab8dc4f6fc3703d647c8832cc5ac1b8384a929c9666a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callback (cyclomatic 14, cognitive 13): callback has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/connect.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0637103ececbd1512fddd37700eddde7cfdf26ee2b447c2ba971d2197754b244"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function appendFooter (cyclomatic 14, cognitive 13): appendFooter has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61b607cbd211ffe7e87aa74ca03efce4b736b60413287ccade99d727fc63f30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Queue (cyclomatic 14, cognitive 13): Queue has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e882d13ef7cbd00ac7098c76e65f41e746c3903e9182285cf7982d63c2e1aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backgroundTaskOutcome (cyclomatic 14, cognitive 13): backgroundTaskOutcome has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/background.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d103799ff8df40c4858ab19f0d78926988e09907800b1d7220c39741ca665e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreSummaryState (cyclomatic 14, cognitive 13): restoreSummaryState has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/resume.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a85492484c2f9f3646adae04f20c01cc2c0447aac02118766db1664dfcccfc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/AnimatedSearchInput.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"87efdfa1f9dee141043a64ee220b97c002bebc4aee50c4106d91da2fb2fb7367"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PixelCard (cyclomatic 14, cognitive 13): PixelCard has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"6281e2badf058208c1adc21e555977feb42e0ca4691dd9fe0008c075d7e40376"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateVertexConfig (cyclomatic 14, cognitive 13): validateVertexConfig has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/vertex.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"68315341fda39d0c6df59f5756803621bc58ac7946795f6379f36fe84de28410"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 13): (anonymous) has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelSummary.spec.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc830b7f9e8cde4b705685555086fc95ad0ecc1e0ac4ccafd7d862d328303a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toActiveRecord (cyclomatic 14, cognitive 13): toActiveRecord has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee5097bbb423f8675d7981529041d60a9c8023e4788d15a01ca8fc6c3e0c5a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateScheduleById (cyclomatic 14, cognitive 13): updateScheduleById has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ed1886b5f9d256ca69a7b257865d6ea252b1581eddea35b771e80f20d08ddd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectBackgroundResult (cyclomatic 14, cognitive 13): projectBackgroundResult has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":2787}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7adc3040a8d4881eae1532d9c992701af48c1ef5a96a4479c8d4426809ce887"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillAgentEventActorReceipt (cyclomatic 14, cognitive 13): backfillAgentEventActorReceipt has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":4198}}}],"partialFingerprints":{"codehealthFindingId/v1":"5404f242c0eb18c07f885cbaa250d713843df1c9f323e0976fae72ba9bbfa336"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function companions (cyclomatic 14, cognitive 13): companions has cyclomatic complexity 14 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/eslint/design.mjs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b913f30be27008ee8cd8369ebf28f355fb81fb3c9fc325073823e76001d7dbe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d659846c01aca12c11fd3802be8b67d41ddc0e317cc4201cb076416782e36773"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"c54d41f538f6e14fdb799766b5d72cadc0b7e0048482bccd0d608a9a82b72c8e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyEmail (cyclomatic 14, cognitive 12): verifyEmail 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":"api/server/services/AuthService.js"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"023b4435387901f93a76df2bc171e50a3ac7c661e3c7a5b1ef3a6b59bf4765d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolEndCallback (cyclomatic 14, cognitive 12): toolEndCallback 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":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e6824d2b371b19b2c742157a7d5bcf2464b7e4f4b73e3bf8679b101a729dc72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3221184d5e580a302fb669b0dada7a1dc27856fc7cbc8f3fd40c851cc1ce64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ConvoLink (cyclomatic 14, cognitive 12): ConvoLink 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":"client/src/components/Conversations/ConvoLink.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b94f1596056a5562611001da43e2b7b271a462f9c9895bc2b111ce72c9424d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AccountSettings (cyclomatic 14, cognitive 12): AccountSettings 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":"client/src/components/Nav/AccountSettings.tsx"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac1fc108dbdaaf0a718c8e2ad6680d17a60281ba5b20f96edbf7dcb73d11d6a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 12): (anonymous) has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useAddedResponse.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed969d4d36e5f0beddb3fd62a7283ac53380934704654baacb0cf532612975fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RootLayout (cyclomatic 14, cognitive 12): RootLayout 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":"client/src/routes/Root.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a6e32d089a59c5ab6358cc27b80bfe1c53a8708570b04aa9425a7edecf71f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAgentToolGrantBinding (cyclomatic 14, cognitive 12): resolveAgentToolGrantBinding has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb32e31a2ad8bb280308dad85ef3209ed2fc2ee625a72f293702293f4ba1aa5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function presentForEditor (cyclomatic 14, cognitive 12): presentForEditor has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"292e32893bf175bc47ae09932aa2ed904dfb2810e8a406f29404d32b301256d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MultiSelect (cyclomatic 14, cognitive 12): MultiSelect has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/MultiSelect.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b289588d551f1f065a6a12519d5f2fa4bf92526a92e2b757122597ba36a1d51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isBalanceRefillDue (cyclomatic 14, cognitive 12): isBalanceRefillDue has cyclomatic complexity 14 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/balance.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c695c9e646dd9f50d37e9720216394695b8d4fceb094336d0ca4cfaade58e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditContentParts (cyclomatic 14, cognitive 11): EditContentParts 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":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a2ec834677d3fc43f35bef3bccaedca9661e61ff591e39a9a6c20e5631a977"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ProjectsView (cyclomatic 14, cognitive 11): ProjectsView 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":"client/src/components/Projects/ProjectsView.tsx"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac4bd3ca00ada2bd603f72f610d1d9436266550d045e28ef6e39d9f940fb99b"}},{"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":"client/src/data-provider/Messages/retention.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"9717debecddeb5140e2cb7018f484cbf93f008bb4d7e65db81f8921e26baff3d"}},{"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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d04968cf8a31a278a8193fb5bcd4a187b9622368891e706ad3eb559c0dea63"}},{"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":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f88cba5f38c78f12dcbca7cd61799d4f13b10cf0dc184bf78a02fd0ea24cd4"}},{"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":"client/src/utils/convos.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f2d6367918f998f49f06b3683ab1b6eabd33c96f29263937bdd23af8ca46c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUnifiedDiff (cyclomatic 14, cognitive 11): createUnifiedDiff 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1769}}}],"partialFingerprints":{"codehealthFindingId/v1":"20934ec9bc120a135a0f5a56782a3d68b04d96a9960b0a50476a453689699920"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refresh (cyclomatic 14, cognitive 11): refresh 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":"packages/api/src/agents/responses/background.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2410969c4cf14fb325ac6690b399acbbe02bee98bfbcf6c718ab516838f957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTarget (cyclomatic 14, cognitive 11): resolveTarget 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":"packages/api/src/endpoints/reasoning.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"971dae4ec39233a9174aea270fd43e65b73279edd786afa9c33768a842580770"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadBranchReasoningOverride (cyclomatic 14, cognitive 11): loadBranchReasoningOverride 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":"packages/api/src/modelSpecs/reasoningOverride.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4d74a1e1a616d6d9e6196b1d2ea665f0c1c6e85abf3bc95d889ab91e630ab6"}},{"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":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a277960452cb9ef792daf51928b5cd9356fce850b1e3022b3a00cba6a9cb79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Registration (cyclomatic 14, cognitive 10): Registration has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/Registration.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2be26fb30ce529c1dc8bc68907355ee71070ebe91ee1897c5e357497e48f81a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb94d20d9fc401920800672dbd9e224ee97770bf4f843b83e329a93b5e909939"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetail (cyclomatic 14, cognitive 10): SkillDetail has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillDetail.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41147bd6735b0b03d60d23f07777ab1b15f98272d7d064565348161ab1e4dd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillForm (cyclomatic 14, cognitive 10): SkillForm has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/forms/SkillForm.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7514c0fdc0abcf48a3ee5fee66e9ef2359bdd3e1627de13f517e777c07f747b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/useAgentUploadTarget.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb764581642febaf0a21516b8a511150d413f890c1a115d171b033e7b6e39b98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function expandChange (cyclomatic 14, cognitive 10): expandChange has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":2274}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ef4aa7c55e7c783128981fa932abe6e632f97596ad7ad53a6dec5055874cbe2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupResponseCheckpoint (cyclomatic 14, cognitive 10): cleanupResponseCheckpoint has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/checkpoint.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"97277e87055c8aed226045acaf228004ad0a41c74125952b3c6e8343b0e21467"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerReply (cyclomatic 14, cognitive 10): registerReply has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/identity.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c9d6b6666d6ffb2f045696a6b3229265a70fa55dc3e487064490478947fbd8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function account (cyclomatic 14, cognitive 10): account has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/policy.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3325e9e7f90bf9a8c6ae538bd53ea2688424e760c29365bfc5463882c2abed3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adoptIdempotencyKeyForJob (cyclomatic 14, cognitive 10): adoptIdempotencyKeyForJob has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6755d37d159a1e7531c0870733d81ea18997c41016b8080a99f2e7d51ae327c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/messages/useConversationSeen.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"21997061f21252eaf66f46f54b02056a23a8fb9e2c81a30bb12143eb6427df58"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 10): (anonymous) has cyclomatic complexity 14 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"09521f9c6cdce5a466352c43611afcaa27fe4c9977e1d8ee8840af4cdb1adec8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 9): (anonymous) has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ada909996b673b653ff6dca8f08df4d0c194a28f1fe22f4583118c40b6d1321"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 14, cognitive 9): (anonymous) has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/filters.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d10c2a2c8b46f8c8903db0cc020f21357b625c25fff119affbb2edc7dda887c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadCapabilitiesFor (cyclomatic 14, cognitive 9): loadCapabilitiesFor has cyclomatic complexity 14 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/modelSpecs/reasoningOverride.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"4944f810db509ddf7742904ba6bf715170cfd150c0e1315d01b0f2bb618b5166"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResumeAgentSnapshot (cyclomatic 13, cognitive 33): getResumeAgentSnapshot has cyclomatic complexity 13 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":"packages/api/src/agents/hitl/inspection.ts"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03983ff1263b040a8e8f45a3949385545fa16a5e27aa9e19bc261a1955fcf18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 26): (anonymous) has cyclomatic complexity 13 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":"api/server/routes/mcp.js"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"43482e17422173b4f045f6b2744e233e62ac7cb94d47097cd8a4107edffa2df3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileContentUpdate (cyclomatic 13, cognitive 25): fileContentUpdate has cyclomatic complexity 13 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/fileContent.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0488739ba3227a2c8e76050af68c818fd7b59a2689956bec150ae241987eff0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function groupParallelContent (cyclomatic 13, cognitive 24): groupParallelContent has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ParallelContent.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"272da96ab672e9af9e6f3de31e1dd3c1d8b19b8687c01bf5ea1aea90f5d996d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripInvalidOverrides (cyclomatic 13, cognitive 24): stripInvalidOverrides has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1542}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85bbcd07c895ad82ff2bf736d355edc4ec05b4b5b2b64ff3334792c6c20f39d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runCoverage (cyclomatic 13, cognitive 23): runCoverage has cyclomatic complexity 13 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/jest.mts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d11d0a5f657f62d865e6c4334e75760aaf852236f92c43a6d06f8d17fdded45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeMCPAuthorizationWithTokenWaiters (cyclomatic 13, cognitive 22): completeMCPAuthorizationWithTokenWaiters has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorization.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2746b7ab2276c514472d11932637667d37be81f830c4cc0e172d5e639c386892"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transform (cyclomatic 13, cognitive 22): transform has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d744a9f3e4f9746d45c4ca5883579dd0c4a72d0c959b2da9099db3e4fc9d3b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfigOverrideIssues (cyclomatic 13, cognitive 22): getConfigOverrideIssues has cyclomatic complexity 13 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ecc77d6868f69ba339908295e1e0390dfc84e3c128d41eb865176b281bc754"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function operatorsMutateDocument (cyclomatic 13, cognitive 21): operatorsMutateDocument has cyclomatic complexity 13 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"706b9fa7de9f4e7044b16fcd5154870a74abcf6d53225510dfdaf0e04c8ec4e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 20): (anonymous) has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useSharePointDownload.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b01f1304ede8fde80d3e7067ee9dab4c530976d45c3c5972b91913f7736e096"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectBoundSecretLocations (cyclomatic 13, cognitive 20): collectBoundSecretLocations has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1326}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d68468d7613239e69c1ccdbefd3959709d9f5b1d54caedab0101ebee6f6b37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function segmentOf (cyclomatic 13, cognitive 20): segmentOf has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"a526819e65dfdcd9f1276a2479be9f6a44a183aaa5005ad4d67c295e4594e8d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshChangedTools (cyclomatic 13, cognitive 20): refreshChangedTools has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e971e29fdc695d87e1460bb705cb1d9cdac8c8425d9329084d0c32e0aa3c904"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectReachableAgents (cyclomatic 13, cognitive 20): collectReachableAgents has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/routing.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"07984bb421b3c2c2b359355f8d8e90ef40a3f7bcf8c6228f475a224a93af766a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unescapeJsonString (cyclomatic 13, cognitive 20): unescapeJsonString has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/parseJsonField.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff62daa9ab88d25e81f70ce1c4005d941021cbe14f3836ae867d7713bc3b164f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSharedLinks (cyclomatic 13, cognitive 20): getSharedLinks has cyclomatic complexity 13 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c3badb0f43b561434da06c1f6296b4bd8f1558d2dcc345e3855435f80a323f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function connectDb (cyclomatic 13, cognitive 19): connectDb has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/connect.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbdf9ed8b844c31da50c7c79c4de49a01bdfa414fb8be0d04767179f9ff3957"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stampMcpServerIdentities (cyclomatic 13, cognitive 19): stampMcpServerIdentities has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/mcpIdentity.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93d7db0d9f62c29f01940d0f846faad9cb99a2688624dea15904a923a8e2b15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findCustomEndpointDrops (cyclomatic 13, cognitive 19): findCustomEndpointDrops has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":606}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e56e9ec12d34a850efe3841eae72a224debf447d2cbd41e4ee26727da8cc99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEndpointOverrideReport (cyclomatic 13, cognitive 19): getEndpointOverrideReport has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3455700b9fe1c31df6a9d4407caa235a064ac1c4eafe66632d639426602b9eab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLangfuseHeaders (cyclomatic 13, cognitive 19): resolveLangfuseHeaders has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/utils.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"de36cb159926c7967c8a9286306b2c39ce92189c26bab4a4548b341c654afe7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function visitSemanticUserSubmittedPaths (cyclomatic 13, cognitive 19): visitSemanticUserSubmittedPaths has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8d4d8564f3998a3085c4822843b177623360aedff4702679a743c1a82fe836"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processUserPlaceholders (cyclomatic 13, cognitive 19): processUserPlaceholders has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8898239021eb27d44d789b9c3429345ec35f4921b23994984c168563517ea77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stripLangChainTroubleshootingUrl (cyclomatic 13, cognitive 19): stripLangChainTroubleshootingUrl has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/langchain.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"14187cbf62ad7bd9d9b4fef5f3d14ccb13b8bde22fcf4532bfc50c074a77aec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function searchPrincipals (cyclomatic 13, cognitive 19): searchPrincipals has cyclomatic complexity 13 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"88336c660d135b02fac38f30864d147534df3aba1cb0bcd131cfb966627dc260"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeCanEditByServer (cyclomatic 13, cognitive 18): computeCanEditByServer 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":"api/server/controllers/mcp.js"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a122dbe22385a2d8d9c8c79f31e984a338c0c4299bbc25de8c03e179281505"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findAuthValue (cyclomatic 13, cognitive 18): findAuthValue 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":"api/server/services/Tools/credentials.js"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12ff7acf6bb61e49d6c9f939db28164bff521d8000fddfd5998bc2a78bb0dc0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function alignTurns (cyclomatic 13, cognitive 18): alignTurns 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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efefdae0648beddcc30858e27e6f7f6bc54d5d9dbc9de0ba0304595acb4cd94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) 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":"packages/api/src/acl/audit.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb43273935bdfd6c1eef06af9dbacb48e311b5e941dcf2539e5fc1c8bf97e1d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelScope (cyclomatic 13, cognitive 18): cancelScope 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":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":897}}}],"partialFingerprints":{"codehealthFindingId/v1":"795022504692e97823ff2283b9edcc711e13bd4ea1ad6b6f83a6461dd9eb5794"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 18): (anonymous) 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":"packages/api/src/code/setup/router.integration.spec.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"d203808beffca686bfff7c16be16fbc1ba3c744c728bb4a83d70530fac96f870"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 13, cognitive 18): create 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":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc8818f84e148c477796bf81f8fcb2f5bd264e0860a1773a4027ca491786864"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshS3FileUrls (cyclomatic 13, cognitive 18): refreshS3FileUrls 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":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"58feaa9388048896b6ff1c15f54766c76a90ca78aa416b1ce36841e690ff3e0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeChildConversationTurns (cyclomatic 13, cognitive 18): mergeChildConversationTurns 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":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"df3a2a9a3084bf5e397316677bce616cebe198c409579e762b234bc894f5036e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function movePrincipal (cyclomatic 13, cognitive 18): movePrincipal 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":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"602d0ef3665c5c816164b51993704cd1e5f07ebb61680857590fbc8a0d2bac47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFailedLines (cyclomatic 13, cognitive 17): getFailedLines 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":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe551ab25de4f65b28031e302aa068758dd500a6ebc079ffb34a34e6847d80e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 13, cognitive 17): onSuccess 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":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b6976d9aa70e9a93fb7d6aa9bb13fce2f65d59f1e39871fe216d94e132975a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 13, cognitive 17): main 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":"config/flush-cache.js"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5969254d8c888a9c58f5047e9377564ed1721c164de122ed8f5961837a4970"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisioningToolResponses (cyclomatic 13, cognitive 17): provisioningToolResponses 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":"e2e/setup/fake-model.js"},"region":{"startLine":3634}}}],"partialFingerprints":{"codehealthFindingId/v1":"9409ae2bb461db7b337c76f6a74a495efcff0026a0a8fb1dbb32eaf0ce9ae252"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectCodeExecutionProfileRoutes (cyclomatic 13, cognitive 17): collectCodeExecutionProfileRoutes has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/codeFilesSession.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"441732cc2118c2a10e42ac114835828d1780df6fc07dd11457d06d03fd0a3cbc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveFinalizedCompactionTurn (cyclomatic 13, cognitive 17): resolveFinalizedCompactionTurn has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17d5f5ef0efd53207be79eb176e190b895a1f4e2dcbbc1af715948d7b8e2bdf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 13, cognitive 17): flush has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6995}}}],"partialFingerprints":{"codehealthFindingId/v1":"016878615fc2122130c48fb07c17af23b101d3200a530356a88e599dd437a302"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resumeAgentEventActor (cyclomatic 13, cognitive 17): resumeAgentEventActor has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"102d7040a05bec65a8696f5d8312c0a868510f44fe3875b87b4b2024ffefb475"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldBypassEnvProxy (cyclomatic 13, cognitive 17): shouldBypassEnvProxy has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"418805d09d8969d7196047d9e1e115c802bf5491346dfde614447cc01d8ded62"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attachmentToolCallIds (cyclomatic 13, cognitive 17): attachmentToolCallIds has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54e16a2f61b25d0fd342fc4a258a4c65be4c10c37542cff11333c1cd8e6ba63"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSubagentAttachmentCalls (cyclomatic 13, cognitive 17): findSubagentAttachmentCalls has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2e493389d72c37e8994cf43718d34ab8c618614e5d76c054a7a24ffec55451"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createConfiguredContentInspector (cyclomatic 13, cognitive 17): createConfiguredContentInspector has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f82f7e6c8f3ad7a4e2ea06256b9323e2799008abfdf6c4298c50acce55e200a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/shared/app.spec.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fca9d1c072b0f119da592ed664583b8d40f4d2b7f3240302fdccdc280521d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveThreadRows (cyclomatic 13, cognitive 17): resolveThreadRows has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc31fed9da7efc8349579d74581d9b99507007a31d0c485155602776e5b785f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteMessages (cyclomatic 13, cognitive 17): deleteMessages has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":4270}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc1bebca862f917fb2b8f7df0c938367c830ccb989247eddc2fefa12c402401"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withSearchTokens (cyclomatic 13, cognitive 17): withSearchTokens has cyclomatic complexity 13 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/search.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef258a209a51ad20c91bd5ccca5afaf9f332635200b11cd11eb6ce61400588d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 17): (anonymous) 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":"scripts/readme/lib.mjs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc4aec97988eebb9b6f64bdfdc6dbb65ec38f78d2dbc6511a3078f8bce7c579"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 13, cognitive 16): handle has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"a867a79bf635c47bb32948e7ca86b121b7bb88a9d68de89149897c69a91183ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function attempt (cyclomatic 13, cognitive 16): attempt has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2216c27c1c2b143ed6c1b1e6714d70e0196c4e253e00ad26f3b74de61167bc6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeSecretIntoSection (cyclomatic 13, cognitive 16): writeSecretIntoSection has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"72057d2ccbdf236864b8903964d28c685fe209042791f2acd385af8c83ab88c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settledCandidates (cyclomatic 13, cognitive 16): settledCandidates has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3e8cc713d20a95e46987285071cd50dddf85d017d81d084dd77b40b10b3736"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundRun (cyclomatic 13, cognitive 16): boundRun has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc3344824281a37df857457f7f07dff00f5acb84e1684996b2de6c98cbfab07"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAttachedWorkspaceCreateFileCall (cyclomatic 13, cognitive 16): handleAttachedWorkspaceCreateFileCall has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3934}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b54f8a6e2c6180fe60d4965192ff2f9ab9605bd66afc1ea2470ab07a7297e77"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCompletion (cyclomatic 13, cognitive 16): parseCompletion has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa9190db51ec196094101135c5b0d4b98867bfc18c3cf429ae892717de143906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSubmittedRequest (cyclomatic 13, cognitive 16): inspectSubmittedRequest has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"426ea0963e69174612c2eb8afa09b46970b3bdfc58c9bd83f1a53d57c6473f5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a94c8080737ca87804c659aaa01a632844a7d99c7e65cf14037b2ec425ce490"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordCollectedUsage (cyclomatic 13, cognitive 16): recordCollectedUsage has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7e1dc22a1124af27b248487047f21bbd953674cf916ff21f5caa31e5ba0741"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverTools (cyclomatic 13, cognitive 16): discoverTools has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"741b87c4c8f458e7c0e3af7864e08a10dfd27cb25ee86439dee31de552f77e75"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 16): (anonymous) has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"87818cfca31a7a3224e233a87adf82cedfcc7cb270351d5b7521d6acd2f3f285"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterReplayLogs (cyclomatic 13, cognitive 16): filterReplayLogs has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/replay.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f23b5b737c3453ccf2df2cc18ce09c935bfd7e44e10d7ebc3f35d604a15614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSynthesizedPhaseLabel (cyclomatic 13, cognitive 16): buildSynthesizedPhaseLabel has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09067399e245516689aa98b9098de171238e5817305dadb829cf50beedef036"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acceptResponse (cyclomatic 13, cognitive 16): acceptResponse has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02502fb35af8f88176418a0e3eea907233848fb80154cbc3733c0e8ea36bdc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMessagesByCursor (cyclomatic 13, cognitive 16): getMessagesByCursor has cyclomatic complexity 13 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":4339}}}],"partialFingerprints":{"codehealthFindingId/v1":"1caf0c467c796f32b994f389b3f6200ae09770747e67eb5609a327f898805255"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleBoundaryNavigation (cyclomatic 13, cognitive 15): handleBoundaryNavigation 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":"client/src/components/Chat/Menus/Endpoints/components/VirtualizedModelList.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"019c518a87a188cff4315dc32143194e00bb31268ef8fc86d6203aa036f5d96a"}},{"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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6b3970bbb4798fe0f0223b1b3e5d60b4e5c6af7d4b4669a7af9f7dcf407be8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleCommand (cyclomatic 13, cognitive 15): handleCommand 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":"e2e/setup/mailbox-server.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4ffb2f10ce3fd48751f06f7b6bd8d7180d75ed48b525ff58e41b7bfe6c2a65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyBinding (cyclomatic 13, cognitive 15): classifyBinding 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":"e2e/setup/model-replay.js"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"34de9d53685ab7b9362d7d55e256b969af1d6e74534e8960f07c7db190306a60"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteConfigOverrides (cyclomatic 13, cognitive 15): deleteConfigOverrides 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":"packages/api/src/admin/config.ts"},"region":{"startLine":4795}}}],"partialFingerprints":{"codehealthFindingId/v1":"50db12d072f8cd3ad4462ff65d4c18d7d92d397fd0527c589a71343f44a5022c"}},{"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":"packages/api/src/agents/activity.ts"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"0658260e88ad0910842aa2887153f9d6ee086cfe1a67669f0681b62e8eed02e3"}},{"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":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ea4727435bf7ae97e2224ad79c7580c9d75b898c90ca0d30a85ade0018e2a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sinceNodes (cyclomatic 13, cognitive 15): sinceNodes 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":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fa780fa52dca1740395a1a4dcb6885eec965ba3cab3624e92f2a16efc80de89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectResponseHistory (cyclomatic 13, cognitive 15): selectResponseHistory 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":"packages/api/src/agents/responses/persistence.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d46eff9308fb73712a05dbea4d43269864de006d6a7e79742e2c95560f0a4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function complete (cyclomatic 13, cognitive 15): complete 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":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":819}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dcbd8aac70183bad54c31580cf946d234b5642991af501eccf05c20ed44688"}},{"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":"packages/api/src/storage/local.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"14acdac01f60e845489413c395485b2f699820f541ece3741881bca69fa79a1a"}},{"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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3768}}}],"partialFingerprints":{"codehealthFindingId/v1":"923bce5833c5fe000b732a45fa73feba84388a876fe39d6c97e904c7bd80f2f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processSingleValue (cyclomatic 13, cognitive 15): processSingleValue 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":"packages/api/src/utils/env.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1095e50263241d9e19f495e2e95769d88065d48656ecf7fba2796941d15d3b09"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handoffToReplacement (cyclomatic 13, cognitive 15): handoffToReplacement 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":"packages/chat/src/core/resumable/terminal.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b2f2bd6b428f0fe6902714f03bb1e2d7104f2d094d281dd5286f9750ca3c33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bedrockOutputParser (cyclomatic 13, cognitive 15): bedrockOutputParser 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":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"328a21f2a8248a0d11d74ef7d60cd991fcc0d27b4586027923231420d4a9d48e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveUploadDestination (cyclomatic 13, cognitive 15): resolveUploadDestination 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":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb73e31e1efd68608055d24fc1ff75ef0678272c2a0fdf963db891346175aed5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function omitPath (cyclomatic 13, cognitive 15): omitPath 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":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1506}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baf1324595ce6bf554eb204494887ad6a13c916851de07ba1ce18d113800e7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateMCPServerController (cyclomatic 13, cognitive 14): updateMCPServerController 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":"api/server/controllers/mcp.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb730c6c11c9a7f261153648a0569f7b0b47521c34771c2c1ea6ee753d7b52b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6daf5c7cd8520b6e805a7cc0c95224edf3f5eff552c1e5ef9d87f11562c49562"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Error (cyclomatic 13, cognitive 14): Error 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":"client/src/components/Messages/Content/Error/index.tsx"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d081379b10ac82646d31817b521b12d13fabceb0c18f1b17ec235a04f4b3e51"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e337c71e0e21bb58b7140d8cd94c627ccad21a90c8d9b0b36c911fbd6e21f6c8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c581e8792a969f6047d9e87afd662a9b81ca1dc9126f5ac0f7afa23e882dd1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectProviderFileNames (cyclomatic 13, cognitive 14): collectProviderFileNames 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":"e2e/setup/fake-model.js"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"702a61da73a4192f2f70aa7ac6d0e465441ee1416c7fb6e5201e094d42aec865"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readFieldTarget (cyclomatic 13, cognitive 14): readFieldTarget 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":"packages/api/src/admin/config.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31e11b25a885f4b52bff9db39e9dedcc5f47ec03f6dfb134e3236c16f08cefc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyLangfuseCredentials (cyclomatic 13, cognitive 14): verifyLangfuseCredentials 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":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"82059d989794b428e97271d826d09a1ac3d340b30611c3db8f5a1faf2d65ddfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPrompt (cyclomatic 13, cognitive 14): buildPrompt 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":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ab2652dca3d7614e4ccf37cc7fc68f6bbaf65196e5c27a1376e964256d4e4a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function estimateMediaBlockTokens (cyclomatic 13, cognitive 14): estimateMediaBlockTokens 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":"packages/api/src/agents/client.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1a56eb0e858f8d1dd5ed29edaf93a898b175ccd4683deb8d1b06cf8476009d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce11e1641ff104d70449769d383e3229a39b2e39202af4748e6fd1e1f3e8177"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAggregatedResponse (cyclomatic 13, cognitive 14): buildAggregatedResponse 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":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1186}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a112224a9b0f05c4c9dc8a64adec3f25d00a8a9ebe95820907cfa25ea246da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function checkInterfaceConfig (cyclomatic 13, cognitive 14): checkInterfaceConfig 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":"packages/api/src/app/checks.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"dedcffdeea17d6a90d7b19604b761f24ed2cb6989717a992a5529fea8c2a814d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filterFilesByEndpointRuntimeConfig (cyclomatic 13, cognitive 14): filterFilesByEndpointRuntimeConfig 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":"packages/api/src/files/filter.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e331f49888d9404b7d546a33907d454244001bba4658f7e0dc1a9a18f5261e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1767}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ffb816746ec166868e470367bf8f802383d50003975232c350ade9afb00efd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 14): (anonymous) has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/helpers/oauthTestServer.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"1093af63e8b3f265939b403abcfead64bcf8cde96e6c5cf4f9ba2d1cb78c27aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withOwnershipFence (cyclomatic 13, cognitive 14): withOwnershipFence 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":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc070f41e8c4b4dc7ec939840da648851dc17393d03ff461923e4a7eff67cb2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectSerializedString (cyclomatic 13, cognitive 14): inspectSerializedString 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":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40182eb19a310a20c487aacf6a5016654f6b8d133ea9b93a4dad316b09869d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistTokenUsage (cyclomatic 13, cognitive 14): persistTokenUsage 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8199}}}],"partialFingerprints":{"codehealthFindingId/v1":"89eb6d15404a429f44e4ac557d82784907a299ea32a0acfc13d1135f3ccb53df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMCPToolDefinition (cyclomatic 13, cognitive 14): extractMCPToolDefinition 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":"packages/api/src/tools/classification.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a6281bb0f5b1b0595300d83dccea656489392516b7be982adb7317fa73f01b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function decode (cyclomatic 13, cognitive 14): decode 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":"packages/channel-gateway/src/transport.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d67fec51a217e8f7dfda79d7fda26cc6a16d20245ab02e0ea0a33587c389a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SteerReceipt (cyclomatic 13, cognitive 14): SteerReceipt 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":"packages/chat/src/components/composer/steering/Receipt.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1558edf154fb05c65d48faed8056573149fba961524d61bdf1f7d8629a271a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileSiblingIdx (cyclomatic 13, cognitive 14): reconcileSiblingIdx 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":"packages/chat/src/core/thread.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e83f06c7965a5a2bb5164dea0c866248c0804b96c9fd1345f37eb6e774f799"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function requestArm (cyclomatic 13, cognitive 14): requestArm 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":"packages/chat/src/react/steering/useSteerEscalate.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2589980179e20f999ec1b37f82a0aa10087e94d33c9b49980706c53b580aeb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveSpecInterface (cyclomatic 13, cognitive 14): deriveSpecInterface 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":"packages/data-schemas/src/app/interface.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d649e3bed51453093ae78da0d2720415a7c3299b9dbdf714ce1865b11469230"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function abortRun (cyclomatic 13, cognitive 13): abortRun 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":"api/server/middleware/abortRun.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7a097a8e86059931663a4ad8a543481979e0a236d6624e0924813015e277c7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cachePreparedCodeOutputBuffer (cyclomatic 13, cognitive 13): cachePreparedCodeOutputBuffer 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"72cda972fdb7906dc57038197c6453674063978c1f7ad4ba29546ba116e74996"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Balance/AutoRefillSettings.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b021a1cfa50e0b317d46d7add893d52bbc307afa56fae726c56d5526e06af55c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mutationFn (cyclomatic 13, cognitive 13): mutationFn 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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f782a3cbd2f048a5806cdf5e3b831b73dfaa3f0861c371e35377109ccc0ba2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/SSE/__tests__/workspace.spec.tsx"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"d614fe29a4403d577971b8920ba099f6b54d1a0654fd93ea96964ad012383263"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Search (cyclomatic 13, cognitive 13): Search 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":"client/src/routes/Search.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5ddaa9c62b969b62c7a10650ffb93fbbc895024ea7913ffbb8f0f04ac9a84f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeOutput (cyclomatic 13, cognitive 13): sanitizeOutput 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":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6f5b69275f57e59b38bffed92b8c5ec0d7c2646e7654a87000529819599bde"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 13, cognitive 13): create 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":"packages/api/src/agents/responses/http.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"480654bbead5d83a2b3c18ca0eb170f76bc74120f8b3121c763aae30c8328a37"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abca1c46e01819705216bbb1d5d6e21c47cedf0b44a5c2dee37ceb444133c66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function consumeCacheEntry (cyclomatic 13, cognitive 13): consumeCacheEntry 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":"packages/api/src/cache/consume.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8385dfa9e2064af0e1bc657860d3fb23088fd8cee2d9feb661d77410761f2e15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function areValidWorkspaceEdits (cyclomatic 13, cognitive 13): areValidWorkspaceEdits 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":"packages/api/src/code/workspace.ts"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc9a1875b3919a16dd65ce9957bbc160e4eec8ca04da4f8bba15d7a24e196edd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatDocumentBlock (cyclomatic 13, cognitive 13): formatDocumentBlock 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":"packages/api/src/files/encode/document.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4e4b73cef2eeb54f259628ad2adab771e96c08f62051990315311df7b67299"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/settled.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"293c3e9fe6c2d9a4c7d34961ecf120d25ba698c320c15b59de06536c0b335644"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCodeApiRetryAfterMs (cyclomatic 13, cognitive 13): getCodeApiRetryAfterMs 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":"packages/api/src/utils/code.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27f4363fc1642662b300fb75b84f1c51840740a017cfec4a5b281ebadf2a7a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function lastVisibleContentIdx (cyclomatic 13, cognitive 13): lastVisibleContentIdx 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":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"674c47d05f53c3326d01f9785e19379d2ea07a904be4c75553878250cffbfe0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tagApprovalOnPart (cyclomatic 13, cognitive 13): tagApprovalOnPart 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":"packages/chat/src/core/pending.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da082f49d06f8e5ce18b2a7d8b27ab7dcf34545eb1746e2c91b0ff3c7528f47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyActivityLabel (cyclomatic 13, cognitive 13): applyActivityLabel 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":"packages/chat/src/core/resumable/patches.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d40a0e31824f27b193c3147011848d2efe8cb058ca7f9e08883d350424c2fd4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyToolCallsDispatched (cyclomatic 13, cognitive 13): applyToolCallsDispatched 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":"packages/chat/src/core/stream/timing.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a20b5bf05a9b1e1356ac2ec1791b3ed2abe5439468eebcb49a490681b44fcd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fromUIMessage (cyclomatic 13, cognitive 13): fromUIMessage 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":"packages/data-provider/src/parts.ts"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d90f8118a6177d975f20bd025715b05a2a3808e9f80d84b8e690d5ebc2a147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectSwitchIssues (cyclomatic 13, cognitive 13): collectSwitchIssues 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":"packages/data-provider/src/theme.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bbed2cb29377be4225ba07dcbd320805b13b7095e9d3a53cf74e2696060411"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/endpoints.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d63aa3e2d44d5d2e56e053cfccb8a2b1144fdca80ac2e15c23e58a544cd57b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 13, cognitive 13): list 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":"packages/data-schemas/src/checkpoints/mongo.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a33bb8c35c2bf90a8847276c672bea67cb014f942a2f7ffcc266610ebdff10"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearAgentEventActorReconciliation (cyclomatic 13, cognitive 13): clearAgentEventActorReconciliation 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b6fda770d5c1ba21589dc09219d6473fe5f819b612befe5983d2eb17c1e3f8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRoleByName (cyclomatic 13, cognitive 13): createRoleByName 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":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3656cb277fa4aaeaa36dc2953725e4de46547d34aef79812a844efab56b7937"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findSession (cyclomatic 13, cognitive 13): findSession 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":"packages/data-schemas/src/methods/session.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51f4dad7d7112a27026c3d1486237f10d5aff93d02cee649e1de15b4b559b78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCommand (cyclomatic 13, cognitive 13): parseCommand 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":"scripts/quality/comment.mts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfc2e6bc6dd9ee9cd94251621b5a813e1d6f549a4e63244cf8bb793f186d378"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 13): (anonymous) has cyclomatic complexity 13 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/readme/lib.mjs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"69fea70703c59deec8e92188bb1b96903bc4711da829feffe07435307c89d0b9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveMessageToDatabase (cyclomatic 13, cognitive 12): saveMessageToDatabase 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":"api/app/clients/BaseClient.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"29bdd2645e3c9d41db358018b3f92ba3fc98969b9bec227c80ae876fed7cecf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addVisionPrompt (cyclomatic 13, cognitive 12): addVisionPrompt 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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b70532898b9f97230bd101b3f319d576028291cab72887b2c52e080b19199b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc1d01502a5f96e5553fb367de804e161442a5c03a7d24781d9bae807696790"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1724}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f8fdd740cec9b32e408e6559802d91c95a67f744d24a99305a4f2e289e3d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reconcileThemeCache (cyclomatic 13, cognitive 12): reconcileThemeCache 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":"client/src/Providers/themeCache.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb43d38bfbdc41e1f99e9775e99fcbbb58bfdcf551d7383703fb6a7e0a107c1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"42d4088927959ec9937b6ac6f11a9ef86498cf8d67f700acab1ede5e7804f3a0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DataTable (cyclomatic 13, cognitive 12): DataTable 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":"client/src/components/Chat/Input/Files/Table/DataTable.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8e48b3abbcf91fa54326a8d53e07738ed44bd55104e81af707c5cda550a057"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Message (cyclomatic 13, cognitive 12): Message 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":"client/src/components/Chat/Trace/Conversation.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e1c2deb757eb178b6e46b3caa1a7606884149ee92736c241e799dc3c93582d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MessageEndpointIcon (cyclomatic 13, cognitive 12): MessageEndpointIcon 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":"client/src/components/Endpoints/MessageEndpointIcon.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"12417d766c34b7c27f670f4d4f86f97a716e2aa2527c8b4a371b334d89b610b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BackupCodesItem (cyclomatic 13, cognitive 12): BackupCodesItem 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":"client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe1a41b9e7827903b1a575d4364f5d7b4296c1e00fba44edc38be6424c3dc33"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PasskeyItem (cyclomatic 13, cognitive 12): PasskeyItem 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":"client/src/components/Nav/SettingsTabs/Account/Passkeys/PasskeyItem.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"f661793ce1ca3ada10b4828b7b180dc1640b96b677ad0c2f33a9163f21bb66b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c89a76b4e7aa10dbd39eb48531941004df59576844c357aba3d9725840b109"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function current (cyclomatic 13, cognitive 12): current 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":"client/src/hooks/Chat/target.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ff1a5eb784abc051d73dbf7f0510db3c409ecf2e1aec7e0cdab1c2d95dd046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function completeFileSearchUpload (cyclomatic 13, cognitive 12): completeFileSearchUpload 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":"client/src/hooks/Files/search.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c439a5f8906a5de2935f4282d3c26952b2a489fcaf3cae68a8766e6e6f488d2b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useDiscardPastedFiles.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e732395e851733600c7cbae99b87d4fc0fef83883cb4bb8c0d557f1a2dd8cdd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/__tests__/useNewConvo.spec.ts"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"b335d21f3033844824e8fa335892d75c24aca4f85e45bea49443fefd01e2d64c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3929}}}],"partialFingerprints":{"codehealthFindingId/v1":"687cc0eec934eb96d12861acd14bcec678c0033898fe6144b1c9c9ba25a3d2b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function boundActivitySummary (cyclomatic 13, cognitive 12): boundActivitySummary has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"03080568aa7915ff6383c48e6827a1cb2449022f70b1814ba9c59c6b11287f91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeAgentRequestFingerprint (cyclomatic 13, cognitive 12): computeAgentRequestFingerprint has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":890}}}],"partialFingerprints":{"codehealthFindingId/v1":"17852d3bdb5d05a3b499d36cc0b62d00118b5f4187d9b26c88331e72631fe72f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/schema.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b7d36ef8fca1acb211aa9577e1db7f7dd300b7d2a21e7c7bd79dcd27c55b18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function observe (cyclomatic 13, cognitive 12): observe has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/review.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"899dc4699478deb3df1e8bb8fc981f970aafdcab978147d9ec00e6effb86eeef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toSteerFileRef (cyclomatic 13, cognitive 12): toSteerFileRef has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/refs.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"81902c01a946d42005527f85cdc0f457e6b779a928cb526852e1d82ccdfe97de"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isClaim (cyclomatic 13, cognitive 12): isClaim has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"505c49306e431dc18d74e4e02e4cd0e8027182383a75f4ae035a9eda4e3aadf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreUserServers (cyclomatic 13, cognitive 12): restoreUserServers has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea35af7d46a8b51bd7f8cdfd055baefdcc7189bcafad0cc403576804d624f9d8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createUserOnce (cyclomatic 13, cognitive 12): createUserOnce has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/provision.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"4246b712417a7cd47467bd3ef14c2cc7fa494480de935ac3acddd3193cc82bfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeConversation (cyclomatic 13, cognitive 12): writeConversation has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/save.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c60bab3e6cc65d6f5832fc3f1fd830b36b03b544bfcd1c561812b960a6b188"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyCodeArtifact (cyclomatic 13, cognitive 12): classifyCodeArtifact has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/classify.ts"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ebad846d32e5c2e81197b7b8c910ef1c3200ebed2de270eb0a5d5f1504cd48"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMissingStorageError (cyclomatic 13, cognitive 12): isMissingStorageError has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"239a22bef614c1cd3c3767d197f3ef336b8ef8f108fb2c053579a2ab0f0506aa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toMessage (cyclomatic 13, cognitive 12): toMessage has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/prompt.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1943bbd7eae514c5bc3daa706e50c3901451a2a341cedfcd670c76518151f40e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function matchesCondition (cyclomatic 13, cognitive 12): matchesCondition has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.spec.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7d9d49f37508d30517f9795d1fb98e9b22b4341b04f13ed4f51639a7dffc4e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCanonicalFileInspectionCoverage (cyclomatic 13, cognitive 12): getCanonicalFileInspectionCoverage has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":943}}}],"partialFingerprints":{"codehealthFindingId/v1":"db992a7731446a10af602fc560cc2bbcaab2adc59a8c766822964bc145649621"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listHandler (cyclomatic 13, cognitive 12): listHandler has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9bf186761a2b27a9b8644223f60ac14eede95095afa60bb0944e363133d2e1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":2245}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca0bd734f82f125268dc89ab900d219ea62e200f65fe19e18a720ed1061410d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getStorageMetadata (cyclomatic 13, cognitive 12): getStorageMetadata has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/metadata.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"31033637918907600bce05b8b48d0e71041f70ee46cddf1f67993dd0278dcdb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extendRecoveryLease (cyclomatic 13, cognitive 12): extendRecoveryLease has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2839}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbfeda723b5fb2732f22f473f16696afda866349b2e3f78d710c839d152244c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ThinkingControl (cyclomatic 13, cognitive 12): ThinkingControl has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Thinking.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"c729c29505962c438594a4c4549878fbd249b64123b011e08e2bc89bb8c03cb3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatPane (cyclomatic 13, cognitive 12): ChatPane has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/pane/ChatPane.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d7242953602336fec635a15808482250268ef71a3d25a720a132532494b1614"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inlineChatView (cyclomatic 13, cognitive 12): inlineChatView has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/pane/__tests__/chrome.spec.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b20eb1ff581d1a18f4169a2a86df677ff99a29d682058426bee5df1b4e2e52e8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SteerPart (cyclomatic 13, cognitive 12): SteerPart has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/SteerPart.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abb1f873057abd15ed6d03d24d1b2d45df86a1b2e07a70e157ee7744cf846dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopPaused (cyclomatic 13, cognitive 12): stopPaused has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"7431c71f05a0a933665bee75e6af308bffcfc4f094676333e68c948bcdc478f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveCodeWorkspaceSubmission (cyclomatic 13, cognitive 12): resolveCodeWorkspaceSubmission has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcce39986112c9ae10b9ad8df74816692a5393bd816442da37f288790d4679b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/events.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"49716cca3b10a042e1584eeca91090356aaa33b35b71434730bdec9c100bde40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRunStepClosed (cyclomatic 13, cognitive 12): applyRunStepClosed has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/tools.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbb2ddc938f0e64587085986bf845a0fdd5434386d8f8c4c447ffd3565690a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 12): (anonymous) has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"1793a8909d3aa948dd91f1582b86af8d4faba452866819dd8d44c83e2d7734e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAutoRefill (cyclomatic 13, cognitive 12): applyAutoRefill has cyclomatic complexity 13 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"472652878795860b0ce274bc436cdab449166f60357f7f4dd741dd462840c4a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createOpenAIImageTools (cyclomatic 13, cognitive 11): createOpenAIImageTools 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":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b034a4077a17424802e0f23b5da1c63822ec8e1300d5554f49f88bcf0a0a9896"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AgentCard (cyclomatic 13, cognitive 11): AgentCard 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":"client/src/components/Agents/AgentCard.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"20acdd777a95ed481a7e7cb7d15aea6fab93f58da1237777ff172200fd35f060"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function FileGrid (cyclomatic 13, cognitive 11): FileGrid 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":"client/src/components/Chat/Input/Composer/Files.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1550ea6b1c1fdf366253ae83c87e63a9e9d4154c720d7f40e0579a4f5c309e"}},{"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":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f964516bbc349d8121ac0bc117eac00112c83a7ecfad58f459727928907e6bc"}},{"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":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"28033405a87b8606f669d16669b55455d32fd1df04937e8b9a4171fe6dc18804"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AttachmentRecoveryActions (cyclomatic 13, cognitive 11): AttachmentRecoveryActions 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":"client/src/components/Messages/Content/Error/recovery.tsx"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"202566c3a69cdc502648640ba65e6fed803357274c8633d72007585de7b3e33a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDestinationChange (cyclomatic 13, cognitive 11): handleDestinationChange 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":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ab2815acc23975dabb974c5d7cd718fb685e926805974bb6cb1ed182a28d81"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillListItem (cyclomatic 13, cognitive 11): SkillListItem 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":"client/src/components/Skills/lists/SkillListItem.tsx"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"07d3fb96a18996d2153757dfc2b4e1d3cdb6527a8f216e4979d690bb03ca9b89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAppToolResult (cyclomatic 13, cognitive 11): buildAppToolResult 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":"client/src/utils/mcpApps.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7744c6aeaaa3c1334a76ba191213e5d862811ccefc447657c38b2c4fc2ce03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function urlMatchesDeclaredSource (cyclomatic 13, cognitive 11): urlMatchesDeclaredSource 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":"client/src/utils/mcpApps.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"4599a38dd808a7524f35c8609c56146248eba59d6fc902874d4457e93dd0c44d"}},{"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":"packages/api/src/admin/config.ts"},"region":{"startLine":2793}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72fd62993e36a542fc650ad7e7ed651e2e400bb60723e58997ea4db9f177911"}},{"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":"packages/api/src/agents/tasks.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16218c850e5402a6821abb706c89e91dada69eca2cf2af4aed0ec373d2554b4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addPermissionIfNeeded (cyclomatic 13, cognitive 11): addPermissionIfNeeded 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":"packages/api/src/app/permissions.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"44267b80efba7be6318d4c9408aafc4fa5af4dfdc7ef7c3d85d83a2fc1268cee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateIP (cyclomatic 13, cognitive 11): isPrivateIP 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":"packages/api/src/auth/ip.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e35844176b47102f4f6d43ef16343016b3fded1a340f402b3314cb0aa884d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readCompletedFlight (cyclomatic 13, cognitive 11): readCompletedFlight 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":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d1795cad50dbc7d3566bbadf1b40059984eb322c4c372375212f291e1b2f5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyAdminRefresh (cyclomatic 13, cognitive 11): applyAdminRefresh 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":"packages/api/src/auth/refresh.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1f53da583468abc8b64e60c10d6868ddf15f1abe8fa647da3be4994b4c88b0"}},{"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":"packages/api/src/mcp/__tests__/helpers/oauthTestServer.ts"},"region":{"startLine":629}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63302e60e5d32458df40e689a03610a13ba95e23dec6c392268cf3483b67933"}},{"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":"packages/api/src/messages/parts.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b37e5c7c430c0761702b955afc22701bac7a915596a28f9a30e8fcef4a8236"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function verifyState (cyclomatic 13, cognitive 11): verifyState 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":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"0292416e333396981aa84d52cfc6d9dcb423e03295b850f05f7cc7d0e40eeff3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueSteerVersioned (cyclomatic 13, cognitive 11): enqueueSteerVersioned 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"240ee2f21313a9ead45c3e44f76e8baa5d5fbb89f3e01f521d28fc22b07d40e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveDetachedRunEnd (cyclomatic 13, cognitive 11): resolveDetachedRunEnd 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":"packages/chat/src/core/steer/queue.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c561411331c866efb38b534bf1d3f9f43d7427d8c32afb0f7091247b341442"}},{"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":"packages/chat/src/react/steering/useSteerConvert.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"95b09dedbcdbc38580cfac101cb65fee54351b48b60d8313d46fbe33a535afee"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function propagateBatchHandling (cyclomatic 13, cognitive 11): propagateBatchHandling 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1750}}}],"partialFingerprints":{"codehealthFindingId/v1":"98eb8bc6d029aa7341ceb55fed7f8ba5c29bf7186086c4f6826a9a13be84df30"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSearchTokenFilter (cyclomatic 13, cognitive 11): buildSearchTokenFilter 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":"packages/data-schemas/src/utils/search.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"e404235f80cf7b3e80eeab303e837a83b2b6eaa4c670a1103d40fa47315949e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EditPresetDialog (cyclomatic 13, cognitive 10): EditPresetDialog 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":"client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5be1b9ad19438bd78c4a01642888ebf067c12708a049d72e8dcc8b56628d7b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useDebouncedMermaid (cyclomatic 13, cognitive 10): useDebouncedMermaid 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":"client/src/hooks/Mermaid/useDebouncedMermaid.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbb74e42c05008f5abda4823651a87b2ff9753bf4d2ca996cc16596eaa62ed7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initialTicket (cyclomatic 13, cognitive 10): initialTicket 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":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"8559043e460971fc181aabbbb75c17e33bd9ff8167d2b14bd585e19ec644e3b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildSlackChannelManifest (cyclomatic 13, cognitive 10): buildSlackChannelManifest has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/manifest.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bc3c33960bb7cc1868e8e795b01a6316f618adc292795f2843b32897e46b7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createLaneGitRecorder (cyclomatic 13, cognitive 10): createLaneGitRecorder has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lane.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee424ba9b695a08adf7ef2685acedf12d5927782e9d742ad0ea75b356c54698"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnection (cyclomatic 13, cognitive 10): getConnection has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fcd49c4839c26556cfd66accc12ac3b27a04d45000aa1e55a42325ce929147"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMCPErrorResponse (cyclomatic 13, cognitive 10): getMCPErrorResponse has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/errors.ts"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"6660e34c2bc2646f0caaa22a1139fac66b079db9d7f6eff1703e4f185a0104d7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 10): (anonymous) has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5579}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1a59421b9703793d39ee3c3e4c1dec702d7f8e1d17306ef93b383dba78ee11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSafeErrorMetadata (cyclomatic 13, cognitive 10): getSafeErrorMetadata has cyclomatic complexity 13 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/errors.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea43f8436774b913660aba2d940190eed9298eaf004c426cac5d1d8927b449f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachTarget.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"b409e7191c07287fef797432b6bf90a8c6905f265af586290f9e9d4ba8e41698"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fileToArtifact (cyclomatic 13, cognitive 9): fileToArtifact 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":"client/src/utils/artifacts.ts"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f26296cf4fbb187633f10b5859f9ada49baff92f36309017b4e140f061acfc3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getEffectiveConfig (cyclomatic 13, cognitive 9): getEffectiveConfig 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":"packages/api/src/admin/resolved.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0a26c90c4c307c90d62d3549a9aa36dd9e0436a1fd522581054abd88aafc55"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRunFileManifest (cyclomatic 13, cognitive 9): createRunFileManifest 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":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"586b6daa5ae9a7a094319cb04a5218cf350c05002449470401ffe7c95928e6e1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e14a7ca36f4330ad7ef410605afe8faa6248a82c07d49b054bad37b9c18700c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startedHandling (cyclomatic 13, cognitive 9): startedHandling 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":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ae33d63107bbbc6d1bcb89e80fc7b9495f81019dd1e2729f5195756925ce1f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createMessageRequestValidation (cyclomatic 13, cognitive 9): createMessageRequestValidation 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":"packages/api/src/middleware/messageValidation.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0996b94a046057f04ffdb7b7fdbeb06b7b8d24334d3d22dbd7c0c46975fdb044"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isLikelyEncodedPayload (cyclomatic 13, cognitive 9): isLikelyEncodedPayload 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":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"393937e9decb55b9c6669b2aaf9857d00c2442e4643e4b326b9ac8f8ac2f3c69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 13, cognitive 9): (anonymous) has cyclomatic complexity 13 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/documentdb.spec.ts"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca4fcc3011a818087167419cdffeebb5ef8408cbb3b6ef7844e87c62b02c027"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitTextIntoChunks (cyclomatic 12, cognitive 25): splitTextIntoChunks has cyclomatic complexity 12 and cognitive complexity 25; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/streamAudio.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a27fbb7746871c23bab84caae28d8e4fb9e896c7f48718740ec4a2fc4ef30e0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findToolCallArgs (cyclomatic 12, cognitive 24): findToolCallArgs has cyclomatic complexity 12 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":"client/src/components/Chat/BackgroundTasks/rows.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"740fb773ab90882246e43a4612da3b1b349340aeccb810e43db42f7b8c91a787"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addRuntimeBodyPlaceholderFields (cyclomatic 12, cognitive 24): addRuntimeBodyPlaceholderFields has cyclomatic complexity 12 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":"packages/api/src/mcp/utils.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c42b7ff6ef29a645757229564f6a5a5042986a57307fb35e48d4dd6d876f739"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 23): (anonymous) has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/messages.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8862dca4cf71d2048bff666f2986c9dd406548cffa6eb725afb1ed841e4597ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractMCPServers (cyclomatic 12, cognitive 23): extractMCPServers has cyclomatic complexity 12 and cognitive complexity 23; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/context.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1122e81955671cdeaa12d89daf5b8c0ba2017ff8db9a32dbcbe8fecefa327d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeAttributes (cyclomatic 12, cognitive 22): sanitizeAttributes has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/privacy.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"18fa791ec0a9496e46d23030c9fa35da05f00d78e20d1e4b6057ddf57834dfb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractInvokedSkillsFromPayload (cyclomatic 12, cognitive 22): extractInvokedSkillsFromPayload has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"676c8403af00ebee3309622964e8da83815d5feff995e553c8edd8bf0336f94b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectAppliedSteerIds (cyclomatic 12, cognitive 22): collectAppliedSteerIds has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/steer.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1210b6c40b0ecd7ef9a0cf5eb026b2b8314e727c06136ba8345a773bf9fc34"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeArrayByKey (cyclomatic 12, cognitive 22): mergeArrayByKey has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"691e7b9a69a77f0ec647f456e2b80c4d36fd782e458e65eea0d5ecc2c4555561"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function acquireLaneWriter (cyclomatic 12, cognitive 22): acquireLaneWriter has cyclomatic complexity 12 and cognitive complexity 22; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4572490ac1142f3cec742a67f705e28f58b3be17fdbc7e30053f932777d6b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 12, cognitive 21): list has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6723da3ed2e237e168448d6bc6186a7d9cf22898d5f7314fd0f491208569bec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 21): (anonymous) has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac8d44e1f0ed2601a35159ad42fbe185c78f9fac7379b5396517cfe5ed41cc5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 21): (anonymous) has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e2224b889d08f5d45011c7a3a3d056cc6aafbaa8a0d9f9a24a062894bedb12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSharedResourceFileIds (cyclomatic 12, cognitive 21): getSharedResourceFileIds has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1896}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a812ecde794c935c38eb521cc52cd938818222ca6ec950b7d7a5f260f076f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ensureAgentQueuedTurnIndexes (cyclomatic 12, cognitive 21): ensureAgentQueuedTurnIndexes has cyclomatic complexity 12 and cognitive complexity 21; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":927}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7c4c497a83fabf751a9a30eb7f690d99a47b5e692f3100d60bfc5fe1810c89e"}},{"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":"client/src/hooks/Messages/useBuildMessageTree.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5096cf399d95bc6bbf4404860bf7814f41d5451ccac0a58ccff3fdaff55ccdfe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveShortcutBindings (cyclomatic 12, cognitive 20): resolveShortcutBindings 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":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"17156818e6e7a361fbdb3a8506aa8d8d36ae99bc2fe66b631bf97ae1b1804c56"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function retryWithBackoff (cyclomatic 12, cognitive 20): retryWithBackoff 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":"packages/data-schemas/src/utils/retry.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f120443749be79d3376b7b39aa185f3d9b18445239b1561b5ed4ed101b18f1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateFunctionCallOutput (cyclomatic 12, cognitive 19): validateFunctionCallOutput has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4767319f17e4f34f7f304bc18658ced1615272576d29b1c1543d7222188d4bd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportProgress (cyclomatic 12, cognitive 19): reportProgress has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"3332257c8cb0714b8dd6e37c79dca0dc2c8000115194f8c11c5f97e202e5bee1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 19): (anonymous) has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1433}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6708ffa67e30bb2809369c7506ecf48e1013df02da808f9fdafebfb60ab22f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseTextParts (cyclomatic 12, cognitive 19): parseTextParts has cyclomatic complexity 12 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"0180b31ca6b60f3fe471253d1c4b3f5006e20202902b0bf8e6db30150d930d19"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMessage (cyclomatic 12, cognitive 18): processMessage 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":"api/app/clients/BaseClient.js"},"region":{"startLine":2002}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a34580d76e11045f6f7331707ef84d1d74504dd7c049b17b00712a756f4ccb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getActionToolDefinitions (cyclomatic 12, cognitive 18): getActionToolDefinitions 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":"api/server/services/ToolService.js"},"region":{"startLine":1263}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d4a2e0266229c39cbd84ba17728d9efb6b25fdf9045a7c5a4a9a52fb4a7bcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) 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":"client/src/hooks/Conversations/useDefaultConvo.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a943c11a64cdbbc89916301c6f615877c4f6d9e6719a9ed77a026efc5b69903"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAdminUser (cyclomatic 12, cognitive 18): resolveAdminUser 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":"packages/api/src/auth/googleRefresh.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca049bee6cf387de6c082aa0ec89539d82e428bfc11cc4cc0c3b557c25208a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadMCPServerCatalogs (cyclomatic 12, cognitive 18): loadMCPServerCatalogs 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":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"652bd1e5f9329ea96ea9d4d5fa30cd8b6ab29e400c1065c02690c5691d6196e2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 18): (anonymous) 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf311eb02bf49ea930ae2540d18f7a74b4486e6d7c108b692ff4d0c3aa4a6d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordConfigTouches (cyclomatic 12, cognitive 18): recordConfigTouches 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":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"de63c53ee4bef16deb451735cab4420d710b6e7577d1ea7fae0abbb85cea2299"}},{"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":"packages/api/src/agents/avatars.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7fcfd096de4c92c8e1ae02be9136781b53e37e987d6ad7e3675fc3295470c2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function markAbortedCompactionContent (cyclomatic 12, cognitive 17): markAbortedCompactionContent 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":"packages/api/src/agents/compaction.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"15e7e51aa20bc9221b1abb2ad03ed941078c38071769fa410e629ab54c25b5c9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectResponseMessage (cyclomatic 12, cognitive 17): projectResponseMessage 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":"packages/api/src/agents/responses/persistence.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f70be27e69b34da78c5f7eb93d0daed41b056e850e169ef71f57d77be30662b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withOpenIDRefreshFlightLease (cyclomatic 12, cognitive 17): withOpenIDRefreshFlightLease 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":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2415a9aa10064218f69fb032af90b37e3007eb4c1ef597759cff33b75f1bf366"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toolCallsOf (cyclomatic 12, cognitive 17): toolCallsOf 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":"packages/api/src/langfuse/prompt.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3d095898824821a4f2c94d20587d77096747fe7fdba03dea493c1a39df627c3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleReconnection (cyclomatic 12, cognitive 17): handleReconnection 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2055}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1665b997a3c112cd0ba80e6c8ded3d10ed0c77de312733aa8da6dbb6f14e12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fenceGenerationClaimForRecovery (cyclomatic 12, cognitive 17): fenceGenerationClaimForRecovery 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3557}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adc0d698cc7e82ce5f9fa942d2296fffd8feb46c2e21aa3ecfbda8e6e00aea4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mrkdwnChunks (cyclomatic 12, cognitive 17): mrkdwnChunks 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":"packages/channel-gateway/src/render.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfca313b08386d4895839c0b9ade3ef79ad89c0cb61e5bcb3b13ccd89848387"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function indexMessages (cyclomatic 12, cognitive 17): indexMessages 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":"packages/chat/src/core/thread.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"659e241f2886eb2fe5f777c71cbc2bcfcd05ad5e06d00c2aaef7bdc1c78fb923"}},{"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":"packages/chat/src/react/subagents/outcome.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"07945abcf399a09734c6a726b9e300fc9e23869143524e5a2895568d4eab180d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectNestedCalls (cyclomatic 12, cognitive 17): collectNestedCalls 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":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d2fb7737db07ec1c13ec120db4e8f6911ccba76267049d5233173da5354f49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runConfigMutation (cyclomatic 12, cognitive 17): runConfigMutation 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":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db8ecad4871199babde5f9e2476122f4ca6eac6dc61ca815c86c766b1b9127e"}},{"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":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":908}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9c7972826572e5a7bd35b6cfd9125a13db6ec786f0ba5cabc2f9616daf9537"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadActionToolsForExecution (cyclomatic 12, cognitive 16): loadActionToolsForExecution 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":"api/server/services/ToolService.js"},"region":{"startLine":2551}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa66e9b55a088c47ea3792b2d439fc87c1434d6777fe8f4608999d684056e11"}},{"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":"client/src/hooks/Mermaid/useDebouncedMermaid.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"504e71abb5fe3dd38be2e61a9f9613bd8344796883af2072aab3b134bb736671"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function nonExecutedHITLToolCallIds (cyclomatic 12, cognitive 16): nonExecutedHITLToolCallIds 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":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6173a578e49eb99c95c5202e112e79436a9449410934ebfa0a9a461565f43f5"}},{"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":"packages/api/src/agents/view.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c62d37b74d1416509ba3d4a68b8d799bfcc1f524d692f622b9b757010c3fac2"}},{"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":"packages/api/src/code/bridge.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"8454996a91db81e8b02299a6edcb00dab30c44dfb08a63615f2315fe49661aa4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function authenticateRequest (cyclomatic 12, cognitive 16): authenticateRequest 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":"packages/api/src/images/authorization.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae88b0b9c3cde4ec824abc87816309fc2a90b0b3e5d6cebb650587d79073b76e"}},{"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":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd0b937586165d0ce0b805f9a31c2eb786345f956f62f05a7100d0862f17b5d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeAgentToolKeys (cyclomatic 12, cognitive 16): normalizeAgentToolKeys 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":"packages/api/src/mcp/utils.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd97b1e63254aa3180dc5abe76aec94ef40fce4072437d59f2040448cae0b8a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function math (cyclomatic 12, cognitive 16): math 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":"packages/api/src/utils/math.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7984e51e54ec5124e96d56a3930f2674dec6e02464bd339d81fc2bfea6267625"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptArgs (cyclomatic 12, cognitive 16): adaptArgs 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":"packages/data-schemas/misc/documentdb/sweep.documentdb.spec.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7d1779e0f1fd1c49d0399dbb6197cab15c148f09ac72c82ea6a46e1e56061b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function pipelineTargetsTenant (cyclomatic 12, cognitive 16): pipelineTargetsTenant 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":"packages/data-schemas/src/tenant/probe.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2fef86a1118257edb927168f7f69abded4735285a962cd6be8898daf1adbb8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setOptions (cyclomatic 12, cognitive 15): setOptions has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/specs/FakeClient.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3208fb9355f3b60bd6f779c08cff27b59e0f895d9777bf8bc7bfe09e2e10aff2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"4295b98ad35db9b375868b4842b85e42d8b8de45e37cc5392081da0a4dd3315f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"66264a563a047170cffcb8ec9169270e33da8f95f06ff8b61f06e9e9ae68d5d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function drawFace (cyclomatic 12, cognitive 15): drawFace has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3ffc6926e639d9c87e9c608a89b48a3485f21180be422fb9f54e948ed5fa76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectRecordSecretParents (cyclomatic 12, cognitive 15): collectRecordSecretParents has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1148}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a1ad96f0727d51b606bbd8fb904d15e270417c4b409a9e5f803b71c0a0dab01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyRetained (cyclomatic 12, cognitive 15): applyRetained has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1006}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d4f425f942f59b784dcbcc0de9e9f2f3beee5b3b9a4058180cb33570011a89"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getPluginAuthMap (cyclomatic 12, cognitive 15): getPluginAuthMap has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/auth.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb5aa36fcc64bfaeef9d6a582f6dfd58f2509124edc2db755824f9f430350d36"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enqueueCodeFilesChildren (cyclomatic 12, cognitive 15): enqueueCodeFilesChildren has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/codeFilesSession.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"076018f8e2354c43ff5fc55c365afc582fba84abc945d6ec0dcef8472a379a05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserve (cyclomatic 12, cognitive 15): reserve has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ec23ed3ecdadc29e322eadf6667fe8b69690ed66682a735a399c1c554bb36e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectSubagentCodeTarget (cyclomatic 12, cognitive 15): selectSubagentCodeTarget has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be6d50c1ce80897617a42e642b184f229220828e6a7f6b565906ca0a437bc27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOAuthTokens (cyclomatic 12, cognitive 15): getOAuthTokens has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7047e9f3211eedf97aacf58470433f0e1e1f1981a16a8ad4733f3d83bc36ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/modelSpecs/index.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3473956d8fa8c967f329342227633610eb0b7b11d1a775acd8e8d0eda96a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 15): (anonymous) has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c82e4d1304946b6324f030a85bd2b67b6fc35e093c85a24552be6f272d9d3b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectModeIssues (cyclomatic 12, cognitive 15): collectModeIssues has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/theme.ts"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"afdedb9fd21f739a42eeae78537f268ff374571df8d2b65c22ca74a10c57b14b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChildSchema (cyclomatic 12, cognitive 15): getChildSchema has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":968}}}],"partialFingerprints":{"codehealthFindingId/v1":"917b05eb7c9e90203512e4433704502fd511f65cb903f011addf404eb45e0110"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyTerminalBookkeeping (cyclomatic 12, cognitive 15): applyTerminalBookkeeping has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d014491e9b6894c7cc33b1e00e950fda018b634f3e49e06493871c2e81cd319b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function main (cyclomatic 12, cognitive 15): main has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/activity-labels/run.mts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"66945e208bff2795e4b388555353d57b30d8f4e5a9d78a99babb90926d25bdb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function introducedViolations (cyclomatic 12, cognitive 15): introducedViolations has cyclomatic complexity 12 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/diagnostics.mts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"86557c06129676a32689c4e7515d71f52336cb913d381bb61ff50a2638b7c13b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAbortError (cyclomatic 12, cognitive 14): handleAbortError 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":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a8fdf8b6b14b7231fcc92926e9742b83c129cd83dca6a31cd0bae301a5a7a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"02163f4446b6cb3fb5664cd733d7d3755915cc260f48d16383cf20c692d1cf85"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setOpenIDAuthTokens (cyclomatic 12, cognitive 14): setOpenIDAuthTokens 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":"api/server/services/AuthService.js"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"d09e84da7d41d568fdeef1c8a0911a5ab34513106cb52e5179c857d08d0003ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":624}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a49cba1547dfeb51c61610156633f14204e9b1382d41e20a197875e61906083"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de8631814d25951238ff9f47bef5e2dc342b1ef8cfc9116ae53576dc490ea4c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b093a5c3282da7e033ac5502a55de5a854005613348743920f4736e906eef6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2801752039a2ebc35297e5458671e3fc93cd388788d417e9f5c172bfc8c965"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildAttachmentsByName (cyclomatic 12, cognitive 14): buildAttachmentsByName 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":"client/src/utils/media.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c337fda19b28af3603e3392f07bb99db21813438ccfae91831c2f6451b0850"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/set-balance.js"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c8c7f0a64c003d89875087336bf2996ed646bda7ffcdc41d0eb53979d2cd46"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function refreshFiles (cyclomatic 12, cognitive 14): refreshFiles 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":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b441b1b4af2778c63eef0451e7506b8a69cb6b5fffaa1abae95327f93c1c64"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function neutralizeEnvReferences (cyclomatic 12, cognitive 14): neutralizeEnvReferences 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":"packages/api/src/app/allowlist.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0dcf0012e920eba00a62e8717396114e53dacd2d6bd853242349e3629771d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recoverMCPServerCatalogsWithState (cyclomatic 12, cognitive 14): recoverMCPServerCatalogsWithState 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":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ebc9a11fc74976ccb4a4ff3c6ffa7b4597a9853ce64528a8b3854795c266c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readMcpConfig (cyclomatic 12, cognitive 14): readMcpConfig 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":"packages/api/src/plugins/mcp.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f421e69a9d210b9db2ff1badea5b36feb7060f2d848e0856a7c442d8a54e1d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotMessageEnvelope (cyclomatic 12, cognitive 14): snapshotMessageEnvelope 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":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbafb92901ad480eb275350ff28218311a227836263706439c4fc4c6dfdf0f11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAndArmPreemptMessage (cyclomatic 12, cognitive 14): validateAndArmPreemptMessage 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea0f9156152148c5ce3acd6c4bd0c1f9232f8fbc84282e4bb1321efb7d0dc17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rearmQueuedPreempts (cyclomatic 12, cognitive 14): rearmQueuedPreempts 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":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8959}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f8c974f57666b075bd53215c401c0628285bc3221e8bf2afb261efdb4b3c2f2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 14): (anonymous) has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75ff74d099ac8b444aa2f3cea46da03ec3b671a1e68538a5da0b81a36e33046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAgentApiKey (cyclomatic 12, cognitive 14): createAgentApiKey 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":"packages/data-schemas/src/methods/agentApiKey.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcabc0a0503165ee6bf1f8cda764dba474a3675851ca7a0d72654cb38654f2ff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserPrincipals (cyclomatic 12, cognitive 14): getUserPrincipals 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":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"9310562e4be5183bccc132e27bde4098d24bf27e71fdf7677274e0539b79d2c6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLocalFileStream (cyclomatic 12, cognitive 13): getLocalFileStream 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":"api/server/services/Files/Local/crud.js"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c76865062d1889fb00f997a63d886d00c0ea6e61fca19b6656ae7a6239744b5"}},{"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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f0632cb69d697622172ac526b47c1b8568b2ed4a2451072760ddc741e6a316d"}},{"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":"client/src/utils/convos.ts"},"region":{"startLine":836}}}],"partialFingerprints":{"codehealthFindingId/v1":"5396cd025639a47756efd5d47ea251021ecb96a6c52e1fc6a8efa749222256cf"}},{"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":"e2e/setup/fake-mcp-dynamic-network-server.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f91af2fb01798180eca08b368855c4b4f65b55964ce6cfeb6d79c72e1687618"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function moveRoleDependents (cyclomatic 12, cognitive 13): moveRoleDependents 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":"packages/api/src/admin/roles.ts"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de86be0ada3063f073224b0d3d0fa59320e2d5c7c3f461a0ca3c44238ea6316"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfigSecretInputError (cyclomatic 12, cognitive 13): getConfigSecretInputError 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab4533cfe8864aefe46b9c78e2b11e2bdeb47e4941195fa5e342490a69a0d2c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExplicitEndpointAggregateLimit (cyclomatic 12, cognitive 13): getExplicitEndpointAggregateLimit 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":"packages/api/src/agents/attachments.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b2d8ada38dd4ccb4bd31ac6b9163c30bf0f22d5c473783ce264884ee7f553c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeToolInvokeArgs (cyclomatic 12, cognitive 13): normalizeToolInvokeArgs 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e8a482d0504ed04f5f3afd91198466d87c5e64840c861797daf7f8f1ffbec8"}},{"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":"packages/api/src/agents/intent.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f88cc621ce94f465153d495111fe1be88c322191a26c8fc02ce1c05fb3aa9b8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function enrollAgentExecution (cyclomatic 12, cognitive 13): enrollAgentExecution 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":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8bef5b2f18ce6a98de44d4dbde30bc27981161104981049033334413e6ac91"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getLibreChatRolesForOpenIdSync (cyclomatic 12, cognitive 13): getLibreChatRolesForOpenIdSync 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":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2355ae0ed79526feb09918803d85481384599d6f39a995f9c293c48d387499"}},{"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":"packages/api/src/files/code/process.ts"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0987696f4cc87a78d6f42da5513c7496bcdad4c6b215d8b3e0fb9edb3aa770"}},{"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":"packages/api/src/mcp/__tests__/MCPManager.test.ts"},"region":{"startLine":6971}}}],"partialFingerprints":{"codehealthFindingId/v1":"16570bde5141e47dee7a79a6b03bfc8f9abc5d9f018e1813c973ab3b7b55f471"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function discoverCandidate (cyclomatic 12, cognitive 13): discoverCandidate 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":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"3038f5d3f25ff3468973db8d7a13c52e0b7dcc892e795d8fdb2fb8d7389e7b2d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getJson (cyclomatic 12, cognitive 13): getJson 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":"packages/api/src/pulls/github.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8bc7e4a651c9de4229b86f0496949b8a11e3b8790f387d284fafb7decd79153"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCloudFrontFileStream (cyclomatic 12, cognitive 13): getCloudFrontFileStream 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":"packages/api/src/storage/cloudfront/crud.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"88c540bf35b2e39ad8c06dee34305a38186f7a98937799591bdd4540a054315a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSignedWebhook (cyclomatic 12, cognitive 13): parseSignedWebhook 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":"packages/channel-gateway/src/events.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"825f7f2990e5a1827575022971500dd4c0e7fc47cf8bec0f806f3c227fe026fe"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseAskUserQuestionArgs (cyclomatic 12, cognitive 13): parseAskUserQuestionArgs 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":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"193a1d0d4696a205955748666246060d5683e034b289aad72c3a9503d99e0759"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function partTextChars (cyclomatic 12, cognitive 13): partTextChars 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":"packages/chat/src/core/usage/registry.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"137d882636f07dc949a35b9c359df715dd7393fc6de1f693627e59a631133b50"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _authenticatedFetch (cyclomatic 12, cognitive 13): _authenticatedFetch 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":"packages/data-provider/src/request.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"8053eb6d8fd3f6393990a14e4df53a30b033bfd3a56074bf47d04cfec9a57ebd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setConvoLaneGit (cyclomatic 12, cognitive 13): setConvoLaneGit 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3192}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6471bcdb94c89e337d0cd4688285389f134db1599fc251861dcf2ff93bc012b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function normalizeUserSubmittedMessageFieldPaths (cyclomatic 12, cognitive 13): normalizeUserSubmittedMessageFieldPaths 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a091ead1d5accd82a629599eddaf046fab385023c75f4348f1054280a4dea40"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function writeMessage (cyclomatic 12, cognitive 13): writeMessage 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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ec178df645a4eaaba41c8ff1225c7abd38437165c1516d38ca510eb21ed60a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findQueuedTurnsNeedingDelivery (cyclomatic 12, cognitive 13): findQueuedTurnsNeedingDelivery 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":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1504}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c5f8fb8198262262e46f3d429dc9d7be9ca245fb91db366fd215fd337128187"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteTokens (cyclomatic 12, cognitive 13): deleteTokens 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":"packages/data-schemas/src/methods/token.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"87da4da0db4ba5d15522053cb2d76f0dcf37f614b78623652c56f59c2f6381c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reclaimInactiveAgentTriggerLanes (cyclomatic 12, cognitive 13): reclaimInactiveAgentTriggerLanes 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":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"1949f44b92fde5e9a708a062fe3307f37640c0fd9aef53f78b47ac99d08b13b1"}},{"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":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1269}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9de238350c792f4cd0fc2bdb65e8b7a7dbf2afb7f0a8b2fcbd3d46f87dc81f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sanitizeTenantMutation (cyclomatic 12, cognitive 13): sanitizeTenantMutation 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":"packages/data-schemas/src/tenant/policy.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b581375a45b83a984bd57e81d68ab37ae9abf0a0a8ef4983ec010c04816617b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolve (cyclomatic 12, cognitive 12): resolve 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":"api/server/controllers/agents/client.js"},"region":{"startLine":5731}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13628292ce8e636fe0467d4460147f975573a49ef9763be24ba7f42fd1e417f"}},{"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":"api/server/index.js"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58d16d5839c1da61f0b53bb4ac6387ec82994baa7c7bd13b90174efa80b6d8"}},{"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":"api/server/routes/mcp.js"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"5854bba6c37104a0c22fc096348095507222b30933bc55fdd65fb6b8481ba5ae"}},{"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":"api/server/routes/messages.js"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"055f793965de5ea41f3cbfb725b3144838c898a2aa2480fc9da7ece977640d2b"}},{"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":"api/server/routes/roles.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"502c3dd43a53720fe9988fadaf7f489a18e12b6576b6678ed907ba2730b71f5c"}},{"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":"api/server/services/Config/__tests__/getCachedTools.lock.spec.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acb0ff3d7a47c4f6e67fbccaf764af36b4668b16051fdc66b5e16aae308e41d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFileExtensionFromMime (cyclomatic 12, cognitive 12): getFileExtensionFromMime 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c15813456f4516751701e9321230eeb66238fc70e322d628094a7d875752234"}},{"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":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3e0d7d6bcfe2034eb3379c9503413c7cc5cb9ec285372029f38a52287039b1"}},{"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":"client/src/components/SidePanel/Builder/AssistantSelect.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ace7f93d41803f0bea082447a12799cd96957c43572d5a585a144e69eadcf5"}},{"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":"client/src/data-provider/Assistants/__tests__/cache.test.tsx"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"5928dd27bcc7925380dac3976e406e6a456750e2065ba19d67355cb33f25700d"}},{"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":"config/invite-user.js"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"271acc76f0d90f3af90931cfc18cc1ed90258b780111ec4a14a774a470472a30"}},{"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":"packages/api/src/acl/search.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"431d2edf579e25fdf37a9ef837190e17aed4e663390c7f5cf74a8d4541193be9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createRoleHandler (cyclomatic 12, cognitive 12): createRoleHandler 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":"packages/api/src/admin/roles.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5491528a2bde2fa5495eb60953bc189dbf095b027f9d05747b605f289612978e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordCompletion (cyclomatic 12, cognitive 12): recordCompletion 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":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a26c4b6eac9686e5a7cc0e2f0e7827c10a20528e612799d7110f3629514ad1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSandboxTextForAuthoring (cyclomatic 12, cognitive 12): loadSandboxTextForAuthoring 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":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae718be58c82889784215bda376ac35dbcf70f13415936001a8c69f70911463"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResumeMemoryAgentDefinition (cyclomatic 12, cognitive 12): getResumeMemoryAgentDefinition 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":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"6179eaad78dcd89098069128e546479c58a3fd7b72996576f0f2af59dbb19347"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeAccessibleCodeEnvironments (cyclomatic 12, cognitive 12): mergeAccessibleCodeEnvironments 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":"packages/api/src/code/config.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc071950cb7d0f982a6bcc7827116bf91782950fbf4c63e1cc22ed708663c19b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function forceRefreshTokens (cyclomatic 12, cognitive 12): forceRefreshTokens 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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7305e472d89b601de347b9b35fe4617a626153bf1971089560881dc912bf001"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAvailableProjectFiles (cyclomatic 12, cognitive 12): listAvailableProjectFiles 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":"packages/api/src/projects/handlers.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"3352a43d8bfcd6d2efcfc71fa5f13e02cf3daf68ac7322e1263c63e022bbfc13"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveScheduledMCPBearerConfig (cyclomatic 12, cognitive 12): resolveScheduledMCPBearerConfig 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":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ce4a7e50f632420f0ef1e46ca58f033e1b1cc373482b8d5084930feee9c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function abortActiveRun (cyclomatic 12, cognitive 12): abortActiveRun 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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1986}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2d5019f5929273a9fbf5187310f76451e0296343df24296023edc3d2140b0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAccessTokenJwt (cyclomatic 12, cognitive 12): isAccessTokenJwt 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":"packages/api/src/utils/oidc.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5403f98c125f166233dfa07702a3590e28d27762d3e6b04679ff9a871dbc2d4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CollapsibleText (cyclomatic 12, cognitive 12): CollapsibleText 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":"packages/chat/src/components/CollapsibleText.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"56aaaecdbfe508c8017e30a765b9e089a3c05e15ac7c960a4335fcbb55d44ec0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backgroundListGuidanceKeys (cyclomatic 12, cognitive 12): backgroundListGuidanceKeys 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":"packages/chat/src/components/parts/guidance.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"39515e1426082a787ac2cff800c1021c0ecb5754ce58fd9c1c6043bc8f5890f2"}},{"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":"packages/chat/src/components/subagents/__tests__/transcript.spec.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d961e3202a34f73a24d398ace94529ee2bd671a7af22bd73cf7c9f467b78ea3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applySteer (cyclomatic 12, cognitive 12): applySteer 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":"packages/chat/src/core/resumable/patches.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a41626a047e5e895f8644762e4b385cdce152e5887701e98a9781efec8c45b2"}},{"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":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ab552952c69a351e1d6ada7ccc068ff30cb6dfd1acba2712fc8b86d45e49fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isPrivateIPv6Literal (cyclomatic 12, cognitive 12): isPrivateIPv6Literal 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":"packages/data-provider/src/config.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"a831a3921bd9b378c3ac0563f98fe6513686125f479d4386c0a7680def2bcbe0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createPayload (cyclomatic 12, cognitive 12): createPayload 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":"packages/data-provider/src/createPayload.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"92652eff9a9038a2bf3df2c1af3cdc16b7c3fbf4b5573ab3923582b9ab4f426a"}},{"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":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9f84ff22a58ac7fd66a82b42903147b27d9ecdddb387ba26133f51b1b93bf6"}},{"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":"scripts/quality/workflow.test.mts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc5a13017d72bee8f617b946f7965682e7eedd47685b057fa4bc47211dad307"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function contextualizeModelUsage (cyclomatic 12, cognitive 11): contextualizeModelUsage 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0f682096e4eefd90bcdbd6db9b001b3b50a0f29ebc49f6dfe2c0494e307918"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d926400225c0906828840607339a076dafc5d8845e8fda3e232ea78cdae1e98"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/PromptGroupsContext.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cfbc14737a7ce0ad3ada42bb357bf29890c898b5662b30f64e77c733487fda"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function BookmarkForm (cyclomatic 12, cognitive 11): BookmarkForm 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":"client/src/components/Bookmarks/BookmarkForm.tsx"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"afa725d80ac67abdf9dd88168c28a34fc34d0ae49d6efa0a26275895dc050e97"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d24f3fe92c1215e80c885ceaf9c5cf26ac99aeeb783923012180bcf57c29d90"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a84b2561b95da19111f158c270f4c56ebaab7dc9e025e9bd62b1a426ca348"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Ledger (cyclomatic 12, cognitive 11): Ledger 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":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b994e3289518e833bc9acfac14aea7005702e1aaaa82fa6673bb8d3eae68812"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readGeneration (cyclomatic 12, cognitive 11): readGeneration 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":"client/src/components/Messages/Content/Error/BalanceError.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e48557c567fad727cacc318824e22ad4391b05c36f9e50dafde38d5034d471c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelPanel (cyclomatic 12, cognitive 11): ModelPanel 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":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"799b0212852e7a5aef5cde9d2b294104d0d84abd1ae251ac8bf2a6302a20d276"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendResource (cyclomatic 12, cognitive 11): sendResource 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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"3299a499010e54baafc8124f77223c735f604ef640e5e646e8906f8eb0ffe1e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onTouchEnd (cyclomatic 12, cognitive 11): onTouchEnd has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e781bf868798d237c58c32851a60ba54f25515f18658f249f2e67799f12946c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function channelErrorLabel (cyclomatic 12, cognitive 11): channelErrorLabel 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":"client/src/utils/channelErrors.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24fc4c1b95a3631a98b413ff02a714644eff63b9236214aeb56139a9b194ff2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9456ed3438ebdc824c542365f3557145fd9ba32b4569991385d4c9ef51b36f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function serializeSourceStatus (cyclomatic 12, cognitive 11): serializeSourceStatus has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/skills.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"583c36cc72bfc5aebe001379abb92ec2f100fcf9d4401d620baed22c86ac3732"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/control.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"634525d3d092d6d46a88f420abc287a57a974fc142e6485fc1a2f66d52545163"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAgentErrorMetadata (cyclomatic 12, cognitive 11): getAgentErrorMetadata has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/errors.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df9188cedceb0456ca3f76e363ec84cf6ec7ff8852d19f9624d3567a1d0d4fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getUserFacingError (cyclomatic 12, cognitive 11): getUserFacingError has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/failures/terminal.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b2fe56cb751d44745cc3870b0df3904173e41c4a6a10c24cf1fff8a5a9586c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function filteredSkillResult (cyclomatic 12, cognitive 11): filteredSkillResult has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1357}}}],"partialFingerprints":{"codehealthFindingId/v1":"dffe326a06b913d0ce4aaba525e9b965a2a45ba22f3565ff5460a2f6080e1b53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9b09d8d72ddb69a31a3d2b8c6ff311d0a606f537f5b78092cf1206e6c65d69"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isSnapshot (cyclomatic 12, cognitive 11): isSnapshot has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"a23544116dad32bfbde2d12900b455c67960bd5d705f6c034bd97aebb2ae03b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRequest (cyclomatic 12, cognitive 11): handleRequest has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d401d1756cffd8a85aab5840e35b46bf1cbd8a1181b8c9b987ddeab203ca9e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimTask (cyclomatic 12, cognitive 11): claimTask has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2044}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3550c3febe70fc896677134f22f10e949072a18ac6a497bd8946aa303d7cf93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d32009ac4fc00fb4d7fc228df908d050b598c133c31527bce7309150b37716"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6147bb94b5ceb09d188b35ef46c5552538f9dc716c864cb2bfa6e433749dfefd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getOpenIdRoleSyncOptions (cyclomatic 12, cognitive 11): getOpenIdRoleSyncOptions has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openidRoleSync.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7d112a718c9a5ad9e2e6f70a8d27cefdde0edc3ab1a0740a1611c3e75665bd6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function start (cyclomatic 12, cognitive 11): start has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaces.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab16c0a316c37c7bf791d1df3b6375a396815570e76eac2a7a429de58543a4f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function archiveHandler (cyclomatic 12, cognitive 11): archiveHandler has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/archive.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb61130654c1dd7f067bdd1fc82b87a9fe153803a8756a81edaabe8c72f6ae79"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function fetchOpenAIModels (cyclomatic 12, cognitive 11): fetchOpenAIModels has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/models.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1fb0722d0b8ead3f595dbc040b66313b8edc4f56832af1eba36884999eabacb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function prepareCodeOutputBufferForInspection (cyclomatic 12, cognitive 11): prepareCodeOutputBufferForInspection has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/inspection.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5599121a678722f902aded1a08e2e20f0f4b12bfc6b347528f13c4710f9533a6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/queued.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f54eaf8cc8eb25ef7de782fcc5ccee08d0df9ed905f0aa0b2fefc5b40789541"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/storage.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"599a36fba6e8d9d4a0d599a93ea435ae2e36f839ec29ab9f59042f96534cb2a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveLangfuseExportPlan (cyclomatic 12, cognitive 11): resolveLangfuseExportPlan has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/config.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa8d6fb6e5031412b6e1309cd6d2513067e37ccc766ea5fbb8a4ff2a2fd2bab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readResourceBody (cyclomatic 12, cognitive 11): readResourceBody has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e02579bc79c69d19e2051370f24d48f4883d4fec57490c77dc6c2db9fe8e8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldUseSecureCookie (cyclomatic 12, cognitive 11): shouldUseSecureCookie has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/csrf.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef0672a6c522268645947a6bed919ab3851ac90350a1db2b761e46568ba037be"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function toRuntimeFile (cyclomatic 12, cognitive 11): toRuntimeFile has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/resources.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54cd05958c778166bf45574da049c139e54971b73e26b58cff76629e01f4ff6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a599f985049ea9fceeda34295c03be5ac789be0d498a0b81e3bf23a15668f6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePullRequestHost (cyclomatic 12, cognitive 11): resolvePullRequestHost has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/settings.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24fd352f29164d7ad502414aecd2f624628c05c7f24f9cb83afdd06905a1c0c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validatePayload (cyclomatic 12, cognitive 11): validatePayload has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4db954f643745bdf41ecadc8b24efbd3a710a7f849110c73f5d3078c6d5deb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finishProviderTerminalPersistence (cyclomatic 12, cognitive 11): finishProviderTerminalPersistence has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8534}}}],"partialFingerprints":{"codehealthFindingId/v1":"742f71bcbb817c41236e0f137dac6b95dfe94be571c1fdab7de914efe3548254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function claimDetailed (cyclomatic 12, cognitive 11): claimDetailed has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/SteeringLifecycle.ts"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9323aabc25506234400914d5c8916acbab24ce8bcf30b5bf6d241cc118f944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ca1734cd210fef1fdc72409a56247d491d4d506a23d1104f8fd404822a3fcb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b27002226cd49fd03b27110c2c20316da8bc1e2212dac55bfd8c4b49be027b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ChatScreen (cyclomatic 12, cognitive 11): ChatScreen has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/pane/Screen.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7d8944e9c543607411ad887a39115c4aef6ffc18778c6ac50169e9dfe68edb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getChatPaneChrome (cyclomatic 12, cognitive 11): getChatPaneChrome has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/pane/chrome.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e365485c5f8c48dd34747d08b9ddca9487cd094feb075ce799b53ec6fb26bba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/ActionButton.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b9e957c169880a69d0164df06aa42e03c234abe8dc2ff73ac9c2a48af7374b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/mapping.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf85a41765731105b6be771be8276ea99d595bd8bbab0be6aa79c1ad8018714"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/errors.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4529eb9f170ada2ad97465cc6b62006530361c128a77103c59786acf3d6007"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getExplicitPort (cyclomatic 12, cognitive 11): getExplicitPort has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"f988aac1de55baff875e35a9a6c4fb982b11339f36b4898f5ed725bd10f81caa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deleteGeneration (cyclomatic 12, cognitive 11): deleteGeneration has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/checkpoints/mongo.ts"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"9687f4dc757dd2eeb446c59cd862942f5de454fbd3c3407711da5ed1b4f17ca5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deliveryDisposition (cyclomatic 12, cognitive 11): deliveryDisposition has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelProtocol.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"682c156c124faee9894f03bbd1717845d1903544b6843aeecadb007b19810d39"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildOperation (cyclomatic 12, cognitive 11): buildOperation has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2660}}}],"partialFingerprints":{"codehealthFindingId/v1":"07cafb725d817d6bc40c738b521b9c5801a4f0e11dc1655830f7e7527c10306b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getAvailableProjectFiles (cyclomatic 12, cognitive 11): getAvailableProjectFiles has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2f041dca84072522de49ebdf82eb1284a8b317b164be5cced958518fd21904e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 11): (anonymous) has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"288a4c5e3eb8d2dc3b2730315a04eba53c97aafbeb5548d592d03769f820388f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"555e80e3ca4f669388a1e3004667dcb87f1372a2f9ff21a24702db220c6ebfbb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downloadCodeOutputBuffer (cyclomatic 12, cognitive 10): downloadCodeOutputBuffer 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"f252c4b2ccfb4990060573b7bea53526b0dca4f9596e35564608e161bf829b6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleAnswerKeyDown (cyclomatic 12, cognitive 10): handleAnswerKeyDown 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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a918ada71f8f76ba2424eb91b8e0b98afab3dbe431d3b4beed262a658935c2ec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PendingToolApprovalPanel (cyclomatic 12, cognitive 10): PendingToolApprovalPanel 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":"client/src/components/Chat/approval/Review.tsx"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"2645340657d9e59aade228eeadf40141c853fca9b3598f4650eb95dc32539b45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function TwoFactorAuthentication (cyclomatic 12, cognitive 10): TwoFactorAuthentication 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":"client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83dae2aed8637168452e0bbbe9ed0111afeec634ec037187afafb52b1be9dad"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"141542e8a7824dd205abf2e1856976349fce4c329e205c1c850559c430da9c86"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Agents/queries.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"34460523b4758d79688335462c7dbe0bd9f15b3e710e1a4ca5e8284ee1040d8d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createActivityPhaseWiring (cyclomatic 12, cognitive 10): createActivityPhaseWiring 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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":822}}}],"partialFingerprints":{"codehealthFindingId/v1":"414d312778ca42f36a2f74e97093a62dfc54a2555aaee7bb446685e63834c12c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertAgentAttachmentLimits (cyclomatic 12, cognitive 10): assertAgentAttachmentLimits 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":"packages/api/src/agents/attachments.ts"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b97f2a8f033210d0adcd17791f134bf2086a2b13e9573eb254ee68505be401"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function describeCause (cyclomatic 12, cognitive 10): describeCause 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":"packages/api/src/agents/failures/subagent.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd0dcc5740f76bd966eae4d2e5643d07ea7be2877f73f6c23de7e37674e10b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cfa3858feeb8312e150fa49a14a1e3181abd5913a5186837d61c693cdf19ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function responseBody (cyclomatic 12, cognitive 10): responseBody 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":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d9732a15d8ab2f3091b3bc39c1a090e4e4981bafd4240c580a5320a19ea906"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function provisionToCodeEnv (cyclomatic 12, cognitive 10): provisionToCodeEnv 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":"packages/api/src/files/provision/service.ts"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5392814ae410c955c9258198c72ce16185e9b3e2b843fa7904a655eea2130d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateAnthropicPdf (cyclomatic 12, cognitive 10): validateAnthropicPdf 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":"packages/api/src/files/validation.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"9493d3a841f0960ab388fbba713b2ebd88f8a4b88ff157e59af2000c87c3328b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveSkillFile (cyclomatic 12, cognitive 10): saveSkillFile 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":"packages/api/src/skills/save.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"660e6f4a16a40aad94fdb129bf1f6e84148b7b8b09fca12818e5f6190087a6b5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function failStalePausePersistence (cyclomatic 12, cognitive 10): failStalePausePersistence 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":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"2720e995b9b6b2c6084baff47afcea7209a70909ea815c9dec364b2858d81637"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function transitionStatusAndDrainSteers (cyclomatic 12, cognitive 10): transitionStatusAndDrainSteers 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"2af80376107849f56e2e8d52486d26c1b3c0334144a1fb174a9c1d98da152950"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ComposerActions (cyclomatic 12, cognitive 10): ComposerActions 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":"packages/chat/src/components/composer/input/Actions.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd22f8d46f58f6da1e8d08c7fcb6053165bce22a4049c8b8026559794cbae3f0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dispose (cyclomatic 12, cognitive 10): dispose 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":"packages/chat/src/core/chat.ts"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d4a1655a19a65fc46122019a7420bb83cb982967a754bb8df58a8fd1ed8516"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/composer.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c4a1c5afef46431c231b8e1b1741b470062621a9623ebd818e27a2b8dc4489"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/stream.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b05f3d36373887a088b6fd953db791f28d24d1836ebfe30ea046874e0a2098b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTurnLLMDeliveryPath (cyclomatic 12, cognitive 10): resolveTurnLLMDeliveryPath 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":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"308fcce80e1aaadd51092ff18bfe58c790c38fc0224c6dc57bd74d8b902f1ec6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function create (cyclomatic 12, cognitive 10): create has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/eslint/chat.mjs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9475bdc01a0509f11b50f7421aabc11e6cf3ee2bba4887fc3eab4d1ccd773d76"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCompactionRejection (cyclomatic 12, cognitive 9): getCompactionRejection 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":"api/server/controllers/agents/request.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"065db0da81ecc98656d8f327f6ccc22224e50b9ab1beecd795e8647e9af6813b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setHeaders (cyclomatic 12, cognitive 9): setHeaders 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":"api/server/utils/staticCache.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae470bc4c5d944e8a27795b9cedd751aa855b8d935e4fc8168f2dd867aab8a0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Endpoints/Settings/OpenAI.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"393d75904a1d667065c70e5361c7707a9e7a1d0525adf35ca4a61307fab3dd01"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Lia (cyclomatic 12, cognitive 9): Lia 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":"client/src/components/Lia/index.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e15e97b86c2864b9565acb601fd7890c3020b7e67bc205a023964876c6e5d93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptName (cyclomatic 12, cognitive 9): PromptName 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":"client/src/components/Prompts/fields/PromptName.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e35e5910ad3504ec57ff0b03e4454f3b417a0c90883de2114b06f7c72173d35f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dab1a6b5e983aa2508f26b21f13109c8c381cb547d18aa22d7a7c4936bbe3e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useSelectMention.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d146e88449f7accf9501668618a0fe7e2b21def710e43c0f6d7545c08351dd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"18815aa6f275436c6ef64c7b97f844508b3b0982f71a026993f564914c8f1dcd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseIsoDate (cyclomatic 12, cognitive 9): parseIsoDate 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":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"008189bf83c2272e0b7dd58bd3467112c5f69b63a3e85944162e5242b4c10bc9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResolvedConfig (cyclomatic 12, cognitive 9): getResolvedConfig 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":"packages/api/src/admin/resolved.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"735a56a1bc5dcd1b507d1ca462406d895de6d72d6c6d4b0a9662bb71fc089249"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createCompactionSemanticIndexProjection (cyclomatic 12, cognitive 9): createCompactionSemanticIndexProjection 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":"packages/api/src/agents/compaction.ts"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84c054f5fa30451f04adc29c2af42f72105a1329c6551da77bc907121e1073c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapAuthorized (cyclomatic 12, cognitive 9): mapAuthorized 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":"packages/api/src/channels/feedback.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b476fc10330cc27a1366319937ca3371616b48e9e3e26baa43295929a3122cab"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function supportsProgrammaticCodeExecution (cyclomatic 12, cognitive 9): supportsProgrammaticCodeExecution 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":"packages/api/src/code/capabilities.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3851dbb8600ea9a5b3c31d73636b3242e6994f04c605569b3445250f80952bb6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseExcerpt (cyclomatic 12, cognitive 9): parseExcerpt 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":"packages/api/src/code/edits.ts"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e44f2803631cb26942f912dc0af532ea30d9f9414a0bc6d39e1754c11af2744"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function announceErrorTurn (cyclomatic 12, cognitive 9): announceErrorTurn 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":"packages/api/src/conversations/announce.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"de856ce5d2ae04524bfeb34c9cf809b04686e4ffb1433bdd1c56bdedfbcd1696"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseImagePath (cyclomatic 12, cognitive 9): parseImagePath 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":"packages/api/src/images/authorization.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80d26f5c1eca0eb51c96982887d6ae9c397a5604ae1e38ab4f4d5f903a3b2f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ipMatchesCIDR (cyclomatic 12, cognitive 9): ipMatchesCIDR 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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":803}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5090e311b904643becb56849025ccc4a4c882578fb375ae752e860be0ea2a57"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ContentRender (cyclomatic 12, cognitive 9): ContentRender 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":"packages/chat/src/components/messages/ContentRender.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ae270c56ab791e6806fd92f13aa0d56c992d6e39d4a4150378e41b65b7b045"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 9): (anonymous) has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c8b9ad1b18a71e05a6254363ddee37ce7f32746f5e8f5f8f2dd6f02e10d6e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cvaDisabledSense (cyclomatic 12, cognitive 9): cvaDisabledSense has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/eslint/design.mjs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3b97f4e81fe1200800fc46c756e4295df1ce2891a9f079a460824841933922"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 24): (anonymous) has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1140}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac69eac10bbc194de4a0c526e6515a7566015be4bf8fd69105da16eeeb59240"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 24): (anonymous) has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/misc/documentdb/sweep.documentdb.spec.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"94aa28db55fca2bf58ebfacc0b70964e04b27f08604d91ad31bd4d05cc8aa75d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function backfillSearchTokens (cyclomatic 11, cognitive 24): backfillSearchTokens has cyclomatic complexity 11 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/searchTokens.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c676eb59e5aa2c65d5e9219606e576eedf5db0ed0fc7250a4b5ccfc5026c290"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRequestFileIds (cyclomatic 11, cognitive 20): getRequestFileIds has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dffd7277b09d46396e8d7bc7624de08d8d5ff7185ad9487e89be59fd21ca65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMessages (cyclomatic 11, cognitive 20): processMessages has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40fbe72f1826fba6589e192c75a2b2e5b18e4aa6b3c422d249e2425c377e24f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFrontmatter (cyclomatic 11, cognitive 20): parseFrontmatter has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/utils/frontmatter.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"38129ddb471122699c8320d3448e580441f728fa5426b5691f15656291924820"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function flush (cyclomatic 11, cognitive 20): flush has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedback.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3927b39da5080e4183058a8c13acbde20ec0a1abed4cb1bf1a3b07c2f891461"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function notifyApprovalExpiredRuntime (cyclomatic 11, cognitive 20): notifyApprovalExpiredRuntime has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9536}}}],"partialFingerprints":{"codehealthFindingId/v1":"de5230c62e2d94eb0c62cb13e611a68a0934f11ccfae2a46db332db49379591c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 20): (anonymous) has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/PixelCard.tsx"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"5092842e341a4a7ad3751b56c511e3725d8faf23f5c59ecf8bd83fa829609c27"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropSupersededTenantIndexes (cyclomatic 11, cognitive 20): dropSupersededTenantIndexes has cyclomatic complexity 11 and cognitive complexity 20; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/tenantIndexes.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca9cc179749798d108c671b0c94883dfe2ed3ef8a0a281da9dd615f5f57766c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSkillCatalog (cyclomatic 11, cognitive 19): resolveSkillCatalog has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"0452c8821caef6772254973033d7e3153a7f5e7b464070a94cee39b14395ecb1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function numbersRoundTrip (cyclomatic 11, cognitive 19): numbersRoundTrip has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0df0d819cb08cbd40b49574b3f1234a86eb133c3ff3c7099d8737cc851c861"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 19): (anonymous) has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa008778ffd799d308ab9f19268b93fb418332f71f0f98659e9689f008e7ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hardCoded (cyclomatic 11, cognitive 19): hardCoded has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/primitives.spec.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a68245ac0541bdf24fdb160ad1d189b5d9772bbb1d32c8d48f34d93f7081a25"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateBalance (cyclomatic 11, cognitive 19): updateBalance has cyclomatic complexity 11 and cognitive complexity 19; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b14426f8e7436ec2609729e6dd9d1ecb7ea00b1498945ee29cb57221e09398"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function waitForRun (cyclomatic 11, cognitive 18): waitForRun 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":"api/server/services/Runs/handle.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb09ae3d02b47517ebdcdad06f05a7c9ddc116c000f5ceab46b06981a953c9cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 18): (anonymous) 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":"client/src/utils/drafts.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8a760d491f143e9d37ed672fd6cbb0274615a552ce14250070ac166fab54a9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function executeAgentRun (cyclomatic 11, cognitive 18): executeAgentRun 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":"packages/api/src/agents/remote/host.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c680450784c8a08111e13f6ae6c0af0332e54c0b7220091912550af97c5e7c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createModelBoundProviderContentIndex (cyclomatic 11, cognitive 18): createModelBoundProviderContentIndex 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2693}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ca0ab67f74f679d654a0dd081ed31c5cbf9ea0e600974977bfc6a0c35613486"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleChatModelStart (cyclomatic 11, cognitive 18): handleChatModelStart 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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3278}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efd41566c624cd3cd5bf423eb0f9b92bc47122e92aa6cc2e4bb20f838de7ccb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadPluginSkills (cyclomatic 11, cognitive 18): loadPluginSkills 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":"packages/api/src/plugins/skills.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb98ac2d2efd3e2d78e6bf2b7f115f8e1bc8e696572cb36cb494df81c6056db6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processBatch (cyclomatic 11, cognitive 17): processBatch has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceb2de7a5f603f5f60283dbebca9c748ed64ca19a09ea5c381bfa26b61fb1c49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 17): (anonymous) has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/toolCalls.graph.spec.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac6785212e5826004103954eb9954119726c289077eb3c6f4527692ab8afca4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractResponseInputFileContent (cyclomatic 11, cognitive 17): extractResponseInputFileContent has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee298253da08efdc9cbf01bbb2612cbdb4b316bd3770fef89a3c87858bf48972"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreOutputIdentity (cyclomatic 11, cognitive 17): restoreOutputIdentity has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"394e9a8bcdaefd6aa01190204137d4ca3d47933c4ea9b37cfabfc1c60b9c94d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function remove (cyclomatic 11, cognitive 17): remove has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"5daa75563b906772a84957edf9dc0eea4c0617077d3ddb253ba8b02c056e604f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renameDocumentParts (cyclomatic 11, cognitive 17): renameDocumentParts has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/document.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"57e20035c7e82b7f962fb2f69c48e85fb96aac616ca8f338feb887640aa35425"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function disconnectUserConnections (cyclomatic 11, cognitive 17): disconnectUserConnections has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ff8531a8f82625a9b963f36f2576cb92a2ae346e9f960750fc4f2d1f617033"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function saveReadableToS3 (cyclomatic 11, cognitive 17): saveReadableToS3 has cyclomatic complexity 11 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb86dceee75466713b8990d25db0a860b4b444806ea6a8a8c41786abc5cfe43"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMessagesWithinTokenLimit (cyclomatic 11, cognitive 16): getMessagesWithinTokenLimit 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":"api/app/clients/BaseClient.js"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8db9b3cb687a18f26b1f2a02587438ba8893390a48cf861b2705a00aa14451"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createTextFile (cyclomatic 11, cognitive 16): createTextFile 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":"api/server/services/Files/process.js"},"region":{"startLine":966}}}],"partialFingerprints":{"codehealthFindingId/v1":"28f13c7c6f7d6ef6f897e904c08e1893adbb6758b2c3a01e4422fc57a98adca8"}},{"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":"client/src/components/MCPUIResource/plugin.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b041f343ff37f7473199834c9cb18fab00c0ade5646122a2f28085910834e8f3"}},{"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":"config/migrate-code-file-duplicates.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff19b198d9e60b4b76d9122e34c9375ca784d67b2add1815c8a1eefaa22cf945"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectToolDefinitions (cyclomatic 11, cognitive 16): collectToolDefinitions 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":"e2e/setup/fake-model.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"262e14373672c689e328a5385095cf31a6db4562d898c488df9bd88376644c80"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSpecOperationNames (cyclomatic 11, cognitive 16): getSpecOperationNames 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":"packages/api/src/actions/tools.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8dc81eec82117fddd79f3d7f45997f3f09c4a9ba6a3fd6bd52326198f0d099"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSummaryPartText (cyclomatic 11, cognitive 16): getSummaryPartText 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":"packages/api/src/agents/compaction.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"653ce20ab3c655f7b730ee7b1c637aadd7545d5c21cdcddab1b60b1a12a27fa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAttachedCodeApprovalMode (cyclomatic 11, cognitive 16): resolveAttachedCodeApprovalMode 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":"packages/api/src/agents/hitl/byom.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39672edf535da91ed30c6179ffab17366c2cf7f0e963f81c32daab14a6ee208"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settle (cyclomatic 11, cognitive 16): settle 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":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"90292e21a5145c279ce70ad749b8273736b9bba090d0a2b4cae875e130a2aba9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function _getClient (cyclomatic 11, cognitive 16): _getClient 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":"packages/api/src/cache/keyvMongo.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d83fc2ad5234559bcaf0e459341640b7dc63e6b31479aa3295151b5a79d4e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function wrapResumeLazyAttachmentValidation (cyclomatic 11, cognitive 15): wrapResumeLazyAttachmentValidation 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":"api/server/controllers/agents/client.js"},"region":{"startLine":5708}}}],"partialFingerprints":{"codehealthFindingId/v1":"b57b505ef0956ba718e3b1bac3a50caaa97978729ef4cd3dbecfe21ede66a607"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processTextToSpeech (cyclomatic 11, cognitive 15): processTextToSpeech 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":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"f816445f5f24b0bfcb50a1aee99c10c0a65d4f11f06f1737375dc49263838650"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function exchangeOboToken (cyclomatic 11, cognitive 15): exchangeOboToken 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":"api/server/services/OboTokenService.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"843b678d6f66a634b939fd0a7286a893ee5c2613d17c749580b6e2a396f5aa03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getSelectedIcon (cyclomatic 11, cognitive 15): getSelectedIcon 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":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b77d662e913d54f2cc2a9c2113a9edbc20aea38274057c8a61985a74ac43ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/logger.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7197f61ada3056608cde915b79247abfc111eb071e3313fd4fe5bfc24542a49"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateBundle (cyclomatic 11, cognitive 15): generateBundle 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":"client/vite.config.ts"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b51fd315f4949ef8946c96fed4d7fc77465d4d6b6dd6fb8cbdadbb55b7d18f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/avatars.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f016c34140d4cc8ce749a347d9431752b83f8d4101a7163a45fbf65a0fd3be3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function countActivity (cyclomatic 11, cognitive 15): countActivity 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":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"97702cba9920b85299878f17f775d1fe6619f45d07a33e4fe2fc3f1aadf55725"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function captureResumeModelParameters (cyclomatic 11, cognitive 15): captureResumeModelParameters 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":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"90abf550383de7377e197b36bc76ef3427c1d9f272bd18b2a2287832ceee943a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishResponseDispatch (cyclomatic 11, cognitive 15): publishResponseDispatch 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":"packages/api/src/agents/responses/outbox.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9441f6db5b10fa0baa7b29a67ab36bb37209a0eed5c10be1d7ad7bfb9c54c29e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectCodeFiles (cyclomatic 11, cognitive 15): selectCodeFiles 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":"packages/api/src/files/code/priming.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8113bd3730b0be6bd831dd73d12149bf442de1ebfbfc6f21db4e48f2a33be2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publishMCPAuthorizationMutation (cyclomatic 11, cognitive 15): publishMCPAuthorizationMutation 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":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8c07fdf9a824f226a75718cbfe55ee6f506fd28605aec0243aa72ac4cbb136"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTokens (cyclomatic 11, cognitive 15): getTokens 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":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1913}}}],"partialFingerprints":{"codehealthFindingId/v1":"983121975a64686b8b96b9a616f67201ea739467016f2d8559b07b5a898bb72c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 15): (anonymous) has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"d41e89696150cd1b6d0f164fd219679875d42356df2a0dc1ea1d3ff413310b84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runScenario (cyclomatic 11, cognitive 15): runScenario 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":"packages/api/src/stream/__tests__/deltaCoalescing.manual.spec.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7eb5e9cd9c34bb86054b3e868e6ba53d468922694644f9fddca286b7c24c241"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLivePhaseLabel (cyclomatic 11, cognitive 15): buildLivePhaseLabel 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":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe96ab212ad67734c977c650816facc101550e99f6b21c6eb27560ff7b6a012"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function deriveVertexEndpoint (cyclomatic 11, cognitive 15): deriveVertexEndpoint 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":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddc4105eead0a97ea82b786c9f316ccbebdfb3a9ec2ec04a06eb053ecca8ea7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function bulkSaveConvos (cyclomatic 11, cognitive 15): bulkSaveConvos 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":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3447}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b2737596d793e1d2c82b196775a873bf651192f18df8a34a6b70c8629682e3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bdd4fe8a0ff511cbf4f02dcc899e4987168300c5f084e213218bdb739cc6780"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMessageText (cyclomatic 11, cognitive 14): formatMessageText 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":"api/server/utils/import/importers.js"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"e31926f522d723a5cd45d1b75dce1a4af8babd0c9074b94f1323a7bfbfe6102b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function customFetch (cyclomatic 11, cognitive 14): customFetch 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":"api/strategies/openidStrategy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"542d278bba8744bc490c4e5cb1f36771c752032353b8df3ef0226186c83c8846"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseHandoffFields (cyclomatic 11, cognitive 14): parseHandoffFields 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":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb71c472f979487af06aa3231d1fbcff528e85e8e3534785677c0317c058ea74"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withApprovalModes (cyclomatic 11, cognitive 14): withApprovalModes 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":"client/src/hooks/Agents/useMCPToolOptions.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"73044ec92a4891dbce06b1054fa663deb43390f24d4996a5a411ed5dc0b19b31"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processMermaidSvg (cyclomatic 11, cognitive 14): processMermaidSvg 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":"client/src/utils/diagram/export.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"579c738f33108ea0bfd170e2759729554e53a7eacc54dfe31867c756c301174a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function settleExistingRowsBeforeErrorTurn (cyclomatic 11, cognitive 14): settleExistingRowsBeforeErrorTurn has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dc0b98c6f5cfbc27c7e94ecb281bf8f07cb00f5e7c3fda3d47d5f3f0173d0df"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function summarizePtcArgs (cyclomatic 11, cognitive 14): summarizePtcArgs has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/ptc.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9567119972dc57b876ab04ebf693bc8382f6a3db659db237e1c336c86c3458"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ownsPromotedSteer (cyclomatic 11, cognitive 14): ownsPromotedSteer has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c0d52efc5b825ab0ef6cc0a12f0723632afd5128c11b0e74957c62fb9ca324"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function output (cyclomatic 11, cognitive 14): output has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde655bf8735eaac9729921d4758f2ca8cee9a18eb86cda31fc7a51b44ed56db"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function snapshotBoundedSourceFileIds (cyclomatic 11, cognitive 14): snapshotBoundedSourceFileIds has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":3194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8737cbd25a80f8c11b996c2c9c69d9fa0f50c48f5d8fa3e1a31907cb110d762a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/messages.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e80718ad98b843975407e1524c962764f3c863a61b80f6a654d7a6e43369c59"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyMessageDelta (cyclomatic 11, cognitive 14): applyMessageDelta has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steps/text.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c09346fa6c5696ad131ea8060a7bb3f7036ee2be823b5855eb6d5fabf3258e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reportTombstoneHeld (cyclomatic 11, cognitive 14): reportTombstoneHeld has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74bd498ba069c369ef60c2a3f0f9e227841ff36a7bbc88617858d4385492ccc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 14): (anonymous) has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3513}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e926562e519de73f1b0c069d20591288f2a22c12170cb81097a1edcc4aa5ee8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function tryAcquireSkillSyncLock (cyclomatic 11, cognitive 14): tryAcquireSkillSyncLock has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillSync.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e4ac8eb5b21db58f99ad91e5e04a904a6f61998b6a055f068aed0ede4608fff"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addText (cyclomatic 11, cognitive 14): addText has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5bd42984f08a99b0cd13d414d6c0b72ca3f03d4f5b08c1e95122baf16d562c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 11, cognitive 13): handle 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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c592ea6238bd049f55124bcddf1f2192f79673ab158049de5ac2cab31e8d7f7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeMCPs (cyclomatic 11, cognitive 13): initializeMCPs 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":"api/server/services/initializeMCPs.js"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb3c731f82443468580039844434e1162b88f2bb4ccca821f3c940e1ca34a7f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function callOf (cyclomatic 11, cognitive 13): callOf 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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9486e6e9420d0a501d420140a946e5db334ff343b43e0184e27303384868d778"}},{"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":"client/src/components/Endpoints/Settings/Google.tsx"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5215dbbedd5a2e19450f28dbf2a16091de4d99b27f5fd143bcaa8a3c4e2506a3"}},{"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":"client/src/data-provider/SSE/queries.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ce84461795246f4d91078216e1dda35c575122c60669d9b7fa5e931aeb7cc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resetPassword (cyclomatic 11, cognitive 13): resetPassword 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":"config/reset-password.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"171ada0d21542acb3a6310d604728456bfcddb3e0e6f8ecd24866fa34149c1d6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseArgs (cyclomatic 11, cognitive 13): parseArgs 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":"e2e/setup/record.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae49c3d5f4e48c2090982885bf4f17a65e28f9bc235a312500810b6bb192ef5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function redactResolvedSecret (cyclomatic 11, cognitive 13): redactResolvedSecret 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":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"af25afab1032d216c6dded47744e041e3b7cf998efb1affa04a1be045eeaeb7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handle (cyclomatic 11, cognitive 13): handle 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":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":741}}}],"partialFingerprints":{"codehealthFindingId/v1":"199505e3dbea52c249e3015aec034ab6832d970086698de58e1bb49f7842107a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildCollectedResponseAccounting (cyclomatic 11, cognitive 13): buildCollectedResponseAccounting 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":"packages/api/src/agents/responses/accounting.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca56880b5a5370ba1c689afc7cd202f35d1a989a639ba8335e85bdf1302e3f3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAgentTriggerEnvelope (cyclomatic 11, cognitive 13): createAgentTriggerEnvelope 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":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca28420b051996a88788776c52ce3911f3739c469ceff69d981903bd032a9f2"}},{"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":"packages/api/src/app/loader.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"763e15ac29df9b638c80a99878e2bc70bfc925abefa76ec0519e8a6563cd655f"}},{"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":"packages/api/src/code/requests.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f3925236be443363813b4e15e8b349d97d4fb5977f4f3bea739280ea29626a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function commit (cyclomatic 11, cognitive 13): commit 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":"packages/api/src/files/code/publication.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6953bd6da4956301fadf91d1e9fe7285a04da0e6622b4b637e69b6fc36bc1f80"}},{"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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a70f21fb6432a6879930800f040ebfee5ed12e2122833d269620358a917a7907"}},{"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":"packages/api/src/schedules/requirements.ts"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"1693a4037a627c20fa118dcf69bc6008355249f03d0a902aa563fa2e9a08e694"}},{"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":"packages/api/src/shared-links/access.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c4003f31bf4170443566c81a38827290006e1cdcdf9e4a064b9721dc2cdc10c"}},{"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":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3393f3cc302999bfc03245f6ce5c3a6404a0c43f91dd486d24685b2988d4bd0f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function assertS3FileName (cyclomatic 11, cognitive 13): assertS3FileName 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":"packages/api/src/storage/validation.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd539c0c0baa7c497cb7924f93e14eb32d31eeba81579ab14a46a2a250b00d9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function downgradeSteerPreempts (cyclomatic 11, cognitive 13): downgradeSteerPreempts 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":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ccb759475551256fe658492f894463afe452090a37ca91a7c6560450393481"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAvailableTools (cyclomatic 11, cognitive 13): listAvailableTools 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":"packages/api/src/tools/available.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebac08ac64e7fa55e0819192fe1ed8353ef1b9a75c696d529550762469b83cb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleKeyDown (cyclomatic 11, cognitive 13): handleKeyDown 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":"packages/chat/src/components/composer/popover/Command.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e08d29ad673fec84d86bc828a084749ac5a188447606fbeec6943605550d67d5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function spendTokens (cyclomatic 11, cognitive 13): spendTokens 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":"packages/data-schemas/src/methods/spendTokens.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6a7b4cf09d6d7e7e189e056ffee08eaf5844fbe1c0fc255c5c95aeddf6c073"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActivityLabelWiring (cyclomatic 11, cognitive 12): buildActivityLabelWiring 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":"api/server/controllers/agents/client.js"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da8167af612ac71d41de711bd3e33eae14a1bd5b4f97072ec93adc66201423a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildActivityPhaseWiring (cyclomatic 11, cognitive 12): buildActivityPhaseWiring 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":"api/server/controllers/agents/client.js"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24dd9e640e4a01b9bc68020fa0d61f78e135b554b266eee42ad41c09ed23472"}},{"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":"api/server/index.js"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"342c8d94360e29555a0563bc07af044650875466c0ff62fcd5fa5455a142b9ef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendError (cyclomatic 11, cognitive 12): sendError 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":"api/server/middleware/error.js"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c200679abc248fd89fb7dff8574a231f2970b0fad35aad3f39cc0e6a1adbde89"}},{"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":"api/server/middleware/requireJwtAuth.js"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb192273b77632c5c7a4d82cae0a489ccf1fae9c91f637a129163d58bf150d9b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getImporter (cyclomatic 11, cognitive 12): getImporter 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":"api/server/utils/import/importers.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"76012e918d4edc6a32af7565cc9c4d096bed33d0fdcda61053179fe4e70c0f5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function VersionSelect (cyclomatic 11, cognitive 12): VersionSelect 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":"client/src/components/SidePanel/Agents/InstructionsPromptFields.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"53af60cba57f26ab729a09a62de0bd79a60b946233d568b318d4029055b42d0d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useCompositeCitations (cyclomatic 11, cognitive 12): useCompositeCitations 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":"client/src/components/Web/Context.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e83d23521c5b14b707c15fbab3bad61ab5e5b928f2391131c64d070c94c82cb"}},{"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":"client/src/data-provider/Subagents/content.tsx"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28c6313d17afaef00aac9e7fd9a7445ab96beb5ce1f3ddbeace7cd01b18ece3"}},{"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":"client/src/data-provider/Subagents/queries.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd17eb5b82d2cdd191f779a5109b7ac86990ed42c6c864337bdf4656c6ab8ec7"}},{"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":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"58248fb1143f4c9232780363f7cdbacdfa43f96d5397d0cea2b84607042470d2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installRecorder (cyclomatic 11, cognitive 12): installRecorder 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":"e2e/setup/model-replay.js"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a0687411830b4474e677e980f70454243c7e2160f2288a6b457a5c0632fa94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function addGroupMemberHandler (cyclomatic 11, cognitive 12): addGroupMemberHandler has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"94167198d4423abafb437ab736255fb58297e92aa4e8684a895d4b719d9089f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function field (cyclomatic 11, cognitive 12): field has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a2db2732aa2c9b4ea2222692475a6370bb6ff35c182746db14e0f99510437f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function canonicalize (cyclomatic 11, cognitive 12): canonicalize has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compatibility.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"575846024797c700b7863d353c8895100fe98ab4df3e9122e9b56b2329564fdb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function recordStep (cyclomatic 11, cognitive 12): recordStep has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6527dc9a576e43479787ffbd0ba5a0fced2f7910b1c007befeed040d2a11831"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSandboxEditFileCall (cyclomatic 11, cognitive 12): handleSandboxEditFileCall has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4297}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a2da5e799c12bfc8ea6efd90ea631679643dbf975fd870c4364cd11360441a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function controlTask (cyclomatic 11, cognitive 12): controlTask has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2212}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ea29a7da62391be692b50d2fb96e9e2980a0ddcc9d8551be95133a66de8f6d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function locateRebinding (cyclomatic 11, cognitive 12): locateRebinding has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/overrides.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccb8ec39a0592c29982d0ee3ceefe4d960357dbfa85f84242326479451cbd56b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1468}}}],"partialFingerprints":{"codehealthFindingId/v1":"70385c582e9760068fe10e20c720c156645c76ec207495b6b5fcd64411e15a5b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function initializeCode (cyclomatic 11, cognitive 12): initializeCode has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.spec.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d272097a949a8ac9e1f6a6285bc51a94c06dee056120358b404cb83defcaf9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/queued.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"83022bd3d7002635643185a3557dd532e0bdf5e5c621823690a07e7843f31aa5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getFileStream (cyclomatic 11, cognitive 12): getFileStream has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/utils.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8f943a3e54cb69edeba094a37f4da51e25ef9a385a89b7086576390c011bf7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizeMCPAuthorizationMutation (cyclomatic 11, cognitive 12): finalizeMCPAuthorizationMutation has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorization.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"94169d958f59a28d7c4355da201ef574ffccb4f18e662c6863fed8a75363bc18"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 12): (anonymous) has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d9194798ccc4140ccbee16cc46101636a51a0350f408506abc422a37f6c94"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getMCPServerTools (cyclomatic 11, cognitive 12): getMCPServerTools has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"6feff2263ba2086b10b7a66d2648229ec936ff76b1aeb99d41ac200319bcc3e9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateChatMessageIds (cyclomatic 11, cognitive 12): validateChatMessageIds has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/messageIds.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f305503757e31c491f191df26e5dd1bfddd5b0bd72e084099589644c4b237d1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCachedStoredProviderState (cyclomatic 11, cognitive 12): getCachedStoredProviderState has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":2588}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6f58f5b77f068299b222c2488ef204ce566162c90d0ee8fbd7424d2d2143a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runOnce (cyclomatic 11, cognitive 12): runOnce has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":2293}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d56dba202033d4b6ab9031975e3a280ba73a97b0518569922a75a481e8bf5da"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configure (cyclomatic 11, cognitive 12): configure has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca822c3dd31fc7f49393c2332642c8ce9046e6757c154661d5314fffc55c6a1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function synthesizeAppliedSteerEvents (cyclomatic 11, cognitive 12): synthesizeAppliedSteerEvents has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/SteeringLifecycle.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b72441b7000569611adc60d1f38963d04e2f2b4a365c4bb8df241b5d0db146"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function extractBaseURL (cyclomatic 11, cognitive 12): extractBaseURL has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/url.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"346bb0e3ca146b173b1c0d7113bb809d7d6f0bba9ffb09638bb84286b896f502"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onError (cyclomatic 11, cognitive 12): onError has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"0067dedc23a3ae0b189618dc318266592bfc89c2b33ed4968befc9d2bc14e4cb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function adaptDurableThreadActivity (cyclomatic 11, cognitive 12): adaptDurableThreadActivity has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c8fab792919f1104e99dcea94b75829e27a22c0996933426fd97e81ce693951"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function unbindWebSearchKeys (cyclomatic 11, cognitive 12): unbindWebSearchKeys has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/web.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"22de46a22909a6c6f4a7186e31d4912faf6925b940eba7ef5a50b395a34e1e78"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function reserveSetupEnvironment (cyclomatic 11, cognitive 12): reserveSetupEnvironment has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"11eafd2e156d50ddf1a9498b7789d7c9c0e34efeae328acea2c1f3112edd528e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getListMCPServersByIds (cyclomatic 11, cognitive 12): getListMCPServersByIds has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpServer.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d147135f45913ba695ed26ffcc7eaa73a4bd83c69e2c15e0079d27279f42d9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function setMemoryById (cyclomatic 11, cognitive 12): setMemoryById has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/memory.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"538d122f2d4a32e6d322b5073eb043e6a01e4cdcda18e7b750745dc92ac79fec"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findToken (cyclomatic 11, cognitive 12): findToken has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/token.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff815ed6582329b784eb9660c1b1daab9d7c06a4987d656afade739cc4310eef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveTarget (cyclomatic 11, cognitive 12): resolveTarget has cyclomatic complexity 11 and cognitive complexity 12; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/static-checks.mts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"46775e8a163a975f177302e26504efef22df423650f6eeaeeb44092a469872ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runSteerController (cyclomatic 11, cognitive 11): runSteerController 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":"api/server/controllers/agents/steer.js"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"551e2a4e73e162d8593b0c13482a861490b9131ceb88d73dc552907cb0ebc2fd"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b22d20b25fb3d1bc574bd1b26e1049a0f06d5e179eaa970da0ede0ec6d9477"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function processOpenAIFile (cyclomatic 11, cognitive 11): processOpenAIFile 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":"api/server/services/Files/process.js"},"region":{"startLine":1477}}}],"partialFingerprints":{"codehealthFindingId/v1":"26de3c32ca0063babd62bcd935fc1ed6323744b8660bd2a1e9e37ee7a5b87ff8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sendEmail (cyclomatic 11, cognitive 11): sendEmail 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":"api/server/utils/sendEmail.js"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae512bed0a80bd61bd5574a288b39fa4022e6ab2dcb37fc1576b47bbdec8964"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ArtifactCodeEditor (cyclomatic 11, cognitive 11): ArtifactCodeEditor 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":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7b21c3a8305f6b94b560cc23c2ebd95c5d8390e3a0d0333615a2094efc6c4d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d794e734a7e85d532580ff6bfba61738c030732ee4f635ec791d552f00a3e2fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b662c4493259db18adb76a82fbc1bea5997274edad93853ddf4adcd2363d9563"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MarkdownCode (cyclomatic 11, cognitive 11): MarkdownCode 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":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1abeeb4474236dc54993cb2cadaa700c0a06804493b44c8a75efc71e38e9ba"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd533f7ca6e5e97fae055657d2be987126886958f945e6c9fbdc2620b495325"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"be182cb2922246a501dd0bf5a1c9674c5d28f4bdea0d4559a7dc768bedcac5b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Subagents/queries.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58b55114fa65ed87e2d4e44b016c35b46809887b5515279a3898a364d9534a2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isTargetReady (cyclomatic 11, cognitive 11): isTargetReady 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":"client/src/hooks/Chat/ask/guards.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7048a0000dcb5e817a20f12e9904eb2f919a065ebd894dce622c13c37cb35752"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 11, cognitive 11): onSuccess 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":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d74c478d4910b818e63be63cdc81b3c6ad63b9f210e38c76228d0f1bd62a7d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function content (cyclomatic 11, cognitive 11): content 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":"client/src/utils/latex.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f3a5184976d147516624a4d7c29638ff4cd254fdd5926f7420ef255e98f4d12"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findRunFile (cyclomatic 11, cognitive 11): findRunFile 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":"e2e/setup/fake-model.js"},"region":{"startLine":2254}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee9b481fe47744c0126a7cfb67dff34ed07df740d8385b7e825239ecb9c851b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createActivityLabelWiring (cyclomatic 11, cognitive 11): createActivityLabelWiring has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc97c0c0085197dd3e4f88a027c56e38d2f7ef9d6bf33827e2905cd917e7668f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/allow.spec.ts"},"region":{"startLine":592}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe65d837aa04760a4ef7f7a3e140b62ca02298eaee4f9c76b37ed184d007018"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isToolApprovalPayloadValid (cyclomatic 11, cognitive 11): isToolApprovalPayloadValid has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"58b141ebadf7b3798304ce3be0897c337911711ad3e994a86730efa806c57304"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildPendingAction (cyclomatic 11, cognitive 11): buildPendingAction has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ec296da6b75f2404a3b2eeac3875e675fcfd87991c196c4e88041f689f70ce"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66979fc5daae47187af91a44d95825b34c4386da08522f42181be8b432ed52f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cancelAgentQueuedTurn (cyclomatic 11, cognitive 11): cancelAgentQueuedTurn has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f70cbc6578c19efa64933934c1191b1372ef64e860455148c3cba5df30423f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"189181cba01654d6874e26144f5455e745d028b78c0583aa733db4c77151f1af"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function record (cyclomatic 11, cognitive 11): record has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a48868cb3fd8286aa57319787fc4a8db1ad74dd900d73efe3b6525fed3e80a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.spec.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6aff2e12c8c5f97ac02dd67d47c17dec28a1bc165fef211de66f918ec996b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/postgres.spec.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76506f238240bb78049ab265bef3a558b513d579c3265377af7c7cb5ac21a1c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function restoreUserEndpoints (cyclomatic 11, cognitive 11): restoreUserEndpoints has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8487e1c5e214389684ad8ad52a916a42a058d87f25ecb35e920bdd9d7b5d791"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAssistantAvatarIdentity (cyclomatic 11, cognitive 11): resolveAssistantAvatarIdentity has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/assistants/author.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc624c983df413a3d4589bc7dddab8021c99da780cdabcaeaf3e841fbbd7559"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/workspaceHttp.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8e6d50452ea4617a227ba56973b4372353bf90813655e7d73a761b6055a905"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getCodeFileDestination (cyclomatic 11, cognitive 11): getCodeFileDestination has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/destinations.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"231f5f5a5a48ddc4c46124ed590cc1d9cacbeb1942ada6b2154b82eff051197d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function cleanupMCPServerOAuth (cyclomatic 11, cognitive 11): cleanupMCPServerOAuth has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e0c9464a3107b7e1ffc57a9b5718a2b64ca6bbcbeb6597fbfbf1ed3b2e2a504"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listRevisions (cyclomatic 11, cognitive 11): listRevisions has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/langfuse.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0826bcba1b4d4b2f19f374ba2b162caae6dfe89dd1aac8d89e9a90a5a1ab370"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stringifySubmittedValue (cyclomatic 11, cognitive 11): stringifySubmittedValue has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":2132}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fad0e9bc3e30a03e4a9b9993d50a6c28535147d5a0dba1cb755542512d05539"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function rollbackArchiveImport (cyclomatic 11, cognitive 11): rollbackArchiveImport has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d2577314e8ade6d8115ea0411649a4f41318ad40f7c5e302eef318672760bc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getGenerationAdmissionEvidence (cyclomatic 11, cognitive 11): getGenerationAdmissionEvidence has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3507}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f0eccf881d06896c80562b830b0d6157180a73be074b72c5e4b576c8d09363"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function admitTerminalSteers (cyclomatic 11, cognitive 11): admitTerminalSteers has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2186}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ff9fbcf22a4f03106470e57b3d16d7bb0f6160cabf9a3b4c0fcd814f5e69bb4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/__tests__/QuoteButton.spec.tsx"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef079f14c2d18185a2eab1f7b404ab72ab647d85e2c12257163e9c153bdfc059"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DiffRow (cyclomatic 11, cognitive 11): DiffRow has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/DiffView.tsx"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8d175c8bcd21f8054e55c474b64a5d69baf0c11c37637b2e79c1c8b31e78eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function stopDetached (cyclomatic 11, cognitive 11): stopDetached has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1582}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f42a66fb8d30e34c3fe19578873022fb718ae4763e31af3191615e56789f62a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/subagent.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f67dac5bd14deb063e5303ad32b00b96d3f02c259d72b8ba58b34e95edcbf0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/messages.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9394f14f30fafc7816e4fb07009ef66749ac0286056b8bc34e09c371c116d8f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 11, cognitive 11): (anonymous) has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"415d7154e416b9b35eff394473b3c43e2547028cb6694a493154185918554c54"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getDerivedConfigIssues (cyclomatic 11, cognitive 11): getDerivedConfigIssues has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7dc71f35d4056f2026a5856d4c0f4ce8668952521374517eb2c34e0f68addfa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function renameConfigEntryTombstones (cyclomatic 11, cognitive 11): renameConfigEntryTombstones has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/mutations.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9855a9ac62c32c60dd2cf2d63e8105accabd88a8a55491fd94e0faa6d937aad4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function purgeAuditLogEntries (cyclomatic 11, cognitive 11): purgeAuditLogEntries has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2b71f1702ab5ceb1eda4f8e4698baece5247d58d56c0389e5e9215a58d2ffa7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function releaseBackgroundToolResultClaims (cyclomatic 11, cognitive 11): releaseBackgroundToolResultClaims has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2533}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff04e0fb4173252cc4c6a86c437a9fc28f810b3be380229c333c661e1c2c4ae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function check (cyclomatic 11, cognitive 11): check 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":"scripts/eslint/design.mjs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcf8080dcfdc5797fe0d8584d1e7cf8986338fcaa832585ed8c5044eab93612"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function generateActivityLabelViaRun (cyclomatic 11, cognitive 10): generateActivityLabelViaRun 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":"api/server/controllers/agents/client.js"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"e71dc8fc99b520dcdd1b5abeaac656222c2ff84cd31bf50f4fc775c3d53ab8d3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function finalizePreview (cyclomatic 11, cognitive 10): finalizePreview 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":"api/server/services/Files/Code/process.js"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ee6f0049742655597487fd25ed1379046593e8c0a74f4426c7486af2e7e923"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Footer (cyclomatic 11, cognitive 10): Footer 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":"client/src/components/Chat/Footer.tsx"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cbafdd15012b389480c1a1c24e916391cb59ee90b39541e655f8fb317e18a10"}},{"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":"client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cf82a433e55eec904fe230194cbd0e6f036808a97e711ae048515cd149b005"}},{"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":"client/src/components/Chat/Menus/Endpoints/utils.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc86d1fe5cc2acf22cfbff855f179c73b38beede9e72187bd131d4813315f35"}},{"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":"client/src/components/Chat/Menus/Presets/EditPresetDialog.tsx"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dfbcec1324c02309a46af9d9a395d75731c42fee4740db3856bc8a2b640857"}},{"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":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"2305d426f5a1ebc8da226372bcd26e8807566190361179ba2c623275b3361289"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PtcTraceLine (cyclomatic 11, cognitive 10): PtcTraceLine 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":"client/src/components/Chat/Messages/Content/Parts/PtcToolTrace.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcede0d8dac4fe7aaa7887325dd9179b52d42077b6c28bbdb72e521bc1c60612"}},{"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":"client/src/components/Chat/Messages/MessageIcon.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb289c5f141dde798c9dca2354f766e3a068b0b3768bffef8f57bd94a28986a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAvatar (cyclomatic 11, cognitive 10): resolveAvatar 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":"client/src/components/Endpoints/Icon.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6700479a4d8683769c692d2ebb482710876d3943f76b15edd6f54ede93699c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Settings (cyclomatic 11, cognitive 10): Settings 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":"client/src/components/Endpoints/Settings/Assistants.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9afe95cbd5d862b7103a51e25b44f0bcc117a223fda85acc816a2c0b25fbe32"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPAppFrame (cyclomatic 11, cognitive 10): MCPAppFrame 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":"client/src/components/MCPUIResource/MCPAppFrame.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dace9bcd4dec060cd7ea6ec3215c39e7a04400e216df9a67052a7fa51835d8"}},{"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":"client/src/components/Messages/Content/Error/parts.tsx"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaacf549e1aa3c8107b3eda29e3ebdb7b81a9bc9a0327ad19cd2e42110f37e72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function HelpSubmenu (cyclomatic 11, cognitive 10): HelpSubmenu 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":"client/src/components/Nav/AccountSettings.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"64ab44c3247e0d47ef5fa3b9502e7a9dd97ca84fe84bcd72465a5686e0fdd7b3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function CodeEnvironments (cyclomatic 11, cognitive 10): CodeEnvironments 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":"client/src/components/Nav/Settings/CodeEnvironments.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e30c1d1293d850ad609f1e40b64fed7888fbe0302ae3bcc23ede1aaea1e2586"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useSettingsContext (cyclomatic 11, cognitive 10): useSettingsContext 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":"client/src/components/Nav/Settings/context.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"659004b410c774b9ba14e439d52b35bd216c0d77266fd2efe31580566022b828"}},{"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":"client/src/components/SidePanel/Agents/Advanced/AgentHandoffs.tsx"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"562183be239e5aaf05f4e78ee061e32f6252c12948b66a3c3e2fa8dd922f67bf"}},{"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":"client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b7aa95a2521bc604e05a3b13945b652751beea97581ecaf38ef5eab754165f"}},{"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":"client/src/components/SidePanel/Builder/ActionsPanel.tsx"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8992b4bf0a0a7b6cf73540d04d49e5612a764a4315b3fa76ff554c2d54a9e4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function DynamicCheckbox (cyclomatic 11, cognitive 10): DynamicCheckbox 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":"client/src/components/SidePanel/Parameters/DynamicCheckbox.tsx"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"55b062ee051c2a43224032dbaf8561268f7bf503fef0af4266cf2ddf86456d99"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SkillDetailHeader (cyclomatic 11, cognitive 10): SkillDetailHeader 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":"client/src/components/Skills/display/SkillDetailHeader.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d543bb902a69becd989933b61a57447dde90df97871bd12b416cd59fbc414d8"}},{"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":"client/src/components/Web/Sources.tsx"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef12b5dbc23acc56b7bfb6c30788ccd01b2a0d7f7ef218f440f2511f482e6e05"}},{"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":"client/src/components/Web/__tests__/Citation.test.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa26b504a87f134fb7fb644f4873a115530354c9fc27164f7c5732924b573142"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSuccess (cyclomatic 11, cognitive 10): onSuccess 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":"client/src/data-provider/Files/mutations.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f7a0be15722d6fb2a0518678caec2481db602381fedb70a1aff83971800397"}},{"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":"client/src/hooks/Input/useDictation.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e3f2c55a040d1aa6f235f3df485be69e8b2f4a793db2caac78693809756642"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function hasSelectableEntitySelection (cyclomatic 11, cognitive 10): hasSelectableEntitySelection 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":"client/src/utils/endpoints.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4877cf0f1bf5d536766d9bb8ddb18a6e25a0429b537ba09a24fc2cc0cccea3"}},{"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":"client/src/utils/files.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"70db7cef3a9f22c50203d574372059cc6e6804e8e8bc5aa30c835abfc126821d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectContextAssertionResponses (cyclomatic 11, cognitive 10): projectContextAssertionResponses 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":"e2e/setup/fake-model.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"7839805f077343b88189c7394ca60bf695ba30d661f77d62afaa5147056f4e15"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function updateConfigPriority (cyclomatic 11, cognitive 10): updateConfigPriority has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4872}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a028af6ac60c6fe2853408d66df88de7f30fc0d53f5946ac91b36a7b4fe877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConnectionChanges (cyclomatic 11, cognitive 10): getConnectionChanges has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a22d15571fbcf107a9a0194387cabc467d23f2b53c716891e55b9ef0dbcae7a"}},{"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":"packages/api/src/agents/__tests__/run-summarization.test.ts"},"region":{"startLine":1583}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d65b4eb8e91df5a882f689987884990c304a2afa5200b58d682d8d4c0c6cb7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compare (cyclomatic 11, cognitive 10): compare has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.spec.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"552b601030dd731106594ad0f89b5e4455745d4b6fe1ccc8aca6ae8818e663b4"}},{"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":"packages/api/src/agents/activity.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c80a2ce70164dc360b8ee501df6b3859890f91bf02925877038ec410235ab0a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolvePosition (cyclomatic 11, cognitive 10): resolvePosition has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"70010e79aa10471e482fd4e318b7ab47f7276809fb778f65e809f9de630292f5"}},{"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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce60dce0d10555a13b49da1014c042464ccf86e52dbed35019897c792bf1e93"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function registerBackgroundTaskTool (cyclomatic 11, cognitive 10): registerBackgroundTaskTool has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a6a0208e5d7944ee5ec1dd2bc297c211661ba7c4c11e3830328d0b351c5757"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function list (cyclomatic 11, cognitive 10): list has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpoints/saver.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"36316f03d63ddd8a2f2479178ec07c9e40f1cb78a90f41f482f2fb81abc8d771"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isWithinAggregateLimits (cyclomatic 11, cognitive 10): isWithinAggregateLimits has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5fbb7879e17f922c42ba41802916d44fd29164ed9edc3d7512bcd9a8dfa519e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function inspectBundledSkillFileForCreate (cyclomatic 11, cognitive 10): inspectBundledSkillFileForCreate has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":3500}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2808297539117f2bdc5289dd21343a7feb91c1de37c94c68311a37d1ea18e5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mapToolApprovalPolicy (cyclomatic 11, cognitive 10): mapToolApprovalPolicy has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e6543669f806077d5610082efee7ac2a33bded0c6a8cb42056e35426317f9a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeLegacyAgentRequestFingerprint (cyclomatic 11, cognitive 10): computeLegacyAgentRequestFingerprint has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc7662ff6ae0a3a124245e760cbff4bea4cd99f5ecfe3b8fc1a80fb1c213e0b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getResumeMemorySnapshots (cyclomatic 11, cognitive 10): getResumeMemorySnapshots has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e689348700c4c70d6f29dc88818799f29bd3dd360d1493dee6393827bd5e2c7"}},{"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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44ba0e4ab84cba41b7a58c60ba5d1248da1a7851d3c8cd9818e9393571d58fc"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveSdkAgentBinding (cyclomatic 11, cognitive 10): resolveSdkAgentBinding has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/sdk.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5092c4fab0740590b1de52f51c4b869a755f125fda7388b5ab6836ec974f33"}},{"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":"packages/api/src/agents/startup.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfac69aa2a030df48c33d6c09dbf229600449b238317d0c7f67e41445769b6b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseControlCommand (cyclomatic 11, cognitive 10): parseControlCommand has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ae2dd31ac9da81fecc1a49a22818d4bbd097a5015f41541b8042387509407f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function taskRequest (cyclomatic 11, cognitive 10): taskRequest has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.spec.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"da54bbee1e852d62cf863663571218ffb7f46ab0ead986da7d4bb79537cc2967"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConfiguredMaxSubagents (cyclomatic 11, cognitive 10): getConfiguredMaxSubagents has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d9fbe5ed4b8bff5c9958520f38dfb44132b61514b1595d83e7eb7fd4fc96a83"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseCloudFrontCookieScope (cyclomatic 11, cognitive 10): parseCloudFrontCookieScope has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"76799e5e38ab3d16d8044d80eeee7a5d0f2d8f1e4d6a2918675c81dc6dab8989"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getScopeRefreshReason (cyclomatic 11, cognitive 10): getScopeRefreshReason has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e5c00f0c0d7b49c40fdd8a4a304666c275b890ca0f8e743732c19862766a22"}},{"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":"packages/api/src/channels/workspaceBindings.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bee95516281fe4a1ef5ac6b0e9e0ac79ce0906bbf819aaf501f3ca15dedf5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function classifyImportFailure (cyclomatic 11, cognitive 10): classifyImportFailure has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f035d48f93bdc015db61acb6801a321a13838d1334db8c12c71059350e5fd72"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistImport (cyclomatic 11, cognitive 10): persistImport has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d5a9f3c1d79bcb531bdcb32f61314d906e6dcbc4297d6c0a159d3c8c89074a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseConversationListFilters (cyclomatic 11, cognitive 10): parseConversationListFilters has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/filters.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dc5f273f536ea4f3f14b15699fe72b6a13b2604a7872b77b0ff2a4fc5b54381"}},{"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":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f42c9733d95286582bfc4e5517b16c68a09ae2c65c82b4fcc3adb2394c8a986"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isMCPTransportAuthenticationError (cyclomatic 11, cognitive 10): isMCPTransportAuthenticationError has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/errors.ts"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b867dc0d839f08730a494feeba3bbe8dd416c2a165eecf4928abb6d768f27fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveAccessTokenPlaceholders (cyclomatic 11, cognitive 10): resolveAccessTokenPlaceholders has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/openid.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"265509812a67a17cab841e813ab33ff123cdb38b1d679d5354f9bebe8652a9e7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeProperties (cyclomatic 11, cognitive 10): mergeProperties has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3793844316bdb77d4d2d5204b2064e96414092b648f481c5272b43e113cc21f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getTenantIsolationSignature (cyclomatic 11, cognitive 10): getTenantIsolationSignature has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/auth.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a411d92fded649f8078aa595d4a5b659d494ce05a17fa013dc13a43851c7eeae"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handler (cyclomatic 11, cognitive 10): handler has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/management.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3906ea87f97dab761a4c48cafd50c7dd6f2194194c6b1d1df2552fdbd46782e"}},{"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":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc9c0f2577c4823c84ba0a7ec974b47559cc89fcc3886d1ac2e27bda634a506"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function selectOpenIdRoleForOpenIdSync (cyclomatic 11, cognitive 10): selectOpenIdRoleForOpenIdSync has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc064b909d8789bab81d47ea56bdd5dd792a5a54cc11191db42b920fffcbc1a8"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function loadSkillFromDirectory (cyclomatic 11, cognitive 10): loadSkillFromDirectory has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":667}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ae28f486ea2826c7a08b0aea9aa5d80fa7d2da5aaf230c524c95de0a7af68"}},{"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":"packages/api/src/skills/sync/github.spec.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"8474b170f54667b298348a0e65f97fb9b2ce70479431d3f6b97695180452e178"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isAbortError (cyclomatic 11, cognitive 10): isAbortError has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/errors.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcfd578537910f1e79685dbbb07a3bee79d6cd7fbf79d4408c9309acf7bf8ed"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getProxyResolution (cyclomatic 11, cognitive 10): getProxyResolution has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/proxy.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"19cbaa09d4e8394fe11b8356b8779347c48c8d09ce79107ba469caa219180046"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function EscalateNowButton (cyclomatic 11, cognitive 10): EscalateNowButton has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/EscalateNowButton.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd2298b48cdbf406cc2f29a4a17bc65b4fb210d5c3b764654d4c5c2a0cdd4e14"}},{"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":"packages/chat/src/core/__tests__/generations.spec.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b89ab9ddf17bf35f25f86adfd693dc7e139dc6016511cd980fdb249d4910877"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function dropLateStart (cyclomatic 11, cognitive 10): dropLateStart has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a906d1848f83cccbc27457df154ee76bdc03ec004e61bcb02668c80f23cee45"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function compareQueuedMessages (cyclomatic 11, cognitive 10): compareQueuedMessages has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"10dfe2ee8137ba0fa199fd07d39f1ae21df8b8edeb1e24dde81ef70d796c8baa"}},{"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":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a7fac5677664633c70922bf82e2ac95c7c3876bddc8090c9b699e1cfa7f70f9"}},{"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":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b45bdc94a46a92283ba3582f763317d98509e720820f4ee3f0d7df9e6a49b0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleClickOutside (cyclomatic 11, cognitive 10): handleClickOutside has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/hooks/useOnClickOutside.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea4da4bddc567163bb71b764ef2f23292d12d1d39f3f752fec2d8df07c6ba17"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function comparable (cyclomatic 11, cognitive 10): comparable has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/themes/clickui.spec.ts"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfa75101a5ee64c630ff60ac544625f8fc15f56027f2fc7c8bf5e52e0e1a749"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildLoginRedirectUrl (cyclomatic 11, cognitive 10): buildLoginRedirectUrl has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"963d3aa7b967e91c79bed7960bf72741eeb57552952ff56b6f34b3d4fbac1e66"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeEntryHash (cyclomatic 11, cognitive 10): computeEntryHash has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa1ee0d88942d06e6b7d0d8f15825fe4bad335cd56e9f6ad7a2264770590cad0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function sourceIdentity (cyclomatic 11, cognitive 10): sourceIdentity has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"57a4087538984f9404674007ec40f7ddae6c1bbd7968975ff61225e54639b254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getConversationTraceRefs (cyclomatic 11, cognitive 10): getConversationTraceRefs has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":4120}}}],"partialFingerprints":{"codehealthFindingId/v1":"07eda3fbc1bac8933694f259cbe5c7e50f5f7d4627bade9ce7e3d42cf63620f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function publish (cyclomatic 11, cognitive 10): publish has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdad6b4b27499ff6133580a886577ce086dde329c7bf82df45f40406161bec5f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function validateModel (cyclomatic 11, cognitive 9): validateModel 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":"api/server/middleware/validateModel.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d0a6514fbcc8e00c1f45497fe646d030436d3b18543abf48d5fa4a571928fb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function azureOpenAIProvider (cyclomatic 11, cognitive 9): azureOpenAIProvider 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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3393e7337fd940f9edb4ee3d9b11997b5cd9f9e1603c89fc14dca813592bf396"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function batchUploadCodeEnvFiles (cyclomatic 11, cognitive 9): batchUploadCodeEnvFiles 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":"api/server/services/Files/Code/crud.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3b4c437ab1926d438c4ac12f90659cbe8f0faca6d6e324a13ce012eb6555ba"}},{"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":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36377b45cf9a2212aac4e33221676080b58a3a6b20f91c2106ee2557c3dea84"}},{"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":"client/src/components/Chat/Input/Reasoning.tsx"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c17485bfc3609387cb4266067d199ef19656f7fc8897385370fc6e5abbf29f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function ModelSelectorContent (cyclomatic 11, cognitive 9): ModelSelectorContent 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":"client/src/components/Chat/Menus/Endpoints/ModelSelector.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83e92a80b335309459f52b823335d1926caee3c1f2c0b0802af46c0a759b0c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Viewer (cyclomatic 11, cognitive 9): Viewer 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":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f941e9c2c7bbd2e4c9617f4b2b7d1695944dba12e2138fde9d5213af820e6bf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MinimalIcon (cyclomatic 11, cognitive 9): MinimalIcon 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":"client/src/components/Endpoints/MinimalIcon.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baf11abb92c421a7de2bc54ee19e359f8b0f43431bfada9f22ad7333994266f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function AutoRefill (cyclomatic 11, cognitive 9): AutoRefill 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":"client/src/components/Nav/Settings/BillingControls.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b561e8a4ce0ef902d2a9f01e51f29d017a157875a4181baec09a1ed9ac3ab5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function PromptDetailHeader (cyclomatic 11, cognitive 9): PromptDetailHeader 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":"client/src/components/Prompts/display/PromptDetailHeader.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"28968e4bd16ca174b6e22d469f4f69ba0db9d5153335edf8fe0c91e6a9d672c0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function Controls (cyclomatic 11, cognitive 9): Controls 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":"client/src/components/Responses/Controls.tsx"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"55edbc74ed334d7ae57f8d1b422b0fc60ab74921464ee52ebf0e07a3355a5c05"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleSave (cyclomatic 11, cognitive 9): handleSave 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":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d91e2da83f7d19cc0426f37405c491daa93b0094d058004cb581524fb1f1eb"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function MCPServerCard (cyclomatic 11, cognitive 9): MCPServerCard 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":"client/src/components/SidePanel/MCPBuilder/MCPServerCard.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45d990065d667822de359a8d75497babc8249272b7cf75fad85298615a9d11f"}},{"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":"client/src/components/SidePanel/Parameters/Panel.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1c1da78d15401db72037e29f82d2b73491b4c6dee584e000a9dac5bca7b167"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useCitation (cyclomatic 11, cognitive 9): useCitation 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":"client/src/components/Web/Context.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1729bfa44b4a94326e75b47ba6b3bd4881aa1ef6b867d7adac520f5678d2380"}},{"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":"client/src/data-provider/mutations.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08c1510c75ee4ba1b5bf74171d8000f99d5c2afb8bc31c7106992ed000ef853"}},{"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":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d060b84a58edcda97f26fd7d083a2bfa7cbf07e473cf3b3afee4dca2c6150e"}},{"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":"client/src/hooks/Chat/useTokenLimits.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e52dc551fba3701f96d349ebe33c04df28c86ed166da2237584cc910054f4254"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function onSelectPreset (cyclomatic 11, cognitive 9): onSelectPreset 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":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a239b9f64692c690c8d11ebe0d1cf8e766650a66395cd25cab9c7878b19a826"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function RouteErrorBoundary (cyclomatic 11, cognitive 9): RouteErrorBoundary 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":"client/src/routes/RouteErrorBoundary.tsx"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"24aafe751f6622d4e7e91f3b20b1d8795dc99bf23271f30e4bb9cae099f2b06a"}},{"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":"client/src/utils/drafts.ts"},"region":{"startLine":663}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac9280050e6e1bfc90abe1c45faeb8eacec8c7166fa49471080f2befb4931ac"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseFilters (cyclomatic 11, cognitive 9): parseFilters has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"6879283ae782e3085a086501a134e3d7ba886de6c251c0d31c8f13057eb4c476"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function mergeAnchors (cyclomatic 11, cognitive 9): mergeAnchors has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6bccba481350cd0631d68cce8ad9538ad176b22258605ba6b33c129a34494d1"}},{"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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6bfa84e3125c5ff000f992eb73bd7b116a07ff7af679996d349d225afeeacd"}},{"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":"packages/api/src/agents/files/host.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"12e01ee4cf88a0c341c763683e4b1265c941e670c856a895e22de4d22ca37df2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveRuntimeProjectFiles (cyclomatic 11, cognitive 9): resolveRuntimeProjectFiles has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"4584a429ac0dbcf981a42c5131376a2e5f1c5101042555b718eb7272dc377195"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistFailure (cyclomatic 11, cognitive 9): persistFailure has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3756}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2cc5cc165407913109169871833a40cea2c742e43818f25f23fb30c04b61667"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function persistCancellation (cyclomatic 11, cognitive 9): persistCancellation has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":3846}}}],"partialFingerprints":{"codehealthFindingId/v1":"94331b6d0c26b0690c5623d31acc642aa4c7be26472941bc3db3552ccf67458f"}},{"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":"packages/api/src/app/postgres.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"77596bc2f774dfc4bc89c1c50b5cbc95023d6865c2e7c947fb45a6b046796aef"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function findWebSearchRestores (cyclomatic 11, cognitive 9): findWebSearchRestores has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"08dd63668fef976d05bc8b1a69754579303747522cc6fe127804af477fa45b47"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirmTwoFactorSetup (cyclomatic 11, cognitive 9): confirmTwoFactorSetup has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa7e40212392a945005811d346e42c8210ad391fa235e94b10593b42808d6358"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function constructor (cyclomatic 11, cognitive 9): constructor has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"c880c1448286022d5e843fc5ce10afa57aff0c1c4b5cd39c72cc735ba189cdf4"}},{"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":"packages/api/src/conversations/load.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc0d3a4c15b33a4847f73fe69fad24778d0199ba5a5ac5418b3d39c1f9aca6b2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function createAnthropicVertexClient (cyclomatic 11, cognitive 9): createAnthropicVertexClient has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/vertex.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"d334979c57326f06ba2eadd56bc106b55fa79791203980ccf62a8d224edcd0c4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function confirm (cyclomatic 11, cognitive 9): confirm has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/authorization/service.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b09e8eb205b0029a12ba44da24f80af4798e788ea0f01084d3bafc27a9463e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function isToolAttachment (cyclomatic 11, cognitive 9): isToolAttachment has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3db1c743fac1ff9879a402f7bf3a187e743c72ad299fe8f33ea557873139b7"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function escapeDiagnosticControlCharacters (cyclomatic 11, cognitive 9): escapeDiagnosticControlCharacters has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ddc7ac83a9a72b18077c5118df568c8b267fdbd90f8e353d2f17c914169745"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function trackEvent (cyclomatic 11, cognitive 9): trackEvent has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7858}}}],"partialFingerprints":{"codehealthFindingId/v1":"56fdc4155e8dff9917348e6ef1e042b020ea364c222fe26e248dd5a36c5e6bf3"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveGraphTokenPlaceholder (cyclomatic 11, cognitive 9): resolveGraphTokenPlaceholder has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/graph.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"beaa29b301d0b1284025ae93ab97df30041890c13e1105798d553873c53f13ea"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function SourceIcon (cyclomatic 11, cognitive 9): SourceIcon has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/SourceIcon.tsx"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd51112ea4a18792e8b3e9abe87e9849cbee53b44739527406e4548399f0ed9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function useMessageActions (cyclomatic 11, cognitive 9): useMessageActions has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/useMessageActions.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae34e2ae4b49d9603ec0a483f4134d0664e78e0137447d9f1991107012b3ecf"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function applyReasoningLabel (cyclomatic 11, cognitive 9): applyReasoningLabel has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/patches.ts"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec80272b5873fefdd33b593a5a76124f217198455e89b13e94922dc8f0bd6a3"}},{"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":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd19aa36c498a09dc8c21890eb1a46b8f406e9a25f0daac5d19340313e82c369"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseConfigPath (cyclomatic 11, cognitive 9): parseConfigPath has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/paths.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea07608118f940a357dd0567979cf64f9e21fe6f698223a773a56c46001f1e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function listAuditLogPage (cyclomatic 11, cognitive 9): listAuditLogPage has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cf7b38540ac5f8a3cab76c4d8a6e06d996d16f166fbed6f15b4cb63892b917b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installed (cyclomatic 11, cognitive 9): installed has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channel.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f24fe701e6f40928e63fdf88ef5bad8c790b86b4676cf3736ad648d142d37466"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/stream/GenerationJobManager.ts: 9618 lines of code: packages/api/src/stream/GenerationJobManager.ts has 9618 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"415cd953f1101bd730c4de3db5e8015a6d8236164711d35f11001a2a112df55b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/handlers.ts: 7690 lines of code: packages/api/src/agents/handlers.ts has 7690 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df35d115a3f0f73730bd5c102fd7b4337fa08d7d6cc517bb41a9b6e0ae4b27fd"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/client.js: 6176 lines of code: api/server/controllers/agents/client.js has 6176 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc3f9e7275a337ad5a34c30b0608ae3357fd37f69f6540b5aef7118678d7faf6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/config.ts: 6082 lines of code: packages/data-provider/src/config.ts has 6082 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e4a4d3395c200b62d630bb1c9c76b0f603350a0077019df81fa584d28c1717"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/stream/implementations/RedisJobStore.ts: 5805 lines of code: packages/api/src/stream/implementations/RedisJobStore.ts has 5805 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2637abbb2dc5581a410d0a99e2eec8490eeff42cadc0a84a711091967e9bee92"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/triggerDelivery.ts: 4933 lines of code: packages/data-schemas/src/methods/triggerDelivery.ts has 4933 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/triggerDelivery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9465c66141c6aa8e11163c5cbef816319e01a8c1194dac0abdabfbcb4064729b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/config.ts: 4753 lines of code: packages/api/src/admin/config.ts has 4753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff816fedfb61c9d14ba9a7bb67357bb7e8ede56ff326c79761cfe5fb0a93e05"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/conversation.ts: 4542 lines of code: packages/data-schemas/src/methods/conversation.ts has 4542 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42286eac325b035fbec7357ea80d1f593cd480404e1c8e5fe3443613308e332e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/message.ts: 4394 lines of code: packages/data-schemas/src/methods/message.ts has 4394 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece9202d35a22091d3a9042aed835a6f0788ca855f2981be861fc27c1be2eb67"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/subagentThreads.ts: 4036 lines of code: packages/api/src/agents/subagentThreads.ts has 4036 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"314e356eec7ceb57dd63f05634ffceef2d0f85ee3c58b266e0eb95dd597690d5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/middleware/modelBoundContent.ts: 3793 lines of code: packages/api/src/middleware/modelBoundContent.ts has 3793 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbe81608a594eab8f56b25a97c9d71c68c5f915d0b57f039b5e73eb344d421c"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/request.js: 3590 lines of code: api/server/controllers/agents/request.js has 3590 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1914e72ae20036aacf668efbb7eef4ad9f3b01a0255eaa4a9eaf4ec6cdd46b3d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/background.ts: 3220 lines of code: packages/api/src/agents/background.ts has 3220 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bd8c628f3323a7c989a1d3a0f5e90282923e8a9f60fd4d75be3aaab6d4961e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/run.ts: 3213 lines of code: packages/api/src/agents/run.ts has 3213 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3997ee7acb247b68bb61b42d202b134f86b644a4c1080170a93fec8c5e1ca25c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/queuedTurn.ts: 3101 lines of code: packages/data-schemas/src/methods/queuedTurn.ts has 3101 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/queuedTurn.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3635c5f4dc8a072c00b8bf839317aa711255c00a1f16625386bc0ba2604826d0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/connection.ts: 3044 lines of code: packages/api/src/mcp/connection.ts has 3044 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f8a10f661c756302a787f23b711bd3e4879fb97f4b990d282e8db9549b264b1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/app/resolution.ts: 2930 lines of code: packages/data-schemas/src/app/resolution.ts has 2930 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bab4c5d7e13bccc11d719fd91c8e90bcc801a2c4735bbe589f47b367a6d2938"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/chat.ts: 2886 lines of code: packages/chat/src/core/chat.ts has 2886 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf81c6469adde067c2d6ae196a89004c9e7987a455cac7b34c7c7bed9693d414"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/initialize.ts: 2885 lines of code: packages/api/src/agents/initialize.ts has 2885 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330a915adf590944e8b6658a756b09add7c415eb6976170064c39ed0f2ec362"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/stream/implementations/InMemoryJobStore.ts: 2875 lines of code: packages/api/src/stream/implementations/InMemoryJobStore.ts has 2875 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04657d052b8806bd17e59f05eeea1e3f06c936f629f43eff51c33bcc456229c6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/artifacts.ts: 2790 lines of code: packages/data-provider/src/artifacts.ts has 2790 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccce7874f09a503d980838796b054df8e715202ca8ab64266bfd309cf684d3ae"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/agent.ts: 2688 lines of code: packages/data-schemas/src/methods/agent.ts has 2688 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4502f0e88074397bdbb65947558208a3a464926aa6c16c4c7d50960600e601"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/MCPManager.ts: 2629 lines of code: packages/api/src/mcp/MCPManager.ts has 2629 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ae3e39ffac41a1f000879e720abce2896e496f223a32b760c9a662c36581de"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/ToolService.js: 2497 lines of code: api/server/services/ToolService.js has 2497 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01357272cf0f0bb5e8b969a43698e8fcb3e8f5fe36ac855b616d4b652f9d63e9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/service.ts: 2462 lines of code: packages/api/src/schedules/service.ts has 2462 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a2cb12b9cd95788449818bd902252641a0caeb7509b281c2a1473acb2d270d5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/MCPConnectionFactory.ts: 2452 lines of code: packages/api/src/mcp/MCPConnectionFactory.ts has 2452 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"270a3744f01226af22d13894350586b9ba3b6a55c7529b02f843fda41f8376b0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/schedule.ts: 2272 lines of code: packages/data-schemas/src/methods/schedule.ts has 2272 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/schedule.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba27fee6b5870460dab9b8b04f6c0777ef48cb56bc3b4bc4e4755ad5a5963914"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/skills/sync/github.ts: 2259 lines of code: packages/api/src/skills/sync/github.ts has 2259 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e0ff570683812df5ac8aa7ab185aec64fa0cb8c63137b586d2de8bc830e9a8"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/resume.js: 2254 lines of code: api/server/controllers/agents/resume.js has 2254 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a4445029288d53207e5bd5820a5fcbcaa839f89abf2e846d24a53f94baa047"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/adapters/submissions.ts: 2184 lines of code: packages/api/src/protection/adapters/submissions.ts has 2184 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce59a8d2082f187feb7a070d45f47ad25809a02f300b2d88e9016f6912cd0add"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/v1.js: 2171 lines of code: api/server/controllers/agents/v1.js has 2171 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75423cfbdbf5a420c6ca614ef81c5939024d4bcffccdecde76e3bf30885203a"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Endpoints/agents/initialize.js: 2131 lines of code: api/server/services/Endpoints/agents/initialize.js has 2131 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b57e32f2544aeec1c9ce68222cad2a3560aa7d6b3c8f57de2ff2071518830c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/oauth/handler.ts: 2123 lines of code: packages/api/src/mcp/oauth/handler.ts has 2123 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0650687e39b4611ffef5f7140ea1c18317d686aba50f43ed2d2ebac070bb0ef"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/openid/session.ts: 2106 lines of code: packages/api/src/auth/openid/session.ts has 2106 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6412c8ddbcca924fc89c620fa2943a1529f6c4f1612f8dc449f1854ca5213e1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/skill.ts: 2088 lines of code: packages/data-schemas/src/methods/skill.ts has 2088 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d5c5c1e61fcc8e9b4c560aba6f485d78b657afe4cee1d23b3cf80d8d9d8773"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/oauth/tokens.ts: 2044 lines of code: packages/api/src/mcp/oauth/tokens.ts has 2044 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9651462f7641b68b9f1552d1827a8c879754629a7485b4b7b5fe6b20c0d9f1fe"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/data-provider/mutations.ts: 2007 lines of code: client/src/data-provider/mutations.ts has 2007 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/mutations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece6477478972d7942a6a1a2740733d4c2664432ba881ebce712e16d2fe43750"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/file.ts: 1953 lines of code: packages/data-schemas/src/methods/file.ts has 1953 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863840f4cebe7e121d1c48d45126fb4fb729853cb54ea5b2a235d49de27946ea"}},{"ruleId":"R3","level":"warning","message":{"text":"api/app/clients/BaseClient.js: 1907 lines of code: api/app/clients/BaseClient.js has 1907 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfb7c238fdc32edc957303c447aa189dd88bf276be814451ebde570a480e91f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/data-service.ts: 1907 lines of code: packages/data-provider/src/data-service.ts has 1907 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/data-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95138aa646e931edc1af2ccf44ffcaec2622ade1903db753b6a7c01f0fe1561b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/secrets.ts: 1886 lines of code: packages/api/src/admin/secrets.ts has 1886 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/secrets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8903adaafc6cb2ac1c243e56944d2bf98c79ae50dbe039a24ef158d63af879e3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/stream/implementations/RedisEventTransport.ts: 1845 lines of code: packages/api/src/stream/implementations/RedisEventTransport.ts has 1845 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cccfd447c91378070c38f7c450fa0743e215415d3a0381a578b71265ce43df91"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/parameterSettings.ts: 1804 lines of code: packages/data-provider/src/parameterSettings.ts has 1804 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parameterSettings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82414ddd3aee1950789fe4a4ea7282a1d0ece64c7bce215aa7b2749ba4ad2bdc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/subagents/panel.tsx: 1795 lines of code: packages/chat/src/components/subagents/panel.tsx has 1795 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/panel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f82f931a19b93b7ad9cc22896fa9e0f18aa514eefc2a4c4aabe04cf17af5912"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/stream/interfaces/IJobStore.ts: 1791 lines of code: packages/api/src/stream/interfaces/IJobStore.ts has 1791 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f2ffe0d87a2c9598c281367554abe36ee66db604d928d8a8217f920dfd5abf"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/mcpAuthority.ts: 1762 lines of code: packages/data-schemas/src/methods/mcpAuthority.ts has 1762 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b3236b6fd16b812c5522ce721a7ec48deb5e884e62e2982ec5e964828a2d11"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Files/process.js: 1753 lines of code: api/server/services/Files/process.js has 1753 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e481c539bdc2d99a389d8acca9e8fc1fbbc0527a7c69b9256700d727b9b3ffe8"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/MCP.js: 1740 lines of code: api/server/services/MCP.js has 1740 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f64842910a0d640aa833c58af60ed23dbcad53690f763348ee095bc2ff7c69"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/skills.ts: 1732 lines of code: packages/api/src/agents/skills.ts has 1732 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"164a820e53f120c76ebc4fb9f51843075c1738728435f963a1b3f877356f99c7"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/convos.ts: 1711 lines of code: client/src/utils/convos.ts has 1711 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/convos.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d1e6466b831642671119fa2724d044671c1182c48d572f507b3a62e41f9ae6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/schemas.ts: 1700 lines of code: packages/data-provider/src/schemas.ts has 1700 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/schemas.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc43499df3a9ae4f274df487f6169dbb881baf93212d6c61cfd41d1ff7b0674"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/activityPhases/runtime.ts: 1676 lines of code: packages/api/src/agents/activityPhases/runtime.ts has 1676 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f333907368f6047a50ca5fec7aa485bdc7525a3abd6687f9953dfeed236f3c"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Files/Code/process.js: 1667 lines of code: api/server/services/Files/Code/process.js has 1667 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ffe87f8f0ccc1d634dbd7e053908e0f98ba80cc4f36419e60772770811951d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/registry/MCPServersRegistry.ts: 1647 lines of code: packages/api/src/mcp/registry/MCPServersRegistry.ts has 1647 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef7b7daf5289fc384b32ef2008e90f518a07fdb97c65427d7b69a2c4f41d8227"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/share.ts: 1645 lines of code: packages/data-schemas/src/methods/share.ts has 1645 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/share.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"718e648ae4b38f16d07e3cc463e19df10f85e072fae9fc4aba1952e671f6ffc4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/workspace.ts: 1631 lines of code: packages/api/src/code/workspace.ts has 1631 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cbace5cc0b635c0477cc0a0607c5134b83b98c43e603c562af0cc891b243dbd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/messages/MessageNav.tsx: 1624 lines of code: packages/chat/src/components/messages/MessageNav.tsx has 1624 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/MessageNav.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aec28474df0a61a8bcf9a12e1ba32a5aa77e968d6c2f7f30d8225db0a20da4a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/UserConnectionManager.ts: 1614 lines of code: packages/api/src/mcp/UserConnectionManager.ts has 1614 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da037bd277459584d01cd62462520567b9f437f5a489c3b592e8701ea28f2f0"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/ContentParts.tsx: 1613 lines of code: client/src/components/Chat/Messages/Content/ContentParts.tsx has 1613 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5318dab36bcc89ba9c8f8f07e2b1ad661d69f6cf73145d2ed3c1b9adaa4111"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/callbacks.js: 1585 lines of code: api/server/controllers/agents/callbacks.js has 1585 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3429efe206c973f04254ea818f9cdb47814909e2653d26524b48121a7bb79690"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/responses.js: 1584 lines of code: api/server/controllers/agents/responses.js has 1584 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a2e7b9f558dc8b78faff1e2c188325f07541646fe1d67bb8a8705ff7bdd6af"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/shared-links/protection.ts: 1574 lines of code: packages/api/src/shared-links/protection.ts has 1574 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"befd2d0649c622b385962ee50b43fa811f7c8813f2be7bcb5fc3b0ca9d347734"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/documents/html.ts: 1550 lines of code: packages/api/src/files/documents/html.ts has 1550 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/html.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdfb966460b793bd690b38dd4d96ad8e610d4ab4afcc6ecd95f94bf0de03409"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/drafts.ts: 1548 lines of code: client/src/utils/drafts.ts has 1548 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91d9b87d96073efa0c26356f21e551bd7448e3c6b9cd94336f40a4032bcf4e1d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/subagents/state.ts: 1479 lines of code: packages/chat/src/react/subagents/state.ts has 1479 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac048f4921eceb4d4b710433c76e0499b776b14cce2fba412515bc7bc105efa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/app/rebinding.ts: 1424 lines of code: packages/api/src/app/rebinding.ts has 1424 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/rebinding.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f874b529557ab18e8d7c9d3f24ae7c8dd00acee3b8fc48e4c27b492eabd52e3f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/adapters/messages.ts: 1416 lines of code: packages/api/src/protection/adapters/messages.ts has 1416 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaeb7260fd08240a88c5b47d1b62064d96c27d55ca9dffe3b4946a587d92a29"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/types.ts: 1380 lines of code: packages/data-provider/src/types.ts has 1380 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d26747b2abc47baa20cd2b9430638c72ac502457e2d1d7e1d6bd1a1dc6698e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/subagentTaskRouting.ts: 1373 lines of code: packages/api/src/agents/subagentTaskRouting.ts has 1373 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86766804abe5f7b68bdba8c7d37ffa9acecfb61e60f2989d303fb29d3f30ebf3"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Input/Composer/Palette.tsx: 1359 lines of code: client/src/components/Chat/Input/Composer/Palette.tsx has 1359 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Palette.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3cf54f93a4b4d51e019dfd29dac8a89c138e79bb900df395ee8a8cf7d9b1a7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/actor.ts: 1347 lines of code: packages/api/src/agents/triggers/actor.ts has 1347 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/actor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e3e0c964aa77a1a5ce4ab3d93744dc442037e51c394bb75d7a12182e0dc1db"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/file-config.ts: 1340 lines of code: packages/data-provider/src/file-config.ts has 1340 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/file-config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c00e44a490216b3430d72ed4946ec2b8505a9bd5dfc0ca61f088fdd06065fe2"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/agents/openai.js: 1337 lines of code: api/server/controllers/agents/openai.js has 1337 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05893b320eca1b5d6ba4f469db056a7783ee95c1e6f2b3e0e752d46557605a4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/responses/service.ts: 1333 lines of code: packages/api/src/agents/responses/service.ts has 1333 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8144724ec2d00afd44f24d1a0006b5096a42784f82364f5862eb77ffb05bd56"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/roles.ts: 1332 lines of code: packages/api/src/admin/roles.ts has 1332 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29111e5175176590bbeb11e41f8eff2b94f2800c5ca233abd4aecb8697f13fdd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/tools.ts: 1307 lines of code: packages/api/src/agents/tools.ts has 1307 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c6f73f802059ac30ce9bbba6b267c6d8f4032c93baed259e431f1e6ba84010"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/mcp.js: 1294 lines of code: api/server/routes/mcp.js has 1294 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28626125c58e678f938dd21f7fab5b725ae3471bfbec4ae364bc4e2605fb8a02"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/skills/import.ts: 1269 lines of code: packages/api/src/skills/import.ts has 1269 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b69c042893d45489a0343ccc7e71896929c22e6992f22f54807d48956372f40"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/protection.ts: 1251 lines of code: packages/api/src/agents/hitl/protection.ts has 1251 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b300dabc3d0c9994a467673ee9697a05c730ec1afb75c1078bb650e60560d8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/files.ts: 1239 lines of code: packages/api/src/protection/files.ts has 1239 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f10228244befa834b283b105589f64659c7d4f94bad5abc18702c3feb3725af4"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/artifacts.ts: 1228 lines of code: client/src/utils/artifacts.ts has 1228 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c7db1218f5978bd6cfb032431afb82b8554d92bbabc90a9c3c5d68bcf8f39a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/app/service.ts: 1220 lines of code: packages/api/src/app/service.ts has 1220 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6778e42e3fdb511e1f26553110762c7d938dc87bb1dda944946537c5abfd80d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/types/agents.ts: 1215 lines of code: packages/data-provider/src/types/agents.ts has 1215 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d971284b5f0add2a383dd08bf06410773a5c19861e686cad22936208ec4dae9e"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/agents/index.js: 1211 lines of code: api/server/routes/agents/index.js has 1211 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"213184eb791380d93d00b9098037b00558fe07c3dc9c30f78cc6be77c8def232"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/models/plugins/mongoMeili.ts: 1211 lines of code: packages/data-schemas/src/models/plugins/mongoMeili.ts has 1211 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83231a17fb831b6f4bdb9cb54688dbe59052d4f6d456667461144b63cd03f83f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/channelRun.ts: 1202 lines of code: packages/data-schemas/src/methods/channelRun.ts has 1202 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelRun.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0eaff2f25f13a7da7b610dbcf1d729a8b361b2743c718458cf1de10d9e46af"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/backgroundCompletionWakeup.ts: 1199 lines of code: packages/api/src/agents/backgroundCompletionWakeup.ts has 1199 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7c7b5c893daad69774df4ef98f2472dd55b448c3e9d3ba6c85e540abd8c11d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/queuedTurns.ts: 1199 lines of code: packages/api/src/agents/queuedTurns.ts has 1199 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7620cdedf9d40a95c9ada2ac2765fa3bea14cd222ba4a061cea77f202dffa8b1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/endpoints/openai/llm.ts: 1199 lines of code: packages/api/src/endpoints/openai/llm.ts has 1199 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e68a3b38263edc8615f7315bc0868f3ec1b2c9ca7ff6a7cb99c3838ef1d3bf5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/memory.ts: 1191 lines of code: packages/api/src/agents/memory.ts has 1191 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a0ad5344afaa8a748fa5198b9a47ba7d3af4c96db29609f88a5738e115ed09"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/handlers.ts: 1187 lines of code: packages/api/src/schedules/handlers.ts has 1187 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"28426d9e15c4575fc4d02dede2cd419d37d9207bde1f9e82a7d728d5a56f5a80"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/langfuse/reader.ts: 1169 lines of code: packages/api/src/langfuse/reader.ts has 1169 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00808219de8e046a4b58258cb38475c094f73a244e451b18f4706a9e69a1de3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/resources.ts: 1164 lines of code: packages/api/src/agents/resources.ts has 1164 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"388c0c36c62ebabdc82f12121d7d782c053742a6339a362cd2d699e0a5652959"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/user.ts: 1153 lines of code: packages/data-schemas/src/methods/user.ts has 1153 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7bfdf77861bbc7975efbd88f924019e2e5448b30229d542d55f5f328039298"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Files/useFileHandling.ts: 1147 lines of code: client/src/hooks/Files/useFileHandling.ts has 1147 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useFileHandling.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb27bd5eb007e2819f8556d2aacb88f885a2e5d224da1a90092ed187022a6cf6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/usage.ts: 1145 lines of code: packages/api/src/agents/usage.ts has 1145 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"227c4bcd6ffacd1b33cd14606b2c6d4c37c04e759881e0f478debf9797c8014e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/userGroup.ts: 1145 lines of code: packages/data-schemas/src/methods/userGroup.ts has 1145 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b795d2e70d725785ddc29fdfd278e3ae01e43b03a33315768c81328fc3484d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/compaction.ts: 1138 lines of code: packages/api/src/agents/compaction.ts has 1138 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/compaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5767e6730d91d3c4bd847c22c19c1861fb83498300f80df2005d59100162c17"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Trace/model.ts: 1135 lines of code: client/src/components/Chat/Trace/model.ts has 1135 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a18d18ab8f9ccd20a1d090a2632e0b35ff8b853a6aa6318e6732b078fc97b5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/catalog/recovery.ts: 1131 lines of code: packages/api/src/mcp/catalog/recovery.ts has 1131 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c408cf13466ae052f9474adf9ab23d0e92c7af339db50edd1587c3076ff065"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/host.ts: 1118 lines of code: packages/api/src/agents/triggers/host.ts has 1118 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b664ffc307738373ef3446364bb51d404e0562b7009b1a494daf870c3d7b9336"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/outcome.ts: 1113 lines of code: packages/api/src/agents/triggers/outcome.ts has 1113 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/outcome.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5ac13613ce286844e0188d45b119e171d8af5d694132dee027e766af761017"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/steering/request.ts: 1106 lines of code: packages/api/src/agents/steering/request.ts has 1106 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c85bc4197117f3a1eb3bdc97a926514fc800e88e84fc8675825de9fd90b5dac"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Agents/AgentPanel.tsx: 1100 lines of code: client/src/components/SidePanel/Agents/AgentPanel.tsx has 1100 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d49ab214b349160339bd06d23b5dee8b039a7b7195304b51774ee7d8b1e78d58"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/response.ts: 1092 lines of code: packages/data-schemas/src/methods/response.ts has 1092 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/response.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffe98d76dea974890610302d2888bd69a91a50b57698655875d8ff09e9032be"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/flow/manager.ts: 1085 lines of code: packages/api/src/flow/manager.ts has 1085 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a781e85825b6b2782da09ec0f159b9e4dd51e1047fea892a05c5e1a195d9e9c"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx: 1074 lines of code: client/src/components/Chat/Input/CodeWorkspaceMenu.tsx has 1074 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/CodeWorkspaceMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a4d9d1ac9ebd62f30651324cb0aef0d6c8cece0f8fdc190a67986ec9aab9f90"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/prompt.ts: 1072 lines of code: packages/data-schemas/src/methods/prompt.ts has 1072 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a9c692a157280daa5ad52c44e04d050cfd5b3c4619e26eef2db34997f3f574"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/useKeyboardShortcuts.ts: 1070 lines of code: client/src/hooks/useKeyboardShortcuts.ts has 1070 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useKeyboardShortcuts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"656f0095c9abd0b7cd5c8b0d54e711d3a8164e88b844cbfa5dd016fe71d3ae56"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/attachments.ts: 1066 lines of code: packages/api/src/code/attachments.ts has 1066 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"598c0734f59dcefffa8811d56f95b5fb2d1b0bd087e5c83ce714672db20ccf07"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/parts.ts: 1055 lines of code: packages/data-provider/src/parts.ts has 1055 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e68f8b1168844e685adaae5e7142908fa6f7c15d48e5cea9f869eeb196f034"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/skills/deployment.ts: 1054 lines of code: packages/api/src/skills/deployment.ts has 1054 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d781a58a24128c5a9f684aa570958fac78bc384081697fd619620388d3de99b6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/channels/runs.ts: 1051 lines of code: packages/api/src/channels/runs.ts has 1051 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96322380b9b4f255d843270dd7e46331177b41f901d75c87bccd93083145594e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/openid/recovery.ts: 1050 lines of code: packages/api/src/auth/openid/recovery.ts has 1050 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b8e4f1f21aca890e36a8ee7d14b6ac52f4b50098c6f32079a363cd3473353fc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/skillFiles.ts: 1031 lines of code: packages/api/src/agents/skillFiles.ts has 1031 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4415b3ef2fdfeeb5ae7c49f945cff7180a71230285be7ddc954b2bfd9d3055f4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/http.ts: 1016 lines of code: packages/api/src/code/http.ts has 1016 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/http.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5d5aa4fa84514669ad83b1e6e6245d463f463180cdf31b327309dfd88714f87"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/acl/accessControlService.ts: 1010 lines of code: packages/api/src/acl/accessControlService.ts has 1010 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed28bdb03c51ab99290bc923f48d5043f1968a3e678ea6a785cd61b40b7facd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/code/workspace.ts: 1004 lines of code: packages/chat/src/core/code/workspace.ts has 1004 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/code/workspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9ebcf7bafc2629c000a6ced2bd5b6b6f023792a96f43465ae98ed0f9fe85fe8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/openai/service.ts: 1002 lines of code: packages/api/src/agents/openai/service.ts has 1002 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9297dbd59bca66b52918ade99af23273fe89a16ec94bef635e30d4d721515e72"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/channel-gateway/src/render.ts: 1002 lines of code: packages/channel-gateway/src/render.ts has 1002 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/render.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0764c0501d95e3a8d1cced7535e915752d152f385d9a252a9d4787d17a53020c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/policy.ts: 996 lines of code: packages/api/src/agents/hitl/policy.ts has 996 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/policy.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ef4ed375db6ac8c067db7febea7595cb52b0de5eb6a2efad40415aae27197d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/catalog/store.ts: 983 lines of code: packages/api/src/mcp/catalog/store.ts has 983 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a306a9fe035a06f3f8dfec1a844fea7da5079af4bb73a1cb4a63e4d08fcdb071"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/messages/previews.ts: 977 lines of code: packages/api/src/messages/previews.ts has 977 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59686b9d1fa6cdff223e218de17a128008b652e499db0025b2baf9bd3df0fa0f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/config/parsers.ts: 975 lines of code: packages/data-schemas/src/config/parsers.ts has 975 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eef4a82df331c89c225185a83b0608fd4619282d47e6c0a642dd16cfa303600"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/files.ts: 966 lines of code: client/src/utils/files.ts has 966 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c0cf2c4bbecbef592e805486ecc27b648cd30b567f292fd71f30ff805eb7ba"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/storage/s3/crud.ts: 966 lines of code: packages/api/src/storage/s3/crud.ts has 966 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0433a182e4c5e675d4f5608d1344e80c93a919407c18cace9fb878f3db6efae0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/app/metrics.ts: 961 lines of code: packages/api/src/app/metrics.ts 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":"packages/api/src/app/metrics.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6966d0eb712677e6bc770f62e7eef32c9f50327877fc74591e6c7290d0c8158a"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Input/ChatForm.tsx: 955 lines of code: client/src/components/Chat/Input/ChatForm.tsx has 955 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dd90ebdde70d5ea733ec4abb3f7236d63cb4dcde0cf185eb750ade5ee1713b8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/zod.ts: 953 lines of code: packages/api/src/mcp/zod.ts has 953 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/zod.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02ed9fcd4f343664ae8efe3f78f9fe5a8a8fbf95e3278d22fc53d9707053b7a"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx: 950 lines of code: client/src/components/SidePanel/Schedules/ScheduleDialog.tsx has 950 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"686c58bf1194f481896944cbea12ddece278426aad4f31a9e445743664b0b46e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/bedrock.ts: 944 lines of code: packages/data-provider/src/bedrock.ts has 944 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/bedrock.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa32f0a8151794f8146014004406394d0aa9559eb8c8c6df06288999c626ec1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/aclEntry.ts: 941 lines of code: packages/data-schemas/src/methods/aclEntry.ts has 941 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b159e4fa50b6e52cc0cc1ac97838709ea9a3c20fedf96c7b78478344d2689d3a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/pulls/oauth.ts: 940 lines of code: packages/api/src/pulls/oauth.ts has 940 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/oauth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc88fb9879feb65bcecbbc648f67c90af2e34d33612b76d5760da91fd2f73fc"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Conversations/ChatFilterMenu.tsx: 935 lines of code: client/src/components/Conversations/ChatFilterMenu.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":"client/src/components/Conversations/ChatFilterMenu.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4178ba5b056d44273ed3dd3c4fccf35904399a414e4cd2323f35bb0ce3bbf382"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/themes/registry.ts: 921 lines of code: packages/data-provider/src/themes/registry.ts has 921 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/themes/registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"427baa6558d7f644e4c3ca273e645b483c07e6f4f4835d16b5a9a61b6de9802a"}},{"ruleId":"R3","level":"warning","message":{"text":"api/strategies/openidStrategy.js: 919 lines of code: api/strategies/openidStrategy.js has 919 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1322e18a6514714ca7f18f2a763987f424a1679dfcbda27adfcc5a68cdd959df"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/targets.ts: 915 lines of code: packages/api/src/code/targets.ts has 915 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/targets.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d296a2ee6c036bf3c554e232c0f0280e56d63523ca168045e3c3de262d95dfc8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/checkpointer.ts: 912 lines of code: packages/api/src/agents/checkpointer.ts has 912 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de40549bae763fa408af3969eb4949d8873fc88402476da4b6326e91cc80af3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/app/conformance.ts: 909 lines of code: packages/data-schemas/src/app/conformance.ts has 909 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/conformance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f506d5d19533a67024bb74ad27c0aaa8492c11ac33586289d13d88556363d9a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/service.ts: 904 lines of code: packages/api/src/agents/triggers/service.ts has 904 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"003dbdb9d25b26fceebfe3713616749ce40dc7143604e61a1a3511f1eacd6c8e"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/AuthService.js: 900 lines of code: api/server/services/AuthService.js has 900 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6e067199e60a88c5bf86e97ddb42aa99fd1a39b6b6c9db466fefbd9e3011b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/utils.ts: 900 lines of code: packages/api/src/mcp/utils.ts has 900 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/utils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24828952de89385600ed7d19003aeb04a9914973cd89f126894130c4cf970eb0"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Agents/Channels.tsx: 895 lines of code: client/src/components/SidePanel/Agents/Channels.tsx has 895 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6eda1e72a309ed73274fe0f5f3809cd0be0b587404db28258da71cc908c2c3e"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Nav/Settings/registry.tsx: 891 lines of code: client/src/components/Nav/Settings/registry.tsx has 891 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/registry.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d41f1e6b0d7c902a9ce5f1c222bfab35000aa21b6ff6ebfb5d8d0cea4439b26"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/subagents/content.ts: 882 lines of code: packages/chat/src/core/subagents/content.ts has 882 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58320ef9eb5a1196da9b1d1cbd62ff7ddd6ec85f1f240da1093f947d7777b5b4"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Insights/InsightsView.tsx: 877 lines of code: client/src/components/Insights/InsightsView.tsx has 877 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Insights/InsightsView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"980d7f621ae396a686c682238eaaca3847886205e89c9eef4da6eb223e693964"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/files/files.js: 873 lines of code: api/server/routes/files/files.js has 873 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2e08346c3fb5d22c08ece52aa86fbf3b0aa25961998d5a720efec73906cba2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/activity.ts: 870 lines of code: packages/api/src/agents/activity.ts has 870 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2e836eadefec9de293ac9dfaf477ff5d61d7ec3087625e16a8ef6b14bdc9b7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/responses/runtime.ts: 849 lines of code: packages/api/src/agents/responses/runtime.ts has 849 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c46cb57938ba02cdbd7c51556f5bb55621d527e98cc470b9e2d588b0e9ad756"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/langfuse.ts: 846 lines of code: packages/api/src/admin/langfuse.ts has 846 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/langfuse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"420c088de79f2189a1b855acbd7ac0957672bdab56a57e55af39e6ebcc65740e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/engine.ts: 845 lines of code: packages/api/src/agents/triggers/engine.ts has 845 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5b295cd66489570c78f181bf9ef7e427992d9568ff1ac5395ecec30935c29e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/modes.ts: 844 lines of code: packages/api/src/agents/hitl/modes.ts has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"616a5f50b6e0bad06c56fd5ca11d88eb99924e04f95d75ca932ebf6fc06d0a10"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/subagentCompletionWakeup.ts: 844 lines of code: packages/api/src/agents/subagentCompletionWakeup.ts has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentCompletionWakeup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2ed5a3f5172eed24cc04a52425fb6cd17073d02cc11526b27b25e13f52e1ee"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/app/permissions.ts: 844 lines of code: packages/api/src/app/permissions.ts has 844 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6306282076238f1678ff1dbe49ddee84e8dca6eb81848675a2dbe796e82af4da"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/MCP/useMCPServerManager.ts: 843 lines of code: client/src/hooks/MCP/useMCPServerManager.ts has 843 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useMCPServerManager.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ed74b5212b07eb564530b3dde00f33175a5a5546945e7c139ab5711a566d61b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/role.ts: 836 lines of code: packages/data-schemas/src/methods/role.ts has 836 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed933fe447ae720b96c04727333e177ce96c28a244af1dff0fd98f581df23138"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/web/web.ts: 833 lines of code: packages/api/src/web/web.ts has 833 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/web/web.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c621b5f553623b577182d63cf710741cbb086594d884ff48d565ace8a0ee0b9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/composer/steering/Queue.tsx: 830 lines of code: packages/chat/src/components/composer/steering/Queue.tsx has 830 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/steering/Queue.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d76cc4eebfa7f62ab92e02fbf6f77157b1e16d264dbd0481aaa14ce67ca1d3"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/convos.js: 827 lines of code: api/server/routes/convos.js has 827 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/convos.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f77e2dcc1123dc4c3cceaff346aff8654dbc6f3994b11f69d605079435e1037"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx: 822 lines of code: client/src/components/Chat/Messages/Content/ToolCallGroup.tsx has 822 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCallGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e7eb648ee6cf37e78d55db92f86a3e759a6c18f975c6c4a0955400c22a81f4"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx: 820 lines of code: client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx has 820 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ActivityPhaseGroup.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65daa51bad1d8b95c5b1239fcb4b792fdfdf8c044a2d97dc16fc49a4472fc608"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/view.ts: 812 lines of code: packages/api/src/agents/view.ts has 812 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ead5ca9c5f2e2b911745129e97e36ca48dc2c2caada50f1b410f475ee2cd5de4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/transaction.ts: 812 lines of code: packages/data-schemas/src/methods/transaction.ts has 812 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"139159fe998d64a0ab19a81529879c56bd1b4ef60b3f270594cf0beb8b3b3b72"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/theme.ts: 809 lines of code: packages/data-provider/src/theme.ts has 809 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/theme.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75855f8e5df2b81c7055fddbc473e3ae1794d3e14bf5f27a07d6eb2cef30b3af"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/openai/handlers.ts: 807 lines of code: packages/api/src/agents/openai/handlers.ts has 807 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b3376cdd41667dd3db121008e0c830366e073e7fc02188680d736d06ce6646"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/tx.ts: 807 lines of code: packages/data-schemas/src/methods/tx.ts has 807 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/tx.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a42d87904abfce4655f2b11dc3c63ee273bdaf436bc2443c1b63723ab8f6c4e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/skills/handlers.ts: 803 lines of code: packages/api/src/skills/handlers.ts has 803 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bcc03d40e7e44ef1e19f235269a2256584b247247633ced652e03d006c2d78"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/experimental.js: 802 lines of code: api/server/experimental.js has 802 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f99b28c369e5fdd92f9a8847d72c8748c085e89f295af5dfabd21c1f96add478"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/lib/rum/logs.ts: 796 lines of code: client/src/lib/rum/logs.ts has 796 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/logs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d938ced713b7bfd1d0a7e26d1ad90d0149252a1840d6a45c85cf0a1f451efa"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/mistral/crud.ts: 796 lines of code: packages/api/src/files/mistral/crud.ts has 796 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f6840b51f927cc54502062abd571db37daa327c6d0f5b1f05b253d3d6333a74"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/codeEnvironment.ts: 796 lines of code: packages/data-schemas/src/methods/codeEnvironment.ts has 796 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/codeEnvironment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d864e82d19c18f1af7d8f8c019f3bfcb0e9694f172b96b767f423c8f3dc69b6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/responses/handlers.ts: 794 lines of code: packages/api/src/agents/responses/handlers.ts has 794 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3958f62a3284c6c03371207e59af612b23e0a23fcd28f09ad60bc38f3969fc12"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Conversations/PinnedSection.tsx: 792 lines of code: client/src/components/Conversations/PinnedSection.tsx has 792 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4664df8eec1d4007d37b4e481cb5289dd7adfad8cbdc640f19030bcfcd7b0199"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/actions.ts: 792 lines of code: packages/data-provider/src/actions.ts has 792 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30ce89b5b87db13c14470ab3dbfe1fe707794c9b3d10d52007cbec48d6a70dfd"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/twoFactor.ts: 786 lines of code: packages/api/src/auth/twoFactor.ts has 786 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"118c4c673d106bec36f801c20fc3071c58d72aabf8047aa59d8eb67eae83d6d2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/parts/activityLabels.ts: 786 lines of code: packages/chat/src/core/parts/activityLabels.ts has 786 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66fa4f5ce4b6c27a94ae23f38ebed275e5b6c4acdaea6f6550b5839168f64c77"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/client/src/theme/context/ThemeProvider.tsx: 778 lines of code: packages/client/src/theme/context/ThemeProvider.tsx has 778 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da9938f4d5572ae35ea61be1426338d0a2092e814c7119dc9b1d41df4658751"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/messages.js: 777 lines of code: api/server/routes/messages.js has 777 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/messages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32e2689954b56bb5c708bfeaba1c3e1a5de567a7a44f93c51b61de2d4a1553b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/resume.ts: 768 lines of code: packages/api/src/agents/hitl/resume.ts has 768 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec847aa75395b07a96e5b6d4183da73a752504acbef5d2f80364e97866e3d8bb"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Artifacts/ArtifactCodeEditor.tsx: 766 lines of code: client/src/components/Artifacts/ArtifactCodeEditor.tsx has 766 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/ArtifactCodeEditor.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"927ec7e185997b1bb8e9976fc03a6014788695fb6e68327ca8aa820bc320dcdc"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Input/useQueryParams.ts: 765 lines of code: client/src/hooks/Input/useQueryParams.ts has 765 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd635f58237bd35a4b09a1e8f5714b832121fa03d87ffab0ca868d696595363b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/app/store.ts: 765 lines of code: packages/data-schemas/src/app/store.ts has 765 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/store.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08028d277e242a5ea8a7b12423b02d3076f6d69c5f6f92de78de868af4344834"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/utils/tokens.ts: 756 lines of code: packages/api/src/utils/tokens.ts has 756 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokens.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d8a04242354d04cacadaa60c7aa56601b08ab42403b3618d47ae5befe2353c"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/admin/auth.js: 752 lines of code: api/server/routes/admin/auth.js has 752 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"735692eaf59c6f1da4fd6321f4c7e6e992edf3f544ad6cbbd5550b8ef1ab3c6b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/systemGrant.ts: 751 lines of code: packages/data-schemas/src/methods/systemGrant.ts has 751 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b32874091521f9ab3c40cc99898781ff23e3e92000cb16044c7f000cfc511c6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/groups.ts: 745 lines of code: packages/api/src/admin/groups.ts has 745 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/groups.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"123af1c353c2e90851176febdbb511082b5e351ff319964c38f4ffd190f76883"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/fire.ts: 745 lines of code: packages/api/src/schedules/fire.ts has 745 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36755a205d136331efb4c77206094ed3cb136f686dc4ab9acd048554e1f0eaae"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/channel-gateway/src/worker.ts: 745 lines of code: packages/channel-gateway/src/worker.ts has 745 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc851e767d7cdcd27484755f6d4d500f0d8188f4b3d4856b4569d831a8bd8da5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/endpoints/google/llm.ts: 741 lines of code: packages/api/src/endpoints/google/llm.ts has 741 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab6d04570c54871f976071d0ba92231d5791054817ba999054f85bcae8936c0"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/assistants/chatV1.js: 740 lines of code: api/server/controllers/assistants/chatV1.js has 740 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8275ffda7832aaa507dfbb71de682cb393dc9b720a448b6c67020fc138093e81"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/attachments.ts: 728 lines of code: packages/api/src/agents/attachments.ts 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":"packages/api/src/agents/attachments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f8fd96de52686898415e3e5b9ec5f9993b85a6a078a257004c71bf86b5ef42"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/mcp.js: 725 lines of code: api/server/controllers/mcp.js has 725 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"932b7951a26fef98313ba22688ba5348b4f18bdbd56e7831cb4af7ec66cea1c7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/client/src/components/DataTable/DataTable.tsx: 725 lines of code: packages/client/src/components/DataTable/DataTable.tsx has 725 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b43f4e00e4904c7516a86faae1c6ab1fa12fad04f9210300cf6ccde859d0fc"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/routes/share.js: 724 lines of code: api/server/routes/share.js has 724 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"936dbd23a72eb1b7a4599b1bbbf144f0d98db29498826c82d2fc032bcf110ac6"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Web/Sources.tsx: 724 lines of code: client/src/components/Web/Sources.tsx has 724 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Sources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c913124294007e748df4d085d6fd6e56dadbec0a989ab1db5a5c97c9403370d4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/reasoningLabels/runtime.ts: 724 lines of code: packages/api/src/agents/reasoningLabels/runtime.ts has 724 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96f39c899ff34d792469155bfbd3c33594d0ed91f5b3d06e3f94c2fd8d086ab"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/index.ts: 714 lines of code: packages/data-schemas/src/methods/index.ts has 714 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0f4105c8c0447876f5ca6339d951c87bc343275120523a4be08d73dfcfe870"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/subagentContent.ts: 712 lines of code: packages/api/src/agents/subagentContent.ts has 712 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentContent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9c75991a8e3d6e10eedcfec29cbd46d52b97ad674e9688c1f50800b4cf6e4a2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/auditLog.ts: 706 lines of code: packages/data-schemas/src/methods/auditLog.ts has 706 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/auditLog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4c08b858b51c90b7da516d2c0b391d8c8c3450b43af6119ba8501fa40b766e"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/Part.tsx: 704 lines of code: client/src/components/Chat/Messages/Content/Part.tsx has 704 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ec07fe152aa24d1ad5bf79ec143333f02d66c4e395322b4a2ce0c0b362caa4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/environments.ts: 704 lines of code: packages/api/src/code/environments.ts has 704 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/environments.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"341e9804b01da215ff5e9581a3548f0812780ed997b925b86c1dc5eebb02508c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/digest/view.ts: 701 lines of code: packages/api/src/agents/digest/view.ts has 701 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f54526d2ac71a651c3e10bd64586cb21a3660be71afd4b2b3036acd30d32a2a"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Lia/engine/engine.ts: 700 lines of code: client/src/components/Lia/engine/engine.ts has 700 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40239b2136fe1afbbd893cf0ee06a989f41e495e562d206932f9a1d770937a9"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Threads/manage.js: 699 lines of code: api/server/services/Threads/manage.js has 699 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Threads/manage.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46bd276af8e857ff0ec84ddfb4f08ff91a23a96248623db5a236f70938cbfd05"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Input/useAskAnswerMode.ts: 698 lines of code: client/src/hooks/Input/useAskAnswerMode.ts has 698 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAskAnswerMode.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c163b7604c93cdacae3131290afb886920f4ce8040e547fe852a49537a0a776"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/chatProject.ts: 697 lines of code: packages/data-schemas/src/methods/chatProject.ts has 697 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/chatProject.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"587d59b097aa3a5b7515e814396a67c920dfe2228049d421dc49a53c3cf12568"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Input/useAutoSave.ts: 696 lines of code: client/src/hooks/Input/useAutoSave.ts has 696 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAutoSave.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5fdcaeee0f4ad5d5b19c91254c8b31f3cb45a526046e2ceb0eaa09df66b6a86"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/email.ts: 696 lines of code: packages/api/src/auth/email.ts has 696 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e856b38b6ef45a97ecaf990383ae17dd5494a58cef8d59127e816ce517303f5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/subagentActivity.ts: 693 lines of code: packages/api/src/agents/subagentActivity.ts has 693 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0646e6ada6a29ff696fb0f072fc59657d2925be8836c246f8bf8b2572d07852"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Prompts/forms/PromptForm.tsx: 691 lines of code: client/src/components/Prompts/forms/PromptForm.tsx has 691 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Prompts/forms/PromptForm.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd07440d89c989121d8ddaf5e612056a42df64f023bd5db6fb187045e42125"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/engine.ts: 687 lines of code: packages/api/src/schedules/engine.ts has 687 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a0ee3587348f0fabf25ac80cdc30fa3e2ebc7b755314a6157f00a87e0d895e"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Conversations/Conversations.tsx: 680 lines of code: client/src/components/Conversations/Conversations.tsx has 680 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c11dc1c9aeffc891c56e7eb35335fc9de7bd9a0f6db7df8e14f1ce5b4e331d4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts: 677 lines of code: packages/api/src/mcp/registry/db/ServerConfigsDB.ts has 677 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a0802d06a57bcdc3d7f5e95e8ffb3a9356f74e6493040591fdd2074b490b34"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx: 675 lines of code: client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx has 675 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f68ad52d5c999ffef79078ce0d0c6d266042aaeb75e061e21e8518ec583515d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Lia/engine/face.ts: 672 lines of code: client/src/components/Lia/engine/face.ts has 672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/face.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccb75f8f40047b8b2609a981e8c6918cde2a2cf84bc3ac87b66f17c2304a3d9"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/endpoints.ts: 672 lines of code: client/src/utils/endpoints.ts has 672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebaf8b732b5b2963ee844eb65fe9bc2c90ad12c104dea477bb830690ec9c530"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/responses/foreground.ts: 672 lines of code: packages/api/src/agents/responses/foreground.ts has 672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/foreground.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a5e76b8ee1b39e3157f1f1a41825f9d87a30e452a2d67229941f487c1cd739"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/composer/usage/Breakdown.tsx: 672 lines of code: packages/chat/src/components/composer/usage/Breakdown.tsx has 672 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/usage/Breakdown.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5628e733881135e3def794535c432b1131a6ab8cad68ce6cd86374f0c22105"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Artifacts/Artifacts.tsx: 669 lines of code: client/src/components/Artifacts/Artifacts.tsx has 669 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifacts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b4820b94a5a285a4056afae21ebce0bc239727f0115acee5faca46b49dc9c17"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/openid/flight.ts: 667 lines of code: packages/api/src/auth/openid/flight.ts has 667 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/flight.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae6ad42047be62ace7e2ca7681968375ee989950367e32d0bc3efc1e628be93"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/activityLabels/runtime.ts: 663 lines of code: packages/api/src/agents/activityLabels/runtime.ts has 663 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55cffb853db94583d04129300fa0db48b92d941f84f3d7e7abf2a76d808ef176"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/parts/rail.tsx: 659 lines of code: packages/chat/src/components/parts/rail.tsx has 659 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/parts/rail.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e4b4c238e4bacb9645d1967c3abb58614ab5b3d9b1e003b7577fe27cd81f48"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hooks/executor.ts: 658 lines of code: packages/api/src/agents/hooks/executor.ts has 658 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f23a84af611c1c10d1b35fd936a9cf05527de97bcf117b77891455fa23477b"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Projects/ProjectResources.tsx: 655 lines of code: client/src/components/Projects/ProjectResources.tsx has 655 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectResources.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61f4c9621ec5030bdd715db1d35fa052627d0a2db99b749c80f5390e5641841"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/oauth/cleanup.ts: 655 lines of code: packages/api/src/mcp/oauth/cleanup.ts has 655 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8813778b4ee9982582c1c08e53d900cb5c2562366e0a3c97afce640608bfa5a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/parsers.ts: 652 lines of code: packages/data-provider/src/parsers.ts has 652 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/parsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1548a0ec59e0731fea3d18fa232624193261993d3e19402664222f47e919271c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/skillLifecycle.ts: 652 lines of code: packages/data-schemas/src/methods/skillLifecycle.ts has 652 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5dadf53838338a1ed423602bb5f8e728848f3a7e45a43a2904e3702f0e1f0bc"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/MCP/useAppBridge.ts: 651 lines of code: client/src/hooks/MCP/useAppBridge.ts has 651 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7b45f7343eca1109ac921998cb32b681df428b88f93e61d76b153980559b59"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/catalog.ts: 649 lines of code: packages/api/src/admin/catalog.ts has 649 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c090523cd3091d9e7d5de34269385d62e517d72d0b5cac5eef3512386ba5ddc4"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/index.js: 648 lines of code: api/server/index.js has 648 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7abb16a7a5339978449672ebefbb8f31ebbe094f2b094e1ca4ae5b007d5e70d"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/answers.ts: 647 lines of code: packages/api/src/agents/hitl/answers.ts has 647 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d21e5b6a44c8ead9b7aa8eb877f23454d8f6c61e6636d5660d5c0d900d47c1a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/passkey/handlers.ts: 644 lines of code: packages/api/src/auth/passkey/handlers.ts has 644 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8fbe3ad798d621027c3265962dfc2a0abe28d8a4737d8e6831c8848f070e4f"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx: 641 lines of code: client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx has 641 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ccdcb1d9cb2e66ae2d23f9376bfdd1d14bac4cf27f23ad324eaa1d75506398"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/provision/service.ts: 639 lines of code: packages/api/src/files/provision/service.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae3d870764b32f6a19d082840ddb4bf3ac345ef4533c82efc257ba27fbd6d7b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/browserSetup.ts: 638 lines of code: packages/data-schemas/src/methods/browserSetup.ts has 638 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c319323471dfca9fd59001d613f18f99ffcfaf08bf4814598fd06e01459e5335"}},{"ruleId":"R3","level":"warning","message":{"text":"api/app/clients/tools/util/handleTools.js: 637 lines of code: api/app/clients/tools/util/handleTools.js has 637 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"366086e378fb21b9c641d20821d8f6e925dbd8d50e8f2da4f54e394bebd27e74"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/tools.ts: 637 lines of code: packages/api/src/mcp/tools.ts has 637 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df57a957548fec423d9f8921479c281c9ed0548e61b20c44fc930979748d6ca4"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx: 636 lines of code: client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx has 636 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Integrations/LangfuseConnection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eadcdda70497cd80f024c82e887cbd2bca88b2f6581e9f844d015a5a4662e81b"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Runs/StreamRunManager.js: 634 lines of code: api/server/services/Runs/StreamRunManager.js has 634 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb30caee68950d80a68673de21dc0610ab40f01729e937e55f23a8e4eb5d48f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/mcp.ts: 633 lines of code: packages/data-provider/src/mcp.ts has 633 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14991602db076a303c31867916fbe46e87f944896f4a84424719d651e845e80a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/insights.ts: 631 lines of code: packages/data-schemas/src/methods/insights.ts has 631 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0412ae0f3321ec1add8e905873066e7a0a131ff53e9e7c0d4c237c70c167aa7b"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Files/usePastedTextEdit.ts: 628 lines of code: client/src/hooks/Files/usePastedTextEdit.ts has 628 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b53a6dc1e854cedccac3cf6425dded8799c4d3c2070fc3506e5f21008ee89b13"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/mermaid.ts: 628 lines of code: client/src/utils/mermaid.ts has 628 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/mermaid.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea27f246d59468f3228af104c677e034dbeb4fd70c84b45d97055ecaa30f576e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/channel-gateway/src/review.ts: 628 lines of code: packages/channel-gateway/src/review.ts has 628 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6515033636ddc5c051cfd42142b853e24813e77a064c9b3f1e5c8da67a1cba99"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/client.ts: 627 lines of code: packages/api/src/agents/client.ts has 627 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83bbabd60c08b273bba0b70ff376d092d453a760b2a0db6219d0570c97448412"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Nav/useDrawerSwipe.ts: 625 lines of code: client/src/hooks/Nav/useDrawerSwipe.ts has 625 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Nav/useDrawerSwipe.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e546c540356bc42d113a99a7f487a34fa1cda56f174d52b3883ad8f6be79bef3"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Trace/Viewer.tsx: 624 lines of code: client/src/components/Chat/Trace/Viewer.tsx has 624 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fe5f4fd63fdd81c58435e88481f12f3e650f82cce77352de8b07629ed50d05"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/bridge.ts: 624 lines of code: packages/api/src/code/bridge.ts has 624 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3890a063c94d0c179f486b745ef3bdb280001d019aa6f7fe17a195355626ff27"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/app/changes.ts: 624 lines of code: packages/data-schemas/src/app/changes.ts has 624 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/changes.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2c50ea78b70ce4d09a625a7759ed0ca2a8bf2964936fc247dd4b76786cc710"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Input/useTextarea.ts: 623 lines of code: client/src/hooks/Input/useTextarea.ts has 623 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5390d81075ba67d964b3d8ea47008197193ebf1446ffc3678d2eaca9b7e3c70"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/command.ts: 623 lines of code: packages/api/src/code/command.ts has 623 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/command.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4084cdc750fb31f9a27628f47334c928eea2cfce81c71a7cb3825d832248d01"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/utils/env.ts: 622 lines of code: packages/api/src/utils/env.ts has 622 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e2a98360301b6685377af827681e81aaad2bf17754eaaa6781d3d51aeb3d78"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/pulls/handler.ts: 620 lines of code: packages/api/src/pulls/handler.ts has 620 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/handler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b3656f23bdb5accdd7d65aebf4a40fea6844ab29a718dd8e9d3e4a004d1def5"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Trace/Ledger.tsx: 619 lines of code: client/src/components/Chat/Trace/Ledger.tsx has 619 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Ledger.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"297dca2342d4a75c5b9fcaa3a7ab11220c98b7f5bfcf617015985c0a711f500d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Lia/Stage.tsx: 616 lines of code: client/src/components/Lia/Stage.tsx has 616 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2839714dc5421adc2ce91e6276a4fbd55554f6516c65c9a325a7d5ca62a8d2b8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/reentry.ts: 615 lines of code: packages/api/src/admin/reentry.ts has 615 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/reentry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bfb0559b61bdd6f545926832fdfeb874c5ee633be3865debd373109aabf2966"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx: 613 lines of code: client/src/components/Chat/Messages/Content/Parts/Attachment.tsx has 613 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Attachment.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34a044b4e7a3f2dd0101e12f1dd78d686813ea7f719435fcafcbcddec663943"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/bearer.ts: 612 lines of code: packages/api/src/schedules/bearer.ts has 612 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/bearer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2626acd195e5a06af9706a222f77554ce4da9590a70c920a414f4d9e35ea81fd"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Input/usePaletteEntries.tsx: 605 lines of code: client/src/hooks/Input/usePaletteEntries.tsx has 605 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/usePaletteEntries.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a3bccfceb9d14fb3b29339d6ae4e368e0492882b431e6b5b4b39e637bf013d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx: 599 lines of code: client/src/components/SidePanel/Agents/WorkspaceChannel.tsx has 599 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/WorkspaceChannel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49299fec5ccdd48bc21e72d735fb9928404aa8535db07979aa3a1f3347b7445c"}},{"ruleId":"R3","level":"warning","message":{"text":"config/create-error-convo.js: 598 lines of code: config/create-error-convo.js has 598 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/create-error-convo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985258012a8512142bbe3a33ec476e808a4ccf66931f49cd7aa7bed4de3df971"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/composer/QuoteButton.tsx: 598 lines of code: packages/chat/src/components/composer/QuoteButton.tsx has 598 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fb4f23535c084b2f319e4061e541e631f210e077476611bd501225594c5db7"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/data-provider/queries.ts: 597 lines of code: client/src/data-provider/queries.ts has 597 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/queries.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1238af6ae7036739f1ef98cb5dea515dc1135507a996b6b4a8896f83a244a331"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/remote/lifecycle.ts: 597 lines of code: packages/api/src/agents/remote/lifecycle.ts has 597 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/remote/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6256d79f8f21a04811d1a2cdb7a627bdb58d219df06a73dc2a0a0af56270dd"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Conversations/useReplyWatcher.ts: 594 lines of code: client/src/hooks/Conversations/useReplyWatcher.ts has 594 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a04d8e0e51f69081e202a5ecd91da06ddb90197d88b8cad09b21dce34d6584"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/validation.ts: 592 lines of code: packages/api/src/agents/validation.ts has 592 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/validation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d86f80da64d71b45a51b828db341265c995d759d0426747e8cd28bd80acf2ac"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/cdn/cloudfront-cookies.ts: 589 lines of code: packages/api/src/cdn/cloudfront-cookies.ts has 589 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2eb9093f7b1c6840a342bd612b0e79cdb2cfe199ef1d03817461a33f3a4c05a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/client/src/theme/themes/clickhouse.ts: 589 lines of code: packages/client/src/theme/themes/clickhouse.ts has 589 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/themes/clickhouse.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"46600824ed935ebc1c075f43743df321ac8676c938f45c122e73e3dfb3f65593"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hooks/compatibility.ts: 588 lines of code: packages/api/src/agents/hooks/compatibility.ts has 588 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/compatibility.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2f89563bcfa5d2ce44bea1a32e4ec0b28447ceac0a234ca870b7f380c7e96c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/private/submission.ts: 588 lines of code: packages/api/src/protection/private/submission.ts has 588 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"011ce70e82b0b616c5ed564985e99ea0f7dd7df7a9cffc321ba9d4a6b6c59753"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Agents/VirtualizedAgentGrid.tsx: 583 lines of code: client/src/components/Agents/VirtualizedAgentGrid.tsx has 583 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/VirtualizedAgentGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d32fd59cb7d482a0dff565bde0db5250455c7700c5c0e5d94b3e217b5a63d1f"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/UserController.js: 582 lines of code: api/server/controllers/UserController.js has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c98a1b07e32b421fd85acbd3026430e56c78e236ac20731ac2a05c15c70d3d8"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/assistants/chatV2.js: 582 lines of code: api/server/controllers/assistants/chatV2.js has 582 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV2.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a6cb746747dac14c04e87bed171889cf75ac635cbed47d0ef74c08e1c3de11"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/admission.ts: 581 lines of code: packages/api/src/agents/hitl/admission.ts has 581 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/admission.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31ffeca7be3bfc3f965277e3436cf3ed8756940945dc0568967a5ed7e244949"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/subagents/transcript.tsx: 578 lines of code: packages/chat/src/components/subagents/transcript.tsx has 578 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/transcript.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82338841f00f75314e82e8ea656ce566be719f3e245af131cab66daa51ccac4c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/generate.ts: 570 lines of code: packages/data-provider/src/generate.ts has 570 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/generate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f4537b221a45b79233ef8c16d493891fab87818be828482aba21dc8edc9076"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/api-endpoints.ts: 568 lines of code: packages/data-provider/src/api-endpoints.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":"packages/data-provider/src/api-endpoints.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6655466e9c261962a91d1cb5e2b37246fcf68004ee377d7e2db2acaf3daab021"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/types/runs.ts: 567 lines of code: packages/data-provider/src/types/runs.ts has 567 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/runs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07e3652e2dcb9d5a9b50f3776d96c1b0c6e64bb7ed3ec7e33def964564eee3a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/app/derive.ts: 563 lines of code: packages/data-schemas/src/app/derive.ts has 563 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a199234e3738495a479979de77e39914543aec89003564fb70f57e628baabe15"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/config.ts: 562 lines of code: packages/data-schemas/src/methods/config.ts has 562 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/config.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dab6e87bc557c45c35476896aab6ed31fde545aab960f93827cc28491900ee8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/mcp.ts: 561 lines of code: packages/api/src/schedules/mcp.ts has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90477730a9951f1ed21ba6c0bc621ee22255d9c3f7652d2232302c6744b6b553"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/slackWorkspace.ts: 561 lines of code: packages/data-schemas/src/methods/slackWorkspace.ts has 561 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/slackWorkspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd449ea167bf538ee52383c929d714860742348636275a0ec098d492ea8caaeb"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/code/process.ts: 560 lines of code: packages/api/src/files/code/process.ts has 560 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a016310552fc04ffcc2038bd255d923cd018b526d36cc942a1e1d255a59665f1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/prompts/handlers.ts: 560 lines of code: packages/api/src/prompts/handlers.ts has 560 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"36d984763dd581213a78b7a1e7d1aedf20e7345289b3b71db786fe99ab0f41d3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/grants.ts: 556 lines of code: packages/api/src/admin/grants.ts has 556 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ceb25c9c5835a4544432ac238271a4d29c30c3fe9fe9e03496b8d2dc90f5a5b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/setup/service.ts: 556 lines of code: packages/api/src/code/setup/service.ts has 556 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b6481cfc9c904380589c0932d4481314b240d195e9b5cdf861949b2f5833e7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/tools/definitions.ts: 556 lines of code: packages/api/src/tools/definitions.ts has 556 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/definitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f83fa30863a5bfb800816cc63190f54f5120f0fad859d29cbe7e65edd5c2a9d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Channels/Workspaces.tsx: 555 lines of code: client/src/components/Channels/Workspaces.tsx has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d767d653a1805a2f371e915c8b3382781c36c46a7825d348cb5562e8580b94c2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/discovery.ts: 555 lines of code: packages/api/src/agents/discovery.ts has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf6e02ec84fc40e2f2f71cbf5399270bbe01ae78aba370f1efbb03c17c4c5f6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts: 555 lines of code: packages/data-schemas/src/utils/stripUIResourceMarkers.ts has 555 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/stripUIResourceMarkers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"791c44e4901daf8a9adfaac37f092d734e8e8693be46631f5b0e4e00eb89f660"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/files.ts: 553 lines of code: packages/api/src/agents/files.ts has 553 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f3e9afe5a40309e8a6e920ea7c2ea4c04126cb78acff609b159f0c193ba9c7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/react-query/react-query-service.ts: 549 lines of code: packages/data-provider/src/react-query/react-query-service.ts has 549 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/react-query/react-query-service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27e63493c26af654d1eefc3e9ec8efcd7924a56e7f36e66f318295e80ca5f42"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/AuthController.js: 547 lines of code: api/server/controllers/AuthController.js has 547 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87a521b5c36441e1af936a9e01731bc153c4b58a75b7a8f379056c8f26d82339"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/files/session.ts: 546 lines of code: packages/api/src/agents/files/session.ts has 546 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/session.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e35afdcadcb61f387bb161ab9166711c80d40bf953f962d2d992b100c440b1f"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx: 545 lines of code: client/src/components/Chat/Messages/Content/ApprovalContext.tsx has 545 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3deb41c0889f7ed4911f727dfe5b89ca588f1c562e714301900e8924219aa415"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/useNewConvo.ts: 545 lines of code: client/src/hooks/useNewConvo.ts has 545 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8efc8a29810e53f00b9e4df95e2e37a2b6fde35b83ec9da256e396b36b7022f"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/inference.ts: 545 lines of code: packages/api/src/agents/inference.ts has 545 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3d12ee952ed90be97e4937223e6249da39d9ae047333eb55d603d32f7bdcd09"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/parsers.ts: 545 lines of code: packages/api/src/mcp/parsers.ts has 545 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/parsers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d7558dcc02a4282b38b8bb39be6dd610071895f06e19b537b8046e5385595"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/utils/import/fork.js: 542 lines of code: api/server/utils/import/fork.js has 542 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/fork.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a44344b58acd7e56282fe4624b1addaef1e2df708fab0f032a14598505f5db0"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/composer/bar/Effort.tsx: 542 lines of code: packages/chat/src/components/composer/bar/Effort.tsx has 542 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fd52267db088e54fdcffa4b90e8c0c9fbc66726d3b537f916361756c4f9588"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/code/workspace.ts: 540 lines of code: packages/data-provider/src/code/workspace.ts has 540 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/code/workspace.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b567e0e9bbb0eec90a2aadef1bfb51c53714b02b902c717620a4cb2a0988e6"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx: 537 lines of code: client/src/components/Messages/Content/Mermaid/Mermaid.tsx has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Messages/Content/Mermaid/Mermaid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ec0d6654b4e09aeaf5f3e016f97aba255a58e33603fd611cc8b4cde573b68e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hooks/runtime.ts: 537 lines of code: packages/api/src/agents/hooks/runtime.ts has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c86d076dd8e7e114e43feafcc26bada420251d476f26e5ac1640ba961fecc18"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/resolve-llm-delivery-path.ts: 537 lines of code: packages/data-provider/src/resolve-llm-delivery-path.ts has 537 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/resolve-llm-delivery-path.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9838eda506d5e25f7293a7ce1d844c3dc504ec60b9b3a243e393d4ad9a1727"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/documents/libreoffice.ts: 536 lines of code: packages/api/src/files/documents/libreoffice.ts has 536 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/libreoffice.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2adb46fbea0adef808a40196b72f444a2f03c1577e7b63f54fad310cd7de6c"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/utils/import/importers.js: 533 lines of code: api/server/utils/import/importers.js has 533 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e4d5de7bc95797801415e99a0e0c69db7f2469475fd097a4a756456836fa15"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/endpoints/models.ts: 533 lines of code: packages/api/src/endpoints/models.ts has 533 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/models.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d62aa9dcad52d3c2c95d5e8a4b588b07d4081905270ee7959bef37ef287b1b"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Channels/Apps.tsx: 532 lines of code: client/src/components/Channels/Apps.tsx 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":"client/src/components/Channels/Apps.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b986af162f1f117b05706f9de95564e9a533169d2573016108756977f48fc0f9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/detectors/pattern.ts: 532 lines of code: packages/api/src/protection/detectors/pattern.ts 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":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"201783a97fb3a157a678da72ec4b5c75d4c7add45e5901259219c611a7a7629c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/subagents/adapters.ts: 527 lines of code: packages/chat/src/react/subagents/adapters.ts has 527 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/adapters.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad20a6610b2981fae5359321461635081513d0f40ec38f9160a33bd8d68b6474"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/request.ts: 527 lines of code: packages/data-provider/src/request.ts has 527 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4102fbab75ce5c80d3eb61f25013fdf9dd28e833536d489fafa360e245cfffac"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/adapters/nested.ts: 526 lines of code: packages/api/src/protection/adapters/nested.ts has 526 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"65c0708eda510b24d67098e5bfbd22c6c57e912bcebad7ae2f73bf25d6a1d1f2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/files/host.ts: 523 lines of code: packages/api/src/agents/files/host.ts has 523 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86df54c1a963e0485280a9d7a3d9abc926ce34d153ade896543892c3894c5ab7"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Conversations/ProjectsSection.tsx: 519 lines of code: client/src/components/Conversations/ProjectsSection.tsx has 519 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ProjectsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3638820c3ec8437f556a6a030f4a35b591acefbe39b2f62e7639cbb63a2109"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/activityLabels/host.ts: 519 lines of code: packages/api/src/agents/activityLabels/host.ts has 519 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb74b8bfc787a4b689864b378eb9646d40fc2b9c75cc6bd6b172b29a9bbc8e6"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/ToolCall.tsx: 518 lines of code: client/src/components/Chat/Messages/Content/ToolCall.tsx has 518 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolCall.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e23eab83f025d2052924873823280aafdf6ea401549ea4c95d246369bf0a19"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/images/authorization.ts: 517 lines of code: packages/api/src/images/authorization.ts has 517 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/images/authorization.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37851c384c363f33707262e30f125e86d4714742e972415c8d33c353e85be26"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/GraphApiService.js: 516 lines of code: api/server/services/GraphApiService.js 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":"api/server/services/GraphApiService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f39fb22479d7f441eb0e8bebe2dc681eb3dbff8b32173a471832a3619c1839c1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/channel-gateway/src/slack.ts: 516 lines of code: packages/channel-gateway/src/slack.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":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a572a32ee1497626521432f07327e0a30e76235d936f80cf65093c4abb6a8e"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Input/Composer/Bar.tsx: 515 lines of code: client/src/components/Chat/Input/Composer/Bar.tsx has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/Composer/Bar.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b731a20505b268aa985ecbe5d41579a2ae2b2e933bdfaf289ef62d47942d11c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/acl/principals.ts: 515 lines of code: packages/api/src/acl/principals.ts has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/principals.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd7758eea7d24dc2efc9e86db7fb243fcb4cbb40253cf477f8b85eadb26599c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/domain.ts: 515 lines of code: packages/api/src/auth/domain.ts has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86db51294ea742142510faa20f16551e86d8f8dab91c517809c3f33bd797ab80"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/specs/openapiSpecs.ts: 515 lines of code: packages/data-provider/specs/openapiSpecs.ts has 515 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/specs/openapiSpecs.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c8d23865c2ddb2374d9fad6161fde0ae1f06d77ca4dfb772bab8471e5fb40a"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/PermissionService.js: 512 lines of code: api/server/services/PermissionService.js has 512 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d530641712811d36dcbf5eb1bd1d812435c9216eaf53d23edcfc6139a8c519a2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/auth/enrollment.ts: 512 lines of code: packages/api/src/auth/enrollment.ts has 512 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bde3dcd2f389768ebe100bd03078a71df0daf462561103bffbfd20cf56288e2"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/stream/ApprovalLifecycle.ts: 512 lines of code: packages/api/src/stream/ApprovalLifecycle.ts has 512 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc606f99443a25e87c01c4e41bb6691c6c91c92373f2d2276937663f30dcb65"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/auditLog.ts: 511 lines of code: packages/api/src/admin/auditLog.ts has 511 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc18b1d1b6d63f3b0ee2e67328330a3138e7fb7b66aa4e46fcaed4b1c64cb91e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/prompts/service.ts: 511 lines of code: packages/api/src/prompts/service.ts has 511 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"841d9b1c97f896bd017f26da83553f43e1cc3661d04b8ffbeba1628692be5e83"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/ActionService.js: 510 lines of code: api/server/services/ActionService.js has 510 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99fbabe3827455e52022b016ddcbba789f62b95dfab085253f4a323547bcf01f"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Projects/ProjectWorkspace.tsx: 510 lines of code: client/src/components/Projects/ProjectWorkspace.tsx has 510 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Projects/ProjectWorkspace.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfc85009fcec0b4d705670074a869e2e1156d6d0411b6ebd8fd94a94a533872"}},{"ruleId":"R3","level":"warning","message":{"text":"api/app/clients/tools/structured/FluxAPI.js: 509 lines of code: api/app/clients/tools/structured/FluxAPI.js has 509 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd4e348eb0b4358e5a5979efe8fa976c2b0327f3037af35aa93cbf81c3d52122"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/mcpServer.ts: 509 lines of code: packages/data-schemas/src/methods/mcpServer.ts has 509 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpServer.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5b2be191db1d4072da318fe5e8c542117fce0cf6bf195c74fbf9f2d9bf23eb2"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/AuthContext.tsx: 507 lines of code: client/src/hooks/AuthContext.tsx has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/AuthContext.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9bd85229bc9564f35fa6ff9bd4506d983066e02a4f8e721c4724f0b77f273b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/client/src/components/DataTable.tsx: 507 lines of code: packages/client/src/components/DataTable.tsx has 507 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0789e8ac80caa4f6ee5e8ba39b290e088b77e2875712768e5ce39dbf01b953d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Conversations/useNewChat.ts: 503 lines of code: client/src/hooks/Conversations/useNewChat.ts has 503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57edb07885081aa52f7fa03f50f04d620750a753d754c55c0b5b05825452d483"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/channel-gateway/src/presentation.ts: 503 lines of code: packages/channel-gateway/src/presentation.ts has 503 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/presentation.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca769d764d85158b91c4d2e263e4e740c4c5a5afbe3a254d65b20563de489f8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/queuedTurnHttp.ts: 501 lines of code: packages/api/src/agents/queuedTurnHttp.ts has 501 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2338826a9f71caed15845d6820f0c045c29fda03aed7a7edadecfb48a1e19"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Builder/AssistantPanel.tsx: 499 lines of code: client/src/components/SidePanel/Builder/AssistantPanel.tsx has 499 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Builder/AssistantPanel.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"22682ad3daf9f7a5907c4f0d1591a3930b8758bb88d428b85649448a96942be9"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/execution.ts: 498 lines of code: packages/api/src/agents/execution.ts has 498 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/execution.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28ad75278ad5c1cc16dca78757eff41810bca0a001b633cf1c5665514711ad6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/tools/classification.ts: 497 lines of code: packages/api/src/tools/classification.ts has 497 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/classification.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9279df014f27baaa19f91f3d74ca3387342622114f724313d9a0e47877b47d76"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx: 495 lines of code: client/src/components/Chat/Messages/Content/RetrievalCall.tsx has 495 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed42ebdb7f91f866529de3f15f32d9160c6b0b4c23d75f428bc6928408406954"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/subagents/conversation.tsx: 494 lines of code: packages/chat/src/components/subagents/conversation.tsx has 494 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd196ce5cb41724b5516127b225f5f6b75d995fa256c167d5a8b4a5ea2389c4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/digest/tree.ts: 493 lines of code: packages/api/src/agents/digest/tree.ts 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":"packages/api/src/agents/digest/tree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0030e229949336ab8115ef8e0ee91c9314e6bf9a905db64c23a8b53478d3c89a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/errors.ts: 493 lines of code: packages/api/src/mcp/errors.ts 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":"packages/api/src/mcp/errors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"030028cd42563b2c6f23089b3a01cd4532a335943702ae2160a5804d225244c6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/langfuse/destinations.ts: 490 lines of code: packages/api/src/langfuse/destinations.ts has 490 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/destinations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14201ef9898dba23ed6d2eaa643caafb17876a0cb9afa47d391ccd105af9d917"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/code/lifecycle.ts: 489 lines of code: packages/api/src/code/lifecycle.ts has 489 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9edcd587e1d5b58057f6ef3b97da63345a48986cdb5b9bccbf55b6b0303906b"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/ToolApproval.tsx: 487 lines of code: client/src/components/Chat/Messages/Content/ToolApproval.tsx has 487 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f83d7f3341988b2a6071ee982686e7ecbc9dd0d75ab97862fe4a15dc9b4d00"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/client/src/components/Button.tsx: 487 lines of code: packages/client/src/components/Button.tsx has 487 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/Button.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee9f7ba794e7bb485392a73770a29b6c9c0369b7128d09c1032e86990c92929c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/utils/files.ts: 485 lines of code: packages/api/src/utils/files.ts has 485 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/files.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53c51b27679c8ce7f635e27b5a20b0724fd2e251e8afcc2597b57fc76f71b192"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/schema/convo.ts: 485 lines of code: packages/data-schemas/src/schema/convo.ts has 485 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/schema/convo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3f1911c05e0fae221882b345024f3e3a0ac36588b097b2b13de59c747ff698"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/conversationTag.ts: 484 lines of code: packages/data-schemas/src/methods/conversationTag.ts has 484 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversationTag.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fbce806b5622a2d875d99811f5905a7cffa81aebc7b7e8277f371953e7fe454"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Files/Audio/TTSService.js: 483 lines of code: api/server/services/Files/Audio/TTSService.js has 483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1bd38adca9dc2e3107fa773a6037964274ee943cb6d4bace6ae90d591f0fee6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/pulls/github.ts: 483 lines of code: packages/api/src/pulls/github.ts has 483 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/github.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1beac401dcabd4342371e739ee553193768d73977aaefaad4aabcc441cd899"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Tools/mcp.js: 482 lines of code: api/server/services/Tools/mcp.js has 482 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfed15dadbece6bbfc0e6664b951addf3e04458f11f70281182ae39b0a0784f1"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/live.ts: 480 lines of code: client/src/components/Chat/Messages/Content/live.ts has 480 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/live.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86708b638336943a17cffd41797c8d1a3432ab82f8e20bed4cef1fb0e1b42f19"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/provenance.ts: 479 lines of code: packages/api/src/protection/provenance.ts has 479 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4af9de4311222356b2ce7f1263cf14212ca6150fe16282ece2842f6a4a3e0694"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/checkpoints/mongo.ts: 476 lines of code: packages/data-schemas/src/checkpoints/mongo.ts has 476 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/checkpoints/mongo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdddeace546f37cc0ba93cd174859f99db080cb64d1e33740221e6266c0dae3"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/endpoints/reasoning.ts: 475 lines of code: packages/api/src/endpoints/reasoning.ts has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/reasoning.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74110f460fc7dd2ffdd9bf6e9202dc82bcf5b02d652cbe79c15616d74a4d8e8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/steering/useSteering.ts: 475 lines of code: packages/chat/src/react/steering/useSteering.ts has 475 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useSteering.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9628996738b3e54597013f1bdc0519b582270c321185c28eccb1c24da9deccd"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Trace/preview.ts: 474 lines of code: client/src/components/Chat/Trace/preview.ts has 474 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4b4c034750053d325acd6b3f365770ba9c634f0d725fb9c21fa78f738c7a71"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/runtime.ts: 473 lines of code: packages/api/src/protection/runtime.ts has 473 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/runtime.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0300ba5020db5ca3e5559f490831c6f3eae69e96104e655226358a2945d27d23"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Conversations/Convo.tsx: 472 lines of code: client/src/components/Conversations/Convo.tsx has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bce5c762d4196b1745a49457a26c23171b7dbf0360e08e4ee76176fc85dec6a"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/digest/recorder.ts: 472 lines of code: packages/api/src/agents/digest/recorder.ts has 472 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/recorder.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"619eb188a45d9a4c7d0d069b1d26af03425c29618fb39e0216dcbfae858e1a32"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/schedules/erasure.ts: 471 lines of code: packages/api/src/schedules/erasure.ts has 471 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d567541b00519fc00ca1c92aad42a957ac78bb1447f2bf94cae97026e75bef"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/intent.ts: 470 lines of code: packages/api/src/agents/intent.ts has 470 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/intent.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"965cf5db66eaac04933636642f5d96773798a6bc4c66ef863b2240657c695873"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/middleware/remoteAgentAuth.ts: 469 lines of code: packages/api/src/middleware/remoteAgentAuth.ts has 469 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42bb4c25f86f71a4743c25cb1334468eb0a36838ada8e9b8b04f152552063e85"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/byom.ts: 468 lines of code: packages/api/src/agents/hitl/byom.ts has 468 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/byom.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf10104634c638daf328e71852a021db790c485094ebc427b9f1691baa927c8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/prompts/artifacts/components.ts: 465 lines of code: packages/api/src/prompts/artifacts/components.ts has 465 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/artifacts/components.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f78b913441f2251208fad472facbf118ca0c6974a0e775f46372b106b78e78"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Trace/Inspector.tsx: 463 lines of code: client/src/components/Chat/Trace/Inspector.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":"client/src/components/Chat/Trace/Inspector.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7fbb0770d242295e0e7e8e0f98535e7eeb53d3849349bd6b9bcdb59b4bd455"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/responses/clientTools.ts: 463 lines of code: packages/api/src/agents/responses/clientTools.ts 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":"packages/api/src/agents/responses/clientTools.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5a6029c149f1aa0a68cf35206be30630c2c8c35ee425f7c0aa24af0056a858"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/messages/useMessageScrolling.ts: 463 lines of code: packages/chat/src/react/messages/useMessageScrolling.ts 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":"packages/chat/src/react/messages/useMessageScrolling.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b824cec44fa9e840d235c2866e90f82c10db94021b79d4749666f9d8e2cadf1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/skills/deletionService.ts: 462 lines of code: packages/api/src/skills/deletionService.ts has 462 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"235c350d12be514a0d0fd2b7d55ad45d4e796d3f72b6887f8eab878d7bc3cbf4"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Nav/KeyboardShortcutsDialog.tsx: 460 lines of code: client/src/components/Nav/KeyboardShortcutsDialog.tsx has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/KeyboardShortcutsDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd004f29d9a55b443c0ae9dae20ab38334c128c63ce74cb5054385e4a42d9a0"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx: 460 lines of code: client/src/components/SidePanel/Schedules/ScheduleCard.tsx has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579e5859b4e738e955a5e655d04ca259e57e6cf3463e1fd7469358ff8c4d21c5"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/telemetry/sdk.ts: 460 lines of code: packages/api/src/telemetry/sdk.ts has 460 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/sdk.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f384ce79397d851d8617bed243df39dbdd7633c612852b70dbceb5501c68631d"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/PermissionsController.js: 459 lines of code: api/server/controllers/PermissionsController.js has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/PermissionsController.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc3c3fbd3d7a51e81285c6c3473e87323e0069feca456acbd04fd4c84195d46"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Sharing/GenericGrantAccessDialog.tsx: 459 lines of code: client/src/components/Sharing/GenericGrantAccessDialog.tsx has 459 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Sharing/GenericGrantAccessDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4537bd0d5f3d3d2f275eb86735987c8fb6e5b76346bae8d4fb2774b43293bd1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/turns/build.ts: 457 lines of code: packages/chat/src/core/turns/build.ts has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/build.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd47828b78e0c33bb1351474999601e929e2a24144776bb968f16432a4f2415"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/stream/usage/handlers.ts: 457 lines of code: packages/chat/src/react/stream/usage/handlers.ts has 457 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/usage/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b9a53381826aa7b84ae8c1c5582d07994a9dc74b932de3d79c95360e280f44"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/app/allowlist.ts: 455 lines of code: packages/api/src/app/allowlist.ts has 455 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/allowlist.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c12f5406ccbf4af4e0c473029afeb374dc737d4bdd3c3f0ae1aafd59e25577"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Artifacts/undockedWindow.ts: 454 lines of code: client/src/components/Artifacts/undockedWindow.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/undockedWindow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"267b2a7df076805a2a7ca4a78cac96eca1bcbe9921355b5ea4ad78f7aeb1deed"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Messages/useCopyToClipboard.ts: 454 lines of code: client/src/hooks/Messages/useCopyToClipboard.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f130d1c2eed0c772648d32c66c97f7154924b5922033fad48fdbbc2efcb7cd4"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/endpoints/anthropic/llm.ts: 454 lines of code: packages/api/src/endpoints/anthropic/llm.ts has 454 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c3d3d50fdcd3598de5b1975929454241f71f2e09d5f0eb3f5f188c5aa5c1424"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Share/ShareView.tsx: 453 lines of code: client/src/components/Share/ShareView.tsx has 453 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b18c6c848e817a8d98fae10bd2877068bdc8024d2dddcb4a9c390df96eb5300"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/data-provider/Agents/mutations.ts: 453 lines of code: client/src/data-provider/Agents/mutations.ts 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":"client/src/data-provider/Agents/mutations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"949e5e9451ff928f88014d426c6d3b62592ec751ab844dd46ddff57053d694fc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/instructions/access.ts: 451 lines of code: packages/api/src/agents/instructions/access.ts has 451 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/access.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9124a31034d8f2ce1ac13d04c81c5d7f595591e0e12daec0527f34150527214"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/skills/management.ts: 451 lines of code: packages/api/src/skills/management.ts has 451 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/management.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c7b68786a10f4232db35464712efd516deb7cca76eecc68683a89a03457053"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/client/src/components/OriginalDialog.tsx: 451 lines of code: packages/client/src/components/OriginalDialog.tsx has 451 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/OriginalDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae59794a82b0c9f1da088fb8bd1f7ba742306965c3465ca43528ef53d27b426"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/code/priming.ts: 450 lines of code: packages/api/src/files/code/priming.ts has 450 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/priming.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f3db0dc954e623d502e5480b9076f86d580aacaf0e1f56240de7794b6c71629"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/steering/submit.ts: 450 lines of code: packages/chat/src/react/steering/submit.ts has 450 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/submit.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28a1ed45c2ab0f90f8625d97e9c4ccda4f3be422d582a8c6d63831fcc793b2d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/EditContentParts.tsx: 448 lines of code: client/src/components/Chat/Messages/Content/EditContentParts.tsx has 448 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/EditContentParts.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68156f2bcc3ed96a3b00083fe83eea643520715879048f1a074685d494d06f3"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx: 447 lines of code: client/src/components/Chat/Messages/Content/AskUserQuestions.tsx has 447 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestions.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92f40fe4aa34cc90fc7ad4fb291590c10022afbdd18a2532735f4e238998739"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/components/parts/DialogImage.tsx: 446 lines of code: packages/chat/src/components/parts/DialogImage.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":"packages/chat/src/components/parts/DialogImage.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc42b8d36bf1626f6625c18154d369b08879fdd6ea91b61a7553100b50897fc"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/avatars.ts: 445 lines of code: packages/api/src/agents/avatars.ts has 445 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/avatars.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ca6b650f008ec9b5ca3e2aceb3954828851828ba494b6844abe4ae464d3665"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/app/checks.ts: 445 lines of code: packages/api/src/app/checks.ts has 445 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"578c845aac0dfdb0e2d925e91190436526864391c59e42d1783dd4e60d17141a"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/controllers/assistants/v1.js: 444 lines of code: api/server/controllers/assistants/v1.js has 444 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v1.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a7c41a47e277aff5458902c23eb2f1222fcd00260dc2a9f5f2aac7f7703f29"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx: 443 lines of code: client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx has 443 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"feb442008732da7f965471544a0717b2c9e8313c237361aa56a0bf2b9888209b"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/hitl/allow.ts: 443 lines of code: packages/api/src/agents/hitl/allow.ts has 443 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/allow.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a7d84cb1d682b9fbd7aca6ed96fb26477ed17a20b141dd001ec3f7411dc8bf"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/responses/completion.ts: 443 lines of code: packages/api/src/agents/responses/completion.ts has 443 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2831ae65ae2d87559e147f9722bf8fe258664cb9317860c3bee0aad8ae9fb6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/app/paths.ts: 442 lines of code: packages/data-schemas/src/app/paths.ts has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/paths.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e96a7c5949dfe70a137e73bb1aabb5c2567eabde34b4f8b658e891c0910f6c6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-schemas/src/methods/openidRefreshFlight.ts: 442 lines of code: packages/data-schemas/src/methods/openidRefreshFlight.ts has 442 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/openidRefreshFlight.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84256019f355c280abdb4e7f68a5b29c8f31378a120ce6b6006a1782c1d4cfb0"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Agents/AgentDetailContent.tsx: 441 lines of code: client/src/components/Agents/AgentDetailContent.tsx has 441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1b4b190ac624c55be13adce46d8fc6334eb439fb9322fa119b58fe442e7e3a5"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/mcpApps.ts: 441 lines of code: client/src/utils/mcpApps.ts has 441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/mcpApps.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acc4aabbeea166d7bb99a496d23689143fd02a5cf952dec62006b31492f86fd7"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/detachedAction.ts: 441 lines of code: packages/api/src/agents/triggers/detachedAction.ts has 441 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/detachedAction.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f927a3a6fdcb117529b4dea9d5753af2405b5f5e12480a74a0f910d84cd3e385"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/oauth/obo.ts: 439 lines of code: packages/api/src/mcp/oauth/obo.ts has 439 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"946f03eea8668c5eb8686ae9865312fe1acd39ea83096e770088725896866b39"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/steering/useQueueDrain.ts: 436 lines of code: packages/chat/src/react/steering/useQueueDrain.ts has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steering/useQueueDrain.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21054c77f11c7b6f8aa8811a87950566c3418513c723d63833eb9bcb416f4f6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/stream/step.ts: 436 lines of code: packages/chat/src/react/stream/step.ts has 436 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/step.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fee1aa138a34f41472ec614573e62aa381c67694960d9823b1267ad24c5a83e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/files/matching.ts: 434 lines of code: packages/api/src/agents/files/matching.ts has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/matching.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcf3f9253c864231fbc6ea6447c8feefa33449e16e6d5bb7c427bed692efe13"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/channels/service.ts: 434 lines of code: packages/api/src/channels/service.ts has 434 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/service.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0ab21f96424675e1451fe10c7a1cd63f9062b5c42159165886319d37710052"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx: 432 lines of code: client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx has 432 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"566fa821ef31b442d7c4d75191ba4af6784f42103677ec13dbe18226a39caf99"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Agents/Code/Settings.tsx: 431 lines of code: client/src/components/SidePanel/Agents/Code/Settings.tsx has 431 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Code/Settings.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2bbc58674a43ea024225a0f6f3b9df6408a4b536bef6f0757f48693a72e8902"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/bindings.ts: 429 lines of code: packages/api/src/agents/triggers/bindings.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":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca32cf46e933f6d34ae3d972b41cd477ed27337e60f4ad17bbc63864a917596"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Lia/engine/catalog.ts: 427 lines of code: client/src/components/Lia/engine/catalog.ts has 427 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/engine/catalog.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e8226de6d7076a00041097afc1f760af067d6a513fc30ad8d886d951a318e6"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx: 425 lines of code: client/src/components/Chat/Messages/Content/AskUserQuestion.tsx has 425 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e3a302c61cd478e5bdf933bd4eff600e7adf8dab9342c98ad32213b154b7d0"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/WebSearch.tsx: 425 lines of code: client/src/components/Chat/Messages/Content/WebSearch.tsx has 425 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/WebSearch.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"926ef944551a4e46cc111e67b202e5e95ed64f614a081848d4b1890f6cb26b45"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/operations.ts: 425 lines of code: packages/api/src/files/operations.ts has 425 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e307eb15e80f16a1d26c278cb9c953fede023038d12671d3ab33103e1ef584a4"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Agents/AgentGrid.tsx: 424 lines of code: client/src/components/Agents/AgentGrid.tsx has 424 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Agents/AgentGrid.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4cdffa3ca9d847264d2c4cb7ea60c641a880b40e301cb25eea1ae0ed8a15d6"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/hooks/Input/useAttachItems.tsx: 423 lines of code: client/src/hooks/Input/useAttachItems.tsx has 423 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useAttachItems.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b95853e010a8701dcdbb8230bfb914a2944123b821412fbf53b3662029986df"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/mcp/types/index.ts: 423 lines of code: packages/api/src/mcp/types/index.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":"packages/api/src/mcp/types/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2001f5177222a16a5c1a9d937d70529f5f22e604084dd47ea1d65c91acb3bef"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/harvest.ts: 422 lines of code: packages/api/src/agents/harvest.ts has 422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/harvest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b99766dc1c0244725fb36d0b430bc749811a9959eed8f45773bbe48c27ad70c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/instructions/linked.ts: 422 lines of code: packages/api/src/agents/instructions/linked.ts has 422 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/instructions/linked.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3370f75bac5d48c0940c8af041e8b71602d15bf98d7242d293d619df63216e8e"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/admin/skills.ts: 421 lines of code: packages/api/src/admin/skills.ts has 421 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beef4cc0e2e5a02b5a7559b6945ddb20126119295fa815fdc6c9f8b93f4cc626"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/protection/adapters/chat.ts: 420 lines of code: packages/api/src/protection/adapters/chat.ts has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/chat.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6460feb38e4aae54bc86f1e572079f16ff6907f42b3594449c8e649374512f33"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/tools/registry/definitions.ts: 420 lines of code: packages/api/src/tools/registry/definitions.ts has 420 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/registry/definitions.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a7ba6fe5043e825d380d12cb0f544207a7a59171c7be84dcc8328250f53d47"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/triggers/envelope.ts: 419 lines of code: packages/api/src/agents/triggers/envelope.ts has 419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/envelope.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb97f3e872b002aa6c1881cabb9a185950381a96260f438fb384c8036023cf8"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/projects/handlers.ts: 419 lines of code: packages/api/src/projects/handlers.ts has 419 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"237ed685775a0428549d9340dd090e1c5aa90c020746242d19c3ec3cf2ef5aa0"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/richtext.ts: 418 lines of code: client/src/utils/richtext.ts has 418 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/richtext.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1bccd965bf7ff6b4c08eed6550777a089958669fc28c6b0b5841a857b21f6a1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/resumable/patches.ts: 417 lines of code: packages/chat/src/core/resumable/patches.ts 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":"packages/chat/src/core/resumable/patches.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ca917a719f6558912bad970a9f3e81548ab8cd080427f1157eb217d112a4ae"}},{"ruleId":"R3","level":"warning","message":{"text":"api/server/services/Files/Audio/STTService.js: 413 lines of code: api/server/services/Files/Audio/STTService.js has 413 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1942683e12de3cd0e12d29ad5689480cccfbc028230e517c46d56fdc98750b3a"}},{"ruleId":"R3","level":"warning","message":{"text":"api/app/clients/tools/structured/GeminiImageGen.js: 412 lines of code: api/app/clients/tools/structured/GeminiImageGen.js has 412 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4a97b0af28beaa3c909ef4f8702d18665fbe92c1ac9780b6e3ac1c9f0af6eb"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/utils/languages.ts: 411 lines of code: client/src/utils/languages.ts has 411 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/languages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0383a84d4cad2afc867b35c6feeadb83e08e326df6b1994730441d9f0a32bc84"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx: 409 lines of code: client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx has 409 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/Tools/SkillsSection.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ad4f1827b88dc684af6f05fc1825fbfe676eae0c57e02876404ee261608d05"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/provision/callback.ts: 409 lines of code: packages/api/src/files/provision/callback.ts has 409 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/callback.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9891249db63dc45165ec691d153a0edbc56ae7829cd574f02b3161f58292b51"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/components/Chat/Messages/Content/animate.tsx: 408 lines of code: client/src/components/Chat/Messages/Content/animate.tsx has 408 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/animate.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc96bb716567305120d699bf78bf68cbc250ec0c405f5497a29070ed654dd6"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/encode/document.ts: 408 lines of code: packages/api/src/files/encode/document.ts has 408 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/document.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf2e7c1102e372a45b59d83a7cd8d2fb3c50667d1c39c87a96d8ddf0c357d3d"}},{"ruleId":"R3","level":"warning","message":{"text":"client/src/data-provider/Agents/queries.ts: 406 lines of code: client/src/data-provider/Agents/queries.ts has 406 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Agents/queries.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ab909927d536afcf62e5c181a400f6e7517e04013b61fd8b12b6c4d74190af"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/react/stream/resume/load.ts: 404 lines of code: packages/chat/src/react/stream/resume/load.ts has 404 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/stream/resume/load.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16089e484dc808a7e9b8922079d58359216437306b8fa59b27686361741cb1e1"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/data-provider/src/types/mutations.ts: 403 lines of code: packages/data-provider/src/types/mutations.ts has 403 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/mutations.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"833dc6ebaf2b3471fe6c88402e6d6767b4e864b32594cc64a3e9179bbaee9d93"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/agents/files/manifest.ts: 402 lines of code: packages/api/src/agents/files/manifest.ts has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/manifest.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"476043f7b45a8afb2dddf4ac8e353f7a311d672ea6cf70bdd163329bc4a6fdca"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/chat/src/core/shortcuts.ts: 402 lines of code: packages/chat/src/core/shortcuts.ts has 402 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/shortcuts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b13f19e4b33f14dfc8a93e9102a04e6b58188e17eb172ec682dc33d08dff64"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/files/code/extract.ts: 401 lines of code: packages/api/src/files/code/extract.ts has 401 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/extract.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b80248d5a8784a0a4feef8a11e0da874369dd772f07224325db834c6c071d7c"}},{"ruleId":"R3","level":"warning","message":{"text":"packages/api/src/modelSpecs/reasoningOverride.ts: 401 lines of code: packages/api/src/modelSpecs/reasoningOverride.ts has 401 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/modelSpecs/reasoningOverride.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2728a12ff463841a71db601e3d917ee6f59438c96c7af2803095890f946c431a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/create-error-convo.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b570f036ee3b59c5b4164b6dea67f666cd8918ed2e27fa6867a2dd77af0f5c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dcc0183615c8c84a240f93171722771e272a2464fe8915955019bea09761ee3"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/agents.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"447e29401acea847b76e0c67545d2c64d1ffcf9b271a5f81d1dfaf84781cbfee"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/skills.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab74e432cc5d0429c1f17e8bd18f0d7e02a18b54c5644d803d01702422e1826a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/circular-deps.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6265f9c8a06b2a4dd371e7e0d9456ee4a81a195acd780b525a9f70206399d2af"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/adapter.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01e22d723e078db7aaf4400ea41aa114077f1e4de2e8da4254ccaca4e3e19c06"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/smart-reinstall.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c940dc110eecd1f12d9217c262338c6ca1b5cbe8937e18fac6d423284d93d6a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4543f94600cf4373283093512983f351d26c6c4c0ecc3ce9073df604e45ad895"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/jest.setup.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"075fad06d764ebb6fe9cc8fe9ea2335cbce006872b8207c2172989788048f2ed"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/update-banner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3fd0e992b294350c744037728d77a7bb0f00bc1ab08b6d0c86ceabbdd565a66"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/MCPConfigDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dcd3fb34d79220096a6b55226660b3031e3549f6170bb697c781d77f9f387ee"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentTool.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c3eeee1dc2cf23365678012ffb8155fae557d002ca9ebad734e09554f75183"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/create-user.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3451a3a0737608994f409a50cf01ce94ef83b49e020a1100f585123b78d6e65"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-terms-timestamp.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3443320ded14650af0470e7af5f1dd48c83549a42dc4174000d73c4b8c98379"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/update.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e586fa8bf8c8d1ffc71000c566b9963a1d11e75b955a10cd5d5f0bf4a05fe47f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/main.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"107661968bb1f99553ebfc1a50b2e4c6fe40a2d4bed9a1e3f88de82973eff7bd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/set-balance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b5643c5e58cc4354d401ed9fae864aea663d0b74177edeac0680f7d502065f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/add-balance.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37037de197491c01419fada0fa44da43dcce17ef5655f30a2c0237d4938f331e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/MCPServerMenuItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9792d8722f004b79be3dda396821c41bea13e16569f596d56cb0c584cab09509"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/NavToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a94dcd6e32cba21cd574078f7357f9ef3e97aa3f01601d7179fbc95cae15a1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/MCP/StackedMCPIcons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6ca2ad5770bf8c1f9b0bee34acb8a326298289ba6cd2acab087e0c0922309a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-meili-sync.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34c69c89d84a753f2c7d6bcdb60e05b861ea2653dd22dbb3e15cbbf34f5861a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/ban-user.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9f62acc454c7d35f88ad322570d7920cb865985523678cd4d24a72956162c1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/forms/InvocationModePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f1d54123a5ebe2cfc41e44158c5116063f89b6449cc1355ad003ce6b4faa7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/deployed-update.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"943fd3a1da98fd5704b8f517b59a6e2554b48c20e37dcd70ecc5376ff2047b19"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/delete-banner.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68720c0232f4b62d70656e43535aa8c9be3be76bcd4ac9dfe39920d1992889e8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/spreadsheet-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af084221cf0f87b52f917c0258f4627c804ffdceb94a6b0d3ad08159488c90c8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/user-stats.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c52f6771024be00c2e09765cdf8115079ce366605d3db23f03e627a58389dc"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/registry.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0a2472a46b72bd07696ae5b1015bcb49bca0959b3e0b5e967a4e63fe7d5367"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-balances.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"529d95a28305ab5532f9678cabead0d4ac0ae604ef7a7253aedec339a1e5cf61"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/errors.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17d96f8b9c542f552f056b6b802c8a136b82fe3f7dbf16c478a339c1c9f597e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Menus/Bookmarks/BookmarkMenuItems.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ad9749ab9b49f6dd3d630cd0bc589a6fd4a8031b8ffc414bf375ba2ecb942a"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/reset-terms.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbec8ca0279201db82040382fa8bfb218da779723615a3ea3b87f645db83cbf"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ImageVision.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ffe3b84c83403f7d665e3fcaf9f6e1d6847c79c02e09eb2966a144ae909a6b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/list-users.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d9e764f94cbb273aefb768a14baed49dba3433a12e48bd859463e31f3c3036"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/jest.workers.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9106981a3e11fd74c6b2ef47512be943f4d8cd6363698ad2c27d1cbe7e0208"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/packages.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"05dcea433750266e37dd91468ab45b618bb70ba60f58231c6da5629a47cd18f7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/types.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"387d4fdb85b3dc231f6c915ff9db46497d08f440ebcbf8d44680336d4f3e89dd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/generate.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53814b2005da975059373b440d873c46aa7b87232046cb6f1e718e335d63af1f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Chat/SaveBadgesState.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec955ee6c232b22b9a129c2b801d1b37ca20c92c1736035552a79270d887a73"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Chat/ShowThinking.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e7f6756352c9c510192004316eaad67521beebb762f5610f323656a312c84dd"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/main.jsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66c7fd976488dc94f30dc0b630e48d58f8f72ec1e835ab1171ea7e2a37e68749"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/jest.polyfills.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"905873c5f2a5ed35232ade76ff2986207163de2a9bb4e4ea268c8ce6e030d464"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/LightModeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f49d6d519c215fbff96c4c371a0d2bc1899863cabaa4382db06b11234af18d1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/SunIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"792afadbe2ee69abe3238304a8a765eb65c1ba4b796bd305a6d2fa26409f176f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/edit-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee70e65323fbde8882443658029e3bb48236de710c4b1b56855dded598630d87"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/openapi/document.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"facbe442d4585f43633273bb834b0a727ac3bdb4cffc6884793ec1b675fed75e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/jest.globalSetup.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de0b1615dcb03669d8298b0ae5a6bc9da5051067c04f903b0576b391264f18d"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/recover-skill-upload.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0db89ae12cb2350749b4c43244655fc46d0d4f0959072913d9cc45c5db3f9a8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/registry/schema.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e4489ef881823e89c2cc1562e79c54ecd4d3f22aa0f2a97ae09ef34f944c6f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/ChatIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e2f67c8a0d9c79308e8c5d3ffa1796ec67778c21a22c5c6ca5a2905872e84e0"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/RenameIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86754c4cb0228cc18ffd14f09670c309b2832ad6527e03509063a091b39f1433"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/SwitchIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8f4f0bdd094d4685c388755e19070f80251249672f61b24bdcdf0676d069d7"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"utils/docker/init-replica.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbed8c7a73ab0d9f1cc2a16234d81ba6c204b2b7aac9e6d9afe3a1df10015f82"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/resetConvo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44f53715ba3446e22363b96a38736e5ea81284e1042127e90ef075976556b1c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/CautionIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b4a49c2d270ee8dadcb44ed9df1b17dd8ca60a9850afdff6ad0229008946a8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/ConvoIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22755a36ad3a30eedf9f27328e4ff65cc66e73fd2cd771ff20864625b5af5de"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/hash-worker.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c474653cb6cb32226ecabb04e6e4c19436b3064bd440711c6b5f3941515a5ef8"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/DarkModeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af1c0c907ecd1a446c5cd5546628559d90e7c0b600f15f726cd1e7835b058b1"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/DislikeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"869f8a1702e4815cc89921501bbda69f3244e4bd69f5689c519db9f1875614ae"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/svgs/LikeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d76f7f4345f89e5f4a8051ea45092a133d9bfe0d54c1e408730dc641a2f251e"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/migrate-tenant-indexes.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f8817340f6301672c78294d6320deb5d9748c0186e15fba51b5883d6c81f35"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/stop-backend.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"370ab46792b7fcab4acbec125f1645817f152ee891052e137dac2abc3030bd54"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/buildTree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5700a3e461f130a72ed38dd3d39babefc6ac8d12b229cd6d647d7ca113c19082"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/utils/logger.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9d824dea516e9cb9ba17e9e782de5151d7849f58599fb6d9d0c70009b5d521"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/jest.resolver.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"242fccc40d2033b939eee4c7d05d91eebfe8de449af4e2ccfd9c6cbd9a912f0c"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/jest.resolver.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd7f48dc667442bc2f9344a57d8965e87b05e3921145cf123eb77243127df4b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/jest.setup.logging.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d36942bf9d8d97b5bc97bb8f6c87b387afc1cc4646d4c7be90e557067a5db46"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/bootstrap-entry.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f06236e7a52351ff6dc2258ff0db8405a48f84e6d987285179ffe24d13f28ab"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/polyfills/regeneratorRuntime.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"126d10f8fbeb73579043e4f850210aceee79444e8a2eee96c70336e98e6f789b"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/typedefs.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6d830e667ca9c5d606ad0431f7ebd6ea14a0d4af5c19f54ff3274ef6560f2e"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~146 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Chat/Input/MCPConfigDialog.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0ad9142f03b1fbe55b30ee105704df3a9cfd8b8077f3d2ba5f8eeb1ddcd8a3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~146 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/SidePanel/Agents/AgentTool.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15cddc80c48d5e5b6d453f651383645f41063f2dd83b20362fca0788400acced"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~113 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/MCP/MCPServerMenuItem.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec21bbf5101addaf9aa2ff7f4bc74788c849f5e0e2d568572c01d3d37b78bf64"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~105 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Nav/NavToggle.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29484d74ce70c7d1c7baca0535c997b7996190a0e2c9cf91351a6ce780695bd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~102 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/MCP/StackedMCPIcons.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdcce4fb9b5ba7697e0060f3f91fe17e356b7df4d1e169f057ea563ce2c0b0fd"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~84 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Skills/forms/InvocationModePicker.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fe7e065a23c48dcb0f0094d2647f36c72f0bd0ff0bca7332862699cd29a3a94"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~77 LoC): no import path from any entry point (511 application, 100 tooling, 3404 test roots considered), and no other file in the scanned tree imports it \u2014 nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/activity-labels/rescore.mts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f490a99851019fada8f8246ebdf968976b612c757ce4c6b89784b3cd829ddb5"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~49 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/hooks/Chat/contract.check.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3338a4ac3749f1301d1134f706aa38ddb8efeecf8d6af0eaf9dc9c81647864"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~46 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Chat/Menus/Models/fakeData.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b9376c50a2e3c23e72efe2a7d915a05bec26c3b2c1a200d1c6a36048dee88f9"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~44 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Chat/Menus/Bookmarks/BookmarkMenuItems.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f93e28dbf5cd0ddd5c14463030e67449281b5277843372ee55955903f90bc0"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~42 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/SidePanel/Agents/ImageVision.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca078cb468125117872b2f9416c9e8d3c9d035144a8c24893ee6e967efba1f6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Nav/SettingsTabs/Chat/SaveBadgesState.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ac4b7a1ea570c63279fb01b9798d70dd4b26deb0a26638a1bbf81fcedf9db3"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~37 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/Nav/SettingsTabs/Chat/ShowThinking.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"927648d686e9cfbe8345c148aed844007b0119a83301f16759a079f949b23b92"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~30 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/LightModeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae24b246befb5583186338a992af82db754bacd5e7950cf4b6464f040764533a"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~30 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/SunIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96358cc4c46c31d879855f0918bf97225b700ce84692b00320d8a7a9723435fe"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~26 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/ChatIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5efb80280032cb3253c85a876aa014de7588e5d81aac5705d11326366b7a681"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/RenameIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9036e4b8796f7b066b4c99deb17646b18a57f4f48bf047b9993ffb2f3448401c"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/SwitchIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43281173e3798f5795c82058c0b119a43ecc8e7e021830d9ad3c9b9f74e55e27"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~25 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"utils/docker/init-replica.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa6f611ebc9e5c7783920005a803d0c218dbc626ecc00f6e3100aa15c50880da"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/utils/resetConvo.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a8d5a3810b506c356f44bc7ea9397f207699bfdb9d0eb74861eafe5d2f5cdb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~24 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/CautionIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f23d04f99d42b61a30052a5609a2fb658ec9097f9450a0d845622c5164cdf57"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~23 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/ConvoIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b537ef7250df329d29d95ff8bd533efc8e1bf416f79846436c53a21e1726eb"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/DarkModeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e5478618919d1b707fa5c4808f03b435cecfc0ad987ed9b51aeaac3df765b4"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/DislikeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54b4e221da61876575940fbe40b23b0467fbf94e6e55dbc85d1d2c2c4a24e40"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~22 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"packages/client/src/svgs/LikeIcon.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a01d2bedb1b003c1823c62fc67da3c0d5e75434021bb8e63ce6458c1e59b78"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~19 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/utils/buildTree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c70b32fff171612415e3fa6d7732b1c7c0d14447f0d6ad3b7c7d65f73cdf05e6"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~18 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"api/utils/logger.js"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6156c8b2bb7161bdc87db74735648d0801576f05daa4df652f8fdeb5ea0c1074"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~17 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/jest.resolver.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"081077cb7de60cf5a85e27d203bf103eed6adec23e7e2ec26294d97769185fac"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~14 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"config/jest.setup.logging.cjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5f3c2ab23e0a78d0961979ebd3814f1f4ce9572ffd1c4a1e45090e08d06490"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~3 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/SidePanel/Schedules/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"244bbf0c46e7b760fdfb74ab058e2ea00a6d3bf7d92aeb6b33f3706df1dc42bf"}},{"ruleId":"R7","level":"warning","message":{"text":"Dead file (~1 LoC): no import path from any entry point (511 application, 100 tooling, 3404 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":"client/src/components/SidePanel/Memories/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91a76dedb6260795961624aa7c2a72a2ed9cd6384367dd47f2e03b75c95fd579"}},{"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":"client/src/components/Agents/SmartLoader.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8377906b9ba80153cafc05d9da162e86bdbcad3d3718b33a9ba8eff40eead68"}},{"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":"client/src/components/Chat/Messages/Content/ParallelContent.tsx"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"27148d177928c063f721fa9c8d5e110f53752a4e15cdf3e21cdd7e803fe51fd5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027panelClass\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/PullRequest/Panel.tsx"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"655b9f8c1c5bd0ac0bca7e5daec41faac26a66aed1febb5da0f688c1eb18f611"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027isHttps\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/utils/urlUtils.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b36367ef09a60f0e144aac2a17391625b9d3215e7448cdb47cc227960ea2dba"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027detectTransportFromUrl\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/utils/urlUtils.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"592a9356dac52fb577854981613987e152a7d699d0ac968517f9591a918488aa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/components/Skills/display/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/components/Skills/display/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/display/SkillDetailHeader.tsx"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eacc8ca02daa21a2dfd02fbe73cdb2fef681d7dc64ff5458d6a08d32df712df"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/components/Skills/tree/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/components/Skills/tree/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/tree/SkillFileEditor.tsx"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b01c0525463bf65cb6e45f270a883fb45179ed777d082089781a6fa6c8f887"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/components/Skills/tree/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/components/Skills/tree/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/tree/SkillFilePreview.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e5cc06dd4fb04e3fa7f4d0f8638575afc109a7ed57759836f86522423818e0"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027default\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/components/Skills/tree/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/components/Skills/tree/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/tree/TreeToolbar.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"b000f3637ea4e2dc44efc4e18089e804c8722eb51f233366e9376876e007c491"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027parseSkillMd\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/components/Skills/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/components/Skills/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Skills/utils/parseSkillMd.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cd10969acf8b7515d4222acacf8f7918d8687fa47316594bfbb53082aeb13b"}},{"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":"client/src/hooks/Mermaid/useDebouncedMermaid.ts"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"56557bdf5090dcf0ee9260d6646af97991a45369782d8f4556a1b42d17f538db"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027BALANCE_WARNING_PERCENT\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/balance.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61bf7160aff3deb14c265c9e3f606416e667e39438b0c87624e13504a0181a8"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027updateLastSelectedModel\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"746274ce0303524023728a182f1763eaf3b32c50c1a2553e13087cddfde2edde"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027createDropdownSetter\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/forms.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00ae83db8d9e8dfb01016f8fa04a8bb4619f1bbe83b740d6dc65c285005b538"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027languages\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/index.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"91155197bc2706b868e4bae00d8739097572c4c69471f4618bc697a912e30773"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027removeFocusRings\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/index.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4be942751acd17c8df4e7e646d83c9a0cdfd00c64b04637c93b3d2947cf72a5"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027cardStyle\u0027: Nothing imports this binding \u2014 it is safe to review for removal."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/index.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b953d5e8356e5e50ab15caa452f68ca091e438ea86a4f5c8d3dd109c5d47f4f"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027languages\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/languages.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"985b32bd9ab6591183ac78e8960566e96e93d8480d5ea9fcfb9d8e867ea45fe9"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027TEXT_KEY_DIVIDER\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/messages.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5952f1e399c265f9e61e958fbdad4f7b54755efb91e6fa21ae3f86ef51aafe"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027formatDateTime\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/prompts.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4cf833bc9a6d96d6dfea43491cffaa5a392fd7dfda5c4267b909e1296395c7"}},{"ruleId":"R7","level":"note","message":{"text":"Unused export \u0027getTimestamp\u0027: Nothing ultimately consumes this binding: its only referrer is the re-export in client/src/utils/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change \u2014 drop the re-export line in client/src/utils/index.ts in the same commit, or the barrel will import a name that no longer exists."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/timestamps.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9f165c65e5bdb8c2b32f3f62205f70c12bddb0a73327aeed26003c0fa5094c1"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_WireRunStepContractHolds\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"330829b595e1d150504a0698dfbe3a9ddf85a1cae4f7b23164f96b3948f3bbb3"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_WireSummaryContractHolds\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/interfaces/IJobStore.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5e427396146114c243172637b8af76b989345471ccfe1b1d9944ef9d1f3c6e"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_AllV2MethodsHaveRuntimeChecks\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/jobStoreCapabilities.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd3c3f4e9b4994de978ad16ab204c3bbf17a2526753ef58f35419a7319cc9aa"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027_AllRuntimeChecksBelongToV2\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/jobStoreCapabilities.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9f69d097b9a3a79f2f5132e4ae7c92b86866b4cc1f61d590e52d20c15ad5d29"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027DataTableProps\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b6aa74885d9eac6ed3a4f3aad8ca2fe9bc5a69ffba75da1d076a1bc86c3aa69"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@langchain/core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a9a65e43bb9f4ba61c254a2906a9e857fbed2c66acb62c853787133a4b1d6c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@librechat/agents\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-model.js"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5be029f7d535d78cf03dee66acf54a588a1e21b19779880d1d647dd9f749a60"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@modelcontextprotocol/ext-apps\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-mcp-app-server.mjs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"580ba2847158a1931c4db0899af3ae0272def135eab8f2ac59676824bfecba25"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@modelcontextprotocol/sdk\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/mcp-apps/server.test.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20fb9df6d97504e6656ba121792d20aed6b056df602dbc1bbf9644054dae7d"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@typescript-eslint/parser\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/crap.mts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"127c5d9b5e29136a74802084e37f16f91dcaf25728ff342f082c7f131f09e23c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027busboy\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-code-server.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"68bb4ca28d48231d6a81f6dd91f6c906cb290af03f184b35060bc65558715f97"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027dotenv\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"72517247e8c4b4fc1241468cefb2cb623397c78b311837c748418d3013642369"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027follow-redirects\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dependencies.test.mjs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"62aa6526350d1cffcd8ae5b052f1d41c6c4932c947fc5eb27128d006aa955161"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027ioredis\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c75f94c494984dd8a1cc0f1578dd15754b5ecc107353686c08e0bf3a52c8b8"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027istanbul-lib-coverage\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/jest.mts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fef82e9c53d46b67cd7197608d83810afc97a2e872a488998177471a3286384"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027jest-environment-node\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/quality/run.mts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe3ab4d4b24f01800c8b048570b77b6b646a3d0177d5adb31520a739a07c586"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027js-yaml\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/mcp-apps/workflow.test.mjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbde5c83685d0d973af3392fad0d593483e9f9b3ecb1523b91fc74f276a6c33"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027jsonwebtoken\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/agent-management.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"698bd8a23e22da4417b249d220634f06ac30e08e76b134b924a7dbea8b3c7f9a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027module-alias\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/add-balance.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7dd3bb1086a16632ef5446c53aa49f59aac59955f65b12e875e9d0c1fd44015"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mongodb\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/__tests__/migrate-prompt-permissions.spec.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19de449085f979e48143fac7b7347e84d0e5dc10a0da45213ddd6eb4b509d0f"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mongodb-memory-server\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/__tests__/delete-user.recovery.spec.js"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c605c353468a3ca3632befed879557659e137f3c957978e1d14f632017c36c9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mongoose\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/__tests__/delete-user.recovery.spec.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e83a41d48e50aa1b4a96675290547509a61085a041787d454683ad66af4547"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027postcss\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/css-colors.mts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"197ede2962fbadc65682ed834a0dac0d0f1deaacef1a178736a49b238d341571"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027sharp\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/fake-flux-server.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b71a150b81bba160277853b397f0b843aba7fb6f84fa726a17e98f9adc9368"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027test-exclude\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dependencies.test.mjs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f4e0e9789ada451455b30589bbb51a9195916bd127901db690f366aeda4e98"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027undici\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dependencies.test.mjs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"9076c5d589dc10e34627a400f244604033eb0f65a0c098abd7f83e3418f301b5"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027uuid\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/__tests__/migrate-code-file-duplicates.spec.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a86aa90b3e29c9dcd9535beb46436016758c91114753639064762c6948837a2"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027workbox-build\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/dependencies.test.mjs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7bfe9b836bb76a1543077d8a3ec7eec07ec62a9c7d4e2546e05b46ef84454d"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027zod\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"e2e/setup/dynamic-mcp-tools.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dafe3ea6f2c4d8ee6872af1202a187dd505e3cbfa0b09c8040d92f6feca0dd"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@anthropic-ai/sdk\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/typedefs.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b73dea54af064cc8726aadc053ddec9c0c148c66f8a63daa2e4594bfe31756"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@google/generative-ai\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/typedefs.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58085b73f9916d84517c557a71ff232165867833e85a9fc1cca18d423c15ab5"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@langchain/core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/__tests__/askUserQuestion.e2e.spec.js"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"d443a85f2c9bf10296d3b5a536c9e1cdf82be04aa4dc675892a9ff68c60db9f3"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@langchain/langgraph\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5440}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacf4013849f95e390f77c9fae8dfd98845d56449cc567bd5469d696bcb07e26"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027cluster-key-slot\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Config/__tests__/getCachedTools.lock.spec.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"87da7036864100906b765139e8163f50c0f30e644b10d9121c2f4fc996b7e1a2"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027uuid\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"1812b48c0d31ade70af36acff8d4f49e23f8d5260700c2363c2d44c9d7d78c76"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@modelcontextprotocol/sdk\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"a766a2acaa1456e98e45c554e3e6c6767d112fff7b27df0eb9aea9cd96f8a76f"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027axios\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Input/__tests__/CodeWorkspaceMenu.spec.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe21a14c35ba2d54be51b9c4f35b0ee3df32b7a16ac46f287f90fc3782d71d4"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027dedent\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/artifacts.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eeb651e2b2d7a3baa1cf2acaf38ae8e1aa218bc807fbe2fcbc38f75f1153ab"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027express\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Chat/__tests__/turn.messageIds.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"423aa9a70a902764e065c50e6326e3459a68f2a117daf2151bf1e2e365d7776c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027katex\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/rehype.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fbc37d8765f307fe3c6f42fc0ec0603c59acf497805891266d77fb8fd14d7e"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027lowlight\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/useLazyHighlight.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"025dc7d45609b666584c9a138f7108c2c0f3d5761fa3feb7c105926d9be29736"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027react-is\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/Settings/__tests__/registry.spec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5707688cb320d99e08228baf59f6ebe4076dcdf722d610289669d7ccfbe9c17"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027unified\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifact.tsx"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae791683a65acd848b34a5fbf6b4cd5e8211b3496465ef5811049a3752a262a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027unist-util-visit\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Artifacts/Artifact.tsx"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"783eaea95b20cca77a9bd0688a0d21e4b202879de83cc465832e42bd266910c8"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027uuid\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/useTasks.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4517895d6723b1e5b3ebed88adfc841cceb492fb45e1c329f8f8d480f42574"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@anthropic-ai/sdk\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/vertex.ts"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac2d285a56281aab658ca272bf78355df140cd9ad13ee9e1765f382a733d4b6"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@aws-sdk/types\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/types/bedrock.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e190f30861037cdcffa5b4628fb7d24ab6ed0099cb9d0a691c231babad9af80f"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@grpc/grpc-js\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/grpc.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"403f5f4f59486954f65d0b69edaa36e9d5e5f121f225c5eb1aa9901fc2f00ff0"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@langchain/aws\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/description.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47640d32d4c2c235aeb846221ca0fd43c015d6ed9460412b18c7d99b70dcf7a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@langchain/core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/run-summarization.test.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c845f2c098d0951b1fc85119ddc1a8e88cf78e73a35a221a64194afd8734ac"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@microsoft/microsoft-graph-client\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/principals.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"d406a2abd866c9bfe63ba92920f91a7053d6881aa0b7e11048c9d8a267c18ff2"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@smithy/util-stream\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/__tests__/crud.test.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4434d0f38a0f2d3fd7e5832fd097ef0f97db8d0cda4bd601cdfc9cb968ffeb"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027express-mongo-sanitize\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.dotted.integration.spec.ts"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"457d3a5a90193f1dfaa79f44128df398bfbaed3c49c03197a85e9cd8377d935c"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mongodb-memory-server\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"04e5a2d388a5772c69861e741ece04bfbd809f1bda4ca81f1a3ccf85f5da041b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027openai\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/run-summarization.test.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"17d5f8201b79c56c6cb704b8a847301426c051347a897613f2d910a0a00c4426"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027pg\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/persistence.spec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"789d3322f90de60a15fa8c2a3604dbd7e4cedbae3b57debbe1b59b002e97a5c9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027supertest\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.dotted.integration.spec.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d9b10e1442372b5ea5a2eb44272af7d7a7f755b2d6a1a703e4bf4240067953"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027swagger-ui-dist\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b046fd77018ec12afdac3b7dc36373d8cef6a033b7b29891a6e0ccf0881ccf1"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027tsconfig-paths\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/__tests__/helpers/mcpOAuthWorkerBoot.cjs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0106f168a6e223d87fba38ed08cc2ab641756c755d1fd6c7e6297392bdbc64a9"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027uuid\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/__tests__/load.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"2307b5226b8fd079401e01fb54568cff9b6b2fe1a68c953b0132025714f57c4a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027@librechat/agents\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/__tests__/outcome.spec.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7348805c6d670d4e0356ff54fa509c5961562726338aacd10b7b8c0e49435400"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@testing-library/user-event\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/files/__tests__/FileContainer.spec.tsx"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5931f42cf65a94970ff25cf287d5780abef032abd228b26e07d17ab1d38d209"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027@testing-library/user-event\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/ChoiceCards.spec.tsx"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"124dcc00a5560927a082c44ad8933ebeffa50d405e4fe2f489d36e573b8f3ccc"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027dotenv\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/crypto/index.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b5b4c1b80a29d2c443d5505ada9dadd5d620721c69b1c9a8da1808c48669eb"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027logform\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/types/winston-transports.d.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbdebfa3395242926635b0b2a1f94e8d150a823e644908223528caebbbb0e17"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mongodb\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/misc/documentdb/sweep.documentdb.spec.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"d52f5d632764228d435d60828835068ea61916f9f88582877205ff9baa37f19a"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027mongodb-memory-server-core\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/jest.globalSetup.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"18387f2735915a98b4b9c3abac238f4974f7c84f401ea9c81a642e416e2feaa2"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027uuid\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"4913871cece6f8f8cf3954f67da4aabfa98bebc807552dd226c04acfe5f53b66"}},{"ruleId":"R8","level":"warning","message":{"text":"Unlisted import \u0027winston-transport\u0027: Imported only as a TYPE and declared in no reachable package.json. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it \u2014 but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning package.json."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/types/winston-transports.d.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88f041cfc4cb6234d0b217b4601177ce80d9e698f6c6adcbef2ca25a2495e89"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027zod\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.spec.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a0a25ce3f085711796441be4c2d2ce11dad70f23caca277000089d3fda9d009"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027brace-expansion\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"017e627a7ef90accfcff931a5b357108b116162491ebbdef25c1aa88fcf19d1a"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027caniuse-lite\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d494fead75dbf212fedf5a88a03cc6feaaad58b3763e8dc15acd942cb237c3be"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027elliptic\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"848b213f0071e99437747b18d9dd1f46c0a253ed24aa0baf0763ad6add6d30d0"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027sse.js\u0027: Declared in client/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44182e8a0c0ee0e5ea7ddfabb4f92209594eea0d2dca605f64e6847a0f244dd2"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027caniuse-lite\u0027: Declared in packages/client/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bb48cbc5f9d0e6ee67fa13019def8ac2cdcf70dd44c4e77ed451ebdb1c252127"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027https-proxy-agent\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/typedefs.js"},"region":{"startLine":1662}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5122ebb1172cef84c42662fc66850bc6b8e64b6057f5fdbf32e483acc7c0f5"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@opentelemetry/sdk-trace-base\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/exporter.spec.ts"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e1145feb02c420d3b6fd386e738031394b888fe45b63447cba2daa179e7d90"}},{"ruleId":"R8","level":"note","message":{"text":"Type-only dependency \u0027@slack/types\u0027 in production deps: Every import is type-only \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f5baea4609f20b8480ee0bab92065d9dbbe8010a85f49e7eeb758d5acff0a8"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027bcryptjs\u0027 in production deps: Only test files import it (first: api/server/controllers/auth/PasskeyController.spec.js:27) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/package.json"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f022ae4dd180b1b34661c43e2afa181ab91fd51f79ed7436ce77cc82730c71"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027jszip\u0027 in production deps: Only test files import it (first: api/server/routes/skills.tenant.test.js:5) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/package.json"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"92223a57bde6012fc8e261254a72cb37a858457f45334c5b18e4fc30fbe382c5"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027mongodb\u0027 in production deps: Only test files import it (first: api/server/routes/prompts.test.js:4) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/package.json"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"443bf5309b2b6d93c212bb648155a8f66752b05c6092a0c7c4ed12281f236f37"}},{"ruleId":"R8","level":"note","message":{"text":"Test-only dependency \u0027re2js\u0027 in production deps: Only test files import it (first: packages/data-provider/src/file-config.validation.spec.ts:1) \u2014 move it to devDependencies."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/package.json"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadf41222d4f057148f4bad5f6cf4b26cd9e4e68660b5d52a4e1ec3728b03942"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (9 files): client/src/data-provider/index.ts \u2192 client/src/data-provider/Files/index.ts \u2192 client/src/data-provider/Files/mutations.ts \u2192 client/src/hooks/index.ts \u2192 client/src/hooks/Agents/index.ts \u2192 client/src/hooks/Agents/useAgentDefaultPermissionLevel.ts \u2192 client/src/hooks/Roles/index.ts \u2192 client/src/hooks/Roles/useHasAccess.ts \u2192 client/src/hooks/AuthContext.tsx \u2192 client/src/data-provider/index.ts (one verified cycle inside a mutually-dependent group of 250 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/index.ts"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"80284f7cc1c4061b829b290250ad5e4e810b3b77aa7913037bef90bc38e93ea7"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): client/src/components/Share/Message.tsx \u2192 client/src/components/Share/MultiMessage.tsx \u2192 client/src/components/Share/Message.tsx"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Share/Message.tsx"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd6335870f4063ae32f7cdadd79632765985d0de092fd67bccc8ecf86829494"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (8 files): packages/api/src/admin/index.ts \u2192 packages/api/src/admin/users.ts \u2192 packages/api/src/user/erasure.ts \u2192 packages/api/src/mcp/oauth/cleanup.ts \u2192 packages/api/src/mcp/oauth/handler.ts \u2192 packages/api/src/auth/index.ts \u2192 packages/api/src/auth/hashing.ts \u2192 packages/api/src/index.ts \u2192 packages/api/src/admin/index.ts (one verified cycle inside a mutually-dependent group of 109 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/index.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1efd59671e460b966de0585c894c3eddbbfb4823811cee87c80cd567d8048d"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Mermaid/useMermaid.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d086c4eedf823adeda92ff8b1ecb5201483295aa43f9f440c75faab52a557c"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisScript.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a908d7698955a987cc4df682855fdf7ab54bc8726e382ff4f0b951df0a53e441"}},{"ruleId":"S1","level":"warning","message":{"text":"Weak hash algorithm: MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything \u2014 a signature, an integrity or tamper check, a credential, or any value an attacker can influence \u2014 that is a real weakness: use SHA-256\u002B (\u0060createHash(\u0022sha256\u0022)\u0060) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead \u2014 a non-cryptographic hash such as xxhash or murmurhash says it in code \u2014 since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":1116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e40575cd7b4cedf29d50d11d53e9d7c225eea501e64c674966f8f2c1f2774f1"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060user.password === password\u0060 checks a password against the stored one in plaintext, so the store holds the password itself and whoever reads it holds every account."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d21ad613d5127be237144fc2db95a2020da75a5fb09eb51e768316a618eae6c"}},{"ruleId":"S1","level":"warning","message":{"text":"Secure cookie flags not detected: \u0060res.cookie(\u2026)\u0060 carries who is signed in, and it is set without HttpOnly. Without HttpOnly any script on the page can read it, so a single cross-site-scripting bug lets an attacker copy the cookie and act as that user. (\u22121.5 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/csrf.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ea6da8b279ffbcac71540493d77e144e8023e04167ec624442f285a89578bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!conversationId \u0026\u0026 conversationId !== Constants.NEW_CONVO \u0026\u0026 conversationId !== Constants.PENDING_CONVO\u0060 appears character-identically in 3 files \u2014 packages/chat/src/core/resumable/messages.ts, packages/chat/src/react/chat/cache.ts, packages/data-provider/src/react-query/react-query-service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/messages.ts"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"6999c3bc0f70d75655f99ee7118b8be11ae774da686c3fb1e795fcce85d14483"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!!process.env.LDAP_URL \u0026\u0026 !!process.env.LDAP_USER_SEARCH_BASE\u0060 appears character-identically in 2 files \u2014 api/server/routes/auth.js, api/server/services/Config/ldap.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":"api/server/routes/auth.js"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"492bdca70d779a79d2cc57be81e59b265738e5a3d95b5d07d9ce386afa1ae5b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!(error instanceof mongoose.mongo.MongoServerError) || error.code !== 11000\u0060 appears character-identically in 3 files \u2014 packages/data-schemas/src/methods/channelScope.ts, packages/data-schemas/src/methods/response.ts, packages/data-schemas/src/methods/responseScope.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelScope.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"f80a74cee371527022fde3d6a9e5433d216db653cb1d49dff88b733b45042699"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(allowedAddresses) || allowedAddresses.length === 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/allowedAddresses.ts, packages/api/src/oauth/tokens.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/allowedAddresses.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5867770997aec9a12ba6c6b0a4f6080d5b747d1ef6950ebc9ba2777c38b4e16e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(allowedDomains) || allowedDomains.length === 0\u0060 appears character-identically in 5 files \u2014 api/server/services/ToolService.js, packages/api/src/mcp/apps/controller.ts, packages/api/src/mcp/oauth/hardenedFetch.ts, packages/api/src/mcp/registry/MCPServerInspector.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":"api/server/services/ToolService.js"},"region":{"startLine":2659}}}],"partialFingerprints":{"codehealthFindingId/v1":"337cfb38a8052d57668cebc223deb0e7a1fa3534db6fb3e037401ac55b507ab4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(content) || content.length === 0\u0060 appears character-identically in 4 files \u2014 client/src/hooks/Messages/useCopyToClipboard.ts, packages/chat/src/core/pending.ts, packages/chat/src/core/usage/estimate.ts, packages/data-provider/src/messages.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":"client/src/hooks/Messages/useCopyToClipboard.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"228d57da5de733170d239213d04af788234cbe712e4af0f80a09a5fc86a65a27"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(messages) || messages.length === 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/run.ts, packages/api/src/oauth/failure.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de08ccec1c02f7b62be5fb2a88cd5623f04baf65ef2e7260ea86d2438546fab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Array.isArray(resourceIds) || resourceIds.length === 0\u0060 appears character-identically in 3 files \u2014 api/server/services/PermissionService.js, packages/api/src/acl/accessControlService.ts, packages/data-schemas/src/methods/aclEntry.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":"api/server/services/PermissionService.js"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f047e38e56702e00ec7321015e9f13351000f22eaf22f85631e66571fdeb6da5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isInteger(concurrency) || concurrency \u003C 1\u0060 appears character-identically in 2 files \u2014 packages/api/src/utils/code.ts, packages/api/src/utils/promise.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/code.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb9604ad44b177f42bc68a9f465212be7ac1805c8904990db00e302a97498a8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(length) || length \u003C 0\u0060 appears character-identically in 5 files \u2014 packages/api/src/middleware/modelBoundContent.ts, packages/api/src/protection/adapters/messages.ts, packages/api/src/protection/adapters/submissions.ts, packages/api/src/protection/files.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c694a0bd59f8983795c57cf8ca2557a1698361dd598a5ad842ea15199a463a9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(limit) || limit \u003C 1 || limit \u003E 100\u0060 appears character-identically in 3 files \u2014 packages/data-schemas/src/methods/channelFeedback.ts, packages/data-schemas/src/methods/slackBotAccess.ts, packages/data-schemas/src/methods/slackWorkspace.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/channelFeedback.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc1c1ad73e95f528ecc1d9fbf79d86c7941d470627b057475167b87e0577bf0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(limit) || limit \u003C= 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/checkpoints/deletion.ts, packages/data-schemas/src/methods/triggerDelivery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpoints/deletion.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64f8ef787b1d32fbad17d6253c95d7b6c299d733b3e30e6bd11b3d40c379202"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Number.isSafeInteger(value) || value \u003C= 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/triggers/host.ts, packages/api/src/channels/identity.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2c78bd2a6d6050c6f5d9d671855fe858b93b0182f401b6dfef2a7311ee7162"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060![\u0027complete\u0027, \u0027error\u0027, \u0027aborted\u0027].includes(job.status) || job.metadata.providerDrained !== true\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/completion.ts, packages/api/src/agents/responses/retirement.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/completion.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"e509ae731ad8d5add8f8ddc065b687567dc263e8875ff8afb7ed474f05b95bcb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!actions_result || !actions_result.length\u0060 appears character-identically in 2 files \u2014 api/server/routes/agents/actions.js, api/server/routes/assistants/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":"api/server/routes/agents/actions.js"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c11c02e0ba7fed4eb3bfedabbc7f6a3113844c7c8a1ebe479ea701afecd2d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!artifactWritesCovered \u0026\u0026 artifactPromises.length \u003E 0\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1d9c4735cbe481ba3899f501a22bd609d87f2c3b24f6749324c5dad3708528"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!attachments || attachments.length === 0\u0060 appears character-identically in 6 files \u2014 client/src/components/Chat/Messages/Content/MemoryArtifacts.tsx, client/src/components/Chat/Messages/Content/Parts/Attachment.tsx, packages/api/src/files/context.ts, packages/chat/src/core/attachments.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":"client/src/components/Chat/Messages/Content/MemoryArtifacts.tsx"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"06f51de2de1336760208481a805b70bbac11022f75c169569ccbf0b5e4878c17"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!config || config.imageSigning !== \u0027cookies\u0027 || !config.privateKey || !config.keyPairId\u0060 appears character-identically in 2 files \u2014 api/server/services/AuthService.js, packages/api/src/cdn/cloudfront-cookies.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":"api/server/services/AuthService.js"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e199d581d71d2e1ac0fe5840687e8116767f2ae541d79b6e390e8f9621019cc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conversation.endpointType \u0026\u0026 endpointType\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useNavigateToConvo.tsx, client/src/hooks/useNewConvo.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":"client/src/hooks/Conversations/useNavigateToConvo.tsx"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd8052d233fe6fb4e89cf97da00299556c8d73af6aa1b3f0d1675633c0a7e84"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!conversationId || conversationId === Constants.NEW_CONVO\u0060 appears character-identically in 5 files \u2014 api/server/controllers/agents/request.js, api/server/middleware/validate/convoAccess.js, client/src/components/Chat/Messages/Content/ApprovalContext.tsx, packages/chat/src/components/pane/view.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":"api/server/controllers/agents/request.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed260d4ee5c140543e25e92804740f64ac91082d48e968b85bfb1c3665612549"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!current || current.generationCreatedAt !== execution.createdAt\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/pause.ts, packages/api/src/agents/responses/runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/pause.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cfeb0862c8525b27a83a9cffb4b16abb8581a49ab06456ab45127a73bcce745"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!cursor || cursor === \u0027undefined\u0027 || cursor === \u0027null\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/skills/deployment.ts, packages/data-schemas/src/methods/skill.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"a535506f14104d4c7ea5d3230d27e416c975de0a4be6cdbc3f162abf8d0e46b2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!enableUserMsgMarkdown \u0026\u0026 \u0027whitespace-pre-wrap\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/PendingTurn.tsx, packages/chat/src/components/parts/SteerPart.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":"client/src/components/Chat/Messages/PendingTurn.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4439bacce3f6df2b04a17e701b8463aeb9a5b8cd670276cdb13f424b51b74302"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!enabled || mutation.isLoading || channel.status === \u0027deleting\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/Channels.tsx, client/src/components/SidePanel/Agents/WorkspaceChannel.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":"client/src/components/SidePanel/Agents/Channels.tsx"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"17364edd2800be8b4d1ec0a1d830f4a09d6dd04790f76a1c47e3b7c5c548b14f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!id.startsWith(\u0027.\u0027) \u0026\u0026 !id.startsWith(\u0027~\u0027) \u0026\u0026 !path.isAbsolute(id)\u0060 appears character-identically in 2 files \u2014 packages/api/tsdown.config.mjs, packages/client/tsdown.config.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/tsdown.config.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c232022d6a0bfd53a76314aee772d29a1822a66b63fcc73069dd44a450cb63ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!info.commit \u0026\u0026 !info.branch \u0026\u0026 !info.buildDate\u0060 appears character-identically in 2 files \u2014 api/server/routes/config.js, packages/api/src/app/build.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":"api/server/routes/config.js"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d43baab6324f1e5f15d8ea14ac7ed3458397007a00feca3f93cd4c45f5a0918"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isAgentsEndpoint(endpoint) \u0026\u0026 !endpointConfig\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/added.ts, packages/api/src/agents/load.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e29da10945bbc5a6cd3f4df6d67f5ed2e1f4939dd8232b6ea6ff6a89f6117b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isAgentsEndpoint(endpoint) \u0026\u0026 !isAssistantsEndpoint(endpoint)\u0060 appears character-identically in 2 files \u2014 client/src/components/Nav/SettingsTabs/ProviderKeys/utils.ts, client/src/utils/endpoints.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":"client/src/components/Nav/SettingsTabs/ProviderKeys/utils.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4add2e9ae68e0ea657aa9b32086c7d94b95acd51a3da477428b3649b8d6959b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isCodeWorkspaceSelections(selections) || selections.length === 0\u0060 appears character-identically in 3 files \u2014 packages/api/src/code/decision.ts, packages/api/src/code/targets.ts, packages/data-provider/src/code/workspace.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/decision.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"96eb980842e632fc1f89a435d4aa0cc19d0cef35d75349962dd329c0b12e528f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isFileConfigLoaded \u0026\u0026 !isFileConfigError \u0026\u0026 !isFileConfigPaused\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Files/useClientResize.ts, client/src/hooks/Files/useUploadOptions.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":"client/src/hooks/Files/useClientResize.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b644543138413742e08902fde2a8bead205afe145ccb730b2e3fbb6dea5aaa9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isValid || isSubmitting || createSkill.isLoading\u0060 appears character-identically in 2 files \u2014 client/src/components/Skills/dialogs/CreateSkillDialog.tsx, client/src/components/Skills/forms/CreateSkillForm.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":"client/src/components/Skills/dialogs/CreateSkillDialog.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e581eb076785d8790487b90042813528dcd5b8f25771a2eda5fc3902eb67ef6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!message.isCreatedByUser \u0026\u0026 hasParallelLanes(message.content)\u0060 appears character-identically in 2 files \u2014 packages/chat/src/components/messages/thread/MultiMessage.tsx, packages/chat/src/components/messages/thread/Row.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/thread/MultiMessage.tsx"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"e46798348df771230109ad6cfc15c691a3ac42138ac2cefebb5877d9cbbf0ce5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!messagesEndRef.current || !scrollableRef.current\u0060 appears character-identically in 2 files \u2014 packages/chat/src/components/messages/ScrollButton.tsx, packages/chat/src/react/messages/useMessageScrolling.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/ScrollButton.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e36a14be944f180d2c1408a782fdf8645470b3993d277842ef1d5cbb797670"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!ownerRole || !viewerRole || !editorRole\u0060 appears character-identically in 4 files \u2014 config/migrate-agent-permissions.js, config/migrate-prompt-permissions.js, packages/api/src/agents/migration.ts, packages/api/src/prompts/migration.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":"config/migrate-agent-permissions.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae5f1a6f520668de73a562c2f38652bfa9ec1ec72148bc61ad7878e9ebcbd37"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!pageRelevance || Object.keys(pageRelevance).length === 0\u0060 appears character-identically in 2 files \u2014 client/src/components/Web/Sources.tsx, client/src/utils/files.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Web/Sources.tsx"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23882b14a28f631f5c5a55e2426f720dc5d7b7be5e5fb379f75fe753233ac9e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!record || !(await deps.authorize(record))\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/decision.ts, packages/api/src/agents/responses/queue.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/decision.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2e538d365ed1945161294018c8312c2c67ba14f4e0602225f9774a55e606c0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!request.model || typeof request.model !== \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/openai/service.ts, packages/api/src/agents/responses/service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/openai/service.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"217544fbfd1d029229a04d00cb4906d43646ee734fd2b13fd947c2ed5b2101c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!requiredPermission || typeof requiredPermission !== \u0027number\u0027\u0060 appears character-identically in 7 files \u2014 api/server/middleware/accessResources/canAccessAgentFromBody.js, api/server/middleware/accessResources/canAccessAgentResource.js, api/server/middleware/accessResources/canAccessMCPServerResource.js, api/server/middleware/accessResources/canAccessPromptGroupResource.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":"api/server/middleware/accessResources/canAccessAgentFromBody.js"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be92ede4ac59f4280acd17840c9fa46e5a4cef96130804d71007fa44ee4320d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!run.createdStreamIds.has(currentStreamId) \u0026\u0026 run.optimisticStreamIds.has(currentStreamId)\u0060 appears character-identically in 3 files \u2014 packages/chat/src/core/resumable/ceiling.ts, packages/chat/src/core/resumable/failure.ts, packages/chat/src/core/resumable/missing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a252b4ddd8a41a8fb1f02b09db4e00b5aa26ec32bad4f1a12ce76bc2b2550d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!runAgent?.id || modelBoundAgentsById.has(runAgent.id)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8cb3c9f3c3d1e779031f2c4617801e29e7b47e2bea14bf0cf6a141160550b6e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!searchPattern || searchPattern.trim().length === 0\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/user.ts, packages/data-schemas/src/methods/userGroup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/user.ts"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"5187b37cd91c18c9f0fb9e2571426a4317345e9a5d37c50f866477912b039843"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!selectedSpec \u0026\u0026 selectedEndpoint === endpoint.value\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx, client/src/components/Chat/Menus/Endpoints/components/SearchResults.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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12a62d90e7dfc0e0697759bfecbc601d83f21548e605bac25e551e545df3296"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!skillsEnabled || Array.isArray(modelSpec.skills)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/added.ts, packages/api/src/agents/load.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b5096842b2d1a8f82578104aef5b5a1e4639319c2b4f1aeeecae5bef1aa815"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!table.getFilteredSelectedRowModel().rows.length || isDeleting\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Input/Files/Table/DataTable.tsx, packages/client/src/components/DataTable.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":"client/src/components/Chat/Input/Files/Table/DataTable.tsx"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a39129eaa77b72e7d92e4b6ba4b498fd70e4f977d9cb166773d830f19a0d066"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tenantId || tenantId === SYSTEM_TENANT_ID\u0060 appears character-identically in 4 files \u2014 api/server/controllers/PermissionsController.js, packages/api/src/apiKeys/permissions.ts, packages/api/src/mcp/registry/cache/ReadThroughAllCache.ts, packages/data-schemas/src/config/tenantContext.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":"api/server/controllers/PermissionsController.js"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2e0defca72baf6f46fb8fe155f597bfc7de51140539fecb825612c1ca2414f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!tokenInfo || !isOpenIDTokenValid(tokenInfo)\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/oauth/obo.ts, packages/api/src/utils/graph.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"505b42854551eca283dc8f1684cf635a84522008cc55ee07298bd7ac49595e50"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!toolDef \u0026\u0026 manifestToolMap[tool] \u0026\u0026 manifestToolMap[tool].toolkit === true\u0060 appears character-identically in 2 files \u2014 api/server/controllers/assistants/v1.js, api/server/controllers/assistants/v2.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":"api/server/controllers/assistants/v1.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"54fbac1812bb3c7b161c0f419a86a3b15ce4cb4f71a5c48474149f9c7deb9971"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!user.emailVerified \u0026\u0026 !unverifiedAllowed\u0060 appears character-identically in 2 files \u2014 api/strategies/localStrategy.js, packages/api/src/auth/passkey/handlers.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":"api/strategies/localStrategy.js"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a31b2a41fcd8eae6da0cd277f5597e4ffa17d5cf4badc706ececac3305396b0e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!userId || !validConversationId(conversationId)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/tasks.ts, packages/api/src/pulls/handler.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"660b53ec9e20f5582b81602967bc6fb45f7c260dead8b7ce590a06f057e820b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!validationResult || !validationResult.status || !validationResult.spec\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/ActionsInput.tsx, client/src/components/SidePanel/Builder/ActionsInput.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":"client/src/components/SidePanel/Agents/ActionsInput.tsx"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1533844e644f6bc00700a6b1520b7b701d0dcc8a98f63ae4b7acebb381e821"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!value || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 packages/data-provider/src/mcp/csp.ts, packages/data-schemas/src/methods/share.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/mcp/csp.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d100d5ef8d1b5bde3fb672ce323591313a7ac876cddb5852f508997a7bb7f09"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027args\u0027 in toolCall \u0026\u0026 (!toolCall.type || toolCall.type === ToolCallTypes.TOOL_CALL)\u0060 appears character-identically in 3 files \u2014 client/src/utils/groupToolCalls.ts, packages/chat/src/components/Part.tsx, packages/chat/src/core/parts/outcome.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":"client/src/utils/groupToolCalls.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e470f2c01bc5b6ddfd0d6d8817500b99bb3348b19e4784ff76ff04f10e394d1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027conflict\u0027 in attempt \u0026\u0026 attempt.conflict === \u0027slot-taken\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/schedules/fire.ts, packages/api/src/schedules/service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"84455b6045a72a597d71a153bbcf5b59014fba3dd12b64a8ed8559d5947db2ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027message\u0027 in error \u0026\u0026 typeof error.message === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/MCPConnectionFactory.ts, packages/api/src/mcp/connection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29cb2ef5713071539581accce67415ad301bd4b2feeeb51dbdff567a3179ac5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060\u0027name\u0027 in call \u0026\u0026 typeof call.name === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Trace/preview.ts, packages/chat/src/core/usage/registry.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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"794c2a1c33bda4c9e31f34243e8b77bc24648a54b43684f0b6e0aa2aa65c5865"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(connectionState === \u0027disconnected\u0027 || connectionState === \u0027error\u0027) \u0026\u0026 requestScoped\u0060 appears character-identically in 2 files \u2014 client/src/components/MCP/MCPServerStatusIcon.tsx, client/src/components/MCP/mcpServerUtils.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":"client/src/components/MCP/MCPServerStatusIcon.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d122e6009727589f6efb95eb541cd859cee1d06ec3050f7543616f3ef9ab21"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(currentProvider === EModelEndpoint.azureOpenAI || endpointType === EModelEndpoint.azureOpenAI) \u0026\u0026 useResponsesApi === true\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Input/Files/DragDropModal.tsx, client/src/hooks/Input/useAttachItems.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":"client/src/components/Chat/Input/Files/DragDropModal.tsx"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"036371bd17966f5fd120662f30ba6323059d6ec8341b7d1fdb72c10b14a18042"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(error as NodeJS.ErrnoException).code === \u0027ENOENT\u0027 \u0026\u0026 options.explicitlyConfigured !== true\u0060 appears character-identically in 2 files \u2014 packages/api/src/plugins/deployment.ts, packages/api/src/skills/deployment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/deployment.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"d864679c53c84bd75d1d823e14d5eaf0de7c3132a1a45215d39a40e23a559ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(isInitializing || serverStatus?.connectionState === \u0027connecting\u0027) \u0026\u0026 \u0027animate-pulse\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx, client/src/components/SidePanel/MCPBuilder/MCPServerCard.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":"client/src/components/SidePanel/Agents/Tools/ItemDialog/sections/McpSection.tsx"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"876370153f7aa5aff278f109e72cefda36725f2093cc3e6512819a068b5cec93"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(manualSkillPrimes \u0026\u0026 manualSkillPrimes.length \u003E 0) || (alwaysApplySkillPrimes \u0026\u0026 alwaysApplySkillPrimes.length \u003E 0)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"791715399bb33642a7b647b3fc7a4c305a6487f0d2d620d4b14c6bc84daa0fad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(supplied !== 0 \u0026\u0026 supplied !== 3) || (supplied === 3 \u0026\u0026 (claimKey!.length === 0 || claimKey!.length \u003E 1024 || claimToken!.length === 0 || c\u2026\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab25be049cdebf2adbf4388e3b4bfd78fd99b1fe34e31e0f7307997ce24fa2d6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(typeof output === \u0027string\u0027 \u0026\u0026 isError(output)) || runStepStatus === \u0027failed\u0027\u0060 appears character-identically in 3 files \u2014 client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx, client/src/components/Chat/Messages/Content/ToolCall.tsx, client/src/components/Chat/Messages/Content/WebSearch.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":"client/src/components/Chat/Messages/Content/Parts/OpenAIImageGen/OpenAIImageGen.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88eca99841053ca6bd7f407a9a863d30d243874c811cbaf898d0a636a818ada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(url.protocol !== \u0027http:\u0027 \u0026\u0026 url.protocol !== \u0027https:\u0027) || url.username || url.password\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/triggers/host.ts, packages/api/src/agents/triggers/service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae425e6ec5f5d04808ca52d910d3895d88c55804a54e6bd5a3d09d4f03d4081"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(allowedDomains) \u0026\u0026 allowedDomains.length \u003E 0\u0060 appears character-identically in 4 files \u2014 packages/api/src/auth/domain.ts, packages/api/src/mcp/oauth/detectOAuth.ts, packages/api/src/mcp/oauth/handler.ts, packages/api/src/mcp/oauth/hardenedFetch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2bb6eab48b92238e1c06a4334917ce489cacd68ecc740cea613ac048812001d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(conversation?.messages) \u0026\u0026 conversation.messages.length \u003E= 1\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useTemporaryChat.ts, client/src/hooks/useKeyboardShortcuts.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":"client/src/hooks/Conversations/useTemporaryChat.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c286b33ccc73f5ace59859becc022c3c250d0c9d6335dc7912c9cadfd565c325"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(endpoints) \u0026\u0026 endpoints.length \u003E 0\u0060 appears character-identically in 2 files \u2014 client/src/utils/convos.ts, packages/data-schemas/src/methods/conversation.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":"client/src/utils/convos.ts"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"018e0e8510e6aaa3128ff5ba324efa9eb61f21f612ec16f676a2314a6f177991"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Array.isArray(message.content) \u0026\u0026 message.content.length \u003E 0\u0060 appears character-identically in 3 files \u2014 client/src/components/Chat/Messages/Content/SearchContent.tsx, packages/chat/src/core/usage/registry.ts, packages/data-provider/src/parsers.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":"client/src/components/Chat/Messages/Content/SearchContent.tsx"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e799bd43d3f9c8a3787979848f4bab07f7180b40a1a3dbc1372b6ded869b9210"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number(process.env.SESSION_EXPIRY) || DEFAULT_SESSION_EXPIRY\u0060 appears character-identically in 2 files \u2014 api/server/controllers/auth/oauth.js, api/server/routes/admin/auth.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":"api/server/controllers/auth/oauth.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cdfae937f28db776f248e9163d37eab7bf32f74dfb992d877b5b87fc6392796"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isFinite(rootFontSize) \u0026\u0026 rootFontSize \u003E 0\u0060 appears character-identically in 2 files \u2014 client/src/utils/breakpoints.ts, packages/client/src/utils/remScale.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":"client/src/utils/breakpoints.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"94226be9740d49478fe7f5e28f19339c6eb06f227e7cc37561056a859a24de69"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(parsed) \u0026\u0026 parsed \u003E= 1\u0060 appears character-identically in 2 files \u2014 packages/api/src/middleware/code.ts, packages/api/src/middleware/promptResolveLimiter.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/code.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9171984afd81d7ca8795032da4093b94b1fb708f0640b41c840a9a24e8934eba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 value != null \u0026\u0026 value \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/subagentTaskRouting.ts, packages/api/src/agents/subagentThreads.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbe9fbb22131a49d75c06bc3342924e7e656a674a696c55e4ad112d3d474150"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Number.isSafeInteger(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 4 files \u2014 packages/api/src/agents/digest/view.ts, packages/api/src/channels/feedback.ts, packages/api/src/channels/identity.ts, scripts/quality/comment.mts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/digest/view.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1e567479b162ab061c60206064dc3af48bd4faa8c4f30519b56dc709461c692"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action.metadata.auth.authorization_type || AuthorizationTypeEnum.Basic\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx, client/src/components/SidePanel/Builder/ActionsPanel.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":"client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c7fa0300a08ca791d97d38caa6445a2ea3e91659e694b5d31d7e69ff434fa7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060action.metadata.auth.type || AuthTypeEnum.None\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx, client/src/components/SidePanel/Builder/ActionsPanel.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":"client/src/components/SidePanel/Agents/Tools/ActionEditor.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9a4258e30d753d9e5aa4faec1e5ce50affa6b3c9795762e1ddc7414b6151c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060actor.teamId !== channel.slack?.teamId || actor.appId !== channel.slack?.appId\u0060 appears character-identically in 2 files \u2014 packages/api/src/channels/authority.ts, packages/api/src/channels/runs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/authority.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"1709053b1e8ca90fe15793d6f90f8e52e4c5fb2d924b10e5116af830b74b3f87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060addParams \u0026\u0026 typeof addParams === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/endpoints/openai/llm.ts, packages/api/src/endpoints/openai/transform.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/openai/llm.ts"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3030358ef3f89a6138c3f50d2db2de212363a3a3623934478a551e9d00412d3d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.name?.trim() || localize(\u0027com_ui_agent\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Agents/AgentCard.tsx, client/src/components/Agents/AgentDetailContent.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":"client/src/components/Agents/AgentCard.tsx"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"65748e10f1b7f13f835e7a6620f297f883c2ebd46a26b8bdfa010ac2a74d7ec8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agent.stateful_code_sessions === true \u0026\u0026 agent.tools?.includes(Tools.execute_code) === true\u0060 appears character-identically in 2 files \u2014 packages/api/src/code/inheritance.ts, packages/chat/src/core/code/routing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/inheritance.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8f89ff3596eebbb1398daa91bde584d856fe23e58b76fd76b2021a3052f1f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agentId != null \u0026\u0026 !isEphemeralAgentId(agentId)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/steer.js, packages/chat/src/core/code/workspace.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":"api/server/controllers/agents/steer.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ba662feab7f84c0941c0aea60db1a958da5c3770ee2e1e769ed8c41ff19dcd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060agentId != null \u0026\u0026 agentId !== \u0027\u0027 \u0026\u0026 !isEphemeralAgentId(agentId)\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Files/useUploadOptions.ts, client/src/utils/files.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/useUploadOptions.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"1927a77194d0ef50e62e32c7d1ae49ea60eb210ba68259f6278c19f82d2700b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060areMessageFieldsEqual(prev.message, next.message) \u0026\u0026 isSameTailRelation(prev, next)\u0060 appears character-identically in 2 files \u2014 packages/chat/src/components/messages/ContentRender.tsx, packages/chat/src/components/messages/MessageRender.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/messages/ContentRender.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9c04f7702c7ffeb549ba81ceb776f3339d2d5b859fb0fd38c61c98f5ac5dfce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060attachment == null || seenFiles.has(attachment)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39b47c6aa180edaff6a2fd3733fa5952b775a7d92013a2109c1b2c8a76a56b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backgroundCancelled || (backgroundHandle != null \u0026\u0026 backgroundStatus === \u0027cancelled\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Parts/BashCall.tsx, client/src/components/Chat/Messages/Content/Parts/ExecuteCode.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":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"3485ba39520a1fc5bf9b75795b5465fbe16af111f6e81b4b3811cf1a63c1768d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backgroundHandle != null \u0026\u0026 backgroundStatus === \u0027error\u0027\u0060 appears character-identically in 3 files \u2014 client/src/components/Chat/Messages/Content/Parts/BashCall.tsx, client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx, packages/chat/src/core/parts/outcome.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":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c9bbd0aea4154875d25a012ed11fee4dbaeefaebb92484a7b8b3a6c2e575cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060backgroundHandle == null \u0026\u0026 backgrounded !== true\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Parts/BashCall.tsx, client/src/components/Chat/Messages/Content/Parts/ExecuteCode.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":"client/src/components/Chat/Messages/Content/Parts/BashCall.tsx"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a30633f669946b76fdc938f35c51fc9f8c2ac94bc708fe35dbae81ab98eedd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060batch.events.length \u003E= MAX_COALESCED_EVENTS || batch.bytes \u003E= MAX_COALESCED_BYTES\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/RedisEventTransport.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3e6a87da18fee1b23a5da490079ebdb080dc7c4578207994730056ed3d008d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bindingId == null || sourceKeyId == null\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/guard.ts, packages/api/src/agents/triggers/bindingResolver.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/guard.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae21f3679d2429ce59b61fedb0746595b96726e66d6666d2bc75fc4cf8e019f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060buffer[0] === 0xff \u0026\u0026 buffer[1] === 0xd8 \u0026\u0026 buffer[2] === 0xff\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/handlers.ts, packages/api/src/files/mime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1985}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed40037960413e7b0a7bdf675bb28a38101ac11fc99945ecb379820e8ed46b9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached != null \u0026\u0026 cached.expiresAt \u003E Date.now()\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/subagentActivity.ts, packages/api/src/auth/oidc.ts, packages/api/src/endpoints/reasoning.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentActivity.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3399cf64310573c4d8d34a3709a4fed8020b65a9fadb15cde60dd9987b3c94c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cached?.lastResponseAt != null \u0026\u0026 lastResponseAt \u003C cached.lastResponseAt\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useReplyWatcher.ts, client/src/utils/convos.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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d022a4f31eea40be017a2c7fa2570f7b0df7043f6c964dc5ef81c43e5ed702"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060capability != null \u0026\u0026 (await deps.hasCapability(user, capability))\u0060 appears character-identically in 5 files \u2014 packages/api/src/agents/deletion.ts, packages/api/src/agents/files.ts, packages/api/src/agents/reads.ts, packages/api/src/agents/updates.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/deletion.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcca72fb7a456f4b5e2e4ab124969dd1c2cabc626258b7fd14bf9100e108e99"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060category.label \u0026\u0026 category.label.startsWith(\u0027com_\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Agents/CategoryTabs.tsx, client/src/components/SidePanel/Agents/AgentCategorySelector.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":"client/src/components/Agents/CategoryTabs.tsx"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2c2492213f3d1d3ae96ebc3d435b6ac11689c8480fc78d5a107e566b294fde6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060channels?.length !== 3 || channels.some(Number.isNaN)\u0060 appears character-identically in 3 files \u2014 client/src/utils/markdown.ts, client/src/utils/mermaid.ts, client/src/utils/officePreview.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":"client/src/utils/markdown.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9969682bf53eec08fdfd51ed70e55f5c8cd48ea629612e74adfc2b38c893eaff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060codeCapabilityEnabled \u0026\u0026 (await toolRoleGrants)?.runCode === true\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":588}}}],"partialFingerprints":{"codehealthFindingId/v1":"f085e7f798f1b5ac37dcbf7da63241880c202ac0bccd597e8ea4f77d3aad6001"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060codeCapabilityEnabled || fileSearchCapabilityEnabled\u0060 appears character-identically in 3 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.js, api/server/services/Endpoints/agents/initialize.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa956769c2c441325bf875415db6642c1e047fe1f45fc535e78ce6f0cbf6d92a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060componentMapping[setting.component] != null \u0026\u0026 hasControl(setting)\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/ModelPanel.tsx, client/src/components/SidePanel/Parameters/Panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1d0893b1cf827c9517354581523c42ca26fbb9a4aeb98253aeb45ae359afa6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060config == null || typeof config !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/protection/detectors/pattern.ts, packages/data-schemas/src/config/parsers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65f6bfb68ea4927a1808203c894a81a6147a9c0e4a7c7af6e45f8031d0a8e0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060configured != null \u0026\u0026 configured.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/plugins/deployment.ts, packages/api/src/skills/deployment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/deployment.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"985f9e0fa7911220beb8bd8cdd85871417cd6b3c9bf6907ab65dfabfd7d58506"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectionState === \u0027disconnected\u0027 \u0026\u0026 requiresOAuth\u0060 appears character-identically in 2 files \u2014 client/src/components/MCP/MCPServerStatusIcon.tsx, client/src/components/MCP/mcpServerUtils.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":"client/src/components/MCP/MCPServerStatusIcon.tsx"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fe5c00be8c78fb52fa373efb25e1b6d7fc816d0397ebbde3f1684e34aba80b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connectionState === \u0027disconnected\u0027 || connectionState === \u0027error\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/MCP/MCPServerStatusIcon.tsx, client/src/components/MCP/mcpServerUtils.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":"client/src/components/MCP/MCPServerStatusIcon.tsx"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eecab6abb984a655f4e2b2b01e1bec7662ff7c3e2b339e37e13d7979b90c678"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversation.title || localize(\u0027com_ui_untitled\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Projects/ProjectChatList.tsx, client/src/hooks/Conversations/useReplyAlerts.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":"client/src/components/Projects/ProjectChatList.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"3394851f95198eb51816a04fa1f5db71528903af51040de07d992b6fe2683612"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId != null \u0026\u0026 conversationId !== \u0027new\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/AskUserQuestionProgress.tsx, client/src/hooks/Input/useAskAnswerMode.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":"client/src/components/Chat/Messages/Content/AskUserQuestionProgress.tsx"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e9112d2a337e358830cd9e0568ef3a7647c1a96b6a16560c5363af8b24cb86"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId != null \u0026\u0026 conversationId !== Constants.NEW_CONVO\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useTemporaryChat.ts, packages/chat/src/react/chat/turns.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":"client/src/hooks/Conversations/useTemporaryChat.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c28d153714e4f93dbc1d5a4cf79f9724d6d493b08579c53a8104019aeb3934"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId !== \u0027\u0027 \u0026\u0026 conversationId !== Constants.NEW_CONVO \u0026\u0026 conversationId !== Constants.PENDING_CONVO\u0060 appears character-identically in 2 files \u2014 client/src/data-provider/BackgroundTasks/queries.ts, client/src/data-provider/PullRequest/queries.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":"client/src/data-provider/BackgroundTasks/queries.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb38abc609dcb4d2ee7a24573302a810b669d8abea045e9e930932eba9a3ac56"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId \u0026\u0026 conversationId !== \u0027new\u0027\u0060 appears character-identically in 2 files \u2014 api/server/routes/agents/index.js, client/src/utils/endpoints.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":"api/server/routes/agents/index.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e80ea85a715691dafc4a579db92613cef6dcc6dc0d631fb43415ac14f48070f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId \u0026\u0026 conversationId !== Constants.NEW_CONVO\u0060 appears character-identically in 2 files \u2014 packages/api/src/utils/message.ts, packages/chat/src/core/chat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/message.ts"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d933341776242c073da6e18ae76fef89486f4abdc16b58075e0d984d08e6d85"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId == null || conversationId === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Schedules/ScheduleCard.tsx, client/src/data-provider/mutations.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":"client/src/components/SidePanel/Schedules/ScheduleCard.tsx"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"deec01292d3736b32c6829642f830c67c0bdb1599183a155efdf2739153e0dd9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId == null || conversationId === \u0027\u0027 || conversationId === Constants.NEW_CONVO\u0060 appears character-identically in 2 files \u2014 client/src/utils/drafts.ts, packages/chat/src/react/composer.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":"client/src/utils/drafts.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bfaeb2a21a37ecd7b6dca058c61e089df457b4575ef7535fd7f2bca996134bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060conversationId == null || conversationId === Constants.NEW_CONVO\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Input/useQueryParams.ts, packages/chat/src/react/messages/useMessageScrolling.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":"client/src/hooks/Input/useQueryParams.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a3afafaa43228d0900fa1d646b1792544e60e34b23829e95d4ad878cf7e19a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060creation?.phase === \u0027commentary\u0027 || creation?.phase === \u0027final_answer\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/activity.ts, packages/api/src/agents/activityPhases/runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"6163f2dbfd8e481a31078f829f0e0cb6cf3dd28e815bd7ce5db98355b5419552"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060creationAttemptId != null \u0026\u0026 (creationAttemptId.length === 0 || creationAttemptId.length \u003E 128)\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"95cc1530eaa127a5e74739518c217ded31b180a48aa7c3d82fa065dafda3b3e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060credentials \u0026\u0026 typeof credentials === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/endpoints/anthropic/llm.ts, packages/api/src/endpoints/google/llm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa99a3cd96e9c8362830566b64a20c03ac78e2fa2116661c3e405b389cf8c6a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ctx.langfuseConnectionAccess || ctx.langfusePromptSyncAccess === true\u0060 appears character-identically in 2 files \u2014 client/src/components/Nav/Settings/registry.tsx, client/src/components/Nav/Settings/types.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":"client/src/components/Nav/Settings/registry.tsx"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3097f8dc6082ab78fae26108d2fa2a25799890d820aff8208606a22b76e275f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != null \u0026\u0026 !settled.has(current)\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Trace/model.ts, packages/api/src/conversations/lineage.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":"client/src/components/Chat/Trace/model.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"b22a0357418b3ffafcbd79193a7575d97743b53072437ba52ea18d7b360d9ae4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current != null \u0026\u0026 !visited.has(current.messageId)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/view.ts, packages/chat/src/core/branch.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/view.ts"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7a7b1667ca1b23fbf62703de6eac5f38e6ce0c2f27cf036783bf0433f96c38"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current == null || seen.has(current.value)\u0060 appears character-identically in 2 files \u2014 packages/api/src/protection/adapters/submissions.ts, packages/api/src/protection/files.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"077bad4dcea5f81108655c317e986c7226da4b4ce6b377461eb0593e66be2d9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060current.value == null || typeof current.value !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/protection/adapters/nested.ts, packages/api/src/protection/files.ts, packages/api/src/shared-links/protection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/nested.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f5721e048d723df4c7abbe6434972b70eb99e0a42354de4789266d1a8e5538"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentJob?.status === \u0027running\u0027 || currentJob?.status === \u0027requires_action\u0027\u0060 appears character-identically in 2 files \u2014 api/server/routes/agents/index.js, packages/api/src/stream/GenerationJobManager.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":"api/server/routes/agents/index.js"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc35e40469e026b15255ba69c1945ebfada7388f56da605329a9e4b296ce2f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060data == null || typeof data !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 client/src/components/Skills/dialogs/UploadSkillDialog.tsx, client/src/utils/terms.ts, packages/chat/src/core/resumable/events.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":"client/src/components/Skills/dialogs/UploadSkillDialog.tsx"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ea9c6bbcde877339ecfdd75869f6816b310987151363df45182b1430a8e471"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deliveryPath !== \u0027provider\u0027 \u0026\u0026 isToolOwnedAttachment(file)\u0060 appears character-identically in 2 files \u2014 api/app/clients/BaseClient.js, packages/api/src/agents/files/encode.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":"api/app/clients/BaseClient.js"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ed338ad8e856a4a7fd21b39b645dea5439e2706928072a91ace744cd57fb6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deliveryPath == null || deliveryPath === \u0027text\u0027\u0060 appears character-identically in 2 files \u2014 api/app/clients/BaseClient.js, packages/api/src/agents/files/encode.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":"api/app/clients/BaseClient.js"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fe8da849f51e3e4cef71b90da4762f0c30086ee06fd8ee9f6f3327796da60c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060delta == null || typeof delta !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/GenerationJobManager.ts, packages/chat/src/core/resumable/events.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f8b12cef3ddf0a6db0a85b0f6691a8b48347def0b9078f5286030a2d305146e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060deps.isEmailAllowed \u0026\u0026 !(await deps.isEmailAllowed(user))\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/googleRefresh.ts, packages/api/src/auth/refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/googleRefresh.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"804cf1bf3ea5c8827c7133b63b91af076245d4c42c4ab3b45d8a53d29f545aec"}},{"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 client/src/components/Lia/Stage.tsx, client/src/components/UnifiedSidebar/Sidebar.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":"client/src/components/Lia/Stage.tsx"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae7355f540f247fec725fec6bd1d57e0027fe309aba88105632bf190db442c5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.key === \u0027Enter\u0027 \u0026\u0026 !(e.nativeEvent.isComposing || e.keyCode === 229)\u0060 appears character-identically in 2 files \u2014 client/src/components/Prompts/fields/PromptName.tsx, client/src/components/SidePanel/Parameters/DynamicTags.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":"client/src/components/Prompts/fields/PromptName.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"442b9cb414d80bdc2b47ac04eb3620a7f1858bdb27d8e9b1e4311fe7d6e6d8dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.nativeEvent.isComposing || e.key === \u0027Process\u0027 || e.keyCode === 229\u0060 appears character-identically in 4 files \u2014 client/src/components/Chat/Messages/Content/AskUserQuestion.tsx, client/src/components/Chat/Messages/Content/ToolApproval.tsx, client/src/components/Chat/approval/Review.tsx, client/src/hooks/Input/useAskAnswerMode.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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad73f2cbf0c277d04d9da5f68373d69443a9a7638557ec945810a8b6216be8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enableWebSearch === undefined \u0026\u0026 typeof value === \u0027boolean\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/endpoints/anthropic/llm.ts, packages/api/src/endpoints/google/llm.ts, packages/api/src/endpoints/openai/llm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2d063d7dae55280743d27444e2b3947f1a833c99a8abaa35c00135e4424c7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end \u003E 0 \u0026\u0026 /[\\uD800-\\uDBFF]/.test(input[end - 1])\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/activity.ts, packages/api/src/agents/view.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c9456130038335b073b6f78eb4d273a71cc200baf8f4140e63596b07d6c86e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint != null \u0026\u0026 !isAssistantsEndpoint(endpoint)\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useMultiConvo.ts, packages/chat/src/core/turns/build.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":"client/src/hooks/Conversations/useMultiConvo.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b2d1e1cfd7b9e8617cced41b7d21c14db43d7cbec8062c397c647686993a2f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060endpoint === EModelEndpoint.assistants || endpoint === EModelEndpoint.azureAssistants\u0060 appears character-identically in 3 files \u2014 client/src/components/Endpoints/EntityEndpointMark.tsx, client/src/components/Endpoints/MinimalIcon.tsx, client/src/hooks/Endpoint/useEndpoints.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":"client/src/components/Endpoints/EntityEndpointMark.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edd877918b2f5b80819b5ec50716ef8a92f63f8c2b9391cc106d4c7719a66b5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry == null || typeof entry !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/messages/parts.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/parts.ts"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e0147f1b2159f2e9c5fb04c6752bc9017d0060bb2e236f269c08e0f034cbff"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.includes(\u0027://\u0027) || entry.includes(\u0027/\u0027) || /\\s/.test(entry)\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/allowedAddresses.ts, packages/data-provider/src/config.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/allowedAddresses.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"beae6d319f9b62b9a6cf54d6509ff008f0504495cd2b8134111e0eab5d8a888e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060entry.isFile() \u0026\u0026 entry.name.endsWith(\u0027.json\u0027)\u0060 appears character-identically in 2 files \u2014 scripts/merge-locize-download.mjs, scripts/validate-locize-download.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/merge-locize-download.mjs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7710f854bd93dcb6c58efd507410f6ece8117a2864a0370d78553550e18f7a82"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060envValue \u0026\u0026 envValue.trim() !== \u0027\u0027 \u0026\u0026 envValue !== AuthType.USER_PROVIDED\u0060 appears character-identically in 2 files \u2014 api/server/services/Tools/credentials.js, packages/api/src/tools/format.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":"api/server/services/Tools/credentials.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a90a68f171ab2c67a5bb8386c77c3b9e7b94b272fe6291672930727ac6e51c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environment.id === controlPlaneId \u0026\u0026 environment.type === \u0027attached\u0027 \u0026\u0026 environment.owner === \u0027deployment\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/code/capabilities.ts, packages/api/src/code/http.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/capabilities.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"27208f9ea4df875bee9cc3c749d65fe11817f84819b6202b1fae36c28d68eec0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060environment.pairing?.allowPrincipalWorkers === true \u0026\u0026 environment.pairing.workerId == null \u0026\u0026 environment.workerId == null\u0060 appears character-identically in 4 files \u2014 packages/api/src/agents/execution.ts, packages/api/src/code/config.ts, packages/api/src/endpoints/config/endpoints.ts, packages/data-provider/src/config.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/execution.ts"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d317fc04c94fcaf26e7753cf9f106797e4b1b933ec90e72aec14acb3ee4027e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.message \u0026\u0026 err.message?.toLowerCase()?.includes(\u0027abort\u0027)\u0060 appears character-identically in 2 files \u2014 api/server/experimental.js, api/server/index.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":"api/server/experimental.js"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3f4e51570581f7158c25b8284e008b7e792c6335c251ba53070319c6cd5b3b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.message.includes(\u0027OpenAIError\u0027) || err.message.includes(\u0027ChatCompletionMessage\u0027)\u0060 appears character-identically in 2 files \u2014 api/server/experimental.js, api/server/index.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":"api/server/experimental.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5ccbb274efa271537678c66df741d930456e87001dbea68b0f9a26426b71bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err.stack \u0026\u0026 err.stack.includes(\u0027@librechat/agents\u0027)\u0060 appears character-identically in 2 files \u2014 api/server/experimental.js, api/server/index.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":"api/server/experimental.js"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"07131b5965aeed5e27dcc7be9260ea4de5cc7fd644ffa7e169b85fe1b3df0e8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error != null \u0026\u0026 typeof error === \u0027object\u0027\u0060 appears character-identically in 5 files \u2014 packages/api/src/agents/errors.ts, packages/api/src/agents/handlers.ts, packages/api/src/agents/openai/service.ts, packages/chat/src/core/resumable/start.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/errors.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"391c4590ef9f150a63e72518822045c90e22aec92f9f11642c30c3872f0067db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error \u0026\u0026 typeof error === \u0027object\u0027 \u0026\u0026 \u0027response\u0027 in error\u0060 appears character-identically in 3 files \u2014 client/src/components/Nav/Favorites/useFavoritesData.ts, client/src/components/SidePanel/MCPBuilder/MCPServerDialog/hooks/useMCPServerForm.ts, client/src/hooks/useFavorites.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":"client/src/components/Nav/Favorites/useFavoritesData.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f6a3a234cb29072dbf3ec607704cbc7409c6a13215806a71c3db2faab1b7d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error == null || typeof error !== \u0027object\u0027\u0060 appears character-identically in 11 files \u2014 client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx, client/src/data-provider/PullRequest/batch.ts, client/src/data-provider/Subagents/queries.ts, packages/api/src/agents/errors.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":"client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0f0fd18e4148056554f22620975917f09479bf3c82409651c26a4a308be57e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0027code\u0027 in error\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/marketplace.ts, packages/api/src/cache/keyvMongo.ts, packages/api/src/skills/upload.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/marketplace.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf7bbdbd3eff26d9d13ab30d4a6fc1982198614df8644b53d24850357056ada"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 \u0027code\u0027 in error \u0026\u0026 error.code === 11000\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/file.ts, packages/data-schemas/src/methods/skill.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a678271b8b3c3cdddd4d3aa8f5ac20da09775934d81d5486b88d591579f44f7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 (error.name === \u0027TimeoutError\u0027 || error.name === \u0027AbortError\u0027)\u0060 appears character-identically in 2 files \u2014 packages/api/src/langfuse/reader.ts, packages/api/src/langfuse/utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2c2726977b53ae2476bbb70f840e87673479545e2e83330e47d95918607400"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof Error \u0026\u0026 error.name === \u0027TimeoutError\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/admin/code.ts, packages/api/src/admin/langfuse.ts, packages/api/src/code/bridge.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc28a171c487c6856e73941834733e312f7cc6e9ee0e1be27d3a3f777c2dfeb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof OboTokenResolutionError \u0026\u0026 error.reason === \u0027missing_upstream_provider\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/oauth/obo.ts, packages/api/src/schedules/mcp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3deb8c09271f72a0905c04dbaab633ae44213cd22e010eb2f408314696c954"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ResourcePermissionsBusyError || error instanceof ResourcePermissionsUnavailableError\u0060 appears character-identically in 2 files \u2014 packages/api/src/admin/grants.ts, packages/api/src/assistants/author.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/grants.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"72628e000fcef32ad5586aacbcdd10f5a3363bee4a66df38d23937c705acdc79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ScheduledMCPBearerError || error instanceof ScheduledMCPPolicyError\u0060 appears character-identically in 2 files \u2014 packages/api/src/schedules/mcp.ts, packages/api/src/schedules/service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/mcp.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a527bae0dcb5e7d7249754ff9aaf49e14e293ff5a9a218a6c20c8dff3465c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error instanceof ServiceError \u0026\u0026 error.status === 404\u0060 appears character-identically in 2 files \u2014 packages/channel-gateway/src/app.ts, packages/channel-gateway/src/shared/app.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/app.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"67660e908f8e48777b4db3cf363853cdc98be1f024855e6d94b2549bdf36ab6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060error.message === \u0027Request closed\u0027 \u0026\u0026 completedRun\u0060 appears character-identically in 2 files \u2014 api/server/controllers/assistants/chatV1.js, api/server/controllers/assistants/errors.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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"625969800894e83663955dc88389ef3e7161c1cfa340a9eff56abe2b366da31a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.button !== 0 || event.ctrlKey || event.metaKey || event.shiftKey\u0060 appears character-identically in 4 files \u2014 client/src/components/Conversations/ProjectsSection.tsx, client/src/components/Nav/AgentMarketplaceButton.tsx, client/src/components/UnifiedSidebar/mobile/NewChat.tsx, client/src/hooks/Conversations/useNewChat.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":"client/src/components/Conversations/ProjectsSection.tsx"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a57004d64b2bf06f48e56b5f9844010a00ab97b9b6a1b9982b09b558da16ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.event === StepEvents.ON_MESSAGE_DELTA || event.event === StepEvents.ON_REASONING_DELTA\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/startup.ts, packages/chat/src/core/reducer.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/startup.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a629656416d8948ea1495c25bcfa30440c3851d7d48e5b75c61597b12a5173ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key !== \u0027ArrowUp\u0027 \u0026\u0026 event.key !== \u0027ArrowDown\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Conversations/PinnedSection.tsx, packages/chat/src/components/composer/steering/Queue.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":"client/src/components/Conversations/PinnedSection.tsx"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc5ba368a7e3d60c20edbc6227c1fcd4a1808217e1a03e2947f9d66a8a119b1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key !== \u0027Escape\u0027 || event.defaultPrevented\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Trace/Viewer.tsx, packages/chat/src/components/subagents/panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Trace/Viewer.tsx"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7139ccc4328023d4b8dbe7916b9b7c0274b1b05083c10dc2c8c640be93b898c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.key === \u0027Enter\u0027 || event.key === \u0027 \u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/PullRequest/RowMark.tsx, client/src/components/Nav/SettingsTabs/Data/ImportConversations.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":"client/src/components/Chat/PullRequest/RowMark.tsx"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"962256265b9869371052537952b8566857e9ea71f5cfd7386e3ffa52314f5267"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.target instanceof Node \u0026\u0026 disclosureRef.current?.contains(event.target) === true\u0060 appears character-identically in 2 files \u2014 packages/chat/src/components/composer/bar/Thinking.tsx, packages/chat/src/components/composer/usage/Popover.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Thinking.tsx"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9ce9e30939f64c97d49a914a976da4fc729952712f3f4c5e1338cd928c6e489"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060event.target.files \u0026\u0026 event.target.files.length \u003E 0\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/Code/Files.tsx, client/src/components/SidePanel/Agents/FileSearch.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":"client/src/components/SidePanel/Agents/Code/Files.tsx"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"491239789f1d4bc1b5b41fe388ee30d17fd1262cd3ee28f3ef0b34c7af044d8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing == null || typeof existing !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/middleware/modelBoundContent.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d5026ea0906794276b233a87165b8d9dadf8d668d0776c50572d4ff81cbce5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existing?.inspectionFailed !== true || existing.updatedAt !== stubUpdatedAt\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts, packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e01fa3596495edd1ed96e3fa826da0142d82f35c32b915bf08a8126c86314d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060existingUser \u0026\u0026 existingUser.twoFactorEnabled\u0060 appears character-identically in 2 files \u2014 api/server/controllers/TwoFactorController.js, api/server/controllers/UserController.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":"api/server/controllers/TwoFactorController.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a57df0ee80c3155f0fd954839f9f6553c8332a7afeb8c1c84428d6fab7cbc4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expectedPredecessorCreatedAt != null \u0026\u0026 (!Number.isSafeInteger(expectedPredecessorCreatedAt) || expectedPredecessorCreatedAt \u003C 0)\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef9d600e6c07fd20402da3902a8d6b8d0e275e9e7c5efda6082fc6a4f6b8af8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expectedUpdatedAt != null \u0026\u0026 existing.updatedAt !== expectedUpdatedAt\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts, packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"942125e8261fe5b250542ce3a68d8a0b47d0c2059d545741e06ba32bdd87f4a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060expiredAt instanceof Date \u0026\u0026 !Number.isNaN(expiredAt.getTime())\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/conversation.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3cb95aad5e4ac2180ac7f0e464e9731755fca105638ef77d71ae72098f8299"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fields.imageOutputType || EImageOutputType.PNG\u0060 appears character-identically in 2 files \u2014 api/app/clients/tools/structured/GeminiImageGen.js, api/app/clients/tools/structured/OpenAIImageTools.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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"9227385735539062adc194cddb241711f17c32d9e10e8058c45d0d82ce6fa7b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fields.resolvedInstructions != null \u0026\u0026 existing.resolvedInstructions != null\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts, packages/api/src/mcp/registry/cache/ServerConfigsCacheRedisAggregateKey.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ServerConfigsCacheInMemory.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c09ac927514b76372f8a5fb044193f536eb68cd274015328485d8b43d5fde105"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file != null \u0026\u0026 typeof file === \u0027object\u0027 \u0026\u0026 \u0027file_id\u0027 in file \u0026\u0026 typeof file.file_id === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/queuedTurnHttp.ts, packages/api/src/agents/steering/request.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"630b9383bbef2f107dcfd1db34a82782e1ee95faca02679d169119907b9a5632"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file == null || typeof file !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/middleware/modelBoundContent.ts, packages/api/src/stream/SteerRecovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"f997a0d188406cc9d6f8de09344e02d916657833125d2e3ff9b090c5b33fcde4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.attached !== true \u0026\u0026 file.progress \u003C 1 \u0026\u0026 isMarkedPaste\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useNewChat.ts, client/src/hooks/useNewConvo.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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea9453b81d4f0cd68449f790bae84c0ddf114d3e5701e6d31fba967fd195a70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.embedded === true \u0026\u0026 source !== FileSources.vectordb\u0060 appears character-identically in 2 files \u2014 packages/api/src/files/orphan.ts, packages/api/src/files/storage.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/orphan.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b9a9bcee393f2e436afd4a5c25004642a3cd8420680f5da5fafb3a2c836a41"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.metadata?.codeEnvRef != null || file.metadata?.codeEnvRefs != null\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Files/usePastedTextEdit.ts, packages/api/src/files/orphan.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":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"4940abe11bb7b20e5882e13695db0f175e3f2823b266555f776d2f48d1771073"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.metadata?.searchDestination !== undefined || file.metadata?.routingMimeType !== undefined\u0060 appears character-identically in 2 files \u2014 packages/api/src/projects/resources.ts, packages/data-schemas/src/methods/file.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/resources.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"829dd3a3c988a02724bb23862463d478e7bfd465fdd5a5eeb79f529362746553"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.progress \u003C 1 \u0026\u0026 !isInlineablePastedText(file)\u0060 appears character-identically in 4 files \u2014 client/src/components/Chat/Input/ChatForm.tsx, client/src/utils/files.ts, packages/chat/src/components/composer/files/FileRow.tsx, packages/chat/src/react/chat/turns.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":"client/src/components/Chat/Input/ChatForm.tsx"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de8c47dc5e5ffd40db4206b261c2f80aae7893f1c4c51537b5666850ef28f97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060file.temp_file_id != null \u0026\u0026 file.temp_file_id !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 client/src/hooks/Conversations/useNewChat.ts, client/src/hooks/Files/usePastedTextEdit.ts, client/src/hooks/Input/useAutoSave.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":"client/src/hooks/Conversations/useNewChat.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ff2572ca62e30b75d052feef95a9d503a3c5cd88a28489ae5697dfe5864211"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileConfig.stt?.supportedMimeTypes || []\u0060 appears character-identically in 2 files \u2014 api/server/services/Files/process.js, packages/data-provider/src/file-config.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":"api/server/services/Files/process.js"},"region":{"startLine":1143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9386868a4392d644fc40605272a9a605b4e2547e0cd1ffc84fea0d813b8f742f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileConfig.text?.supportedMimeTypes || []\u0060 appears character-identically in 2 files \u2014 api/server/services/Files/process.js, packages/data-provider/src/file-config.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":"api/server/services/Files/process.js"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6c90099beb045b20d7f805d1df02d12523e9e1b46909ba51966283ad21acd4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileMap != null \u0026\u0026 cached.fileMap === fileMap \u0026\u0026 cached.hydrated\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/thread.ts, packages/data-provider/src/messages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/thread.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"5256c2167d4a4b8e6ed4d727eb9e45acac1a7f381aeb9a160659da9318584363"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileRelevance != null || (filePages \u0026\u0026 filePages.length \u003E 0)\u0060 appears character-identically in 2 files \u2014 client/src/components/Web/Citation.tsx, client/src/components/Web/SourceHovercard.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":"client/src/components/Web/Citation.tsx"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1f87998c35c769f5f3de01bc65633db0125a2b8ab4e5fe691b5e2592d5e6bd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fileSearchCapabilityEnabled \u0026\u0026 (await toolRoleGrants)?.fileSearch === true\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8259e58c488867f84fea3badffc1775d8fa834bf160b6c68d659b0b07287f43"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fill != null \u0026\u0026 fill.key === key \u0026\u0026 fill.generation == null\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/registry/cache/ReadThroughAllCache.ts, packages/api/src/mcp/registry/cache/ReadThroughCache.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/cache/ReadThroughAllCache.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eced4bca73ad2cf29af2db2b384210e03bf41ea30a9cc3a556821bcef07476"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060first == null || typeof first !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/AskUserQuestionProgress.tsx, packages/data-schemas/src/tenant/probe.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":"client/src/components/Chat/Messages/Content/AskUserQuestionProgress.tsx"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ded4fb71f51e27a2366bffc17f69da7cd0306a3e68f18cc188b45f1f97027e2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060fullMatch != null \u0026\u0026 fullMatch.includes(\u0027/\u0027)\u0060 appears character-identically in 2 files \u2014 packages/api/src/utils/tokens.ts, packages/data-schemas/src/methods/test-helpers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokens.ts"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"48db43751f9e40e127378d18f1e7004a5aaa25ff6242f90bfa2ae11e52e1aa70"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generationCreatedAt != null \u0026\u0026 (!Number.isSafeInteger(generationCreatedAt) || generationCreatedAt \u003C 0)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/resume.js, api/server/routes/agents/index.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":"api/server/controllers/agents/resume.js"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85f763d1240d9d329a433b4c98da70bbacac730342383136ac0d5fe3a9ebeb7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generationCreatedAt != null \u0026\u0026 job.createdAt !== generationCreatedAt\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/resume.js, api/server/routes/agents/index.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":"api/server/controllers/agents/resume.js"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d3d1a8d762f9e247229ef40f7c450a6cea20484f0e35b7acac90b7b4283e98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generationProtocolVersion === 1 || confirmedV2Terminal\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/resumable/ceiling.ts, packages/chat/src/core/resumable/missing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf166171768e5b62a34e743f7a95de054120fd2c703f6a2277d73ba29a3b7c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060generationProtocolVersion === GENERATION_PROTOCOL_VERSION \u0026\u0026 supportsGenerationProtocolV2(status)\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/resumable/ceiling.ts, packages/chat/src/core/resumable/missing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"643d7ffe9fda04384978af3f200282a3d59957adadae8f10e3f1ffb1f9889e9f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060getPlainDescription(agent.description).trim() || localize(\u0027com_agents_description_empty\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Agents/AgentCard.tsx, client/src/components/Agents/AgentDetailContent.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":"client/src/components/Agents/AgentCard.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b39f059e5fc7e2dfa75873470f408f36da126c03442248ed601eabceed42ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060group.author !== user?.id \u0026\u0026 Boolean(group.authorName)\u0060 appears character-identically in 2 files \u2014 client/src/components/Prompts/display/PromptDetailHeader.tsx, client/src/components/Prompts/lists/ChatGroupItem.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":"client/src/components/Prompts/display/PromptDetailHeader.tsx"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbfc787caa6bc442a8476abc0b5754e49c53e542ff6c24856a971753d73b86c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasActiveFilePolicy(req.config?.filters) || hasActivePiiPatterns(req.config?.messageFilter?.pii)\u0060 appears character-identically in 2 files \u2014 api/server/routes/files/files.js, api/server/routes/files/images.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":"api/server/routes/files/files.js"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"68365b421c2ebb9ae11325d2e860d979417fd36c4c428ea3d8a65c436bf8e79b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hasCodeEnvRef \u0026\u0026 source !== FileSources.execute_code\u0060 appears character-identically in 2 files \u2014 packages/api/src/files/orphan.ts, packages/api/src/files/storage.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/orphan.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fa610913190d1769caa55fde69136ebdbd5cc64915df6182ba7b05470533b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAgentsEndpoint(endpoint.value) || isAssistantsEndpoint(endpoint.value)\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx, client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.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":"client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"886a3e80748e4a9facf488ca2a25c194f269debdbd96fc8049b7d5c88394a242"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isAskUserQuestionPart(part) \u0026\u0026 (part as unknown as AskUserQuestionPart)[ASK_USER_QUESTION].actionId === actionId\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/parts/questions.ts, packages/chat/src/core/pending.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/questions.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"e49def4e78248097abc96329dc2909baa924cc8aec1216786b5215d6d7a41327"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isBarVisible \u0026\u0026 isExpanded \u0026\u0026 !headerInViewport\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx, client/src/components/Chat/Messages/Content/Parts/Thinking.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":"client/src/components/Chat/Messages/Content/Parts/Reasoning.tsx"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f97519a1876d1420a43200e844c88affa331d235166d3741eb54c148c1b3aa5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCancellable(serverName) || hasPendingOAuth\u0060 appears character-identically in 2 files \u2014 client/src/components/MCP/ServerInitializationSection.tsx, client/src/hooks/MCP/useMCPServerManager.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":"client/src/components/MCP/ServerInitializationSection.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"179e69f297e3157ea847fc38c4e66102cbf67033ab58031845119f12a1535099"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCreatedByUser \u0026\u0026 !enableUserMsgMarkdown \u0026\u0026 \u0027whitespace-pre-wrap\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/MessageContent.tsx, packages/chat/src/components/Text.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":"client/src/components/Chat/Messages/Content/MessageContent.tsx"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a25fe5e47d665f0698022e8ca5e234aa6ecda544a939f0236ca0b95e6612ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCreatedByUser \u0026\u0026 collapseLongUserMessages\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/MessageContent.tsx, packages/chat/src/components/Text.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":"client/src/components/Chat/Messages/Content/MessageContent.tsx"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c314674c60150f15cb41c6e3c0a73c204f49a7f7726add6f58efa79cabdf7db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isCurrentModular \u0026\u0026 isNewModular \u0026\u0026 shouldSwitch\u0060 appears character-identically in 3 files \u2014 client/src/hooks/Conversations/usePresets.ts, client/src/hooks/Input/useQueryParams.ts, client/src/hooks/Input/useSelectMention.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":"client/src/hooks/Conversations/usePresets.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9a1780b876b786102c4940e5c6c1fac613d113a27627ea113af297c1e405e2d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isDesktopOnly \u0026\u0026 \u0027[display:var(--data-table-desktop-display,table-cell)]\u0027\u0060 appears character-identically in 2 files \u2014 packages/client/src/components/DataTable/DataTable.tsx, packages/client/src/components/DataTable/DataTableComponents.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.tsx"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18bb67fdb1ce815b1869db388d9c19bc868e077b8b5fb173d83434665442691"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isDocumentSupportedProvider(endpointType) || isDocumentSupportedProvider(currentProvider) || isAzureWithResponsesApi\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Input/Files/DragDropModal.tsx, client/src/hooks/Input/useAttachItems.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":"client/src/components/Chat/Input/Files/DragDropModal.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e7eb9b10ed07b4a9874a00533c42c4baa10ff292886ea3fca026f1ba446e9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isMenuOpen \u0026\u0026 \u0027bg-surface-hover-alt text-text-primary\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Projects/ProjectChatOptions.tsx, client/src/components/Projects/ProjectsView.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":"client/src/components/Projects/ProjectChatOptions.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5b613b843097ff70f3d7db47aefa45d61c19393d241f5f205ed240bde96c26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isPaginated \u0026\u0026 hasMore \u0026\u0026 data.length \u003E 0 \u0026\u0026 normalizedLimit\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/agent.ts, packages/data-schemas/src/methods/prompt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/agent.ts"},"region":{"startLine":2593}}}],"partialFingerprints":{"codehealthFindingId/v1":"db92ae4b9da64f05521d5e205f9902c5b5cd35a77a293ae2b35c451be0a662d3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isParentActive(parentJob) \u0026\u0026 !ownsParent\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/subagentCompletionWakeup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"278fb49af040cec826c76fff537934de584faf4681788678307610783fb17295"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isSpeakingState || (isLast \u0026\u0026 globalIsPlaying)\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Audio/useTTSBrowser.ts, client/src/hooks/Audio/useTTSExternal.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":"client/src/hooks/Audio/useTTSBrowser.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59ee5e08c7b89082b7874f2e4ca535a9b5b2a0e1ffa41af2e5bb1eb71fea178"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item == null || typeof item !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/client.ts, packages/api/src/agents/responses/service.ts, packages/chat/src/core/parts/questions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4d254c901942cc4801172ab7c1277f65d8f5d51969c11f6c32cf1c9587a163"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.type !== \u0027message\u0027 || item.role !== \u0027assistant\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/persistence.ts, packages/api/src/channels/responses.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/persistence.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"275a18f95429cdddefefeb450ce077cc3e87034b0751e42ff5e47211b36a8e0b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060item.type === \u0027function_call\u0027 || item.type === \u0027function_call_output\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/segments.ts, packages/api/src/agents/responses/stored.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/segments.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"426697087576522db1bbe1a1e835d98921981dab8be89ff07f981a97b8227c30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.metadata?.tenantId != null \u0026\u0026 job.metadata.tenantId !== user.tenantId\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/resume.js, api/server/routes/agents/index.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":"api/server/controllers/agents/resume.js"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db07bd91e18e3287b551fbefc823dba4d4080f2565154ba111dccde4eb67bb9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.providerDrained === false || job.terminalPersistencePending === true || job.terminalHostActionPending === true\u0060 appears character-identically in 2 files \u2014 packages/api/src/schedules/erasure.ts, packages/api/src/stream/implementations/InMemoryJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"e434bcd3ad1f1319ea6bb8e417dd3416985c556c2e5e1a0174df3945abf1ff6b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job.status === \u0027requires_action\u0027 \u0026\u0026 isPendingActionStale(job) \u0026\u0026 !( includeUndrained \u0026\u0026 (job.providerDrained === false || job.terminalPersis\u2026\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"af44b30cf3033b2a2189bb368ef70dcf4e34177e0cefa6d139369d9fc0b6ca0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job?.status === \u0027running\u0027 || job?.status === \u0027requires_action\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/subagentCompletionWakeup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8dfbc34103f2c67cf30f8c93a97507c615e942e52fa2430054395d736d633cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job?.status === \u0027running\u0027 || job?.status === \u0027requires_action\u0027 || job?.metadata?.terminalPersistencePending === true\u0060 appears character-identically in 4 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/queuedTurns.ts, packages/api/src/agents/subagentCompletionWakeup.ts, packages/api/src/code/http.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"67db5512bf9f5c0de1a629099df36bb06e6772a5541c5c6beb11dc5d568726ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060job?.userId === userId \u0026\u0026 (job.tenantId == null || job.tenantId === tenantId)\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea25ec45882dbb7d97014c5480cf3d559f8978150a90dbade49a0edba097ba0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060jsonSchema != null \u0026\u0026 typeof jsonSchema === \u0027object\u0027 \u0026\u0026 jsonSchema.type === \u0027object\u0027 \u0026\u0026 (jsonSchema.properties == null || Object.keys(jsonSc\u2026\u0060 appears character-identically in 2 files \u2014 api/server/services/MCP.js, packages/api/src/mcp/zod.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":"api/server/services/MCP.js"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"42818628e275e4977cbb4ffc0b108a3884427faba622f9e480454d16b539b30f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060listWidth === 0 || listWidth === measuredWidthRef.current\u0060 appears character-identically in 2 files \u2014 client/src/components/Conversations/Conversations.tsx, client/src/routes/Search.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":"client/src/components/Conversations/Conversations.tsx"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8136b02a710de3314f6b69ea2a846ddea180fd6923d93a18159f3f43bef9b61b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060llmDeliveryPath == null || llmDeliveryPath === file.llmDeliveryPath\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/files/delivery.ts, packages/api/src/agents/files/encode.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files/delivery.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"860f2a4d3486f2b2d9aeb926026e341b7fca3b522227019d92c83726e005db9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060major \u003E 2 || (major === 2 \u0026\u0026 minor \u003E= 5)\u0060 appears character-identically in 2 files \u2014 packages/api/src/endpoints/google/llm.ts, packages/api/src/endpoints/google/youtube.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"219f57ef59109bfdc10fe55d8941ca18d68e3ec9efb133e3a6e3cb13368c43af"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message == null || typeof message !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/checkpointer.ts, packages/api/src/agents/convoPersistence.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"c72d34d7d22464c28d479185c30f53a3998b0ec395753e5833c42a59307c2c4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.content \u0026\u0026 message.content.length \u003E 0\u0060 appears character-identically in 2 files \u2014 client/src/utils/messages.ts, packages/chat/src/core/content.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":"client/src/utils/messages.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb0764d2b7f2a934b26dd884440afee523df910a286daf5426950717775d23b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.includes(\u0027timed out\u0027) || message.includes(\u0027timeout\u0027) || message.includes(\u0027econnreset\u0027) || message.includes(\u0027socket hang up\u0027) || mess\u2026\u0060 appears character-identically in 2 files \u2014 api/server/services/OboTokenService.js, packages/api/src/mcp/oauth/obo.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":"api/server/services/OboTokenService.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea44a094957983673337a4c736f2997ae548234e1820d34b8ebd9471cb4f4240"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060message.isCreatedByUser === false \u0026\u0026 reachesAnchor(message)\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/queuedTurns.ts, packages/api/src/agents/subagentCompletionWakeup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab59d190220bd5c9abfd2267393848b7f3ecfa62407b4e5b4f4e4271b551d0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messages == null || messages.length === 0\u0060 appears character-identically in 2 files \u2014 client/src/components/Share/ShareView.tsx, packages/chat/src/react/usage.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":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6736be49fe1f55e1aa0bdc1e52ae5d6a6f31516e9c6a1c793c56a2cf9816d6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060messagesKey || conversation?.conversationId || undefined\u0060 appears character-identically in 2 files \u2014 packages/chat/src/react/chat/actions.ts, packages/chat/src/react/chat/chat.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/chat/actions.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ee27036c915be4e371655af91c876d482b56d357d4541ce2aec98c3b4bec08"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelSpecs === config.modelSpecs \u0026\u0026 !agentsChanged\u0060 appears character-identically in 2 files \u2014 packages/api/src/app/references.ts, packages/api/src/app/service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/references.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d424445308b79c84bfa61c6a1d12ecfc83af39eea6e9acee20dd43e0b3df1b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060name === \u0027set_memory\u0027 || name === \u0027delete_memory\u0027\u0060 appears character-identically in 3 files \u2014 client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx, packages/chat/src/core/parts/mapping.ts, packages/chat/src/core/parts/outcome.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":"client/src/components/Chat/Messages/Content/ToolOutput/ToolIcon.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e38f56d5932fb4c607e635160ce9b22882cbe93a6e5072fc0ee6837e7f482dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.language || navigator.languages?.[0]\u0060 appears character-identically in 2 files \u2014 client/src/components/Share/ShareView.tsx, client/src/store/language.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":"client/src/components/Share/ShareView.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05d4b785db01a3159235b70ae3c50790db0974e51cecd7df3a1874b53eb51b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060navigator.language || navigator.languages?.[0] || \u0027en-US\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Nav/Settings/controls.tsx, client/src/components/Share/ShareView.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":"client/src/components/Nav/Settings/controls.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7a9f4027b2c39e00d9eb8eb296f8f44c69408c072fcd171c19d4bd5abcb8df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060nextCharacter \u003E= 48 \u0026\u0026 nextCharacter \u003C= 57 \u0026\u0026 /\\d$/.test(lowerKey)\u0060 appears character-identically in 2 files \u2014 packages/api/src/utils/tokens.ts, packages/data-schemas/src/methods/test-helpers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokens.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4b50927510b140d85c125c4153ca18a0483b5c83b37cbc16b8510457e79ff3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.type === \u0027definition\u0027 || node.type === \u0027footnoteDefinition\u0027\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/parts/splitMarkdown.ts, scripts/readme/lib.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/splitMarkdown.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64f2586990607228f69d09760f630a42a4427cd30bacba74c366d5eb1de727"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060obj[key] \u0026\u0026 typeof obj[key] === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 api/server/services/Files/Audio/STTService.js, api/server/services/Files/Audio/TTSService.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":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"73946434e05d14ba94a15d8b1281ad5381ad30f44754b0950628c12bbd42f5f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060openai.locals?.azureOptions \u0026\u0026 updateData.model\u0060 appears character-identically in 2 files \u2014 api/server/controllers/assistants/v1.js, api/server/controllers/assistants/v2.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":"api/server/controllers/assistants/v1.js"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a962a1956b648d3ea0a178b12498a6f813d1f91902c764ed90f04747edcf1d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.addParams \u0026\u0026 typeof options.addParams === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/endpoints/anthropic/llm.ts, packages/api/src/endpoints/google/llm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"100400ef5a9e652b268d4377977cf37ab925393557f49d3058e1a2f0c4e3aa22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.defaultParams \u0026\u0026 typeof options.defaultParams === \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/endpoints/anthropic/llm.ts, packages/api/src/endpoints/google/llm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e04435246f1787d2a8d6803fd352a6de4e4cbbff7d916484017ca577da7545d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.dropParams \u0026\u0026 Array.isArray(options.dropParams)\u0060 appears character-identically in 2 files \u2014 packages/api/src/endpoints/anthropic/llm.ts, packages/api/src/endpoints/google/llm.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/anthropic/llm.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"a50a6c20510088dc3b33a450cf862ebfe6290652e57c0cc8e54c6828d9e94fb6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060options.userId \u0026\u0026 Types.ObjectId.isValid(options.userId)\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/googleRefresh.ts, packages/api/src/auth/refresh.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/googleRefresh.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3054f8c97d5c5cf309d02bbf88a46a3acaca3926229cef233eb4e17e23fe1b7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060overlayConfig \u0026\u0026 requiresEphemeralUserConnection(overlayConfig)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/added.ts, packages/api/src/agents/load.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"b80103be28fcd7e7cf71998848fe9a514f1d6c8eb2bf0f6304505e9aabbe0018"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060owner == null || getSessionPrincipal() !== owner\u0060 appears character-identically in 2 files \u2014 client/src/data-provider/Favorites.ts, client/src/data-provider/Projects/mutations.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":"client/src/data-provider/Favorites.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e4bef21f056a71f85565eaae941a7f6e731ea49a46c2b679c61b812d794b1a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060param != null \u0026\u0026 !dropParamsSet.has(param.key)\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/parameters.ts, client/src/components/SidePanel/Parameters/Panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/parameters.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa049b84b6978808775cc2d2936fa5a920fcfbf0e385c0c46ef94e0104107fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parent != null \u0026\u0026 reachesAnchor(parent, visiting)\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/queuedTurns.ts, packages/api/src/agents/subagentCompletionWakeup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bb6ce12b1efd2fd43834c88fedf3217a995caeddc2443ff72c707f151b2e2c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentAgentId == null || parentAgentId === \u0027\u0027 || isEphemeralAgentId(parentAgentId)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/subagentCompletionWakeup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b7126d6f78f1c96f53420f2ba245b7dd5a8a05c5edc799f0c4fbac8cb743a2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentMessage \u0026\u0026 parentMessage.isCreatedByUser\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/turns/regenerate.ts, packages/chat/src/react/chat/helpers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/turns/regenerate.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ce3649b3c3ab4c39b91aec700b4e8032baf7777a7328cf313604df313a1969"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parentMessageId === Constants.NO_PARENT \u0026\u0026 !_thread_id\u0060 appears character-identically in 2 files \u2014 api/server/controllers/assistants/chatV1.js, api/server/controllers/assistants/chatV2.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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"467cd03383d44f43899a7481f3576a36298f428ec7ed0fc67b59cf025df90163"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseFloat(getComputedStyle(document.documentElement).fontSize) || 16\u0060 appears character-identically in 2 files \u2014 client/src/components/Agents/GridSkeleton.tsx, client/src/components/Agents/VirtualizedAgentGrid.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":"client/src/components/Agents/GridSkeleton.tsx"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e1fefd5bde553dc923febaedb90f390e50ed23231bda7d6e96e838f7ed1a0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parseJsonField(args, \u0027path\u0027) || parseJsonField(args, \u0027file_path\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx, client/src/components/Chat/Messages/Content/Parts/ReadFileCall.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":"client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fad09a124a1eb012441537c85a90e363438eaaf5f37a65f652b5dfbdec548a7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed != null \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 3 files \u2014 client/src/utils/files.ts, packages/api/src/agents/hitl/answers.ts, packages/api/src/agents/intent.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":"client/src/utils/files.ts"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4b714d6f4dff14b970853b8dd9eb85397d62ba3d122cfdda0001a4d0138707d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed \u0026\u0026 typeof parsed === \u0027object\u0027 \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/handlers.ts, packages/chat/src/core/subagents/content.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"609861f31168d456a18b3e5134c8ca5df0b1d4646bbca43be02276900016b3ca"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed == null || typeof parsed !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/app/invalidation.ts, packages/chat/src/react/subagents/prompt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/invalidation.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd9c7ed75b6dc90852ada0d8323b4cfa6a1f7912df7e5ad42cb9b79c9c4f2a0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed == null || typeof parsed !== \u0027object\u0027 || Array.isArray(parsed)\u0060 appears character-identically in 4 files \u2014 client/src/components/Chat/Trace/preview.ts, packages/api/src/agents/failures/terminal.ts, packages/api/src/agents/subagentThreads.ts, packages/api/src/agents/triggers/outcome.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":"client/src/components/Chat/Trace/preview.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"289031c865dc17719ec0dab076c7dc2d9f8d7ca48f72470b963ea8f26cf378ee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060parsed.protocol !== \u0027http:\u0027 \u0026\u0026 parsed.protocol !== \u0027https:\u0027\u0060 appears character-identically in 2 files \u2014 client/src/utils/mcpApps.ts, packages/api/src/web/web.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":"client/src/utils/mcpApps.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f84728fd5b8b01d2687e24fa854d81f71b6417222fa5abe2f1f6fc171a997b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part != null \u0026\u0026 !isEmptyContentPart(part)\u0060 appears character-identically in 2 files \u2014 packages/chat/src/components/subagents/conversation.tsx, packages/chat/src/react/chat/status.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/subagents/conversation.tsx"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"5037cab2f0eaab03091a9506f2b3094d84039083d3abdc8f161f35d3f5ffa011"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part == null || typeof part !== \u0027object\u0027\u0060 appears character-identically in 10 files \u2014 api/app/clients/BaseClient.js, packages/api/src/endpoints/google/youtube.ts, packages/api/src/messages/parts.ts, packages/api/src/middleware/modelBoundContent.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":"api/app/clients/BaseClient.js"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"d540a4f04ca576cc856ea9c2ec6128fa73b131529c22804e237179a16dbd272d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part == null || typeof part !== \u0027object\u0027 || Array.isArray(part)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/service.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"09377194c1849c8af24c37707f8474bffd9d2aef8018b6eea2ccaa83bcdb294e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part?.type !== ContentTypes.ACTIVITY_LABEL || part.activity_label_type === \u0027phase\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/activityLabels/wiring.ts, packages/api/src/agents/activityPhases/runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcaabedeab52bc88a594f9f85269344a4d7082249e91170db14723a419d057f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060part[ContentTypes.AGENT_UPDATE]?.agentId || undefined\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/ContentParts.tsx, client/src/components/Chat/Messages/Content/SearchContent.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":"client/src/components/Chat/Messages/Content/ContentParts.tsx"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b525ce1403f0a97573bc230b1ae97f262eee6f10c9e0c5ea03475a7b2124eef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060patch.field === AgentCapabilities.execute_code \u0026\u0026 patch.value === false\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx, client/src/components/SidePanel/Agents/Tools/ToolsSection.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":"client/src/components/SidePanel/Agents/Tools/ToolsMarketplaceDialog.tsx"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"615e2c935a1c56c06c2af614b9fded184cf1083da294fa0c6453d159111a358a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload \u0026\u0026 typeof payload === \u0027object\u0027 \u0026\u0026 \u0027scheduleMCPIdentity\u0027 in payload\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/subagentCompletionWakeup.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"2340f89d5f11271b46191c931e105514bee7b44075e614e7c32b3bb106af084e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload == null || typeof payload !== \u0027object\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/triggers/host.ts, packages/chat/src/core/resumable/errors.ts, packages/chat/src/core/resumable/events.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0d7513263d718952ead75de8dd219a35897dcd92bc1ad8b5f09e5300482620"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060payload == null || typeof payload !== \u0027object\u0027 || Array.isArray(payload)\u0060 appears character-identically in 5 files \u2014 packages/api/src/agents/backgroundCompletionWakeup.ts, packages/api/src/agents/queuedTurns.ts, packages/api/src/agents/subagentCompletionWakeup.ts, packages/api/src/agents/tasks.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/backgroundCompletionWakeup.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"838064a9c8204546e7540de1d73a905f13edb4965783a8c92814b402f447b3cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pending.length \u003E 0 \u0026\u0026 visitedNodes \u003C CONTENT_TRAVERSAL_MAX_NODES\u0060 appears character-identically in 2 files \u2014 packages/api/src/protection/adapters/submissions.ts, packages/api/src/shared-links/protection.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"1903fe6612d366a121f3290cc8e3d6c131ba7fdb9fb7178d3399d420bd00e8f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060persistedMessages \u0026\u0026 (generationProtocolVersion === 1 || confirmedV2Terminal)\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/resumable/ceiling.ts, packages/chat/src/core/resumable/missing.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3274766df4168e267d2cd5643e2c2cf5e22195d2e080a8cef1c721326aac7a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060phase === \u0027commentary\u0027 || phase === \u0027final_answer\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/activityPhases/runtime.ts, packages/api/src/agents/subagentContent.ts, packages/chat/src/core/subagents/content.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1635860e080648bdacb9f2ff28a27377297c5f326553a1af177ff90a545dd32"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pii.fields == null || pii.fields.includes(field)\u0060 appears character-identically in 2 files \u2014 packages/api/src/files/code/preflight.ts, packages/api/src/protection/files.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/preflight.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c8265ed802b198429fc02f296f8e56c6d1f4e478ff98bdfdd026de57638951"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060primaryConfig.edges?.length || primaryHasGraphSubagents\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"872e7cfe02095f81efd18066a47eb91a2b64ac7a9334cf4269a16eeac6ef5faf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060primaryConfig.model || agent.model_parameters?.model\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"293fefc7007de4f398760a88b3c533346bd3fb53229c4b23f3d1d02822c6687d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060principalId \u0026\u0026 principalType === PrincipalType.ROLE\u0060 appears character-identically in 2 files \u2014 api/server/services/PermissionService.js, packages/api/src/acl/accessControlService.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":"api/server/services/PermissionService.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc94225583b7e9f59e9981f0326185cac6caa0e8cb2dc6b1bf6e2fc63978b12e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060principalType !== PrincipalType.PUBLIC \u0026\u0026 !principalId\u0060 appears character-identically in 2 files \u2014 api/server/services/PermissionService.js, packages/api/src/acl/accessControlService.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":"api/server/services/PermissionService.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d8981200a5f78a00dc3e1139b7d4107d3c3148e209d9f16256f7333ac23abb0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.ALLOW_EMAIL_LOGIN === undefined || isEnabled(process.env.ALLOW_EMAIL_LOGIN)\u0060 appears character-identically in 2 files \u2014 api/server/routes/config.js, packages/api/src/middleware/email.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":"api/server/routes/config.js"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a22d9c1219f95a560b9168f47a7ee607dba41322a1bf7ab3494affb8fbdece9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.ALLOW_SHARED_LINKS === undefined || isEnabled(process.env.ALLOW_SHARED_LINKS)\u0060 appears character-identically in 2 files \u2014 api/server/routes/config.js, api/server/routes/share.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":"api/server/routes/config.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2dbb303511b3f97f0423a36b0e5a13ee619b4c978feed1d4faf5b251a83e3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DOMAIN_CLIENT || \u0027http://localhost:3080\u0027\u0060 appears character-identically in 3 files \u2014 api/server/services/ChannelAuthority.js, api/server/services/Channels.js, packages/api/src/middleware/error.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ChannelAuthority.js"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa44782600626ff772918ef8d4cf4a8fc5bf4ecf5437f3dca5a7202a9b4c708"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DOMAIN_CLIENT || process.env.DOMAIN_SERVER || \u0027http://localhost:3080\u0027\u0060 appears character-identically in 3 files \u2014 api/server/services/SlackDispatch.js, api/server/services/SlackWorkspaceBindings.js, api/server/services/SlackWorkspaces.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":"api/server/services/SlackDispatch.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"03357ca95b08e47fe1e0f80a71e231f55dda8e969c83245993e8fe0fda3ef0b3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.DOMAIN_SERVER || \u0027http://localhost:3080\u0027\u0060 appears character-identically in 6 files \u2014 api/server/routes/config.js, api/server/services/ActionService.js, api/server/services/SlackDispatch.js, api/server/services/SlackWorkspaceBindings.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":"api/server/routes/config.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c3aae2d9e3219301cbc239402217f814523049bfc30e97c2c3390a045d46e0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.GOOGLE_SERVICE_KEY_FILE || path.join(process.cwd(), \u0027api\u0027, \u0027data\u0027, \u0027auth.json\u0027)\u0060 appears character-identically in 2 files \u2014 api/app/clients/tools/structured/GeminiImageGen.js, packages/api/src/endpoints/google/initialize.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":"api/app/clients/tools/structured/GeminiImageGen.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c3aaef124a952ab1b07422e674ac3912a34d31fe3bf7397260aad1c3ff76f2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.IMAGE_GEN_OAI_MODEL || \u0027gpt-image-2.5-flare\u0027\u0060 appears character-identically in 2 files \u2014 api/app/clients/tools/structured/OpenAIImageTools.js, packages/api/src/tools/toolkits/oai.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":"api/app/clients/tools/structured/OpenAIImageTools.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d8e9e3bb4f47b63e72fde840331305f19d763e80dd2b4ef4c471e2e2eb30816"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.LDAP_URL \u0026\u0026 process.env.LDAP_USER_SEARCH_BASE\u0060 appears character-identically in 2 files \u2014 api/server/experimental.js, api/server/index.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":"api/server/experimental.js"},"region":{"startLine":671}}}],"partialFingerprints":{"codehealthFindingId/v1":"45be1df24b735f75a675a2d4e61c0eba03ea432836e7e4d41aea2bb245d7956d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060process.env.MEILI_HOST \u0026\u0026 process.env.MEILI_MASTER_KEY\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/models/convo.ts, packages/data-schemas/src/models/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/convo.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6928e41437087076ac0e82c68049000e2b5fb22b77cf726e4fa0fd5c300b96c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060projectId != null \u0026\u0026 /^[a-f\\d]{24}$/i.test(projectId)\u0060 appears character-identically in 3 files \u2014 client/src/hooks/Input/useSelectMention.ts, client/src/routes/ChatRoute.tsx, client/src/utils/convos.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":"client/src/hooks/Input/useSelectMention.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"531448ca940e645b28f4d67a9a4d08ebdb42027468bdaa87ba0190ef36495186"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol !== \u0027http:\u0027 \u0026\u0026 protocol !== \u0027https:\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/agent.ts, packages/api/src/auth/domain.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/agent.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7478f34735b276e028cc7cc81cfec7bfd5b68f25da4ff85712013c4e348f637"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol !== \u0027ws:\u0027 \u0026\u0026 protocol !== \u0027wss:\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/connection.ts, packages/data-provider/src/mcp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf8eeff54004ef34400c427f9accfbe16cf4855df33fa0358af219e5b2ca37b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol === \u0027http:\u0027 || protocol === \u0027ws:\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/domain.ts, packages/api/src/utils/proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ee067bd23e0d50deb594c949dd8224ad1f5e214490b7ad07856e126796ad33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol === \u0027https:\u0027 || protocol === \u0027wss:\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/domain.ts, packages/api/src/utils/proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/domain.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d0afc46ef069cff11ea117afdf7bf6efa847f8cd8c2dce3b85768543540ed7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060protocol === \u0027ws:\u0027 || protocol === \u0027wss:\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/connection.ts, packages/data-provider/src/mcp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"abcd577cc99e51f6793d9053175a54311362137c4583bdc24bd7a1f096fbaf8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060prototype === Object.prototype || prototype === null\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/config/parsers.ts, packages/data-schemas/src/methods/skill.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e04052bcd98a20dc995e51aeecc832d0e9a6f75c80fbb9e3ca369f622213af2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060provider === Providers.GOOGLE || provider === Providers.VERTEXAI\u0060 appears character-identically in 9 files \u2014 packages/api/src/agents/activityLabels/host.ts, packages/api/src/agents/initialize.ts, packages/api/src/endpoints/google/errors.ts, packages/api/src/files/encode/audio.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbccee2b1a0c107529b6093324153be9035a8d31c8c9cd5e22575b93709fa28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060providerExecutionId != null \u0026\u0026 (providerExecutionId.length === 0 || providerExecutionId.length \u003E 128)\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"54145620912106cb60befd13e9cf34f921f587fea6a556934efafaf3087aac24"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060pullRequest != null \u0026\u0026 Number.isSafeInteger(pullRequest) \u0026\u0026 pullRequest \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/api/src/pulls/bitbucket.ts, packages/api/src/pulls/github.ts, packages/api/src/pulls/gitlab.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"00413e62b64386d757f9fc320e0606dd5ece6c7e39de794d781dc4f4f316baeb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receipt.status === \u0027applied\u0027 || receipt.status === \u0027rejected\u0027 || receipt.status === \u0027failed\u0027\u0060 appears character-identically in 2 files \u2014 client/src/data-provider/Subagents/queries.ts, packages/data-schemas/src/methods/message.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":"client/src/data-provider/Subagents/queries.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1546e50ad8a078cb5596ceef7f2e0327bdd597d8f27145d08c5186023f7a4853"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receipt.status === \u0027queued\u0027 || receipt.status === \u0027claimed\u0027\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/steer/receipts.ts, packages/chat/src/react/stream/resume/successor.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/receipts.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a5617b9b2c33ab4bcc2be60bce164a9087d93e81152c17db49fd16ac26bfef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060recovery \u0026\u0026 recovery !== awaitedRecovery\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/MCPManager.ts, packages/api/src/mcp/UserConnectionManager.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fad62f45ba29b838c50aa56b410d0f7f991203b96cd531a3fae50a56752243"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060redirectTo \u0026\u0026 isSafeRedirect(redirectTo)\u0060 appears character-identically in 2 files \u2014 client/src/components/Auth/TwoFactorSetupScreen.tsx, client/src/hooks/AuthContext.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":"client/src/components/Auth/TwoFactorSetupScreen.tsx"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0fa203812ec7392223c6d7508dac58900956b8b85d432afb641d8123552d0e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rejectActivePredecessor != null \u0026\u0026 typeof rejectActivePredecessor !== \u0027boolean\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9c923df5d62166d015dc86c243e608330806c0fc7bc731c64c30cef0f5ecdf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.cookies.lang || req.headers[\u0027accept-language\u0027]?.split(\u0027,\u0027)[0] || \u0027en-US\u0027\u0060 appears character-identically in 2 files \u2014 api/server/experimental.js, api/server/index.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":"api/server/experimental.js"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"368ed154354e2634cb6671a36aab8a9697344ac1440329fa7235f498c75e8548"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060req.user \u0026\u0026 \u0027id\u0027 in req.user \u0026\u0026 typeof req.user.id === \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/stored.ts, packages/api/src/channels/service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/stored.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebf776d4c690a361ef9e14f4fd0b5f72a26e01c760d0fbf320cd7dc2260bc9a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060res.destroyed === true \u0026\u0026 res.writableEnded !== true\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, packages/api/src/agents/responses/runtime.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"212a1517b0b29bbd8ecca366962bc4c66766f017dbf95b97bc25abdf323a92b6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resource?.file_ids \u0026\u0026 Array.isArray(resource.file_ids)\u0060 appears character-identically in 2 files \u2014 api/server/routes/files/files.js, api/server/services/Files/permissions.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":"api/server/routes/files/files.js"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"961d2983e7bd230fdeeca2c97907860c37ed1a6c06f66e32ec2ca80442dd13c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response.status === 404 || absent.includes(response.status)\u0060 appears character-identically in 2 files \u2014 packages/api/src/pulls/bitbucket.ts, packages/api/src/pulls/gitlab.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d4b80973f0e084d4a18e4fb3d5a14a15bfdd327fb9fa6818b5157b58b2e31c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result == null || typeof result !== \u0027object\u0027 || !(\u0027tool_call\u0027 in result)\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/responses/service.ts, packages/api/src/stream/GenerationJobManager.ts, packages/chat/src/core/resumable/events.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/service.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b174801b4938075093f01b3378459fce319807f76ca51746ba74e56ba0ab29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060result.status === \u0027accepted\u0027 \u0026\u0026 result.controlId != null\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/subagentTaskRouting.ts, packages/api/src/agents/subagentThreads.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10d242dd15fbaf0e0387f1f316f10b1159ecb14712d07cbce336c64ca8832e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060role === \u0027system\u0027 || role === \u0027developer\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/middleware/modelBoundContent.ts, packages/api/src/protection/adapters/messages.ts, packages/api/src/protection/adapters/nested.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"b81dcfaa5a85d64193fc98b25286b98a389afddbd4537df0ac0d571abba79470"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060root !== QueryKeys.allConversations \u0026\u0026 root !== QueryKeys.pinnedConversations \u0026\u0026 root !== QueryKeys.conversation\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Conversations/useUnseenConversations.ts, packages/chat/src/react/messages/useConversationSeen.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":"client/src/hooks/Conversations/useUnseenConversations.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa1ba12ae49e9c2710291dc4915cf3a04282452b391d4f5e8aefa4230f3ded6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060row.status === \u0027running\u0027 || row.status === \u0027stopping\u0027\u0060 appears character-identically in 3 files \u2014 client/src/components/Chat/BackgroundTasks/Button.tsx, client/src/components/Chat/BackgroundTasks/Card.tsx, client/src/components/Chat/BackgroundTasks/rows.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":"client/src/components/Chat/BackgroundTasks/Button.tsx"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f92ec56d64f913305a63af3b907f69e638b66626daa88c48e8470573945d74"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060scheduleSuspensionToken != null \u0026\u0026 !userDeleted\u0060 appears character-identically in 2 files \u2014 api/server/controllers/UserController.js, config/delete-user.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":"api/server/controllers/UserController.js"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd5a1a4e30f98b6ab06335659e4f2a78ea00fdc1ae753c5e29ab0a79066effc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segment !== \u0027\u0027 \u0026\u0026 segment !== \u0027.\u0027 \u0026\u0026 segment !== \u0027..\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/code/workspace.ts, packages/api/src/files/code/form.ts, packages/api/src/skills/sync/github.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74cafcdbffcb814f50bfcc39e0bf330a251bdb445d03c92733de853ed224744"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segments.length \u003E 0 \u0026\u0026 index !== undefined\u0060 appears character-identically in 2 files \u2014 client/src/components/MCPUIResource/plugin.ts, client/src/components/Web/plugin.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":"client/src/components/MCPUIResource/plugin.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce25169bd2a9db8b191a7c391a271e083f57bd0fb3d5b2b9fc69991e1bb525b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060selected(\u0027file_name\u0027) || selected(\u0027file_text\u0027)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/handlers.ts, packages/api/src/agents/initialize.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"9253e430083e57cb91ec9662f2e94ded1fa35f14f7bada2c00bbde4bec95a3b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060server.config?.title || server.serverName\u0060 appears character-identically in 5 files \u2014 client/src/components/MCP/MCPServerMenuItem.tsx, client/src/components/MCP/mcpServerUtils.ts, client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.tsx, client/src/components/SidePanel/MCPBuilder/MCPServerCard.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":"client/src/components/MCP/MCPServerMenuItem.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8b603e13a39c3926819cf5dc998f1db7b1efaf56fb271e423421617c077d3a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060setting.key === \u0027region\u0027 \u0026\u0026 bedrockRegions.length \u003E 0\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/ModelPanel.tsx, client/src/components/SidePanel/Parameters/Panel.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/ModelPanel.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdff99e554b86bd8cfc14e85ff37450b8a84e879138c0f045caaba144261de34"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sidebarExpanded \u0026\u0026 !location.pathname.startsWith(\u0027/insights\u0027)\u0060 appears character-identically in 3 files \u2014 client/src/Providers/AgentPanelContext.tsx, client/src/components/Prompts/sidebar/GroupSidePanel.tsx, client/src/components/SidePanel/MCPBuilder/MCPBuilderPanel.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":"client/src/Providers/AgentPanelContext.tsx"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbfcd94248b3158f0ebc0799db37ba3001b1a433fb63971f2b6fcbec3b41d356"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060signal != null \u0026\u0026 typeof AbortSignal.any === \u0027function\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/activityPhases/runtime.ts, packages/api/src/agents/reasoningLabels/runtime.ts, packages/api/src/code/workspace.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec46d04d93c34227f3ffba872b13593131973b35a4ff16416b25065bd8a6af1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060sortDirection === \u0027asc\u0027 || sortDirection === \u0027desc\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/projects/handlers.ts, packages/api/src/utils/query.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a05b07ac6607ca2a043bd1f60929deb15fc0791c0d7402991223721636db14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source == null || typeof source !== \u0027object\u0027 || !Object.prototype.hasOwnProperty.call(source, segment)\u0060 appears character-identically in 2 files \u2014 packages/api/src/middleware/modelBoundContent.ts, packages/api/src/protection/provenance.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/modelBoundContent.ts"},"region":{"startLine":976}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e5101888b1de69e6d35b4136b75699500448898ddcf7178082a760f1c3068c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060source === FileSources.s3 || source === FileSources.cloudfront\u0060 appears character-identically in 2 files \u2014 api/server/routes/share.js, client/src/data-provider/Files/queries.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":"api/server/routes/share.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d9eb5337397297c07937c2acd443073316ec0f2970cf392c658646480e0ef9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060startupConfig != null \u0026\u0026 startupConfig.interface?.mascot !== false\u0060 appears character-identically in 2 files \u2014 client/src/components/Lia/index.tsx, client/src/components/Nav/Settings/context.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Lia/index.tsx"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5a307612d667f24545095705cd6e0e89e7596b2b285792fa0164248fcba4582"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status != null \u0026\u0026 status \u003E= 400 \u0026\u0026 status \u003C 500 \u0026\u0026 status !== 408 \u0026\u0026 status !== 429\u0060 appears character-identically in 2 files \u2014 client/src/data-provider/Agents/queries.ts, packages/chat/src/react/subagents/stream.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":"client/src/data-provider/Agents/queries.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72601580cb60fc18bd3ebe833384cd9e06ddd7eba4098f0e62f64788dc03b6d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0027expired\u0027 || status === \u0027error\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/AskUserQuestion.tsx, client/src/components/Chat/approval/Review.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":"client/src/components/Chat/Messages/Content/AskUserQuestion.tsx"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"1632001fd4d62698e567d2975776ee7c83e1f24f205ad6923c30e97d4204cc6c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0027failed\u0027 || status === \u0027interrupted\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/BackgroundTasks/rows.ts, packages/chat/src/react/subagents/status.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/rows.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3545bf5b4b1ec4b601a1d2facfee5698d3cdeba22cea652cf45fef21de803c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0027running\u0027 || status === \u0027dispatched\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/BackgroundTasks/rows.ts, packages/chat/src/react/subagents/status.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/BackgroundTasks/rows.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"af4ff9868623e76906ea8d9453cec88d405b1e231bf887c3c6df30463028f819"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status === \u0027submitting\u0027 || status === \u0027submitted\u0027 || status === \u0027expired\u0027\u0060 appears character-identically in 6 files \u2014 client/src/components/Chat/Messages/Content/ApprovalContext.tsx, client/src/components/Chat/Messages/Content/AskUserQuestion.tsx, client/src/components/Chat/Messages/Content/ToolApproval.tsx, client/src/components/Chat/approval/Review.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":"client/src/components/Chat/Messages/Content/ApprovalContext.tsx"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2966d982d4b3760b050bbeb5c80abb734c65087891c49748e89b34744fdb8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060status?.active === true \u0026\u0026 status.createdAt != null \u0026\u0026 (generationCreatedAt == null || status.createdAt !== generationCreatedAt)\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/resumable/ceiling.ts, packages/chat/src/core/resumable/reconcile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/ceiling.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaeb703bde27491b38c3ceacd04b842352dcd9607a5a758cee45cb0e3e8a7e89"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060steer.preempt === true \u0026\u0026 steer.status !== \u0027failed\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx, packages/chat/src/components/composer/steering/Queue.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":"client/src/components/Chat/Messages/Content/Parts/PendingSteers.tsx"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"988fb1b4028bdc4b6cd602ac8339b396151a9562216bb11fc449fe9f93a351b9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stepDetails != null \u0026\u0026 typeof stepDetails === \u0027object\u0027 \u0026\u0026 \u0027tool_calls\u0027 in stepDetails \u0026\u0026 hasOAuthToolCall(stepDetails.tool_calls)\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/GenerationJobManager.ts, packages/chat/src/core/resumable/events.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"0905832a5d3c3f611759d40c1cd9487d34b00d9d58d506eeff6b0edede65714c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060stream.data == null || stream.data === \u0027\u0027\u0060 appears character-identically in 3 files \u2014 client/src/components/Chat/Messages/Content/MarkdownComponents.tsx, client/src/components/Chat/Messages/Content/Parts/LogLink.tsx, client/src/components/Web/Sources.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":"client/src/components/Chat/Messages/Content/MarkdownComponents.tsx"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc4fbfae00a80ea9c4731ccef0444acbcd2d83f292870c7f545841997114acc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subagentType == null || subagentType === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 packages/chat/src/react/subagents/author.tsx, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/author.tsx"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa6014cec18c5d4baf1b5357f9a0e54bc497f4b954c36d3bc943ebd797fb7a7c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tenantId \u0026\u0026 tenantId !== SYSTEM_TENANT_ID\u0060 appears character-identically in 9 files \u2014 packages/api/src/admin/partition.ts, packages/api/src/app/permissions.ts, packages/api/src/auth/codeapi.ts, packages/api/src/shared-links/config.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/partition.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc7348d977b13abde598d141e5a8327a96991f228cec2431ba0ebb01354e7d5e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tokenset.refresh_token || existingRefreshToken\u0060 appears character-identically in 2 files \u2014 api/server/services/AuthService.js, packages/api/src/auth/openid/recovery.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":"api/server/services/AuthService.js"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54485781efe2794092703e01863967b0edf52be890a4f9f707c7adcc03c7f8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tool == null || typeof tool !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/initialize.ts, packages/api/src/mcp/assistants.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"03ab2a26d0f9add96a37f16618c54804f28827ea26ff933df5aa2d403b20cc77"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolCall != null \u0026\u0026 typeof toolCall === \u0027object\u0027 \u0026\u0026 \u0027name\u0027 in toolCall\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/GenerationJobManager.ts, packages/chat/src/core/resumable/events.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58baaca6c2b75713f4c4cad7f08de57edaa348aa17357253bd87393b23cba02"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolCall \u0026\u0026 toolCall?.function \u0026\u0026 !(toolCall?.function?.output || toolCall?.function?.output?.length)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/assistants/chatV1.js, api/server/controllers/assistants/errors.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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ccbfd1ab6f69b69ea267a4f0ea8903090f07df6624b62bdfbca094894bfaa4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolCall.type == null || toolCall.type === \u0027tool_call\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/messages/parts.ts, packages/api/src/messages/previews.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/parts.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"feded87a9374a486013b71e4bfd7d3616c26edfd8d5fd61de0d98cffb4bfab8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolCall.type === ToolCallTypes.FUNCTION \u0026\u0026 ToolCallTypes.FUNCTION in toolCall\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Part.tsx, packages/chat/src/core/parts/outcome.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":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bec163a46f4218279027e0abf1a75dd74a456fe775690cee43f23069d5778de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060toolCall.type === ToolCallTypes.RETRIEVAL || toolCall.type === ToolCallTypes.FILE_SEARCH\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/Part.tsx, packages/chat/src/core/parts/outcome.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":"client/src/components/Chat/Messages/Content/Part.tsx"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad86c95f5fe07167e8846413948df76be9293d41b4368730f5f7709b0849bbad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060transports.includes(\u0027usb\u0027) || transports.includes(\u0027nfc\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/hooks/Auth/usePasskey.ts, packages/api/src/auth/passkey.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":"client/src/hooks/Auth/usePasskey.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"6020aa3d8cd969fbe2f6002352ff5d711ccf09f9eb5cf9e1610530a6c160bac9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060turn.status !== \u0027queued\u0027 \u0026\u0026 turn.status !== \u0027claimed\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/queuedTurnHttp.ts, packages/api/src/agents/steering/promotion.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8cb924910805ffc086350990ed11f076efa86d9cd802017e0cf98a3f1a3204"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060txData.rawAmount != null \u0026\u0026 isNaN(txData.rawAmount)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/transactions.ts, packages/data-schemas/src/methods/transaction.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/transactions.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a41d6a9573e15d7da6d2d47a00046f2e0f7a83be546e14ca92c2a0e61642d8f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof Buffer !== \u0027undefined\u0027 \u0026\u0026 Buffer.isBuffer(value)\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/config/parsers.ts, packages/data-schemas/src/utils/object-traverse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf43a76ee5afeedaa7e2d1296b49d5e7a11e0954ee4be5d55a160718681f251"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof LOG_TO_FILE !== \u0027string\u0027 || LOG_TO_FILE.toLowerCase() !== \u0027false\u0027\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/config/meiliLogger.ts, packages/data-schemas/src/config/winston.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/meiliLogger.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2acb7b4b53bb3efe00e2b99ab8e54cb6533cee6760bcde6460e3127e367dae1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof MutationObserver === \u0027undefined\u0027 || typeof document === \u0027undefined\u0027\u0060 appears character-identically in 2 files \u2014 packages/client/src/components/DataTable/DataTable.hooks.ts, packages/client/src/hooks/useRemScale.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.hooks.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c36ad1378b9ea0c89331b7fdc4d3313ae64ebb2d14eb11039a70ce913fb24d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof action?.name === \u0027string\u0027 \u0026\u0026 isStatefulCodeEnvironmentToolName(action.name)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/client.js, packages/api/src/agents/hitl/capture.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":"api/server/controllers/agents/client.js"},"region":{"startLine":4470}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6edf9ca4d09c1eb5ad9373d782aaba58ddba8522af952ed39dbcc0e2caea537"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof agentId === \u0027string\u0027 \u0026\u0026 agentId.length \u003E 0\u0060 appears character-identically in 3 files \u2014 api/server/controllers/agents/client.js, packages/api/src/agents/handlers.ts, packages/data-schemas/src/utils/fading.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":"api/server/controllers/agents/client.js"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad2f9fefc5ce2fc399fc01605af001d6913f686ed2effe4275613e75df7ac98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof args !== \u0027string\u0027 || args.length === 0\u0060 appears character-identically in 3 files \u2014 packages/api/src/protection/adapters/messages.ts, packages/chat/src/core/parts/parseJsonField.ts, packages/chat/src/core/subagents/content.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/messages.ts"},"region":{"startLine":1427}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f4467ff7e8d01dad7e6729d6eff340b2c26d154da33ad766655bd17adca316"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof args === \u0027object\u0027 \u0026\u0026 args !== null\u0060 appears character-identically in 4 files \u2014 client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx, client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx, packages/chat/src/core/parts/parseJsonField.ts, packages/chat/src/core/steps/tools.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":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f313cd5ee246d34198057a37415b05afe55d440591dc9e6f77faebb6644b30da"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof args === \u0027object\u0027 \u0026\u0026 args !== null \u0026\u0026 !Array.isArray(args)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/intent.ts, packages/chat/src/core/parts/approval.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/intent.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"034dbc29fb9754619628a7f672308ab81f90b25cffb8623face8b7ef417bb7a1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof at === \u0027number\u0027 \u0026\u0026 Number.isFinite(at) \u0026\u0026 at \u003E= 0\u0060 appears character-identically in 3 files \u2014 packages/chat/src/core/stream/state.ts, packages/chat/src/core/stream/timing.ts, packages/chat/src/core/subagents/content.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/stream/state.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"f07816e6265ac761d666e95a741beabd365142055eda80b2f8bfb3608f5cd9ea"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof block?.text === \u0027string\u0027 \u0026\u0026 block.text.trim().length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/utils/content.ts, packages/data-provider/src/messages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/content.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8f71f8be47fb69391f745a2b02174c365d80d9862dbddb411522f9b05738e8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof checkpointNamespace === \u0027string\u0027 \u0026\u0026 checkpointNamespace !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/request.js, api/server/controllers/agents/resume.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":"api/server/controllers/agents/request.js"},"region":{"startLine":2923}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07a21d81abc23bcafadf88b3225ec047bdd2e74f6ccab5cdfce07b90c258976"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof code === \u0027string\u0027 \u0026\u0026 code.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/errors.ts, packages/api/src/agents/triggers/host.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/errors.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc8ae31634181013fe021a75f6adfb641db6a2058523eed013dc9947b178fdd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof content === \u0027string\u0027 || content == null\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/hitl/protection.ts, packages/api/src/protection/adapters/messages.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/protection.ts"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dcf49f2f31c45a08976d29408d7b27569f4c4a762b68f2395db9e405292242"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof conversationId !== \u0027string\u0027 || conversationId === \u0027\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/conversation.ts, packages/api/src/conversations/archive.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/conversation.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9609e2e55163f154faaaf4871c2880b03d36c4bbe4e14647e548ecee866f6b88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof conversationId === \u0027string\u0027 \u0026\u0026 conversationId !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/convoPersistence.ts, packages/api/src/projects/context.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/convoPersistence.ts"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5ff1ccb7ab520916739c91e59ede085ffac6f37df2cdc93ba180f96f2d4379"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof current !== \u0027object\u0027 || current === null\u0060 appears character-identically in 2 files \u2014 packages/api/src/files/operations.ts, packages/data-schemas/src/methods/agent.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"e621b066b6c4ddc819d8cfeec1e182e921b4fe6f2994c01d02cde718fa7b5c2e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof decision?.reason === \u0027string\u0027 \u0026\u0026 decision.reason.length \u003E 0\u0060 appears character-identically in 2 files \u2014 api/server/middleware/moderateText.js, packages/api/src/protection/adapters/chat.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":"api/server/middleware/moderateText.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5adcb895b09816da3b338046d7aeddf1887f7e5b0a78e7b41b56d83a5e8b92e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof decision?.responseText === \u0027string\u0027 \u0026\u0026 decision.responseText.length \u003E 0\u0060 appears character-identically in 2 files \u2014 api/server/middleware/moderateText.js, packages/api/src/protection/adapters/chat.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":"api/server/middleware/moderateText.js"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2c8ad857eaf2067f1da8fe35709f78ab18ad6807333dccb9354531a823bfcf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof defaultValue === \u0027undefined\u0027 || !(defaultValue as string).length\u0060 appears character-identically in 3 files \u2014 client/src/components/SidePanel/Parameters/DynamicInput.tsx, client/src/components/SidePanel/Parameters/DynamicTags.tsx, client/src/components/SidePanel/Parameters/DynamicTextarea.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":"client/src/components/SidePanel/Parameters/DynamicInput.tsx"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab98c609d1ef7fab7f5ef6c04ab5fe34b1d5888f9c09e6e8923f87be070211a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof document === \u0027undefined\u0027 || typeof getComputedStyle !== \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 client/src/utils/breakpoints.ts, packages/client/src/utils/remScale.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":"client/src/utils/breakpoints.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e20b58ff826e0758c47d80af560057f44dcc7c95c894df09203d9f78053f8c1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry === \u0027string\u0027 \u0026\u0026 entry.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/config/requestLogContext.ts, packages/data-schemas/src/methods/skill.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/requestLogContext.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c301373593e2f9f9ec2e2ff221d9b7b70642700725bd71e2b2d54b543d161fc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof entry[1] === \u0027string\u0027 \u0026\u0026 entry[1] !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 client/src/lib/rum/useRum.ts, packages/data-provider/src/api-endpoints.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":"client/src/lib/rum/useRum.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b40e2a754c8926055206fde5ee6185671fde7549a6adbd4bf3bf196de923373"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error !== \u0027object\u0027 || error == null\u0060 appears character-identically in 2 files \u2014 packages/api/src/files/encode/utils.ts, packages/chat/src/components/messages/Fork.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/utils.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdd434754c421359b1d14e03bd41fa3a33afac66468f756be3df6488fa1ed5ce"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof error === \u0027object\u0027 \u0026\u0026 error != null \u0026\u0026 \u0027code\u0027 in error \u0026\u0026 error.code === 11000\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/browserSetup.ts, packages/data-schemas/src/methods/codeEnvironment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/browserSetup.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f1127222e2978b8ed5731a9cdcf4566aaa1020dd7ce4e2e4e60cdea160051dd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof failure === \u0027object\u0027 \u0026\u0026 failure !== null \u0026\u0026 \u0027code\u0027 in failure\u0060 appears character-identically in 2 files \u2014 client/src/utils/channelErrors.ts, packages/data-provider/src/data-service.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":"client/src/utils/channelErrors.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69cf1ee05335eeb7de0bbee4060fc24641d0f5271592ebe19deade985321289"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof file.file_id === \u0027string\u0027 \u0026\u0026 file.file_id.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/steer/drain.ts, packages/chat/src/react/steering/enqueue.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/steer/drain.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c48f597bd48bb8a1a7a645d72b54a9f929731d3c43330588e7dc490ef7feb14e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof file.text === \u0027string\u0027 \u0026\u0026 file.text.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/attachments.ts, packages/data-provider/src/resolve-llm-delivery-path.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/attachments.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef20de6d3ddae4c6e0c972e49cd97b93174c1d8a745625655034084b68e3450a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof file?.file_id === \u0027string\u0027 \u0026\u0026 file.file_id.length \u003E 0\u0060 appears character-identically in 3 files \u2014 api/app/clients/BaseClient.js, packages/api/src/agents/hitl/protection.ts, packages/api/src/middleware/modelBoundContent.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":"api/app/clients/BaseClient.js"},"region":{"startLine":872}}}],"partialFingerprints":{"codehealthFindingId/v1":"25319597aa5d25f0cec3b831aee1f6ef90fd1bf165ac632248aeded27487352a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof fileId !== \u0027string\u0027 || fileId.length === 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/projects/handlers.ts, packages/api/src/stream/SteerRecovery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/handlers.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c22bd77775fb0dc5686980588702812f8ea1e424f26fcbfa2bbe6e8acf83c18"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof fileId === \u0027string\u0027 \u0026\u0026 fileId.length \u003E 0\u0060 appears character-identically in 5 files \u2014 api/server/controllers/agents/client.js, packages/api/src/agents/initialize.ts, packages/api/src/agents/steering/media.ts, packages/api/src/middleware/modelBoundContent.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":"api/server/controllers/agents/client.js"},"region":{"startLine":2889}}}],"partialFingerprints":{"codehealthFindingId/v1":"03d195c9028936e9dfeae1f1f941c70ee30941b71aac2ae5c50118f588e807f0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id === \u0027string\u0027 \u0026\u0026 id \u0026\u0026 id !== agent.id\u0060 appears character-identically in 2 files \u2014 api/server/services/Endpoints/agents/initialize.js, packages/api/src/agents/hitl/inspection.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":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d14e667246b550445b07bdcff0c3ae104597a08cd558e1fb600d266fb0675df8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof id === \u0027string\u0027 \u0026\u0026 isValidObjectIdString(id)\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/conversation.ts, packages/data-schemas/src/methods/prompt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":3869}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ed9fefbcca86996d64c7b8d7694123007790bbb33c16fa8dfd034c31fd37fb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof index !== \u0027number\u0027 || index \u003C 0 || part == null\u0060 appears character-identically in 2 files \u2014 packages/chat/src/core/parts/activityLabels.ts, packages/chat/src/core/steer/steer.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/activityLabels.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb6a9d7b570a85a20ff0f7e83bcb4dcee056532cd1d87e5e9cafbeb956107c94"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof isTemporary === \u0027boolean\u0027 || interfaceConfig.generalChatRetention === undefined\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/conversation.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2561}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b0c24d1f49f9f17d2414a372f65efcf074ad63b8164a30f958fe9e5aae74a4e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof message === \u0027string\u0027 \u0026\u0026 message.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/triggers/host.ts, packages/api/src/utils/errors.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b28f171079d944299994504dd85f76e439bfe6befb8dd20e2f113032dbd72f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof messageId !== \u0027string\u0027 || messageId.length === 0\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/request.js, packages/api/src/conversations/announce.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":"api/server/controllers/agents/request.js"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ede584dd00ffe0ce6a2448bc7fdfb1180e8d6a58a3e6c56eb61f43f18aa566a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof name !== \u0027string\u0027 || !name.startsWith(Constants.LC_TRANSFER_TO_)\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/AgentHandoff.tsx, packages/chat/src/core/parts/activityLabels.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":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0cbb31c57b7e9ca867e08b2f6d3234277457f0b866a946601d42f1eca279b83"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof name !== \u0027string\u0027 || name.length === 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/skills.ts, packages/data-schemas/src/methods/skill.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3ba411c9f7e2036cba44d4e67841462beaef21e4165380bdc6853498c92997"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof name === \u0027string\u0027 \u0026\u0026 name.length \u003E 0\u0060 appears character-identically in 4 files \u2014 packages/api/src/actions/tools.ts, packages/api/src/messages/skills.ts, packages/api/src/protection/adapters/messages.ts, packages/api/src/utils/errors.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/actions/tools.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddba2b5b4b96ce42850b07d8edc9a06c93c785753606b7eb618fb235dadbcfb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof name === \u0027string\u0027 \u0026\u0026 name.startsWith(OAUTH_TOOL_CALL_PREFIX)\u0060 appears character-identically in 2 files \u2014 packages/api/src/stream/GenerationJobManager.ts, packages/api/src/stream/abortContent.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"180071ea88cba0c6276be75a3adb0bac7eddb218dcca5b2531924979493415dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof options?.expiresAt === \u0027number\u0027 \u0026\u0026 Number.isFinite(options.expiresAt)\u0060 appears character-identically in 2 files \u2014 api/server/services/Tools/mcp.js, packages/api/src/mcp/oauth/events.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":"api/server/services/Tools/mcp.js"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eed6196f75eb1c594c89b5568881b8c7ba4dfd585b89a27effc6b2589e3f664"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof output !== \u0027string\u0027 || output.length === 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/client.ts, packages/api/src/agents/hitl/answers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1c89159e1207ce12e9eafe878afa7a9053eb2f6f158564f4b9d44175a18e72"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof output === \u0027string\u0027 \u0026\u0026 isError(output)\u0060 appears character-identically in 2 files \u2014 client/src/components/Chat/Messages/Content/RetrievalCall.tsx, packages/chat/src/core/parts/outcome.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":"client/src/components/Chat/Messages/Content/RetrievalCall.tsx"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"3185aad571ef1c256add5ab0da53e40d6e72617d1db96bb27b398430b7ccb2c8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed !== \u0027object\u0027 || Array.isArray(parsed)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/handlers.ts, packages/api/src/skills/deployment.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"7867e5a4d7f87fb14353cd7bac8d6f8ed3b641d6bcad8ddd834f48355c717909"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0027object\u0027 \u0026\u0026 parsed !== null\u0060 appears character-identically in 3 files \u2014 packages/chat/src/core/parts/params.ts, packages/chat/src/core/parts/parseJsonField.ts, packages/data-provider/src/parts.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/params.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ff6138219b853211fef9cabf717688c380cd2c9aadb5e7e6ad6894b2b709c3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof parsed === \u0027object\u0027 \u0026\u0026 parsed !== null \u0026\u0026 !Array.isArray(parsed)\u0060 appears character-identically in 6 files \u2014 client/src/components/Chat/Messages/Content/AgentHandoff.tsx, client/src/components/Chat/Messages/Content/Parts/FileAuthoringCall.tsx, client/src/components/Chat/Messages/Content/ToolCallInfo.tsx, packages/api/src/agents/subagentDelivery.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":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"62037f927e88a37e388b14e98558620a5f02d27570a93b351516c37839291500"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof passport._strategy === \u0027function\u0027 \u0026\u0026 passport._strategy(strategy) != null\u0060 appears character-identically in 2 files \u2014 api/server/middleware/optionalJwtAuth.js, api/server/middleware/requireJwtAuth.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":"api/server/middleware/optionalJwtAuth.js"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"132ac2aa2d00fb395a68e90c2e302335e857481c9369a4eb1f8ff9e4a423271a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof path !== \u0027string\u0027 || !path.startsWith(\u0027/\u0027) || path.length \u003E MAX_USER_SUBMITTED_PATH_LENGTH || seen.has(path)\u0060 appears character-identically in 2 files \u2014 packages/api/src/protection/provenance.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"13548a41373eac928aa68d427d21e1537dee9beec897438c0ba6f6a5745d4f1c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof path !== \u0027string\u0027 || !path.startsWith(\u0027/\u0027) || path.length \u003E MAX_USER_SUBMITTED_PATH_LENGTH || typeof field !== \u0027string\u0027 || !HITL_MESS\u2026\u0060 appears character-identically in 2 files \u2014 packages/api/src/protection/provenance.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/provenance.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"6524612f1f77e37eebbd5d4ea6ca712930af6b426d6accbf8953b3a651f6804a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof path === \u0027string\u0027 \u0026\u0026 path.startsWith(\u0027/\u0027) \u0026\u0026 path.length \u003C= 2048\u0060 appears character-identically in 2 files \u2014 api/app/clients/BaseClient.js, packages/api/src/agents/hitl/protection.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":"api/app/clients/BaseClient.js"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"08de697160c3965d6e21491fff86aea870f3c4ffe1b531ca10ca106db90f5285"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof payload !== \u0027object\u0027 || payload == null\u0060 appears character-identically in 2 files \u2014 packages/api/src/code/bridge.ts, packages/data-provider/src/request.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/bridge.ts"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c4d8ba5ed056b6fb7a0762be7076182796ccbb3bcde6e55fdfd92cc33437d7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof payload === \u0027string\u0027 || typeof payload.id !== \u0027string\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/localRefresh.ts, packages/api/src/auth/openid/reuseCredential.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/localRefresh.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b70939bb7da71fc59e0b29da17dff4e2f1fb48e9ef2085c2ceafffd80a4d30"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof port !== \u0027string\u0027 \u0026\u0026 typeof port !== \u0027number\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/auth/allowedAddresses.ts, packages/data-provider/src/config.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/allowedAddresses.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80becd867e76d051b08a4fdb4f35638107e81d07db384384e47fcaca4fdd30e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof principalId !== \u0027string\u0027 || principalId.trim().length === 0\u0060 appears character-identically in 2 files \u2014 api/server/services/PermissionService.js, packages/api/src/acl/accessControlService.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":"api/server/services/PermissionService.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"e969c58681a8610fcfa2c34aa9cf6a5fc579350c7c1110fb071eb4b1b2cd01e3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof principalId === \u0027string\u0027 \u0026\u0026 principalType !== PrincipalType.ROLE\u0060 appears character-identically in 2 files \u2014 packages/data-schemas/src/methods/aclEntry.ts, packages/data-schemas/src/utils/principal.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/aclEntry.ts"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"173d41f961181d77de46a11c087c0942e895234e16d7722aae66d715f47ec1bc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof raw === \u0027string\u0027 || typeof raw === \u0027number\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/Nav/SettingsTabs/Account/errors.ts, packages/api/src/messages/page.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":"client/src/components/Nav/SettingsTabs/Account/errors.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bd9cbff0244f3d8962993511715beffdd8910b8a6160008527ae098ff6f2b0"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof recordedHead === \u0027string\u0027 \u0026\u0026 COMMIT_ID.test(recordedHead)\u0060 appears character-identically in 3 files \u2014 packages/api/src/pulls/bitbucket.ts, packages/api/src/pulls/github.ts, packages/api/src/pulls/gitlab.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/pulls/bitbucket.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"291bc31ae20e0c2a5e3843318b228c950c9b4bc6ad55029cc8fdb7cab20a15fd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof req.user.tenantId === \u0027string\u0027 \u0026\u0026 req.user.tenantId !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 api/server/routes/convos.js, api/server/routes/messages.js, api/server/services/Endpoints/agents/initialize.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":"api/server/routes/convos.js"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02e2058f14129a26e3ae16a5c649d29183a6cb4cbfa641d70a259cb0aaade28"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof req.user?.tenantId === \u0027string\u0027 \u0026\u0026 req.user.tenantId !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/triggers/bindings.ts, packages/api/src/code/http.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/bindings.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5041b88e271504dc935f05d75e7b3031f8ed9e28225936e8011cd7dce6ab081"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof request.parent_message_id === \u0027string\u0027 \u0026\u0026 request.parent_message_id.trim() !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/openai.js, packages/api/src/agents/openai/service.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbc9bc285ce2e9ff03ec1365be314909d3a90d860f989c2a9d56779fe110f12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof requiredPermission !== \u0027number\u0027 || requiredPermission \u003C 1\u0060 appears character-identically in 2 files \u2014 api/server/services/PermissionService.js, packages/api/src/acl/accessControlService.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":"api/server/services/PermissionService.js"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a69bdb445b8c8a2854e5f94f3664b895eb43fecae47b65f813db03b96dbf9b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof requiredPermissions !== \u0027number\u0027 || requiredPermissions \u003C 1\u0060 appears character-identically in 3 files \u2014 api/server/services/PermissionService.js, packages/api/src/acl/accessControlService.ts, packages/api/src/agents/listing.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":"api/server/services/PermissionService.js"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1347a71e948162ec9969efac04756bd5dcd83e23616472465d8d9f0282ab136d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof responseMessageId === \u0027string\u0027 \u0026\u0026 responseMessageId.length \u003E 0\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/request.js, packages/data-schemas/src/methods/conversation.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":"api/server/controllers/agents/request.js"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"370aa03e52de2e77170f8f4f16d4e11663b12cb0385ad71f1d7b4de4ec01e0aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof schemaId !== \u0027string\u0027 || schemaId.length === 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/plugins/manifest.ts, packages/api/src/plugins/mcp.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/manifest.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d8786b8209251c2d0ff75251d06d660a2b5db55837f6e4e78b96ff1d4d54db"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof stepId === \u0027string\u0027 \u0026\u0026 stepId !== \u0027\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/messages/previews.ts, packages/chat/src/core/subagents/content.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"120c1999a5ef2314bd273bc6e3a9dc32a8eef42a1fd6bc7acc7c95156ed6037e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof streamId === \u0027string\u0027 \u0026\u0026 streamId.length \u003E 0\u0060 appears character-identically in 2 files \u2014 api/server/routes/agents/index.js, packages/chat/src/core/resumable/start.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":"api/server/routes/agents/index.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacaf18bc285ffcee0ece8328cf73cb4771e3d5b58ad72c3e29b171904f055ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof text === \u0027string\u0027 \u0026\u0026 text.length \u003E 0\u0060 appears character-identically in 5 files \u2014 api/server/controllers/assistants/chatV1.js, api/server/controllers/assistants/chatV2.js, client/src/components/Chat/Messages/Content/Parts/attachmentTypes.ts, packages/api/src/protection/adapters/submissions.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":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a07aa359b8c3bdd6c388bb3c542ef4fb6fbcf0c16e8f75f363cfed1292a51cec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof tokens.expires_in === \u0027number\u0027 \u0026\u0026 Number.isFinite(tokens.expires_in)\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/oauth/handler.ts, packages/api/src/mcp/oauth/tokens.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"846c6f53aee9f0ea67ff85ddde7b8d4f179ab55f4397cea27d9c7b0ad73c8447"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof tool === \u0027string\u0027 \u0026\u0026 isActionTool(tool)\u0060 appears character-identically in 2 files \u2014 api/server/controllers/agents/v1.js, packages/api/src/agents/hitl/protection.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":"api/server/controllers/agents/v1.js"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef5ef75fb881f66c93107a58617cb53abc7bf6d3d16280e60838be67414058b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof tool === \u0027string\u0027 \u0026\u0026 tool.includes(Constants.mcp_delimiter)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/initialize.ts, packages/api/src/mcp/assistants.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1383}}}],"partialFingerprints":{"codehealthFindingId/v1":"b48baad0707d2ddd6efd99dbabb415c17b713f17950b9cfd00e6c0c087f927c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof toolCall.output === \u0027string\u0027 \u0026\u0026 toolCall.output.length \u003E 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/messages/previews.ts, packages/chat/src/core/parts/questions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"2594f95b1063b2b67eb085ce1affde2cbdd4531fe306edf14c77c3a7a8372888"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof uri === \u0027string\u0027 \u0026\u0026 uri.startsWith(\u0027ui://\u0027)\u0060 appears character-identically in 2 files \u2014 packages/api/src/mcp/apps.ts, packages/api/src/mcp/parsers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f37a1ebac793d54d8670b716ed34942c070fc6ccf5ac924a3f190e37652044d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof userId !== \u0027string\u0027 || userId.length === 0\u0060 appears character-identically in 3 files \u2014 packages/api/src/stream/GenerationJobManager.ts, packages/api/src/stream/implementations/InMemoryJobStore.ts, packages/api/src/stream/implementations/RedisJobStore.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"786f518e76c3ac1afec68557b72bb05dce4352ef343d495bfaa8c4f22f4cbf5d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027number\u0027 \u0026\u0026 typeof value !== \u0027object\u0027\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Agents/AgentSelect.tsx, client/src/components/SidePanel/Builder/AssistantSelect.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":"client/src/components/SidePanel/Agents/AgentSelect.tsx"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"27eadb84aa64b013f9dd6addf7cc446bcd6e363a97f7d22f82bbc185c58ad923"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027number\u0027 || !Number.isFinite(value)\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/usage.ts, packages/api/src/skills/sync/scheduler.ts, packages/data-provider/src/types/runs.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c39a08c8f635e0ab3fa27df13ed0ff90c8c264d9b70427ee2c97677699327b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027number\u0027 || !Number.isSafeInteger(value) || value \u003C 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/steering/request.ts, packages/api/src/agents/triggers/envelope.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3762dedb2048014382f054f72a62f9dae43ce202dd1719d4065e451c2a96c7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027object\u0027 || value == null\u0060 appears character-identically in 2 files \u2014 packages/api/src/admin/code.ts, packages/api/src/code/bridge.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/code.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f6649c9c30350530a880a8263357433e8942dca6ee3a71a6eb2911f38d10b8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027object\u0027 || value === null\u0060 appears character-identically in 2 files \u2014 client/src/lib/rum/redact.ts, packages/data-schemas/src/utils/fading.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":"client/src/lib/rum/redact.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab19d5e39b1a041d71ca3bab51874afe65ccd38ca2766694cd0c5daf86288398"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027object\u0027 || value === null || Array.isArray(value)\u0060 appears character-identically in 3 files \u2014 packages/client/src/theme/context/ThemeProvider.tsx, packages/data-provider/src/theme.ts, packages/data-schemas/src/methods/skill.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd7c39274023bf62f070d1aaf4f272136390234c4026edf1b3b5057f8feecab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.length === 0\u0060 appears character-identically in 6 files \u2014 packages/api/src/agents/hitl/answers.ts, packages/api/src/agents/usage.ts, packages/api/src/files/usage.ts, packages/api/src/protection/adapters/submissions.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/answers.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ba85a69c34b00d6f5969bf3c939cf98523d4937940975ae3e9e6519255f553"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.length === 0 || /\\s/.test(value)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/triggers/host.ts, packages/api/src/assistants/author.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"334418cd37de8ca60dcb506250f208c8c3addb04728e69d5a30b102b323c7e88"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.trim() === \u0027\u0027\u0060 appears character-identically in 3 files \u2014 api/server/routes/memories.js, packages/api/src/memory/handlers.ts, packages/api/src/utils/common.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":"api/server/routes/memories.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"f847da838b33cebc737c35cf776f13d7de482f73ffbe7873f63ef7c338b5c6de"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value !== \u0027string\u0027 || value.trim().length === 0\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/envelope.ts, packages/api/src/agents/triggers/envelope.ts, packages/data-schemas/src/methods/file.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/envelope.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d5bab7beccf8a6b3608317081eaf2102deca4c627d6daf89e0b79e73f68078"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value)\u0060 appears character-identically in 8 files \u2014 client/src/components/Artifacts/undockedWindow.ts, client/src/components/Messages/Content/Error/parts.tsx, client/src/lib/rum/diagnostics.ts, packages/api/src/agents/activity.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":"client/src/components/Artifacts/undockedWindow.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"32acf005e8b5c2b4a3c7c1ce23d91299c0fba22b3f6c2b277acd4a366f337547"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E 0\u0060 appears character-identically in 3 files \u2014 client/src/utils/balance.ts, packages/api/src/pulls/oauth.ts, packages/chat/src/core/usage/types.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":"client/src/utils/balance.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"125610eeaab447a00637d3b1dffba8fd2e068e8a77b0700b92c93034f1d63d19"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isFinite(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 6 files \u2014 packages/api/src/admin/config.ts, packages/api/src/agents/digest/tree.ts, packages/api/src/agents/toolTiming.ts, packages/chat/src/core/parts/background.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":1030}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3c99e62bef8fb9e50de7021ff088f0ca3f065fc5d700eb175197540c018019d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isInteger(value)\u0060 appears character-identically in 2 files \u2014 client/src/lib/rum/logs.ts, packages/api/src/mcp/MCPConnectionFactory.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":"client/src/lib/rum/logs.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee553476e51153f834fca245b8c3ca1814e9e57c0b375447d1c071fa5956479"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 \u0026\u0026 Number.isSafeInteger(value) \u0026\u0026 value \u003E= 0\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/triggers/host.ts, packages/api/src/pulls/shared.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/host.ts"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b380f8259b458bc0cefc6dce26bb2e503e702f9cc44c3988379e3b6025f0bee"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027number\u0027 || typeof value === \u0027boolean\u0027\u0060 appears character-identically in 5 files \u2014 packages/api/src/admin/auditLog.ts, packages/api/src/agents/lazySubagents.ts, packages/api/src/middleware/auth.ts, packages/api/src/oauth/failure.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/auditLog.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1a9a5c7efbd93a3e636741c4f5414e3f5c693b5f69d70d56ed4e8ceb81f1c9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null\u0060 appears character-identically in 3 files \u2014 client/src/components/SidePanel/Agents/AgentPanel.tsx, packages/api/src/actions/tools.ts, scripts/static-checks.mts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/SidePanel/Agents/AgentPanel.tsx"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"79a75ba1cab02f3268cc297dc90d31b747f08a0b4759bd626a525d093425330f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 9 files \u2014 client/src/components/Chat/Messages/Content/ToolApproval.tsx, client/src/components/Messages/Content/Error/parts.tsx, packages/api/src/agents/hooks/executor.ts, packages/api/src/mcp/registry/MCPServersRegistry.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":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"7622cee7d2132918a7819c3d641a71f90f2f9902011af1f83034788509fdaabd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value !== \u0027\u0027\u0060 appears character-identically in 16 files \u2014 api/server/controllers/agents/openai.js, api/server/controllers/agents/responses.js, client/src/components/Messages/Content/Error/attachments.ts, client/src/lib/rum/diagnostics.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":"api/server/controllers/agents/openai.js"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d6afdf8e4b5f790ee8bbd8a6921fc14ef7c5a03527396707b902f1e700b64b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.length \u003E 0\u0060 appears character-identically in 13 files \u2014 client/src/components/Messages/Content/Error/parts.tsx, packages/api/src/actions/credentials.ts, packages/api/src/agents/checkpointer.ts, packages/api/src/agents/queuedTurns.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":"client/src/components/Messages/Content/Error/parts.tsx"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2758e498ea60758c17ce176a8fff0aa25c4a92e2b7ac3de8cbfa3cbd9384cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.toLowerCase().includes(KnownEndpoints.openrouter)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/run.ts, packages/api/src/endpoints/openai/config.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"362965679f16f51056386f64b648b4fefd578f9ed3d351254b9052ffe4b9774a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim() !== \u0027\u0027\u0060 appears character-identically in 8 files \u2014 client/src/utils/endpoints.ts, packages/api/src/admin/secrets.ts, packages/api/src/agents/subagentThreads.ts, packages/api/src/app/rebinding.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":"client/src/utils/endpoints.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"440132b44d1a1810c965b115c4e5abf81d82de55ed3f44f200a012dcea9226ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 \u0026\u0026 value.trim().length \u003E 0\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/run.ts, packages/api/src/protection/files.ts, packages/chat/src/react/subagents/prompt.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"68aa10dac5bd2bce5a607b83fb8d4668e13489bde5830235bd9881249e03b51e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 || typeof value === \u0027boolean\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/protection/adapters/submissions.ts, packages/data-schemas/src/methods/mcpAuthority.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/adapters/submissions.ts"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"7464ddc748eb6b60bbbd5f5a5a71182a243664e2344b13356d3056319739bf55"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027string\u0027 || typeof value === \u0027number\u0027\u0060 appears character-identically in 4 files \u2014 packages/api/src/agents/queuedTurns.ts, packages/api/src/utils/identity.ts, packages/data-schemas/src/methods/agent.ts, packages/data-schemas/src/methods/message.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"f244989de7454f5b81fb2ed77685bcd173cc5c575e436acb29b6c103c99b10f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof window !== \u0027undefined\u0027 \u0026\u0026 typeof window.matchMedia === \u0027function\u0027\u0060 appears character-identically in 2 files \u2014 packages/client/src/components/DataTable/DataTable.hooks.ts, packages/client/src/theme/context/ThemeProvider.tsx. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/components/DataTable/DataTable.hooks.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d71dc3527613b091c18a0fb69db406f69367ccd8b0a60a59d4b1e4b143b579cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060url.protocol !== \u0027https:\u0027 \u0026\u0026 url.protocol !== \u0027http:\u0027\u0060 appears character-identically in 2 files \u2014 packages/api/src/langfuse/tenantDestinations.ts, packages/api/src/rum/proxy.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/tenantDestinations.ts"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"400615170af9074be6a2af564794813338d8cea0a22ce4ff038987ab60351e79"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.name || user.username || user.email\u0060 appears character-identically in 5 files \u2014 api/server/services/AuthService.js, packages/api/src/auth/email.ts, packages/api/src/auth/passkey.ts, packages/api/src/auth/passwordReset.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":"api/server/services/AuthService.js"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"a66550caba6a89868d487d83461789209e4a927245f60eedcaee44feec6914ab"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user.name || user.username || user.email || userId\u0060 appears character-identically in 2 files \u2014 packages/api/src/admin/audit.ts, packages/api/src/admin/grants.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/audit.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"202d65222a9e5edc396b2fd51af57c5c17b98bd586acf1be8d60507e02ad44d8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060user?.role === SystemRoles.ADMIN \u0026\u0026 ( \u003CPanelFooter\u003E \u003CAdminSettings /\u003E \u003C/PanelFooter\u003E )\u0060 appears character-identically in 2 files \u2014 client/src/components/SidePanel/Memories/MemoryPanel.tsx, client/src/components/Skills/sidebar/SkillsAccordion.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":"client/src/components/SidePanel/Memories/MemoryPanel.tsx"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3f52067a73e3fa2b233ef95760312d5aaaea2944dd7cfb3b824293c7094750"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 typeof value === \u0027object\u0027\u0060 appears character-identically in 12 files \u2014 client/src/data-provider/Messages/retention.ts, client/src/lib/rum/privacy.ts, packages/api/src/agents/convoPersistence.ts, packages/api/src/agents/hitl/policy.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":"client/src/data-provider/Messages/retention.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04b1700c9ab713e2edf03c4e59b1b40e8826f1a4ab45a551690ed124ccda633"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 23 files \u2014 packages/api/src/agents/activity.ts, packages/api/src/agents/digest/recorder.ts, packages/api/src/agents/digest/tree.ts, packages/api/src/agents/hitl/answers.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30a83ffc6745b6ffb5bbb363f9c5cd33521152a3e035e38ecec702475853f8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value != null \u0026\u0026 value.trim() !== \u0027\u0027 \u0026\u0026 value.length \u003C= MAX_CONVERSATION_ID_LENGTH\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/tasks.ts, packages/api/src/pulls/handler.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/tasks.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0804f27bffbdfae15438d3eb0198c0056534c95b99c3eb738def254ad402f520"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0027object\u0027\u0060 appears character-identically in 5 files \u2014 config/circular-deps.mjs, packages/api/src/mcp/registry/MCPServersInitializer.ts, packages/api/src/schedules/authorization/policy.ts, packages/data-schemas/src/checkpoints/mongo.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":"config/circular-deps.mjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ce83400d3655612f9ad2eb23a224f66f1593d5362e63e653c712dbbc22ecbd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== null \u0026\u0026 typeof value === \u0027object\u0027 \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 4 files \u2014 .github/scripts/guard-specs.mjs, packages/api/src/mcp/registry/MCPServersRegistry.ts, scripts/crap.mts, scripts/merge-locize-download.mjs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/scripts/guard-specs.mjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d96f901111ae537d5673ff89b75f809dd882568f8628a6127ff24d79fdaf57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value !== undefined \u0026\u0026 value !== null \u0026\u0026 value !== \u0027\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/utils/common.ts, packages/data-provider/src/api-endpoints.ts, packages/data-provider/src/data-service.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/common.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"455f8ea2b936781d5983019cccf8814e9e1aa716b1453de80168bd83b52dfec2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || (typeof value === \u0027string\u0027 \u0026\u0026 value.trim() === \u0027\u0027)\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/inference.ts, packages/api/src/langfuse/feedback.ts, packages/api/src/mcp/utils.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/inference.ts"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5bbb3417daad473bcbaca2b96d61b5af85ea466f9b65c4ee249133d2f4d29a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || typeof value !== \u0027object\u0027\u0060 appears character-identically in 25 files \u2014 client/src/components/Conversations/chatFilters.ts, packages/api/src/agents/callerCapabilities.ts, packages/api/src/agents/control.ts, packages/api/src/agents/instructions/linked.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":"client/src/components/Conversations/chatFilters.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc2c7e5085fa699805fe270cc4dd6f047b3e2eb812ec4dcff25afc6a2ec4b12"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value == null || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 24 files \u2014 client/src/utils/drafts.ts, packages/api/src/admin/catalog.ts, packages/api/src/admin/config.ts, packages/api/src/agents/execution.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":"client/src/utils/drafts.ts"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"72ba07b2ad4a53b89fea99986eaeba0c01b9d94f1f56d67878040bf9b6249725"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === \u0027provider\u0027 || value === \u0027text\u0027 || value === \u0027none\u0027\u0060 appears character-identically in 3 files \u2014 packages/api/src/agents/steering/refs.ts, packages/data-provider/src/resolve-llm-delivery-path.ts, packages/data-schemas/src/methods/share.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/refs.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4c37be452afd49c98f94c6625455f05380db986120d78b1acee14391fee2fe"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0027object\u0027\u0060 appears character-identically in 4 files \u2014 packages/api/src/agents/hitl/modes.ts, packages/data-schemas/src/config/parsers.ts, packages/data-schemas/src/methods/auditLog.ts, packages/data-schemas/src/utils/object-traverse.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/modes.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"489790c449fe5a0733acc66ec3f848e287657681fc8c6d1c308767c00a21d590"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === null || typeof value !== \u0027object\u0027 || Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/responses/background.ts, packages/api/src/app/loader.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/background.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"64304ec7e32323ee7be956ab33e207f1b8239353064cd103ed7eb113bb59b06c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value === password || localize(\u0027com_auth_password_not_match\u0027)\u0060 appears character-identically in 2 files \u2014 client/src/components/Auth/Registration.tsx, client/src/components/Auth/ResetPassword.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":"client/src/components/Auth/Registration.tsx"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b273f1150668e43860d89931eead52dbc9ad81a482abac419787a905a9730"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.length === 0 || value.length \u003E 128\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/queuedTurnHttp.ts, packages/data-schemas/src/methods/triggerDelivery.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurnHttp.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1906a71af1445789bfcfc8f037e84716007c107e9a7da3ff823d1140436b557"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060value.startsWith(\u0027/\u0027) || value.startsWith(\u0027\\\\\u0027)\u0060 appears character-identically in 2 files \u2014 packages/api/src/agents/handlers.ts, packages/data-schemas/src/schema/skillFile.ts. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":1522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d92bc9f3c684ee4177f0ad1b8b6c4de7c9ad792fe2969ce2b9099d3fba7e8a9"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getStoredKeyForms\u0060 is exported, takes a document from its caller (line 164) and hands it to \u0060scanKeys\u0060, which calls itself at line 134 (\u0060scanKeys\u0060) with a piece of \u0060value\u0060 (and at line 144) \u2014 and nowhere in \u0060scanKeys\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060scanKeys\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/encoding.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fc40f8cc0ca8c6a5aed2f44e93e7e3eb978888c332a13f4b2cc3cd373bc636"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060digestMCPAuthorityValue\u0060 is exported, takes a document from its caller (line 252) and hands it to \u0060stableStringify\u0060, which calls itself at line 227 (\u0060stableStringify\u0060) with a piece of \u0060value\u0060 (and at line 236, line 246) \u2014 and nowhere in \u0060stableStringify\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060stableStringify\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bf3c9ce7b31e4665a7a37cd5d9d8bfa4c2fe9b0111e23a607822bac43265233"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isSameConfigValue\u0060 is exported and takes \u0060left: unknown\u0060 from its caller, and it calls itself at line 131 (\u0060isSameConfigValue\u0060) with a piece of \u0060left\u0060 (and at line 143) \u2014 and nowhere in \u0060isSameConfigValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060isSameConfigValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/changes.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9ac19bc19a430aea087f75f4c6b7f2491d27d6815d0eaa8305a1edffdd802dd"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060setAtPath\u0060 is exported, takes a document from its caller (line 378) and hands it to \u0060setInto\u0060, which calls itself at line 352 (\u0060setInto\u0060) with a piece of \u0060container\u0060 (and at line 362) \u2014 and nowhere in \u0060setInto\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060setInto\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/paths.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a23ccd36ceccca30f3e5acc9bc22583c10c24b4959cd8a4e26a80af58d48e8"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060isEffectivelyEmpty\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 457 (\u0060isEffectivelyEmpty\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060isEffectivelyEmpty\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060isEffectivelyEmpty\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/paths.ts"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb8793a0b42a81fd019fa2c445d336120d79e4407e23ef22436315d105c5af0"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getAuthFailureReason\u0060 is exported, takes a document from its caller (line 267) and hands it to \u0060normalizeAuthLogValue\u0060, which calls itself at line 84 (\u0060normalizeAuthLogValue\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060normalizeAuthLogValue\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060normalizeAuthLogValue\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/auth.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7489e32c6144d112baefbae0cc03eb47bf2587e6ae68b8e72ad53a0f7d5a62"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060shrinkJsonToFit\u0060 is exported, takes a document from its caller (line 624) and hands it to \u0060capJsonStrings\u0060, which calls itself at line 465 (\u0060capJsonStrings\u0060) with a piece of \u0060value\u0060 (and at line 473) \u2014 and nowhere in \u0060capJsonStrings\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060capJsonStrings\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/messages/previews.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9778b7a5115d81fdcd16c8d49f9ad763a5c329d6340210d7130ad28417162ccf"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060collectEnvReferenceNames\u0060 is exported, takes a document from its caller (line 227) and hands it to \u0060visitExpandedStrings\u0060, which calls itself at line 222 (\u0060visitExpandedStrings\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060visitExpandedStrings\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060visitExpandedStrings\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/allowlist.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf33b6616af8add36adacd2c565f8dcb0bf5eae54405f3afa63177011a33081e"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060getEnvReferenceIssues\u0060 is exported and takes \u0060value: unknown\u0060 from its caller, and it calls itself at line 405 (\u0060getEnvReferenceIssues\u0060) with a piece of \u0060value\u0060 \u2014 and nowhere in \u0060getEnvReferenceIssues\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060getEnvReferenceIssues\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/allowlist.ts"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0aec8a062bca24024f9e46fca4a983c7442c52a8b44cf96d87aef9335aacf20"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060prepareAgentTriggerDelivery\u0060 is exported, takes a document from its caller (line 157) and hands it to \u0060canonicalJson\u0060, which calls itself at line 64 (\u0060canonicalJson\u0060) with a piece of \u0060value\u0060 (and at line 69) \u2014 and nowhere in \u0060canonicalJson\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. JavaScript sets no limit of its own on that nesting: \u0060JSON.parse\u0060 accepts any depth, so a 100,000-byte body \u2014 inside Express\u0027s default 100kb limit \u2014 parses to 50,000 levels, and a walk like this one throws \u0060RangeError: Maximum call stack size exceeded\u0060 long before it reaches the bottom. Wherever that throw lands, the work fails: a request errors, and a walk running outside any \u0060try\u0060 \u2014 an event handler, a timer, a promise nobody awaits \u2014 takes the Node process down with every other request in flight. Thread a depth argument through \u0060canonicalJson\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/delivery.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"21818ded27f50cacbdc007122b7d433656f4bd88ccf952c21faddaa70b5500a5"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context or an AbortSignal: Only 119/159 functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http; net/http, net.Dial) accept a context.Context or an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, a cancelled request, a shutdown, an expired deadline. Take a \u0060signal\u0060 (Go: \u0060ctx context.Context\u0060) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"577196fe89725f9b0e6c2faf89eceb8eb245919bd44e4439e0b0d649c1ee1c53"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: execute: \u0060execute\u0060 holds an AbortSignal but calls \u0060axios.get(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060axios.get(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/actions.ts"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"792b4b16bde7dab14d81074410b9d50701dc56c49f33ea8e531bb19e4af0fe26"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _put: \u0060_put\u0060 awaits \u0060axios.put(\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: \u0060axios.put(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc699150a1c541e710c0798a21f88695803e9937069c128f7fa0e48eeb33c46"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _delete: \u0060_delete\u0060 awaits \u0060axios.delete(\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: \u0060axios.delete(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb10b823a9cbfd93ffa3b6fb2e3b70b401ea836ec86c4e00cc410875223bd24"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _patch: \u0060_patch\u0060 awaits \u0060axios.patch(\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: \u0060axios.patch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"173397e260214139c7a07c21aade72fffd69eec8ce9815bfc10c65e3ba91b634"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: lifecycle: \u0060lifecycle\u0060 holds an AbortSignal but calls \u0060reaction(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060reaction(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"205e8677451109a72f51bac269186b6ae40722dd07d82216adde50cde6c115d6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: refreshAccessToken: \u0060refreshAccessToken\u0060 awaits \u0060axios(\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: \u0060axios(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a7f85877ec621d12c6865202911ac10280a5c4e2e40f1a1138a428672dca3c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getAccessToken: \u0060getAccessToken\u0060 awaits \u0060axios(\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: \u0060axios(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"0065bfd9459de7d2fd7ceb5a934370b40c2a6afec4a5c3e3f8729ad863a7e450"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: connectTo: \u0060connectTo\u0060 holds an AbortSignal but calls \u0060isConnected(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060isConnected(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2298}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e2ef340d625ec7e6ab83c6e81d7f68b022c4aebdfcec6e257209ac0b9a6aa6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: createUserConnectionInternal: \u0060createUserConnectionInternal\u0060 holds an AbortSignal but calls \u0060isConnected(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060isConnected(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d90843968ca89b8de67e668fe57a27e46586c125912ad4c27d133537c32194"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: uploadDocumentToMistral: \u0060uploadDocumentToMistral\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e78928a03cdabdf70063bc96b358164cb16abddfc82048ddf49f11ea57537036"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getSignedUrl: \u0060getSignedUrl\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45ad610f00ea30c3e4fdd283de5ce2cc09229ad0296e6b1f9bd6249d62097f3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: performOCR: \u0060performOCR\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a667ccd13af48d7fbc7e285c2f836ca86dd3114f4e92b522259a8db677bff9b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: deleteMistralFile: \u0060deleteMistralFile\u0060 awaits \u0060axios.delete(\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: \u0060axios.delete(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"771e02d3cb754ccc70ca2d1147d68ba9af51fc999ecbecf5525bd2b56546442b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: exchangeJWTForAccessToken: \u0060exchangeJWTForAccessToken\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c2064ae8f47bc4bbd3721cb92b5f1b06b228ea993446a7ce31068a0d04106a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: performGoogleVertexOCR: \u0060performGoogleVertexOCR\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"86eaa2f411cdfd120a993a876d3bc854ec35f517f70d01034e3e8fc171d44424"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchModels: \u0060fetchModels\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/models.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"262c331cb279a571f8b583dba7d8fcb163a93c99ff25ce693a959c0d2017f8e2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchPage: \u0060fetchPage\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/reasoning.ts"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"c068663db6a5670aa2435976ae53fe50c407e4117d9e67add290fc0dcba5ec57"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchRemote: \u0060fetchRemote\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/loader.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4671949d37e1923a785b6fe07199e0cd20634cc3e8338b8e8271c5d48b5385"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: handleSandboxCreateFileCall: \u0060handleSandboxCreateFileCall\u0060 holds an AbortSignal but calls \u0060writeSandboxTextForAuthoring(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060writeSandboxTextForAuthoring(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4225}}}],"partialFingerprints":{"codehealthFindingId/v1":"77dd5a04e2c72aa8ef341069b55c7fdf13ab6c095a2d9cc1dcd6993e3c4e1fb8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: handleCreateFileCall: \u0060handleCreateFileCall\u0060 holds an AbortSignal but calls \u0060writeSkillMd(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060writeSkillMd(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f60755a05fc6d8f6901b8647bdb91be4ac485b5648201fc4bf0e4c84e15dd82"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: assertNotFound: \u0060assertNotFound\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":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"108a493d8dfd39b302d252dbf1b78c91c68b9fdecd9285101763d2a1fddf34e2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: assertEnabled: \u0060assertEnabled\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":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"327e10e73847732453a337d1c13747780c2f83c3779af5a1423e0f6906e61fc4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchConvoSnapshot: \u0060fetchConvoSnapshot\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":"client/src/utils/convos.ts"},"region":{"startLine":1272}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ebbd44871b026c0ea3e08f463c34d891111682388d42f6cd9327b6c0f1a891"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadImage: \u0060downloadImage\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":"client/src/components/Chat/Messages/Content/Image.tsx"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c713fa42f2acfe101300b5a9ed3e28a29ddf7438d229cf02915397702bb5210c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: customFetch: \u0060customFetch\u0060 awaits \u0060undici.fetch(\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: \u0060undici.fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1b852a554d47546ac7073ed922dcb7c6b1069ee8399c821e2cdfd8403c9cb8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: resolveGroupsFromOverage: \u0060resolveGroupsFromOverage\u0060 awaits \u0060undici.fetch(\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: \u0060undici.fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"f280d63eece71e392fa13a72edf520d33e79004d20d6d4e7adf3b319dc024293"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: sendEmailViaMailgun: \u0060sendEmailViaMailgun\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/sendEmail.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f362b7ca87b79f6625337b011887728be32b6a205b452c26f15f9c240674a8e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: retrieveRun: \u0060retrieveRun\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/methods.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23726d59c6243b583f00924782698d541c3c8d6b1d9402bd6257730759b6012"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchAvatarBuffer: \u0060fetchAvatarBuffer\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":"api/server/services/Files/images/avatar.js"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e8dd51039c6a796851b4b57ec4299f14236508df0367d318801205fa5abfb13"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveFileFromURL: \u0060saveFileFromURL\u0060 awaits \u0060axios(\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: \u0060axios(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Local/crud.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fea9d36d4c1cde00216a8fa229675e8050896bdff945b8fa3d18a4988694bdf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveURLToFirebase: \u0060saveURLToFirebase\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":"api/server/services/Files/Firebase/crud.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"3210056e77f2c938e3a66cd3b2a2a33335ee27f96ce5b2d87c2faddca4a97238"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getCodeOutputDownloadStream: \u0060getCodeOutputDownloadStream\u0060 awaits \u0060axios(\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: \u0060axios(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/crud.js"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b87ae604d3e60719986c38e31e052c8f43b22dcfc061ee24462f77c664c21b3d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: saveURLToAzure: \u0060saveURLToAzure\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":"api/server/services/Files/Azure/crud.js"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af6f0a9d53c67c0d6f74ebb09dfb3d2f2de735cf5dadb93fe3d08364f959517"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: sttRequest: \u0060sttRequest\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"24948a3aa7fc9e2b9e6669123f6adbb6dbee6d886c650376ce7d93baab2e949e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: ttsRequest: \u0060ttsRequest\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1340f4a1adfcb43cce25a8779db20f6eeeb46b80d82d97b6b6a9ae6a682e2d38"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _call: \u0060_call\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"980a9d62a37f02fd57f4f9897f8d164dea0c49251c24b2b9e02792c6c3876448"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: getMyFinetunes: \u0060getMyFinetunes\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c47973e04ea1955926869a434432ed7d066429b1f4d6248c7b122dc6c6eebe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: generateFinetunedImage: \u0060generateFinetunedImage\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"13fc06f5a4710389ce88e332ffb16ccaa4426f32ad07168297ab966f0b9899c0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: _call: \u0060_call\u0060 awaits \u0060axios.post(\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: \u0060axios.post(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/StableDiffusion.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e68cdce5814bceafc318e9d6ee638def0a5eaf81e7e0c747961f75dbeca476d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: fetchRawText: \u0060fetchRawText\u0060 awaits \u0060axios.get(\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: \u0060axios.get(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/Wolfram.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c5b91cc342ff658c69703ff6175139e1be083ce0138b6e9035c9ecee7983cd4"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 37 is called with an argument built by \u0060JSON.stringify(loadedTurnstile, null, 2)\u0060 (line 38), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/turnstile.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c387382259c60e17c9d22ca6c63c2fb1c79ec9fd9a986b8cfae117dc74880e"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 490 is called with an argument built by \u0060Object.keys(serverTools)\u0060 (line 491), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"31081e42f9d3d965ededf206a92bbcb5475706e21a1b633a1e392ca5fe8a9cc7"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 783 is called with an argument built by \u0060Object.keys(missingFields)\u0060 (line 784), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97b6b19f3f2af2bf6303a20e5cf46ef7ae0b6a946002cb991f28961be60d6d6"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 5536 is called with an argument built by \u0060JSON.stringify(kindCounts)\u0060 (line 5541), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5536}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddd48ea86d8e2a81e4bfd9eb2825c2b6e798e6968f7429ac6ca4a7bcac416d7"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 22 is called with an argument built by \u0060JSON.stringify(decoded, null, 2)\u0060 (line 22), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/appleStrategy.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"f389b6a79fea109f76ccfa6189cac39e64a9c3be65ae272feb5b8cf2b5aebd51"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 727 is called with an argument built by \u0060resourceFiles.map((f) =\u003E f?.file_id)\u0060 (line 729), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"109a925cdaa95d4c03d727876692621e3528b492eb45f95e111ffe21947cd3f8"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 275 is called with an argument built by \u0060destroyedFileIds.join(\u0027, \u0027)\u0060 (line 276), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b8550333c56a70216e3219846a90615e40a629396572443c73aeeaa2bf8071"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 295 is called with an argument built by \u0060ownedFiles.filter((f) =\u003E f.file_id)\u0060 (line 297), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"243c387f0893a03238e96bddb3ad4fc4550a0d6ff3b50b8d57b3cb887df98e97"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 338 is called with an argument built by \u0060authorizedFiles.filter((f) =\u003E f.file_id)\u0060 (line 340), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"06b5aba58ade4fe3988c68f6ceb3d958eb122f0ee9202a4c4c069b5401c9ea84"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 213 is called with an argument built by \u0060serversWithoutTools.join(\u0027, \u0027)\u0060 (line 214), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5d97967091f7903df7de987ae2e4be88de0a7b5b028774ab60565f15e837a5"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060debug\u0060 at line 337 is called with an argument built by \u0060Object.keys(fadingTiers)\u0060 (line 338), whose cost grows with the collection it walks. JavaScript 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 \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"3454a15c9a143e662abd37e1e34461f5b91843f61b560ba126944ee532a68135"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060content\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":"client/src/components/ui/Description.tsx"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1d5053ac548b6ca2f563f43f4da4ba1f839512ac01f0edbb039bdc7834de1b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapedContent\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":"client/src/utils/markdown.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"690553510e19dd690cce250c748c990e6db946e8aa9199fad740bc029c0ed150"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(resolved)\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":"client/src/utils/richtext.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe1906d7ad09d342d33362113455a2de3eab94c0858ec62a586aedb430973b8"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060escapeHtml(resolved)\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":"client/src/utils/richtext.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed03ffc13d9381fce103ca3ddf2b34b2e00bfe832318cfec07e2bc4b9b2c671b"}},{"ruleId":"X24","level":"warning","message":{"text":"Untrusted text written into markup unescaped: \u0060sanitizedHTML\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":"packages/client/src/components/Tooltip.tsx"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae5e2b773674eb3baab730a2eacae992307372ec3f79952e76e5170c33ed242"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1653}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d5a1961036fc5031666b1f19ca66c86c01c2e81785535188cd198ffb04828b"}},{"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":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d51350b054bbf8b7b6d727a140cd55f29aced52f35e474931cb1d4888955f8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":788}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f489329b2b05ce301dbbd5c95889ccaf4917df57437f11e1d587fe06ced535"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/prompt.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"9762318033e8536a59951561545cf6615a89e314c339c0b0285ca2adb2053901"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9df9ca2ddda650724493d69ecb052bfb6747e6a86cd321b865fb3edacae1088"}},{"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":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"17623b20a223bc22da56e8982e02466e0d5c91aa76edbe5db3495d4004c158d3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4627b790b6b08238ff17d4dcc38f04f5d1c67f5d67cbc3128b5b0e66242adc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e9cfad872f1165884b791d5d59d2f177957a5529cc4f1d681e0eca3b6ab2f7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36f940b8d46e2e6f77d3c2b13cff80b308c52486260fbffd841e897286df55e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc9e873e0ebc7521b5282ec76cd92791e84c4afe783477c8b08d490c50d5501a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/userGroup.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5374b8403c3670d87e9b03153e9bc8183bf3bec3d4c3e14449c7c222b3ed361b"}},{"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":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6f54ff3bc1fb0226809e1de3595ff5a430447661988fac81f6de926be710111"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"13aed45f4fb8f58164f7f287e7046ab22e0cca753d688827386001c3e25fd9bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/config/parsers.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"199a846deeeaed13f2e92fc49a2772c6fe626ded9b0e5c9f8738bf1ec5898e94"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/clientLimits.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacf7c8ea34cd716825df74f749de60bb6edb75f16e6693a41be66ef2a5ae501"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7157e11c80d97aeec92ad40844001933df977bf81179e61655c3b3648791cd70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/request.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae27f2820fe216c77c978b8c32eabfc4c1d733e65f748ed121bebc3a1b6f71c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/twoFactor.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51eb86c1180af24af906caa278f2a0eb822b3a9517267343e73922345a194a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/twoFactor.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"36540d7c85728013c9dec437353e279e97dc135285b198acc83620cdeb4272e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/upload.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd515219230ddb6bcc99a81a665d871d50bef13e38cf75fe3d0b14b24ba7f195"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41424ec7554dcf5edd8ae2925630d79225245e04019f8b441acc5f6f2eb6380"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"52ff6452e78ef1dd017aa28ddb05fcbdd30df51a4325b74e04bc9390fdf9f9f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/client/src/theme/context/ThemeProvider.tsx"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9438c7336fdcbeeb2b0f6a3ab6d9eff300c7682fa6e184fd01c1d578a1b4b1"}},{"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":"packages/chat/src/react/levels.ts"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d44ffd988bc0fa3726140607891e76f6736c132573dcd82a4b1899ea0e9ddbf0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4579a1f7471d44ddc8fc5329a018a831ae1e791cf751b8967e22df912ed65c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/subagents/state.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"066193725b7da971e3346612dafb1a56faf459bccfce369c30fc2a3c2518b451"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steer/recovery.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"39654276b6dc453923acb1c1d3ba938c02baf0a43fc6612e490ce599fdd44997"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/steer/recovery.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c10f858d3769fbb30c810b486a61e25dcd36fde7bdcca84b43ee332c2cc0cc5e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":796}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec53bf0f764ae5766a800644c1774497671337ede7924bcd63f5fff93409002d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/resumable/failure.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f605b3b145ad3524452b66b94bf3bf55404415d67be5551693b2b228196c0b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/params.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"17fdbdbba7c7fe8e1fea60d1e67deb662d4c61873812aaa65a9094619557b0e6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/parts/parseJsonField.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9d71b0704a616ce2122aea4d20df6799aa1c475cd547b59c60a5e1a03077c7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/Summary.tsx"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"999518640f4e2a7758866eff67312243b2498d70b829aa45f0a64e3b2538fcef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/QuoteButton.tsx"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"343a73588175b62e600b1827a306285f03ba304d792b5e387bcadaa63c917739"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b64daa6369f9a11f27993d4d02b8e5df388ef61f34c780d84a5cdff85f03832"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/components/composer/bar/Effort.tsx"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"16218fbca5aa248c61aea0dfa60c1b5d2d3148a44d91c467e7bd0778229e236e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/identity.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e007535b909c85c000247243444e9946a77f699087b225de7417b1cebed3a27"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/review.ts"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3336861e25bb6722961ae023087cca9c44351e9a80d2e5e0d057a02b19f8078a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/slack.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a923c02ccb39a18948b87d109cd652f2e992acfbd5185dcc475962b0c38142"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf9aeacdeda39c4950f2063308d7d58448ac74d22f16f619226b1fa74103821"}},{"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":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e721a92aa731e7a970c5b3095675c483da6ee34dd75749660e8df7cc9eb269ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b1fef39114ded0fe68e32966e003ee238c94af6ceee1e009b2397c2b5c2478"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d9026cb3e8a569103da209cb1da517a7079d48cacf93b8a8468a1b7adb9ab0"}},{"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":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5225b59561d2c74c24197b71964f93ecb67f229e052ebf9cc260c59412d5b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/socket.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e2c468ebefd279f74064725fc08ca6cfc956c8c73adc456a62e62f0e825f8f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/transport.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"edafc2a63619c626d08006830df171459aadbbd4663b1aa5d1780890dca30e8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/transport.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"089cc27edcf4d705485f5fc359792bf9bb9a10ac4cec95cb9c73de367146696f"}},{"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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"1109d2a35340ef3432e4dbe7d3be32d317fab203a9ac02641a08528dca1cf1cb"}},{"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":"packages/channel-gateway/src/worker.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfab3ab841ada20317c158f2548354ca706537d93b785efa16cd9ce380f983f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/channel-gateway/src/shared/worker.ts"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a891a10f51ab0c0976963d482ecb75878fdc9965894d2fb1ca318ae1cb237f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/jest.setup.cjs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"007593c4c9aead64837070c3bd028b8bf5cc60f7a03e2a520423495a77f26487"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"659d06f38014b63c5ae74e4001a23a82949d85fbdeb1524d538096c376b1d46d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"204f15a13a10ac32df17f8a8b3b37ce77092201f9e422a09fa9204726d24c7a7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/credentials.ts"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"e844e665f9497d28b72967c8f993f764d6ad69e380f2112131e3ad55eaaf5589"}},{"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":"packages/api/src/web/agent.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"db363b0d6274ecf606c5d3d8e573e06069c54328242e3ceea98dd7eefa530ddc"}},{"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":"packages/api/src/web/agent.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c63da48926f6f0eebbc2a06549e52c8353c33db4efb1053376ef86ae8e0ec5b4"}},{"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":"packages/api/src/web/web.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ddf256bc339640d45f2882129917d73ed0b150408b4b577cc9f284087d17eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/code.ts"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"857227ed6c79ebb0723b174bf933a1d48aef1a6fa9877bc7121930f982af46ba"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c348e6f735332157dcf5c9a129e9ebfb84e80fffefcb65063b007a9a93cdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/memory.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d2f3a12e7d1fe737adc0608becead649450308e182d1e7f071b73b03b14b6c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/memory.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e7b91cf8cbfc34186a4c99b0c3b0d7c017fadc3bc7673840c9e01a6e86f5b9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/format.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"1506a68bc994f8a40a8b485d85e24b721c3070bda415e06ade62265389525ae8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/tools.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a55e1b5f8a62d4c08da44b2fdb0bd481813cc69541e4b4c5f06eafedbeef9e7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ba6aaf4e41340b58a440a93d65d7ad5711f86fe61e22680be04d03d3a3c0ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f6a79cc8991d7bb2732bef509c348543e4be3decd2bb59550b5774cf22d2c76"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8246}}}],"partialFingerprints":{"codehealthFindingId/v1":"af403883a6a819770727bfe3f9780e33e33e5d73674d981473e92df3c7a3ec3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aedb9e015cd7f9aa3bd4b579918d2df22889f3ebfd4fef3dd6c0a2e250cf496"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee98246cf5a67861ba31f27f0e3a8d140340aefe9e00f1bdd11daaf8c8f6ad6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9240}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa49cc59b4511a8868360317308c4f078ca2574c14989bf03b03d25daae85040"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5bce6ec26942a04a19d908863def4516fd69a8323ac01ce7cf22797cc34a7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fc283611bd84743f3f65054e711422c399d2e5d08540e7ea96918bc0bc6d875"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e84f74b78be9d84f30b9912af4135075238605a7fe0ffc5b05f086ea43c797f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2737}}}],"partialFingerprints":{"codehealthFindingId/v1":"f724252d27ce2fd80e6ee7ab40cff47e9b996a7896b8340ed37d510f33c3d560"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2826}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f18ecdf6fa272b84ff024d2405883308f8482e9cdc8442f3f93fbc7816f742b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":2897}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e789ee9e7aea0f9da1995bdc03f44f97a02a96241b745284ad31f6acb087629"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1973}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ae015dcd97da18747d0b4ef3a2daab9552f1426d9c24d6cb016f8464d9c343"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1981}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c25357e42c9a7eb636f5feb247a4bc8c55cfbef9882bde094aa71a406457825"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"abe6e4504ef84076df2750208552d8906a9e6c954bdd3a87cd53bc044a887bff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3679}}}],"partialFingerprints":{"codehealthFindingId/v1":"af6edf5ad2f5c6b95c0db296c7da7cb63c5d3645c98e31dcc4d808fb19ef04f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5584}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d39e27a7e75d706e2950ab97eda03cf8cca759b0315a42881ce39597068e80"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5634}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7d16f495657e41bcc2d5d7e30b5399d23a90bdee857506adefc14516346419"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5680}}}],"partialFingerprints":{"codehealthFindingId/v1":"818c907d1e2b4b0f3c09d0f36238bcca31dd6ca205f24be4974940542e195c71"}},{"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":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5825}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c48b29ca269710718ad100a8a53d3ae16c96ed9e849a6c7a2f193b2eb940bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/intent.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e632481c651ef1f5de1abd79bc3677c073b9343856fa7d32e2e640e5d3828d1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/intent.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"1702584166376202a6abd20fb7f88f44cefe23d7e39c5b03c10f15496356de15"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/reservation.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f179135243088a4a3239a89caf72a114faea93ccd3a39cdd08c4d27bdd3e4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/http.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"1431c0317a2f62748d251bd4c1e05198748b640e272a25bfb45b2a81b6be942f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bde397971e2a626c23e4df286b75fce4d34c4f1b6e2c7a6d87398115ec577c"}},{"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":"packages/api/src/schedules/service.ts"},"region":{"startLine":1362}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d71c4dfdb7b45326e7d56e41f442c46a62fcd0ded4e42ebce10b0653fa7bc8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/files.ts"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e3d5ae0aaf4b9912e4921939d126eef153061ee7b383bd40b2e869f5ebbd5d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/admission.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7df555fa36d136936821a3820ec48166c3ecb79405afc42f648bbeaccbb7d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/private/submission.ts"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"d016cc9643e26334f43719f284a5d404972f8241a490669fa1921bbb5c961dc9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/context.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"29108fd9472e6e42624d6afd7d33bedd6ba143f77beb738d62bd21ca009252f7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c972f63914904b85499aef666085a45d1747747a58f8894f699372d11ddc38"}},{"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":"packages/api/src/mcp/cache.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c997e2904f3769d3a54813a26df996a230ecc7813b915fbb708d2338eebf505d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/cache.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"299e3bf9813927acbcef5a30549fe6e70e2e46852824d6ee075f023267d0e4d9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"00aff2d798b286e0e4c70fb93374ef87fc0395cf4fd669b4bc9ea3be7829fe4f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a70d456c809ac90f9dbe90962d6ec8597112dfd3e459f3770312e2df02cad4a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2493}}}],"partialFingerprints":{"codehealthFindingId/v1":"776696fcd0bf9e2d858f10f08b778bbda6a421678bd4acf3f6dc7724628cfe3a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/events.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"021231993ba96183fdcd273b30c6d2845869ee46579729d4c9267fda91ca2b06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d8b1cd308f207c03a88cdedad7de4163806b2eef57cde2a166d790a62222327"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fa4ecf9698ae6488d30fba374a3f4447ccbcdd63c24ad9622dbd3254829fd1"}},{"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":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":895}}}],"partialFingerprints":{"codehealthFindingId/v1":"c95cfa264babd9116b0206afb0b869a64dc96739539424e5139b2b35dc29e155"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a79ab27b8cf65c15b063dbd046768c9dfd3235c91b613a5de2309e9630534c3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01f247b0405cba12bfd09b345f16c0bc9e9dc79463023a8383067071d779dea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/operations.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"49b000c8215459017188a94be3606268a82e10df674cfb679dcabccc47c85197"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"c367e5245789957686e47fea0028525bc9fbaf58fec00acb15638105d061155d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/html.ts"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa18c7cb71eac6a0bb985d222ad59034ecb41e6f1264eceb43856bf867f070f2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/libreoffice.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a2f170a8893cc68eff741e9d92ac12c5aa1cb0ea9398476de1e3ea04924713"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/workbook.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f5b0ea8dceac27e0a0ce8bbf1b61d3c0bbdef64e02a347e0d9df6e71e377481"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/documents/zipSafety.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d6ce2d67eadaf23cc435d46da855f5e74c7d307ea108385e20fc453ba4cbed"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/extract.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"044dc6cd1bec671a7d0599335611efbe396620d6af9d515b6265575b50b7a5f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/extract.ts"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"857e3a3b347beea3d17bb1f8589b9fd884d53962b61fa769ff2cca54abe6bf51"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/providers.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"373dbe3a2110203385a79c7c15ceae59dade1c36a227d97d02c46ade15f1299c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/requests.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4e8a816dc6e5b41cfa7396a8addd25f03941bff4ef99b057e9332f7df29b29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/workspace.ts"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c4e80f4f8c42bbb4303e7abc5588865bc63f4642f7460efb7de265e370481e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/router.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"608575eff95e990b86a80f662c0020c08fddc6123d07b000bb4c7bb61a3b9d2c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/setup/service.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5bc8cfc5d21142fdc1af1cea4abd5301fd8b3d8e2df757aac61d94fb83c227"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/artifacts.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"881c2fd865b3817fccea32a8bbf0195b396aa940efdb3e97503bec5639349522"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/cleanup.ts"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2981fc353ea5499e4c1a8411d7685e6389e787be2d92e179179047c740c671c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/cleanup.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"dea2dbc2c7f23974ff516fafd4f9f96d8a1a2edf2668aea5866abaa0dbef59d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedbackRuntime.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b420042ff571aa6c8930057f974d59a67e6da2c09e7e2c6d571d4ca9389e199a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/feedbackRuntime.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83f7827ccbf5507b1153fe8552d8c486ca0949bf5137608fad4d7dd039a5dec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/channels/runs.ts"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1149cfc11486225ce7d48dfd1ca1cc3c99be7fdb435359d25d0461b6efcd1b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/tempuser.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bdd5e1cdd25c0200eb20d126885a1fef387046b498f88bc02db33b85c0b68e0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e557718434530ef3bef20e35e182f5b3bd887d57849f70b12857ca3c2d5008c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1685}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dffa3d0d6333f0b506da664bffc6bb37d13eea9ca6e3ade75b0efcde6622d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4b696b7a6607d173405a538717113a08e266cae5f8a7e628b0468900a80d0d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/convoPersistence.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b357186e4995dc37dc120b84101dfe9bde8fa214c9ec7e092ec9f73cd3a0b63"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7df1d0ab74149ff90fdd6986f0e826152bfb6b2fa55f0e42de92a7369363a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"66df8cb6bc321c8d49506b0058a2a2df394866622dd84808b423a30798de275f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/ptc.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b8fe7d978d81535b4b6ea1d9ca9958cbd224185bf7715638e89d1130c87c19"}},{"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":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc8536ad85ba0fd5fa3a7be0ba724ea440a3a61300a636e0552675e0e188f6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00804415570f470efda618d57660859e0f2d5c791ece4514a975a3d64753b80"}},{"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":"packages/api/src/agents/subagentTaskRouting.ts"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4e6fda2ed3109a62245e525201af92dca9e40e76c944eb7c68c356bfdfe939c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5044cc6100d952c66055cf4125c7ae2e5bbaa885d69b02961850a2086580b5ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2347}}}],"partialFingerprints":{"codehealthFindingId/v1":"31f4bd0e1dd694cd5ce6fb53e1097563843092fe6210103bbcf907aa36f1eb7a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1534caec4c72f1b114d171798837e2efc299cccddac4f1e29fc7c346cdd5a0cb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/accounting.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc08c73b2bb7a2b2bc73d71c9716558559969cb0b782c7062cb473c19d8b04c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/outbox.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4086962c62a29b1923f885cad05d893737fa92aa313afc22bfe9ecdcbaaf8056"}},{"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":"packages/api/src/agents/responses/resume.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"28bbb7098712392adc40d9a73096a8434897322d8be02127bdb85537bc30a886"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/worker.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7b85b7e7b3ea92b59373a5a70fec1d5ac1f2e42af7d6e3d1fa7cd8ad5ecfc2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/host.ts"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe638c9f245d67c8c5a695bcac0aaa7e62536e937219eecdcd313b974f306628"}},{"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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"061b2096a7e92e5afe8155c39d71d8ef89c3efe91a3dba28c07e4230296e5b29"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae75c1c8e90d875025b8117a871bdad0f9c8a20981b6f3bf7ae3e06c7cc2974"}},{"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":"packages/api/src/agents/reasoningLabels/runtime.ts"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"350a9d00be59c977d3186a100e63d97b0ea965fcdd8677a5bbaf61fd80e7172d"}},{"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":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1409}}}],"partialFingerprints":{"codehealthFindingId/v1":"725d7bb627cbb34093b30df401564a45533446c6f4ccd0ad7ce4f2a05bc5ac59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityPhases/runtime.ts"},"region":{"startLine":1417}}}],"partialFingerprints":{"codehealthFindingId/v1":"d750a9ec29e0e4bdb2ab5ae47188c3f99e7c7edbeedd340ce6a1d71bc36c2cab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c52ed959e20dc0a1bf1e3809c707f611680166e83eb3166dac9df25d8bf4414"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/wiring.ts"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c050451672c2f7d473fbf81b5f4d0f760dbd86f12e19c2edec43bfc01aed6e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b95c6743bffd9e0cffac7559a5f075fe42be6d382d341a5b28acd0acca91ca"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := proto.Unmarshal(body, \u0026request); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"694deab5c0759d61eb44fc6939afc683aafb9358431ef13c6393e03ada1fcb69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := json.Unmarshal(body, \u0026request); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":851}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6ce018a1931fd9701366a2e62a72a40255fa23372af33642c855d471d6c21c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"982dbe169803c183785054c622fb25e8c645732e0dd7bbf27af3685cf0b2b4f8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":1278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c048d955bd3cdbe1eb50460db7c1b61ddb9d7e504f00c55bf9a46e17d609716"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"otel/langfuse-fanout/cmd/langfuse-fanout/main.go"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3f6f34426bef915101517cd7530876a4ad08e5ba0f183a5fdca9d937de3adc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/flush-cache.js"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b79440c6a111f30b1f152823c40285b2a9e19524f6cd7be1c786b810e982fc"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"config/smart-reinstall.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f4531f8454352189df0639caa78e1843db31a6d54abf87238e68189782e806"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sw/heal.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8d51f64d2378ce32f223e2c7dccb9b918fbe85a9a1e29e338406fa0971a8ac"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/clock.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fcd0b6645125c98fba1a0cb82a717cfc7276914fa82260899f29893c133ea1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/clock.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d573f10797f60cb60d551285f97fe01f55d177a724c693ff11bcfd9f76ee0d54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e3f1ddd2b9aeb6fd627daef60421513855f69a13d1c7b90ef58f981fcef1325"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd4b16c81b2c96b1f56de5660563dd9548327fc0f8f16f5101e1daf8f24cc3e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"7223f5d8780d6fcb874c074ee94273b65b17e0d8c00912f0359c09b0d1f499f1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"3981f26d9c73d4b9d9dc0b70add264b276e835c4d0e64b766e1cca441aa106ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3965cff1f1b2bbe5ea8795aa28c99697600ddda9dfd9cf9106f72e192e88d8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"e845a3ea74fece75a91d025bd32db7479b12894a9bc57d0b3a4adbf76269a778"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/drafts.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"14283c5b9944857873c6df0b33fed9911211f2f073718f3b7a3eaa26622f7eb8"}},{"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":"client/src/utils/endpoints.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f30d50f5a09ac5457541870b48784458c01ef205e6d836355a94be04cbcd7c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fec11d4c6fcda5b91fb311e6c205b0045219fa317537baced3eca51cc3f4557"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/endpoints.ts"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eade58235da338dd6f9e64aacaf49cf5763ceb7e48e1adc95459fb0f4c3ee77"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e3ac7f303afdf4911d7e3ef311ff1c6a2c144dc13003f7ed25930e189295414"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"7838d764fb9aa9ced76bb942a071614878358ccca9a861092ee56dd5114d4607"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"d629440d730388e7dc7a03fc72c7537eabfca28614d202e8737ce62450bc54bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e832148ef3c0ae9b176037830e455c75813bbdde8a2f2ae73b46f8d2e7beb95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/files.ts"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"540f1816d88b8ef3f5a334bd0157711cdfd9010ef099c8aff78e52edf4cabd85"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/logger.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb7e9e14dbe099018f1cb1a106fb93bbf6108828704a6d47a1a031577c11695"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/media.ts"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e7119824b4c2c6f3d99afea0aefd85ba44b824f8562546a90eb9e1cfdcf75bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/utils/redirect.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c66f6b4e948541f9a6a351816b9abc6e17cad5b440d8a6a200814433b1755e3d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/store/jotai-utils.ts"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffc22a69ca5f8ed4abe54e31ca65220044fae0a673f1abc19cc40b63b4539ad"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/store/jotai-utils.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"532804e3177afbfdd67f28655a8cd1b34a31c8ee2618d3d67c4d68dad3dd7c33"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a59dee60ee091ee95514e7269c99c04eff4a4b70efb58485e52a2ee07ca9a4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9596fbca0478dd9904778e0e0450d42d16adb9933210415e56ac6407e9024b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d155f8c05f06fd9652430261f6ebe5f4ca4e5e3a09126d8a938e59ecf1c2b107"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/routes/ChannelLinkRoute.tsx"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8ed2d6c5619cf0350acf92560c04075c5e01bae84d8bd3d7d781d20c76e571"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/diagnostics.ts"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec99c7a872bfda280292b80e3cbef9eb4b2feb5eedc3bb0c78f7d8cfc3a25150"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/diagnostics.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b33feadef2e4988a5ca08f4fd6219174a4989347156b5379814a573276e482"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/diagnostics.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9efaca7a33adcb8f410d59fc5429dacd05a8b73492acfdc834fb128f26e8fbf1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/diagnostics.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c13c9f24f567dfeceb82f703c9bc6a302da5837a768a3d32fd598328757e4d5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/diagnostics.ts"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4337c7c1ffdd21a369d40a6b2cad0abbace3dc9ab2865c53c5ba71ecb2c46ff"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/logs.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e15864936cdd05c9c28e302c17c1996c32d863e767ed266ee5d9a6b22681e06"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/logs.ts"},"region":{"startLine":760}}}],"partialFingerprints":{"codehealthFindingId/v1":"21806246a306ac842d2d5ff7d2e05a224038d1c84bcb976fe3b3e39fc4c7d7ca"}},{"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":"client/src/lib/rum/logs.ts"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04bcebef165651281449ef77a9cc434c6a154bd241a7eda8c7fd48f48dd81c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/logs.ts"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"5982e6b0de9adc3aabadb500cda5dff01d5ce47d0432a6d97434edfae81f70bb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/logs.ts"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8de93ab36fbab5ac9cb74d6a2a3ab40a7846e202ea53056eb65aeddc09a74df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/privacy.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"738baa293be1753d0c9b258d385a729ab88e96ce274fc2736eca02efed523fb2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/bootstrap-entry.js"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f74fe121206eeac6703525a18a14704d178fa99535b497e9a89eee6f5a1061"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/bootstrap.js"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1a3e9b550be6c174dcf923cf777a96b98380560db614202f3e455c0dc4d793"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/bootstrap.js"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd51dc6ae7c1dfc0d870156596272bb06bb17cbc4a6e070e8ca44eddb67e6cdb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/useNewConvo.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c7d3326797d0d8431ea13faa31e785a10eac937a6c3480791c42e8b4fb8235"}},{"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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b3a0a151a1835fd0e514bbcbf61e6ffca6460c4f1ff4f216537516242b6384"}},{"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":"client/src/hooks/MCP/useAppBridge.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3986a8369470adb1477f8283244a4d072fa52b5a0f676c1d62f2556b7eec3c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e0e978861d6c4b750020aedead40cbd4f51812261fc56bcb6442c112e31e2a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Input/useTextarea.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c2e412284cfe72e491daf955fef1a140cec2959a71093162de672cac37b4cf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e7c3a40b6a58fcf6763441d43644fbe7c46727505a297cda868f7bfa460af2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccb06b6320d62a4ae284cd5a204b5d877e4f8409c4ec8499e4ca405b15df142"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d03d568049c7ea7a8b4098d247799177f71821f963902fab758de84ecee672"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f61099cce25cc6b437702d4162fcacd9ee7fcee057c5562843db7e5ef27549"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9450818c462725215c1f3a010b99fd61c606a99c15c1be0bc3930e1bea978167"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eb660fc495575b8ad4aaf4959d8ee5b68b02b24d5e5f7c9f938a52ccfe18ef"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/search.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9ef7cf2cc3659fd7000712b80d31a6ba2ed55a5f5858bfb3e1e0a3f9d11ec0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a46e171e5288e2d18a0a5f311351660a3d515c9e40a0e2b6af4b61e9594f95"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Files/usePastedTextEdit.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f527180aa1602255a67928b45b98995ecec02cb447624d9bbe0e30daffcbe3b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/focusLease.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e41f21675ecf2efd0e5db911471ead7e266207475d2ca8bd6746c798f0a443"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/focusLease.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b6aa23cc2b41a9e259f457a0eb6bdd1c95226990d5bf6c43fc912774e7b144"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d071bc7681370a64c92068cf33cfa423ba74e2eabc1b0c5545dce6648ab3bf"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyAlerts.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc2921389e30ce3aea74dd5d385c325487dd7ab84dd7ca95ad81782844439a2"}},{"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":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":500}}}],"partialFingerprints":{"codehealthFindingId/v1":"2abd38d891da627fe52c00b2f370f7474432e0939166607ce3eb3bad6595ddbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useReplyWatcher.ts"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0287677d1258dbd205eb097e1d4751b61f310510e8fc0af91fe9cc979b73be"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Conversations/useUnseenBadge.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"05aeafdc5bc0eb1b95d19e18fcbc83c205a25279e175320f5b6322566acc2a7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Auth/usePasskey.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7365768f2e0f5f5f95e01abf30bd178910a1074d3247b0d40614282ea95eb051"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Auth/usePasskey.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"539e5f368ff685336ea8f833f692722b21774fded54c08d96a6024762f20684e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/codeApprovalPreference.ts"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"79af3840f0e66c7fe511abd2f9982e0b5452cbe1b9706ea4faea095f1c8a218b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/hooks/Agents/workspacePreferences.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dabbc03ef083ce1a3112eb425a8961b1eec6ad057009027a6ff958e63daf220"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/CodeEnvironments.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fe935dce6c734b00a88af6d388360d229a68c4656e5e0bd5929ee8f9c36c310"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d668e79a6a7afdb495e359da688fdb7ddfc8dba83550bd280254f2bd7437c2d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"891a0a35f134f66dab4d2ffb53b8c2a8f03c8c98e7b0912a5297cd844284633d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"520660282c294fc377fc14240041dadf15234ec6a0a2ec6de75fb3084b922c1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5224daa5fe7021d36db0262aac420365884de807e19ff2ed08c34546cde6aff"}},{"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":"client/src/data-provider/PullRequest/signIn.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ffd3bd9272136e5796272c7aaae2955189682a6e746ab8faae9e8175e0b24df"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/data-provider/Files/queries.ts"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"115a643132af60efd9f87cb68ed1d70fee9be6b46c238951386610abed21cc3e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Responses/Controls.tsx"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b86663895ea62d8c4a13d4728d61f7518dd170d704c58d0c05940724c4536b"}},{"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":"client/src/components/Responses/Review.tsx"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1ea9272eff741d42ecebda91f6442f885b552e5f0a5b61116d96582f7f3eb4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Nav/SettingsTabs/Data/ArchiveAllChats.tsx"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d677cbb466d96ad2e9e0c3571962fe06a517e9a5a409a74376ea4dfd63c9cb6b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/ToolOutput/OutputRenderer.tsx"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11b312289b677e3566d9e7ea1542ed30ea3027621f71bd75d4932a1a705b3ee"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a682acde53101d274f05035d7aa95eee134a3927d842a47fae1e190df9008d8"}},{"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":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fba718bd97b4a75ff05274c7767591634c778c61d4a06a3c9a120dd78d3df19"}},{"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":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f919d1c5a03e243f759cf3d392c3c5dd876f3d58d0096840d5acfb9d0341e59"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Channels/Workspaces.tsx"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"75eea49747dc57e3d5186c9b4e51093d4aae26c886f54638a520a5ab9685fdf3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/themeCache.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"0577d0026bad4870c2ec7a1c76881301501fa42836a66e7e1766770edac0da22"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/themeCache.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"826cd074b48bb882449ea94de4bb4099b1a1651316cbbdb8aa975877e91c46c8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/Providers/themeCache.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5f2887143263bbab718057258e4daeb4e05025af31cdc03bdd9890b5ffd46a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/cleanup.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4e2490ea10188d29655d79d0f031a07e7f09f3e99729627aaad37723eb604c"}},{"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":"api/server/services/OboTokenService.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"522be1a3d77d669635389a942b138f84fcb99f9c8972b2a1dce577b3d1da706e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/moderateText.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc4d25f822f12fa168c849ac3242017c70726a4361583dde2d8fcd7148455c2"}},{"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":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"797709c66e95eeb8b142a6e59b4b26f0a3551424e846602afba039712c04cccb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0024effbaa917a940764d721659bcd077172af82e093c44a5da72bd47094547"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1491}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c99fb7a42c8a345d3eb151f18d538c1fdc1e71098c65f0661ac6027b77ad572"}},{"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":"api/server/controllers/agents/client.js"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"902423065b72e1677b09483dfdba9a4cb6f322bf7b43536b8404e6c3d1129ecd"}},{"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":"api/server/controllers/agents/client.js"},"region":{"startLine":2567}}}],"partialFingerprints":{"codehealthFindingId/v1":"981b4200af9077fb40a2bbe43326e315e69af1cb99b17be4cd311a7a9ab9b550"}},{"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":"api/server/controllers/agents/openai.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0d5e970fabd2b6e7e9d733f5d481ac1d472fe0f729b9bb17da4b39136a70c12"}},{"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":"api/server/controllers/agents/request.js"},"region":{"startLine":1541}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d1c7102f9038bedbab24cc7ec96aa59f3aad189067c8d887580848b3b2b1ed0"}},{"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":"api/server/controllers/agents/request.js"},"region":{"startLine":3689}}}],"partialFingerprints":{"codehealthFindingId/v1":"978a8074f42d67728f1bf35920b3eca4416b2dfa6430eb8c953c8fd1ea37ce8e"}},{"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":"api/server/controllers/agents/responses.js"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b09db724930cfe0aaf3763eef5cdf2fe5eb3f529faa847d7273f87f40d85861"}},{"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":"api/server/controllers/agents/resume.js"},"region":{"startLine":1351}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a9ed80b43c8b0baef2e62fd35af89404f3c95c9580f22429f32e4e8361dc12"}},{"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":"api/server/controllers/agents/resume.js"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90e87148b57e5cf5be4acb0cf9cc89ad5c3ebcb3f600a2107b31dbedf2a7067"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 57 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/retry.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec350e45ec4fac157464d51e1555cdb742db3334cd901205acf4a3ce3541a53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 67 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/retry.ts"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b85314be6e6a4abd37e92e23ff78950ebf668a472ca42dc31b8ac1a2682a8be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 157 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/retry.ts"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76232fb5b983b9065729338852239e904c21b9bb83e1dec6ac15e9ec7703f5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 36 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/tempChatRetention.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"49397207e126ea0f617b4164169ef97593c7568251b3ee8012b2b76c6198cdad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 48 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/tempChatRetention.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8568e26dd24c6dc01b34c22a5151dbdbf439a872b76e6a22edede493d458ab60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 56 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/tempChatRetention.ts"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0497132b6527944757b856a8273770076b4189a5fa994d2446b33450491d9c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 61 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/utils/tempChatRetention.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6859f7c03de774613d5348c5f2f6e12eb99698af7747cec0b71d3be128e6872f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 208 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/index.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca9505f7ae561ac3022c33f09f9956666cc58834ff8192cae66932d88d9dc8f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"74290b0c221868241e7cd30b970c0973d4ee1a387861a10f98ad5b6723ab03ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 494 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e136e8a7d5ad88d741fddd4b4a19e5e4e9461fe033b42004a57ce7bbf963f1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 501 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"069f24911c6556646b8b7a9ec30d3d56092d5fdc5eaab37d3d026dbb4b6ee627"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 507 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"e579bfbb56e96dd4da72d6b56f8ba73db011c2457c84a9688f08894420e0b12e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 509 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2f646bdabb02da38f9ad8d00878e99b36f8e8821b5d3ec90dafb26a701dc79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 550 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc397eaaf186c42f75ace0603c1d5ee239dded8cd7dd2da23a82d7b989e42f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 567 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce7293e988f0ddba840bc185f32a6a097943c780d23078cae664582ad4bec88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 728 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5bd5334488adf137058672704cc6ea76b052fd669d4efceb5bb23a6c762ce33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1053 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de4f0ed025754105e1bb9441993c6e10f5d2f514e965612eda44a192147a6ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1058 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"7114ad3415bfb1b22edb64e8967b6129ae25677667a9c16738b04c72a6649bf7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1064 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f027ed98ba3f07e36e436f8b2941ff57bf49aa17849c642fb8c2f89b263b3db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1068 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcbf7c76f62fcf58ac9adcdab959e213df9af75929f69171123f83505a72c7b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1070 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e4d9f8bfa8388974cb3351f243e7c5b0994e14deac85e5e2978eb3e2ea772f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1073 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b751e4ad7e3694696b4c4fd756ebdeb1f14e2517a9ca54498a38d2003964d5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1077 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1077}}}],"partialFingerprints":{"codehealthFindingId/v1":"2922f923472e70fa9973080a067aba0943a7ec6c817ebd9a2d0fcc878add70ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1079 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1079}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5976e79ce8593afc82e667caaa5abc095bd24adc8d7a317e20d46f8b40b105"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1083 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21c62d782202dee7385425509deb33b60282706ef24e59e107af474ee9d0210"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1091 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1091}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c49ccf50ffa90a609fb1eef5a22de4dfd72d0a4fa0933e96bff455761720b6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1093 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1093}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7b309fa3d60a6f97d1ee01476ef24a69fb92f67d7ed8c4643ace8a71bde27"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1109 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/models/plugins/mongoMeili.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b24243328d4b4b92b6bcb5ccc2b62b1b211f791be7a07607457cf90e43daf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 54 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/promptGroupIndexes.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9753770034d0d7e42f544219e946a36ef5ac05006525a7fb456e8a2fac92a49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 60 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/promptGroupIndexes.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bb6524029c2f2574e3cd0cc4b52195e2726c0cb969d4578ef206778a4c434c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 118 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/searchTokens.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b161e0fa38889f97254baba0999c2bd7ea6b46df16aea332847fe374d11d3de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 171 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/searchTokens.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62bbea230d31e7f56a4ecb1880e609c81bf469726e79362177bb974b694be6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 107 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/tenantIndexes.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b696c6a164542bef22c84074bc66b1840e3bf356369e20ecba012b2290e4755"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 123 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/tenantIndexes.ts"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"25747727861144a589a610cde47661d2335226ef5a054fc85fff37f75f1a3acb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 130 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/tenantIndexes.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687054408ca0f2e5ee92540abf2a1d39826c1007bb5440e6d3cdd4fa7f18320"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 134 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/migrations/tenantIndexes.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa2403c69266fc8212d4093062f11b1958fc313246a8a456b459d39b6031028"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 277 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8529af21eb9928fb53aafd32e037242f5d878ae4a4bd99c0b87cc0698a38ec5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 288 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"e490634c4fdc5fdae0e2b610706364cbcec537a7c97d5dbbdc9ddaf34c6a86e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2464 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2464}}}],"partialFingerprints":{"codehealthFindingId/v1":"c097a8f44662bf698189b8eea77747fd0b683489a31b9818faa73bbf8d938645"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2553 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2553}}}],"partialFingerprints":{"codehealthFindingId/v1":"998cc4dd13c2698b6c96c7b68226b6454d99b85903e6c2827530ceb1c1537dad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2568 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2568}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ad11947f7e4f7d1a0c2c5190a05189490fb4a2b2e0404452f2c7e4fd15f923"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2579 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"293c2469409fc89a1fe18b2bebc8820b3cabcbf38edf0e8c057a7bc2fd7c7eb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2592 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"99126fd87a6273e36a6d54e4b9b2bdae793a352133ec69489e355651a32306c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2965 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversation.ts"},"region":{"startLine":2965}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4605b2240da869d956eef936f5482d99986ee68b96f046890c20fc60f26407"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 495 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/conversationTag.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"a97492c5b3fd99a69f98a6ce769fe57fec993b04300f96c8b40d1f11798a366b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1847 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":1847}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6471184f7cfd090f4104d8c4d86d5a9fef914f0a7052f2fd0562191a94d5f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2006 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/file.ts"},"region":{"startLine":2006}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb20d07d4335aa3e04be6484f6926858972f1a8d865174e7095c99d9d1f0e9c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1081 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpAuthority.ts"},"region":{"startLine":1081}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a054171fad63c9d413063542c15096e4dad6def567fdb8aab2d664238e6e94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 206 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/mcpServer.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"f84eaf3d045773b93fe83c9ca3e28fa10a55801facfc2160ec658c0c97d75689"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1243 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb989655b2ee1f1427b50932269e766440588ba7031fbcb1e68a7f092d03dde"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1284 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1284}}}],"partialFingerprints":{"codehealthFindingId/v1":"53421857659e05571f6e5073f807590221078497a0230dcf6a9fcc9af8beacee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1299 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee6ac16075ab4225c438ed010fe129147d69dba41d901445f09ae894ddad984"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1310 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1310}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b272066c9e51fb1fd73240fcbefd3e38673fad63692c6d7d8c5fd875349ba1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1323 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1323}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a48a24becd6879f0de736348a13d85ad40d33135d44615a2ae98116b68ec5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1340 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f873b59e7ca7683acdb5c3faeed48c0281fd7171a8cdcb194fdc3f28dc7c754"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1343 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a0bb1effde620fc8c5efae27d65f3be4d7942cdc90d443fc3b2128baa6b5ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1436 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1436}}}],"partialFingerprints":{"codehealthFindingId/v1":"675a4ab4391306ae18cd1ec5c12c9e361e54e4c01d32d62a5668ea680c1eed7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1440 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba2a9bb32fc710fb18bedb8fee55529d5a58669c27a6d160499cf9b70d841e49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1455 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b8b822bba18d735bf1874a633b52a38b5aac82c7a1d44c6cd7ebce4ac39033"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2652 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/message.ts"},"region":{"startLine":2652}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fa14ad3d32a765b5015d84381d7868a468e235a6e1c9bbf48e621732591b30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 462 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6639a94bcd2d4a717a01dabb4e517dd9eaaf58003a4efd55054b86f87c28113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 492 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fea7386a0b2ec3eff8ddf3aa4ebc45d1f5642988cefa4fa35214a3ccd6e330"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 506 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9af98dc62d33b997b777710ee4a1328c16c31008314818bb001b3e4b343ba68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 526 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b2aa372c0c1cfcdd9fc019bd821d53050c96af70a639de0892ba483f9e6bb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 533 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3576be267a3bdbf109c1be0909b13e0d4dab5880f1a9a461af385c412018fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 544 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1ca03ec576ef540f85d48a5736a761c87629bcdd13cde3e2ef40969cb17e72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 560 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"62300ecf61e8766aa4d0edfb3829e8ce4ecf60c5ae35bf6ca39f7d6bbe5803ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 562 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f867fce9b32cdb85c7de3c410481449c0a78364c56e4690cf2e8dcb91804ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 569 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b25bcc8680ac109b6e5975fbc25563a586e774cc250975691276f7aeb2c1d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 571 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d3366f0ebd431101f156392038b4f447dee5091df66651f9f50e96e7b445a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 574 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"418c1c53d5e59a3a79f28752f21e9d5fa7cb64493bfcccf98973cae454e265df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 617 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"55072dae2656f8b2b2a7297eab54e6220bbd051f529dc1aaf496d4916d60747b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 729 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0f6919d972103c30652b3c8af7bd9abdd8a434a4092ab1448680031bbcef13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 798 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/role.ts"},"region":{"startLine":798}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e42763c082ed4003243be0c26d2dffdb241883993ecfb11320a11fa990797f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 239 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/session.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"9926b6efe66b31b60d37e890e6ef6554f91ecf806c827e044d2898603d981816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e4597912b475357cc330967498dff6062225b0d54153996355790f61ef1d31"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1796 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":1796}}}],"partialFingerprints":{"codehealthFindingId/v1":"197a885f151a80dae42ca0c293dd404e0e1bcbc522c6a251d4e6f52f50f1f46a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2160 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skill.ts"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd91a7596245fe5d7aa2aa603f423390683279966942180a900f4d011876deb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 247 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/skillLifecycle.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b917f846e56723c914c17b6251c19fee3bb5584c7e0e79456d68f3b1b5da31e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 52 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/spendTokens.ts"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f55d10bd3eab189813797f8d4577d56194f20f6764cefb0d98202b05f315f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 116 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/spendTokens.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b5db426eacd33080fb1bc682c12acb7c91fe36290d97900894056ac53b8a23"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 569 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/systemGrant.ts"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa64a1191e67a9a752ae52752c3bc4050c69e690120864fa4f570b92b301b19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 338 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb50b28cbd4af002be03a9f06b3db73de46f49b8f91cb584b32a5c48e8fc92d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 349 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/transaction.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"7485c7381d23d76b24e6f0ba61dbec957ea37cfb26f2845fbb5566ef2126e7ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 40 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/assistants.ts"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e6884a7e54b17642d4c590d428fbfc091a526ba6e6c0c3117c91877e7b8df7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 48 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/assistants.ts"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0c10be221697814c875e74f1743675a650916340dc027a46b113d51573f0fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 292 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/azure.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed98bc791587634e3f688ce4e8c5ecfc32944101fe907cc10014d07217c8963"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 381 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0b9284790db889c806f144d4e7e24dd9362220d418af63f0a0819aebac0510"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 451 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24b05cbae184532ddf1a0d44d1e47e991dfbecbb9353573c54840aba522148a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 509 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd1175b920c1bcb0171c7e1e41d4ab39e3f34a802549a61ef931e77211cd9f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 547 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/derive.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb54f4a3d5a22144b1206e543f6ab41e35a3f2fc2dca56f2927b0030a841252e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 114 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b10e31de5bf9bdb8589901eaa82432bcd213a9037933c666044033cde91529"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 424 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e85fc1c6a1222ee7e3d497e7786b0bf82f546b5a91a570daaf4f919ac7db56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1568 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"8429e8adfdcc00390be5ae7de120bcc3606e7695b9c4cd7051e729ca077f62ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1581 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"190e4c3956867adb16d936b98a0912ae113d0a6b654f9fed5cfd23ea46f5e6c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1601 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc62b586a488e60950817691054619b5980808c434ad8e5888557afaa01677e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1859 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d8a727147bf2b658ca968773cbef1842a88cd31282520149ffce26c764a685"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1928 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":1928}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ded17fbf91920438ba3627e16d0bd020a8c42a4f0572950f23a91f0129896e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2014 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2014}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd12890c598a0c267522b252a8041aba17383dee49856d0092961a41942271d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2020 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2020}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2890f55af2d6618dd0d32f71a4229a7bad3e043e01932a9397a3fabd08e1d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2026 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2026}}}],"partialFingerprints":{"codehealthFindingId/v1":"653cf7052a8c7ad81bae0ef4ee4b83bf5f4543e9af9e7cbf97e3c1a9302b4856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2106 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/app/resolution.ts"},"region":{"startLine":2106}}}],"partialFingerprints":{"codehealthFindingId/v1":"250889468ace5327158f10eddcaeb72e802f614b4e0d6dc29728f6718b3c1398"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 424 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1d445dd15466b48560be52957f88af19972534db69e2d175f1b3e33ecf5bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 683 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/env.ts"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"330e1085c2e7922c732ef38607cbd9deea345bc1e97d2b38f6007ab10b8706f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 47 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/generators.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f607e03019e5cb2dc2dafedce7cb15a37a9290cb96e48fcf751368266900b3f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 14 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/import.ts"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17411296dacc5a1aac2323147ab82cdba846f9c25610081da2f26654b6d2e1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 65 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ce6a0ca16fd84ba0f277ef7e0fd0754b1d2dc0a6bf2e8c7b825edb74121701"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 75 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"872b9355ffb64c139ffe33e8d3f9ed913ce3989a01f914ffdb1eb6e294f362ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 85 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a83c8ce7a328aa175d2a3ac53daed7b914802420377acfb6af334b65601f38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 92 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c768994620062ee32fe4a716fe5b7a3076474a342652afabd99a296db16c99d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 37 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/keylock.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ce17d8c0bf801fb0590595a764d449aa929e80270b56be56bffefcfe16dbd0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 57 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/keylock.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"b459f76b177a6baa0816463d6008af2cbad5127dc32a87ff4a9bd2f94a742787"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 133 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/memory.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bcd7bca9d384baef6d9506369e62380dc0528d9e92005d54034958a62fe68d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 63 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/text.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be08d6df7265c27faabecc254d74149bd7f20cef6c54554661a7f5f86620ce4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 91 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/text.ts"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ac8bd662661de5da584bf888f9a71f4305405a7e603249edde7af45a8da956"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 78 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokenizer.ts"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc94d206c1f15e4b986e9547601a44d566e202252f688785b9a427a682b50080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 151 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/tokenizer.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f6198c7d613ac82e513c6ee7fa0b5bb50bf2a3bb70775edf4f114d39d1f10a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 210 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/user/erasure.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"782b4eccbe37f446c5230052c6c646d686d85f35221ebb3e907195af08c45cbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 215 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/user/erasure.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f390d2a7c6fea0f5d9bad26d8da0b86b732afa5c977f444968a15e2f4e68dc6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 269 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/user/erasure.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abfbc32e44d69624780bf8dcad6ef626cdcca0c54a9b457253d76c56fc3c069"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 274 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/user/erasure.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac3ad866eb1c945046622fb546c93035cfdfee72c01c16512b1b65333bc1358"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 189 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/traces/handlers.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ef9194fbd597cb5eb42b626c0ca75c4727120359a2f56269dc2620b61db2db1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 193 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/traces/handlers.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b269422135436625aae42cae7495aea5fa9d7837191e735bd67fdb07eec0b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 481 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/classification.ts"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb1b7ed1b7cc6a691b071073d494aef9b888d1d6512f82be05ca3cd93c4799f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 515 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/classification.ts"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"405caf0207f98ea7341049a0fb1b376458018a0531c26e64db7837875f9cd057"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 541 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/classification.ts"},"region":{"startLine":541}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef69107d9f34900964445acfa4f60261ae75390c6de4f0e990759ca75a96dd7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 142 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/format.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b42c1fd75be440a0903746eaedccdadaaaa71f2124c6b95b161efbcd454a9c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 167 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/format.ts"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb7eb2cc5845147424e5ab3e9e24df506bef18b13f954737be736c89e268a46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 90 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/rolePermissions.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8b35b54db06aaedb301c54506835ab73a43a7643250158d86cd5dbe0dfca4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 97 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/tools/rolePermissions.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"0410352ab7a372fdd8fa7b52fedf277d469b1a8c7f631e3eae0c222115cb3aba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 188 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c46e5aef9fa6c5bdbc99f2d2bfe4d0640a1cede12706d301d6b00cd64c26ffb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9b29f05fa6be90d467839b79fb6ad4c4f33d754dd014f211e0ee0e253403dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 347 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"275500bd6cc3b7140fd249588f2eefb61b3661f20fe2cbedef7b0ddca77c38e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 532 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/ApprovalLifecycle.ts"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1dfe36633fa3415a55dd52d530b714788ada1bddad06b2e0459f6602b0a50dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1125 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7973a97ab501606b42bd5b7a42377f26e534733fbd50dfba9e5d834c55be3f9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1177 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1177}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9d9b9f4a47801eedc4418dba1596d4fdc238f5dad32624b28ab5f7f844e9793"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1479 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1479}}}],"partialFingerprints":{"codehealthFindingId/v1":"6861edc1b7883ffa3a5fca082589693e06dcb385d79c523938bb28a74d693f0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1510 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":1510}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b08b57204a271ad43aebff21ccdfc7193242622a93a32c932292e6406b4df86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2059 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2059}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda6d39ad18ccd9ceab3d898d2e3bab5f17f09660542f41a333cbae247a68eba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2082 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2082}}}],"partialFingerprints":{"codehealthFindingId/v1":"01efb1eb989e874050e5e9ff030495a6cf8dd54b055d48978dc4b2dbb4dce2b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2120 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"af7ea99ed5cdabfecf6e243442673e60233ac50c9cc0d6af28ba788be39d1f10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2161 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9420045bd1f4dfc3123c2e6aa095865e43542f1e70fa4ce7ee277417dbbecc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2173 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"280c607660ffa9844f0fb0265896faac072da3b8fb52db4601b6d1e4ef452507"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2200 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2200}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbde6377c27491622f3d1a544a4aee7d62651bb553f046708cb75757c5d0d5f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2435 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2435}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60f9f3034068025bdb41e244a5c06f237d81fa5bf97a823751416df264749e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2526 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2526}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc3a3e9451014dafe91fdc74895fa98a23f3f7fc24211cfe76874687c10f973"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2539 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2539}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f965903a1f73dfeee0c5e2dba703d59dc6d57e4818ba63986ef3c847c739883"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2650 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2650}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9be5e4b29e44aa38635e7f542d641bac646da2ff946ab338d37d8c2c860afe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2666 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2666}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d448ca7262145ce849296736c01b957075bb39123de53fdfd8892168ed8f8bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2685 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2685}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d80a8c54c02dbbaa2c165b32d04ffaaa8409077aaaf6d54443129309552d0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2738 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2738}}}],"partialFingerprints":{"codehealthFindingId/v1":"5904bc5c158491f417669ef16b0e57965757ba93ab42cae3e090dfb95a4c9dae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2800 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2800}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d56f59a52e3c536e72507f7f4bffd87750d9f174e5ac47b3ba592c115c5056e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2829 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":2829}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ece16936b45ae708065586e70a80557b09b5619837b41bb634b3fbe3879f17e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3028 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3028}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4aeb603d066d631615b24e1ea08e21accb8e84d6002e2897b4bf019e96b63f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3039 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3039}}}],"partialFingerprints":{"codehealthFindingId/v1":"3103cc0f480ef350b7c7923fc73ea1d2f4364c590c13441bacc370e9cdcbe496"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3058 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3058}}}],"partialFingerprints":{"codehealthFindingId/v1":"b917aabca160498c2f4f4a727a0e62a38dc2a64384b94a299a5bea46129ba600"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3258 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":3258}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a414b5c031beb076109e08a181cc9ad41993858753e6d62649b5c3ee8fe9c54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4089 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4089}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55a5a2e0bb828630cefac0a5a74317e58373fb1e0d803cd33b18602fbbccf1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4131 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4131}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adb2e832ba03a125f233add39cff4e202bdd44190a79e65cf7931a5312d76da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4208 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4208}}}],"partialFingerprints":{"codehealthFindingId/v1":"73307d78e2b879ba9afac68e3fd8459af72fb512a2a7c3b1cedf0d73b1d855c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4301 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4301}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbeff9da273c7d26aabd09ae6682eedb5addeeaa9eec6a272ac04aca2b84c50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4335}}}],"partialFingerprints":{"codehealthFindingId/v1":"072e2d15ac31aeae31b5adf8c6a4fe393321759a2c13802ebd60b5e67c1583a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4353 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4353}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1fab5779032bb4f1c89c828bb20fb323e659a35ee29378c98601cf00a6b017"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4518 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4518}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3743c45b107c89023b017433570b08ab4d8e12f6e10406bb38bf9438b052d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4527 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4527}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4d8cf21a9e0ace92ab502db4ba4b981bfab9f87787018f6580071f69d031a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4674 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4674}}}],"partialFingerprints":{"codehealthFindingId/v1":"1051367da0dcfb0a2e2686eb4fbd66341b9014a2de4ae837e291133f5dd35816"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4682 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4682}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5e949cf2acd87cd746352e4e2a4944bc61796b6c0d3746fc737accbd7c42ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4776 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4776}}}],"partialFingerprints":{"codehealthFindingId/v1":"711bc6aa17bbc59c23373641316da6d56546c98a4828745f12f316304f04bf9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4800 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4800}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0e4cdc6a2cb26f3a8c32d3473cd7aecda00b0341c899bcd103a2f4c68a36d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4845 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":4845}}}],"partialFingerprints":{"codehealthFindingId/v1":"57baf4c7e71a7abee34714c73201f1921e93c380fa49d04791d079c5c5671279"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 5004 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5004}}}],"partialFingerprints":{"codehealthFindingId/v1":"4add6f48c6745205c92e3316bccbf0342f35b5fd910000f995ea0df9540d3487"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5025 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5025}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d85c640944b3006c20bcf3a0294b8d775fc7e798dc831397cd57d5c644d2b86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5041 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5041}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5d43c9bfff44e24125878927c5e5737094dc9be6e0acfe64d7545bb40930b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 5148 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5148}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7789c0406b94af99129b6675d17ad5dbcd7f60f3ece8778ba0e8655f4308464"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5718 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5718}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8000ba82c3cf92fecee6189f906f9d28656df4a305432c665c45a2705563036"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5729 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5729}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2ed8f62bb3313905b4860f01fa15f5c05ab1c25aa1a2c53daa6a57b3128fa9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5751 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5751}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d72666950fb94d39edaf1d7f0548630e0ae71ba3281103c1894ee23992d1a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5782 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5782}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee16a51ac2b19da347eaae1c73b264755dec32ee82ebaad7a4d7c30a48b7bf58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5819 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5819}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e8a7a0a5210f4d20c2c1d98c012204be7867ddf1dd918904e3bc45a3f9ce37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5904 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5904}}}],"partialFingerprints":{"codehealthFindingId/v1":"8369ead103dd396f8a7dfb961a7d3a0c91bf89a9b9664ccdffc9077f52c56462"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5922 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5922}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c93ff411721f5a99330da5eae7695cbfaabe6caf041a6021004a5d34837b4f9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5950 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5950}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90b0e5dafcd7ab301f4bbbcfdae07a3493a7def28c5d380f059979f10fc25f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5956 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":5956}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b95fa0c6131c8476ef331f2304667c20fe757f5a6e461007626ac7c41e2b645"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6222 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e823ec50f61631480d005fe439fe750511960b96aaf984358c08988a3ddbc24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 6720 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":6720}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9a3d03b4d3a91a559744938726a6c43d16d48309e0a72ffe316e69b405bd7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7441 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7441}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbe3369022651752410fafb34ec71435180173560e2785a409b1a0217457685"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7473 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7473}}}],"partialFingerprints":{"codehealthFindingId/v1":"95da26267dfa89185789c2c0833d53bff9d025ce968ab4be66042fb56c8d1556"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7514 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7514}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c38fb8c0e7dcd1f52ae38a6bcf8f38de1a7ba50ef9e31a134bdf9176b3ad096"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7723 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7723}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae4fdaa176b416b872980ac85e80ab40f16e7012299e6cf15a76c66de08479c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7729 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7729}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b86f30c24427055d368e6e3e9b9950426a47823fbdca0eacc577b755d964c7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7768 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":7768}}}],"partialFingerprints":{"codehealthFindingId/v1":"9239c5f2c672e0e7284e0a70a13b7b6b85f2247dbe4d4a451598ad1a67b7ba12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 8442 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8442}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02d93bccc86605c5e18b40a0b382032ea8bb86f0587d613285db3e5581c86b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 8865 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":8865}}}],"partialFingerprints":{"codehealthFindingId/v1":"855c7a054b0a101d1fc5d30758609d3a5e2bc902db94444a328343b321007671"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 9426 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9426}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6400c381898ab698f86f812012c376f918ed262e8a91afe754b2d236e45dc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9486 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9486}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d15b8036224106363ceda037ce35b65b926b571e7fd1d909c9bc1961323a3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9511 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9511}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeb2e2d9c13c9e93864dcca5f815e721bbbfd698c8471c02275f282effe8d4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9556 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0635ffd5cf305bd5c61f2fe6c0cee3a8a007092da2640558d9cfed80de982d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9562 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6dc472839fec85b103d74fb292ac8cf5b8d3cfe0ce1a49965e105834e2d136"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9627 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9627}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ae44fd21bdc68e44e3c09f30cb48068c299efc57c6b27757254b80fb3eb0cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 9690 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9690}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8bde4f6352856c92279c985a04078934964b0cc5699b0196afa922a01140c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9718 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9718}}}],"partialFingerprints":{"codehealthFindingId/v1":"16214958a81d7619ee1b0966b7d13ddb40f34cec808bc5787ee2bf2dfecc18e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 9822 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9822}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce614f0aa36e841dc55c3fd409bbf5ad2e9b5ce11498e0d190ab6d2398313730"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 9863 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":9863}}}],"partialFingerprints":{"codehealthFindingId/v1":"800a224f50cbc1ab5ab3be095a4c6e0dff476bb4e7d004cd4ad9db4c71c89caf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 10041 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/GenerationJobManager.ts"},"region":{"startLine":10041}}}],"partialFingerprints":{"codehealthFindingId/v1":"49216a6c0120dee8dd402925e0939e0566ea5a285bf0088e09fb3efba6958db8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 131 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/SteeringLifecycle.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f18fdbe2c941f3ddbe703ecd8ff568a767a62cbc46c0cf9e8921b61caa9fe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 328 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/SteeringLifecycle.ts"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"68799127ff6bd717defe45cb2036d46345e3550f1012de52656cb7a3ce501046"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 364 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/SteeringLifecycle.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c7e863424c1cd4ee878e067660029b4b68fb564a5a1d24ea1005880890ba95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 387 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/SteeringLifecycle.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df7319648eb2eecbcd9f9fafaf570fa987c0780d3c64fa1a816f68e2c83e4a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 73 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/admission.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca6b0f2cb602d80554057c06cc98e27bfeb407df73ba8c4fb0a4189d8cf894b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 86 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/settled.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"584ed7428fd7d3db75f6a1e5c9af503574acf90fecd6d2abf311ffe5144862ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 151 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e25c565d330b769e76b3f6d328e4397f26c2d589d8471534ac6779190b8642"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 336 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b305c0a16049eb0d8ed43621accdc491883e3ed9a36a6a43d2783863b307f5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 351 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryEventTransport.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f9e7a9c36a3676fef9bc3a2c8abd18390db8e447f32436dc80774a1b20b2f0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 690 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"51141e03ec7156df386def1aa1c6f8248553bbb248b463fa752d1140811283e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1113 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f1d10d75391aa52ccaceb25b548b4140aed7b8f12613af765e1a26ef959d36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1270 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7c7156e3eb58a29a6cb902024d7b6a89215381fd54afcd892bc780febccde5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1297 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1297}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04727de89c724d190387a5de59e627aa580bd45ad03bb95ecc27db168d6b924"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1332 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00780ec98c5894adb203da91daf692aa4350eba13e6a26fc7c5f48a560e578f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1365 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1365}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c1255aa503b117e43704971aabed21365da56c0b0c2f1b975dd86c362930c1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1404 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a0a54de25ee5a6f4e917246d41a66486f97028aa4276770e8caebdbf5ed5a93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1410 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6a166f64f8d2b9ec1a3dabfc590b0a8e5b1b603ce56c2324c10c7c54cc1a263"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1428 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/InMemoryJobStore.ts"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"88815f2a5742a70bf34f977ccb38099928fd4432feae2609e485c0c642cc64d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 704 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb5dfa7ee7dcb170a5e4a8b1fae94fabe79f90c32ee3df3a710cd7caf85b6b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 732 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"a513b190b23e7e0db8b1073ebba09c39e3d48803af813ec21f486e51c08953e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 755 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8384dddf0b9d884378fe903611cd49f3e6f1a281ff95e0a82cfc4a5a08c1d89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 995 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":995}}}],"partialFingerprints":{"codehealthFindingId/v1":"54843dfd1d1ad84f3f46a4d2177b50b0096f6fddd2eda2e142bd882536fde81c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1037 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9ef2e3e5480aa6c27aa44614ac0f57cb5ec41fb8f132c933dd8dcb0d9eb9ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1043 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e481fbf6213bb70b61b6a00604409b5fa84842821ea3b0260138637a4cc03fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1083 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eeda262d2853b7e7a01efe3573b62d6d8dac0c4ca292b1c523b39eb9d54e6c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1108 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1282b8a741f7076769f48738a8ad94aed998551589c237e4a0658fdbf8f70c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1232 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dfc24418046a14730920c70df6358be8a057a61151d8d05cefe6f3f46774d46"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1608 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1608}}}],"partialFingerprints":{"codehealthFindingId/v1":"83ac0c8d1a2b336cdbfcb7a5252c607a20cc8c657bc24518a9b91abdafa0cbcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1934 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisEventTransport.ts"},"region":{"startLine":1934}}}],"partialFingerprints":{"codehealthFindingId/v1":"52597a04c74c03bc777647eb2960333efe27b28589d5c52100a902e4902b863e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2421 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2421}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a9eb44185d8cefffd43d120bbe7d5de67c489f63709e0c46f31fcb77e29249"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2998 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":2998}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c7e6b7fb89444d71a9e0e5756665e50e3afffdb51a83d0fac9f82882807c81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3002 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0261bd6720a82b8642e2c5534be6ca87754d54b4476cf00e30a4616347786d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3381 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3381}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05d494f6c81d9424121fa9f72021481a403e2b6b02c5848acf4c6aecffc07ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3815 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3815}}}],"partialFingerprints":{"codehealthFindingId/v1":"a180e5ff9939909905c9ef94c55cb1a11f5cb8f0e9b9be822b0c3dc0420dab15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3837 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3837}}}],"partialFingerprints":{"codehealthFindingId/v1":"4765c01dc99dcfebbe64df865229bdcdc221748dc20e1992c945f917aeab3c75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3879 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3879}}}],"partialFingerprints":{"codehealthFindingId/v1":"7098fdaefc6e41b57f21b3e5d2863442fefe6c57a725c817efbc7b92abdaed0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3906 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":3906}}}],"partialFingerprints":{"codehealthFindingId/v1":"b591ed44f71060384b849405a97898ac7a55dd61b997f0fb4a1fccc2a3e86091"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4127 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7326aa2248426fd3ccb67fa5bd0fd814b9b03536f01c574f62493dd688f077e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4419 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4419}}}],"partialFingerprints":{"codehealthFindingId/v1":"016a4f3e393d62514e1af1a95e5cb45b7985354a5ff82339c8f61f4b4586e748"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4804 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4804}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c8f4f56d77a9a0b95e8073ba18b773f3b4fd022bfa4ba7598b168133deb3e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4874 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4874}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fd121a0172f26268f689fa58584ba1d9bd7f55e45d7333bc946da9f1a894ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4894 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4894}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e3b67a4d30b634b659b5b07e12f10b87cb8eb8f358941ed6f100cc3aefebe1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4933 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4933}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8b979f6ca8b2593968395c5af1f63a905e73ecce71fa2e76be29854aa241c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5521 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5521}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d0e51fdd49a933b37e159241f3554112f8f3c7ba21479ed650c4adb598b046"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 5633 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5633}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3134c58d6534d7ce649b9426bcb451ba1da1b8e381b5dcdfc86dd40ad918f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 85 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/local.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d9317d45364906f3b3959158503c1768a43cd4a20cffdc1607f9a42aa723383"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 42 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/metadata.ts"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ed41511020c33daeff13633148d455d24e0d20c595ad94bbf97c007d58e86a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 774 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e49a3274136f668c78a42f4e28cc2c834412d426139b0d24c99a97e22840f5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 790 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de7fd7ae79b591bd28bd0c0b24dd3a1c01471db98704df9224c06ebdaad2b71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1022 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1022}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b60f3ccaeca065253fa2c87c67073bb0d29fe8c8191d063684a4828b0aabea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1045 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6ef056ba20efaf22315ff35a973c3a6c3292244a522c8dbf8bde56036ecc5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1051 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"9708097ac1fd99306a9e1e1fb0fc57a320f21022f212c442cbb5dc6b37d07c42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1056 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"878111a04bb8290611b166fcd053749e57558aea26894727c9aac5c91b5bba5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1059 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/crud.ts"},"region":{"startLine":1059}}}],"partialFingerprints":{"codehealthFindingId/v1":"eafedbacbd5b770c8ad5c7169927df5bea46b57243bb298b8227430aab8dce02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 15 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/s3Config.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"17482a5a201c354aae240bf3e8c2b4573c77112e299d2d723611350fb88769c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 31 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/s3Config.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e25e0716b3d30a5a4782e7f1e26d10630367b7665e37a030f95d440d50e61624"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 37 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/s3/s3Config.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"55eae36693aaabfcf013e74b1a59f979f7f83ba6de24c772221beda4a9beed99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/storage/cloudfront/crud.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"70255649bd636040067c5c56170e47b8c92ce0e118ba186d2c251b75c15a179c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 230 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecce555a1fbcdf9ad71e3cf182e4ea2fb07fa0d8612ba60be0c6562993339288"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 239 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"110b90561b368662861f7d57c9d5b6c081cae1809f191f0de92c912cb6246b64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 333 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9616e6fe944fe105ab3b94f6df5523ff2d074bc0b45639bbb54294b1a155ff1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 374 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae8799fa1b80f24c6afe35bb75a0941dc8ef4c2be7401bd7160dd58bee8d71c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 385 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4f37c5cf7e339dac5c0f84c01181941cdfc48baac05e1f07987dbe0504071b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 394 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"9727ea22b5bad0e1a0188b4dd3560d04d25ea52b1d04178b6f03e6cb3961a089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 443 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c420d7f99f915c63f1d4a579cb7984a5b1ad97536a54890bb4de82f4a8bb359"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 448 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deletionService.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f7d1faf4051497e7bce3f996d58df77b69c4d30f6e7d114208bec493e8c94ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 428 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"079a57c178558c710946ccfa086a489ef5782f8833aa8f21c1447dfc800ea02c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 432 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec9c83150dd9274bd60d7b6544c068780b5560565c5eea49a456765aa941408"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 450 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9263585682ef6b0c5b4c242c539c63491c9bfbf999795583b618e04317ae4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 710 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f69f2ae23c8a7c08cf2909ea31c7c9caabfb580e9cabfd721c5df2c76854a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1049 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/deployment.ts"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f8deb36b629fd644be6ce28c16e5f3c6fa41ac10af8441c9f62bdebc43e0260"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 484 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c43d12872e56b0fb34819fc1cbe9c99b4b22870d69cbd8a0b6b7ebd0fae5901"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 491 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"a851a1ea3b71a7f2d717ea58c7b6f4da98c483f776809a7348e05fc275e98070"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 496 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c4ec7f9af622960097bd2e3a439445ed21e6f812031838bbe80aba6b82ef03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 827 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/handlers.ts"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"59df5a46f3f59670644cbd68775cadf20bc579fbe49036e3af2093ae5270e897"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 371 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"af62d2934d755000f16058d7cb3db8254a3507b110b85a7e1a787591dab09aa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 375 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f66778971c433526f6006c0b95a2ab61ac1aed00e2ac48e8f8830c83cc75c25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 380 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e9d6d3d3a3d8b17bf463bb80c2bfe8026802095e80084a28da3d62e3286839"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 677 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d096290948291ef35961c78e6de87ea4c354673c74ee83e25ef813f66a91069"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 845 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":845}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4c8a0dd25a53739be0703282aef297f5e2a04152246831469530376a865ff9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 878 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"103b4cd4aa97ea9a03a38b718b0f57da2ac5e1b966815e8c0a71914af909af36"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 879 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab27308a680e00dc37f2b24dd263fae649ae6d5b9c587f505c542a80eb9ad77b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 899 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe853d8c64191102a0fe4bb0a7242b186e91917eb9f7c6365a56681cbf2fb98"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 904 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"512ae2fa9c513648b379f0608eeb251febac8844262a396f69e2282e9e379156"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 915 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e8aa525b683cb4cff1fc59443adc6a85de606c4dd11c5c56efde6d94d98f3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 991 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c848268e6b3ee39be31cb14153051cc9cd77c7c73c97339b98d35882e4d1fe9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1262 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":1262}}}],"partialFingerprints":{"codehealthFindingId/v1":"6662c4ab31f985aa2b751c76600c17a78b3bad9c072b7fae473f4fa927230001"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1303 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/import.ts"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d207891f5937fb858607d7f293f474bcb27486c21e7f467a9c57a878dcb55b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1697 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0de92ceef0f616b838ca6f6e2378ac496f931a1615a8ba2377c3470b2c5509"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1704 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1704}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b8cd4e10b80a1bd26aaeda65ce01e3b137c52d22558e91f35089e063aa0b3fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1709 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1709}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b4629d48eb6e30b7822fb4262849f5444675f035954b41ac7032c1580712239"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1734 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":1734}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7429913daa76b70f6f0e190b5417fca66c59e237bfe8130364960c4e0c69dd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2146 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":2146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c4357644a74238bf66363ab0ccba7a30a4e0b332475b92607b66e82e9fc8ace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2164 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/skills/sync/github.ts"},"region":{"startLine":2164}}}],"partialFingerprints":{"codehealthFindingId/v1":"50954a4d56e1d76e683d57865c68da530635d7b3dc238313f5f6054a6620621b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 130 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/security/csp.ts"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87554e146898e5a2e013c9b4b3129dc0ca49a7307f8358e086228ea063b1e21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 222 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/security/csp.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3720b340b826cfd436aec459b00cea2b6f98069ea5bb3faa80c043dd818cf4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 34 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/security/env.ts"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f09ceefb8a536901d2086ddefdefb089e25da0c028e2222d00a253ab753af01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 68 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/security/headers.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf595f71e3f7c90c5536f738f18f1cb613bc1fcf52945f30967aded977c8113e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 94 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/security/headers.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"020ad73ef8e83a23f9acf794e4474a421a32c490ec06172e2117b88ee0d1f0df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 63 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/access.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dac0ff281b8516359a8aa90f9256db103c296012321abd1d2472a2b24d04d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 146 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f57a5d0923a8a79e986d26c8febd905115fe177eba167e9976982ab3ab7818a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 268 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d23217042d629946a6efc9d869ac7e25c312e00f890d292471de1afc225b3ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 311 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b37fa7ba9311dc22f1e8d2014696f1fb5062b94657772cb9247d1d7cd623984"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 369 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c69e10dcc5d9d52e6a71d876dee6aec3afb5b77d4b244ceaf66925d168497ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 376 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6566ed142e02b3e947801967e6938c179b23c2ee1b897655c3f6b1f27fc3dae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 441 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"27796d9bf08a17e58dfb9a693de7e387e90c9355140cfd385beee2cb95d56bf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 446 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"891887c43d34c355c61c9b0e08175be9e9f0d665cab0886f02ae1667af6c1c55"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 562 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"5297bff2e6b8684d55dde36bcd860711c3abc7d852bfc4d37c504af6aa8acdc0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 591 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/engine.ts"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d75985c3499dcd0bbfc42c8eada18b732ca3ac19f8bc23bf801c131d570ae6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 171 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9256b087917efca8a2aa32517b01b376871ee9834b8f9de6aa236a4719eb113"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 370 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"b278b1fd44843a2a84b8e913577d323adaf373d66f454c39a8780f7070505867"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 396 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f982c30c9ac9e00ab4d1e33a375a8a1d11576a4acae4462ff931e5b05ae6cdc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 429 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"cde50b505fd33fc8701060fc1c3adca47b69fd33dbf3a2d42e20d4e1237841d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 436 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/erasure.ts"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cfe3ebc4f09cbe83979ecae2e5a0d52ac170a1e085c26aca9ede4bf18608ced"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 307 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18466a6c461a8dda2c0f215dc86880f0e52757726fb0ce3a49e8c3c3801549d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 371 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"51f73ab10503948cf10d54873d22e7fb864125e58f929a7eebfd0fd2616ed582"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 399 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8308d092bb6aea333057c17983d97f4bce322607eb8127eba0e21edc66f5b89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 413 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c08527bb6c74e05fac68785260cde4d90889472b9f78a4a95504388803993c09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 452 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef6e5dcbd0da9478ba0ade44ff3d423ddd90fc04bae7b9ac53796d873a2e56"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 520 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3e2d7425aeec1c96eb47ae84e515bb4d897208ee5dd292f6b6dc4622be5e4b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 627 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c4f73033c62b071dfcb66fdde5582151f5c3e25fa89a963b18a99214e6b2b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 720 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1f625e0183353d4a0bacf54e9d10ce21d0f90479585b983e989c514a2b31ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 738 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4481388c4f945e341b9ca3968d7053ad4ee4844005fcabe234e92d1f2008c5d0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 746 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"e989090f947c57769a6ec8f2d734e704c476e43d76133d455110a5691c86f91d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 770 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b12fc861bb30a51ff08ba927267e734739050199e7be5bf055618079af35f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 775 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/fire.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"403dacb21fdb27a69c7f39da1d2f8f2342f0dded92f42b32fa61febc236c1fd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 83 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"154918ab209b53961ab991e216972da74c03be1af6a39384cd5fe30acf6110e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 93 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c36c0ea9177bbc622bd476c1bffb16dde041f1b6dd610ac60ba8f29c2d002c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 531 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68845d6050cbfe1a9d51f0833aa5a6937c07aec277cae8e33b706a0d90b7f4d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 691 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a20eb7df2d4842303bb5ef2314c942091a02406281c8aec233b0b4e9f8e8ebe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 702 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":702}}}],"partialFingerprints":{"codehealthFindingId/v1":"794b9db660311936ba7463a01f8f4720fb531b8492d6d18c582e255b70c4f34c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 866 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1894af3f96fe46460c8644f4b83e628e5c6f75bf3c3c379a1f3f40cb76d1e22"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 894 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":894}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bb2c790b0465a90de3998fea012d246473fee45b58e927dc7776bb3559e014"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 896 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":896}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c5104aceef417bec4b7fd85018018d19d8b28850874c1b30bed4f43856fbf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 900 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/handlers.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8767cd5aa7ad5a17a0c0eff677cb8fc92b506cd9f802af8f00dd14d4a35b26b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1556 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9344a09a58b4e7c38b0f95e9f60dff82fc039617693372dbea73b2936e45272"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1698 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9685f8f7d162add15a5d3841d8600f33ff0d24d3b2151e469cd438993faf6fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1703 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":1703}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3bcc2b3848c0ae937aac8965c1520862f653449d3dda6f1d10ff2e2bac8ed5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2123 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2123}}}],"partialFingerprints":{"codehealthFindingId/v1":"4806f5cf34d97df2d9b93b2141afeb5b8cf50dc5e2b6d42bcd2ef66ef6fb2023"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2129 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ebc8e734a80274ab720640dda5910b36c648fdf235dedb682af71c644470a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2229 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb955f7a311ae6ac559ecbe3520a20b27eb19cc962efc6d4675e73c1d5cf6ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2312 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/schedules/service.ts"},"region":{"startLine":2312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b89c10e98cbe43ff789d551819b6bd90da5a80346ceba4cfed70b2e0b834bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 44 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/rum/config.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"2392723e6c7f5a1ed3cc407d4d3db2bf7d8538648d2943b6f57aab28f7b6ac9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 50 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/audit.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8531f5052305a1af7e93b23fbf0e9d23ddb37f60a21648ea235a882590b37d70"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 71 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/audit.ts"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e40917e3f8dac5d796dd128b849c6c453641c20710a6886111053b5e442c6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 321 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/protection/detectors/pattern.ts"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2c1441dd2c6546ee5d423155d887c7749c3c1e82853b2fcda67cddf3000ad2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 291 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/service.ts"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ed6c0684c698d632c30a29ac546911f479271b05e2b7bae25a24c813c8af8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 526 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/prompts/service.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"545f3193e963e802c2ce0a914c113b279b4d6e89533f09fd2271c41001924441"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 141 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/projects/turn.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d7cb5831b6b8484e4f17d25b9abf8138fd5a2b198aef918eef8ba5569d3025"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 256 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/deployment.ts"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e411f905057275131ec2d5e8f77ecbea82fb1c46d4d552de3d072ef82e376"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 262 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/deployment.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bc648043b8449a7d865f5cd3cae44b9758c43e6a3e0eb647b393218a83a3e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 85 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/runtime.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"15bfb2f6986d1313d9837122b1b75715b2af64df16dd0e34b7290c461d81a0ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/runtime.ts"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"1055962478a2a321317be26c084cb2ba2bba3b62374edb5a1a60a660f9867bbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 206 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/runtime.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"5914399bc5b27eee3160f1374d059bf7886a2f4734bffe3d3c88b8455ee30873"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 107 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/state.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dbc0d145367b0ed9de320285d9f421ecb4f6be17ee264cc267a1f550681993b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 237 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf21589322d3018d1d7e0c01397a76abc5278f63b24a064f3e54c80797f2998"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 345 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/oauth/tokens.ts"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b788905406f2b097e7f9c14de6efc18b08ddc4074fcd4d4637014e27fdfa32"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 246 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/access.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4e92e9b63182e5ba6fc7e2bca106336f4d21b4d95a6a4070b7619563c6b5a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 24 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/admin.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fc63edb949be6dcb163d148a6696f7027f092261658f54fbd6c38378e9535b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 310 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/capabilities.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"d921811893b23bc8982528775fe809a2ba37ef5f25e6f6edec85c68d569be30a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 134 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2c96d1c3e640ddb14cd68dbe6dd07768c925620f5e779f4e7b6a6d52d647ff7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 138 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c4962cc3d60e7ac2c759671ce62f9da5845b8b0f5a6f6c11aa9a4b506b2452"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 158 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c2c92859fffbac75620094ebab8bad12ab11af23404187b7b5a5b818f4c547"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 165 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1da6e79063920f6582822f0485ac72e030f11e8e5cc190ea3c9b0dfef04674e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 203 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf87b17136ca3c6b865df0fc87952bbceb010dd4a4573e896fcbd6d2bfc3a63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 205 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed25181003c48ed0beb2ba9653142dd15de39436d511a9659dbd517950e95c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 225 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e3fc77439191a05bd5820075a8de7ec3704508b776b571bc1524f0d0938943"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 230 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/concurrency.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7dac7fa0371ba74eac621e6b8ffa912542f591cefe5edb19cba7325fd4847a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 18 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/email.ts"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84441567318aa0204a1ee4547f653f8cae0fd50be18b470b96f56b5580e3008"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 25 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/email.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab512d8534c6cf0300df1205c15bee37a989d6791d06cdc53456210fe638cfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 134 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/messageValidation.ts"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bac7c89c9b0f932069291f8c4e74cbd3ed81798ab30bfbf792af7dc666609e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 10 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/notFound.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"827d7f293222274d6cdb23f95936555e9e06b94895434e5f12150b6bb2dc7f04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 217 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f4aacd23a999b838bd598697ad90454fe33c87de09a8aff6c7274ae99ea1445"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 282 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"833c1aff4bdebfb96ca93385a3d3dbec3458d5021e72b5185d1fa6f74644f04b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 289 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"accba649c4eb0b5a599e58db0b14ea531f99d2556af2332f7f5e6ed9abce3f90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 302 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e83a0282decfeede4ea5d6004d6c50d48594261527a1066bae959a552acaa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 330 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"553886e6edb39d99bd7d392fbfa2fd0ccc7f0c3f1b9f7d69aee42aad2e8d4142"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 435 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"709a9da18fca7997b2bdd62bc38b6ad5e7141ece91f529e13b901b57db6503ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 453 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/remoteAgentAuth.ts"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"db4c072ab626d233dc048103979ad47b3fd252c6bbdac27552cd46e5d9bed0f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 162 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daf55ee584ca8d375066e8c8500f315dcdecf3ab7c1e291cfd72215293159a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 193 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.ts"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5510990ef76236b0e6ebde679f702f9c61e93dd0c700aaacf05bc251b5fea53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 202 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"590e0a336289397bbb0cbe490d1a55a7a2424d205887102615b8d16e7cc668a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 234 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.ts"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"71024cd82a271896a4780dd5f5c16e8df7f1de0773e8bb8018e62ee3dd180f39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 245 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/middleware/share.ts"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"30470e5481fb0876794923831c0f38d79d20809c8a45a2f5b7aaa25ba2317de4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 163 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8bbc317d84caa2cc3f5dc7f75e74aacfa325f03a4bb826716d8d2400a6cd26b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 295 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75a7170e9de5811acf22099dbf1e1bdfe2edf2444e8afa7d395fbfdca2aa102"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 339 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/ConnectionsRepository.ts"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e52307899066b8fa68a2766644cac4964f4092e1228938ebd4d4eca0422bc16"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 400 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b26ecaf33ec9798f63837d9796ac54c222cb951cf8162c4e9859cbb2212e53e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 420 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"720ea5433f69a035ee14ff2c3f92fa88b8f2334df285e6eca0c8b8338a1a6124"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 434 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"62821bc560878e892c0cebc36646b01557ca692675950fdfe5bdd3942c8aa646"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 465 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"f800d2f6465bda3c59f3162d566c7fb13881705ae447ace614064247748a5fa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 506 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"de122c615cf9db123579d84bcb356a6d6d55e90a74ff73740120ac90c92000b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 522 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6c0c2d5db48fe9338020eaf760e061b03f84fd7b2cc457b2b1e3323914b0537"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 531 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"716a1008f097c8a0203b9b388b032081414049eda5bade5285e1d4ff0f89361e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 540 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcec9600083e53698f454113879d44a19d4d8fd6e7afc1b3647780dff97fd77"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 640 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d66a56426c05ae18477b739c1ba086ce9d305aac5065b27df33430e62242e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 662 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd971158b1a0b1f84e42fc164c49d3fa394a4b1f30348e3ba0c5884f9fe74aa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 764 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":764}}}],"partialFingerprints":{"codehealthFindingId/v1":"090617ff78d6a43a24a9d3880acaebdf6a0bad5fd41943cd81c6a4cc91471b93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 771 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":771}}}],"partialFingerprints":{"codehealthFindingId/v1":"d051d56214e050c13550ad54b2f5f81766bf826b866fc1a3ff842f54f9c93575"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 852 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f44cc64aad9d6211e99e3a810972eb296253687c27c84378a53b2654568630b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 880 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":880}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea480693d5eff40d151bdb161a8a053cc266e45e8b82b1bd9da030d7c07534c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 916 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58308c7fd8bc4756761149a25f0a8085338e496e3d4a1b64e2a8d11a3156d38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1070 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"e081390da9bce54226bce8bf19d92753350d8c8c8f323f21e18a5e5a412939d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1195 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1195}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c20048255a4b5b3e742ab432c878a2c0d294290e5f5669fe44b6f864dc6cf7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1203 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2a6104252a669a86947c6c9b6f201768dcb9d9d988839d41f27dd3f63a8274c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1213 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e78e57529bc3f5173774182defbe2cbf053d3a2aeeff01e3f144e044f40398e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1216 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e85ea2ccad451592988455ead8b607b3200864454ad811fc7d5f3aa348631db7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1295 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1295}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c10939426b2a05d4698dd3ebf05f85291be7f05b112233badba54bf1bda5e3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1315 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1315}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e674a0cb9e46e91bb829d047dfc04836df72225aac94cb10e7e7d65c69d6458"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1332 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1332}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f65195d60db76a00afa6c4a6076cec0e6712b8cd7446594b749b7be5eb8fb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1397 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1397}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ced15b4c25d5547544dba0e4d349eb592d4373c7df8b4c1b321e7af2d8e806b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1399 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1399}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb8ddc0afa8200fbd8ff554c8f9489f3ff09d7671e1d1c050991df5bedc8452"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1414 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af0eaa48d2ccd59206b13c29a742e861cc391901c40a0b1dd73d33e084f7b24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1418 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1418}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c96235e2a022f99fdf9a315fbf4a16fd3d9a10d5870a9d5a370151d8f625de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1528 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6188b8c6f7c4e467159cb07aabafb5cd7b6fd712d326dfdfb0f670ecad6356"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1551 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b1d1a892d4cf76a6f07037241eeadd9665db31c1e5067083a1a09ed197c898"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1562 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1562}}}],"partialFingerprints":{"codehealthFindingId/v1":"73405972eb697c6536d9f35b65392c55fbba6a1020eb633401bd519141bb70ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1585 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd8439774558ca220d3dc6b7c58bffb44e0b3565efd14eea5b61caccd4fdedd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1611 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1611}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff72f77e75b45fdb475ef24cf6f0903412334281ea6d5170147ca2150af1f8ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1657 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1657}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2a2824163a6f8836e76f62da86d948b06ea55024c5c3ce261bb64e5e19d60f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1672 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1672}}}],"partialFingerprints":{"codehealthFindingId/v1":"c223e217fbee67235bd2e6d8d0ad8db473b2acd1e8cd45cc085176430b4e651f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1760 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40211ac4da8e8272c4c6db653dde380b8427d040641d45ca0b1a118f57b9b86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1768 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1768}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7be05f5b80fcabeca6ba8b3bbf639c2cb0d9377b6f7354a58e558ebf1645ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1774 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1774}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdbc6f32be13bbbdbc71e5b20a0fb9751f61b5d9b6f0524b98b99e7e8177a4f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1782 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1782}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ea15617ba74fcbcb5377deddf7a80c6a3d3c550e4413cc4a105ce8058edeeef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1786 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1786}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd610e446cc6404f93278b3488f40dd36efac2613d8a79876a9061a5b6b5d6c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1788 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1788}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e269f9fc39713b27e14d22783dfb6845c2ae3decb5c838ffb6ca93380de248d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1859 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"f52acea5dad80d16eb96e822e0b77981cc34e94aee828f42c42d6f5934844d69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1875 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77af7abfca0d9a00b58fdd605a5e896291f373c4fecb09b95c0e58500c61155"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1885 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1885}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb4bd90bd17c22ed5ece7e87256f766f547a1557eb26efac6e2f2d972917e5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1914 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1914}}}],"partialFingerprints":{"codehealthFindingId/v1":"244307710c520312c63cd91c345a64efda68756c16c269aeccda07c35265d782"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1926 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1926}}}],"partialFingerprints":{"codehealthFindingId/v1":"c852a7fd473f03b590e585d1a702af41ddcd81a612bd69325cd84d881b3e5d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1944 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1944}}}],"partialFingerprints":{"codehealthFindingId/v1":"de06ae83bf9ada65c583269bfdd955ec3477f8b2adec21bcda1bb7e7e9c632b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1998 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":1998}}}],"partialFingerprints":{"codehealthFindingId/v1":"a887279e950608e3261e2ccaaeea81723bc289a5a406c5081b14ccebb36857d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2005 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1bb0b7775c5d555e4eaf1038aa7a1731b3fb104080addaeb54632fdbe377d14"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2012 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2012}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8063c7faaebf72c8485201a83899d54bc3eee3acf76dd8b8f436da3d3fe7d5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2034 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2034}}}],"partialFingerprints":{"codehealthFindingId/v1":"32155f2eb99531f83922062a2c4a7465c022324e287be192dfb03fa5243852dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2099 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2099}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceae77a81266b7a69d6f10e0314c407dcea57a443df357e8be47df0e8aa67fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2104 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b691eec61090c934cdce5485b15d9bd96e4214a7d5b05175eb494c34376a36e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2110 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2110}}}],"partialFingerprints":{"codehealthFindingId/v1":"0216ccb3c4b8a1f96aac298a9fc72ec2d6c4f3eb1dac5b0831407a979f589fd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2179 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28e8729dab2fa97657f4c380a81aaee74a655894c521d79c5088e57b8f48833"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2181 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2181}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e56bf8ee88f94ddce5f1d64886e8722a8279222e53a909a0ec2eb4ed7b623b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2195 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2195}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfe69792d48ab4ab6d230c748f2797d57b61152450d9ee3797317500137aa45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2276 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2276}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7f8bec27a0a468fe56b6113c48eb46ce47c74e89f5d3f507d51b869096c47c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2323 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2323}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee661e7d54211051850f4e50f96193b53886e89a4b5646dd4ce79c1fad1297f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2328 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2328}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63ba77cd869da42958dbea161ab8033007138c85dc79798aefe3260b3a2433f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2355 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2355}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba48bdb3c6d5f3f7aa2faa61b7a318176a5c71ede0750b27cd7ad567f9312369"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2387 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2387}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf5ad2ff61519774824e122ae3426a49b28729f21dd1dd76c9a47ca00989c29"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2392 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2392}}}],"partialFingerprints":{"codehealthFindingId/v1":"0085040a5af353bbb933bf8e8aac9a0a8f121405363d068493ae908426bb1062"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2395 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2395}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2135ecbadd9d3ba454df51c59afecf89cfa6f8e44facc348f3d055f228e1d24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2410 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2410}}}],"partialFingerprints":{"codehealthFindingId/v1":"1217a96d893ebb5518005cbb12b94a1342575652ff5e082c7a8577057ba11899"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2427 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2427}}}],"partialFingerprints":{"codehealthFindingId/v1":"372101701079856920aa32951f5787ec52aba7438a9fd3efd01639a7c373c92c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2437 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2437}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88e27421e68c5fec590efa94df563057d1e3293fab0a676b56180841672a73a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2461 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2461}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2d1661d0f92d9d5ade7db19247528b241719c61865edfc74e68dfa79cba9893"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2473 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaf819cb39f57b179d5748e216e6d527c320cefe1dfc434077abd5f153eb2b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2499 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2499}}}],"partialFingerprints":{"codehealthFindingId/v1":"2615aa15813e9c408632ae9ec8770e09ecb5e4d1555139606ac77b3b410af574"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2518 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2518}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce1ceadc26a566097dd3990814bca6fa4dfedbe39d00b9e02b524f0bfa1dea6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2528 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2528}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a54a6f4ae87347458a0c06abaf8c6851353311ec63c16b46488dd599f5f9ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2532 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2532}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da9bc4e3bf44f60eebcb3e549591861f07d680edb6e9915e992023a9a9a3609"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2579 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"957e7c03e71e03ee9c0ada1b82997ab977489f090d71d10378168d90967a5b8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2581 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2581}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e1412e4e304917878ede926078a78a93c31fa260f54cdb87ea6b9f33c326d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2592 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43452a52cdb1a4531119f9c764ac19d55833aee69a5d835c4cd20b37f4d5fb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2604 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPConnectionFactory.ts"},"region":{"startLine":2604}}}],"partialFingerprints":{"codehealthFindingId/v1":"a16e879bfcb12bc0e0e953516412ae27f44a02e4185d48ef51f448225257f8fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 262 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c076d48de5b183cd7b598eb4577e75963c76f1fd04d1a6ac673b3429cbc27d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 948 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c059c16ddfe01e4cbee1226bb1f7c207a08bb7ef5adf1c34b83921c628f7f47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1455 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1455}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e654446ea3e11b6a60c7204629160d1e36b420b11db9619f8e2953910567c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1799 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1799}}}],"partialFingerprints":{"codehealthFindingId/v1":"175f9c64b887e484f71ecc678dde36a54dcd5f095d82536e8423d11dcdafd7de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1990 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":1990}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5ed853cc9246fdbba9eba4e0fcff54a0c28879e50d5db06ac4b76909c21062"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2122 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4cef5f2d297cf4af5da9be18570c35e6e3e3ae6c2d2cb472c4d420ef3478486"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2161 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b05bec6816d6ccf336255c61d83b3e78a2f130e91bd66ddc5fdd1bd29c96851"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2207 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2207}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ab5824f2b56c45295f540fb57297915e24e8d70ac56400ce0a986cfbd0fb80"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2241 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1341997913070e140f57bbe8fe39c96497c4c74c09b10497f7d0f7fdef8155ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2253 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2253}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4a9d341aacf02a3d6cc30dec9456524fc94b989482f9505317d304b0decd19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2314 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2314}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23248342fce26c0d34fe0cab6d427038671bcde832a82e73a1fa9d12e4c907e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2325 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2325}}}],"partialFingerprints":{"codehealthFindingId/v1":"f757a4c6dee0835ccbb78e6b2ebe454477f5988ce1d98c514b3dcb015cd2332c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2557 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/MCPManager.ts"},"region":{"startLine":2557}}}],"partialFingerprints":{"codehealthFindingId/v1":"666013b92b71f3162864f0e7cdd4a7a320f427b0ac85530057239313320c27be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 353 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"9619a0156772b2ce2bae7426bc8a5a22595cbcc9d569cab54dc575018546e992"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 359 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c621512fa13d5d5f45a5f5c4a4a59fdbfb015e0d4775e5fc7ca9344da9b8d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 379 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"7145e47b1904a9502cda2ed18f968e71bbd5433c81ef645919ab7bf96b81acf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 443 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b09d2c0ba43c595cead41d02d3265c26e322c18505b52a1e31f6a35898b432c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 553 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb0d66393ae3445519ce3cb05ce94c91b933a940082ce1f5b99b388c0f245b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 565 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ba91f2f8203f1d77ca6643470f2fba1fee1badf437fe4937a9c54c68535189"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 654 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee39227f698be7249bd4b2b2ef9ef290d72d86fcf771b9c1b03db5ebfec40b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 809 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":809}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3eb6775fd76b2f2aa95c2d89a1e81341e428b81b7c0cca33971b9400ca38ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 834 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"14de3a43c7c58f3b2d9d4c9472d3cc6bd1b80c776c70c0925cee72c7e1d00b87"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 849 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":849}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff9195a904b4f999d84a6183aeef3986b37ea041e6bd16e1ba4fdd2ec17cc41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 862 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c5341aa28653e37608d154443bb77ce69e9dd86b8afba800beec0f83cda56f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 870 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"324e27c669e1b8cb4ba8672c4e9331e9dd4142d21126b30de68ed3964bc50b67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 875 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6605a15ec4e4a4bd1352a27c4b877fc583364549efdc2d8f151d0d8e52b858"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 902 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"5da0f3864d119d1bf8c7ac512f9f131a4474b7bccb831e380af2878a02da2698"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 913 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":913}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba0d90f53b4ee7745971c93a58b62c3079ea9fa4fc51fbfc8417ac41add50135"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 924 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"554f71193ce3fbb99a49bf317b9534cb996ca110b788acbaadf64682d919e135"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1172 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c41816f06c56ac9cc9994119d60f33f954246be60bcb3d0cf5604c8fac9071"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1188 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d2193bcc593047f767a955b3a36cc6619d2786a0b28612e2b174be8749ef42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1192 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1192}}}],"partialFingerprints":{"codehealthFindingId/v1":"b827a8371b9d6b7ce6a5b831b3917b424c720b0e14e4501a308eeade6ada490c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1249 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f4b45b951ba6523b39ff4fc71626089086157401dfd2fe7cd119f04277eb0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1254 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e51394584c4474187bc5afd86cc955a76bb13cc659d5fedfa55ce02f0b68a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1382 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1382}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef636e7c39699a8cfefc030a2e26754c081bb4b7ade09ca5e4a8240657dce49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1449 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1449}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a3db6c8cb710219bd93b5bd40da0793bf6f7ba3d0105a7f3789cc783735089"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1566 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1566}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e678d22552a7ef53108bffb3ef7544b4ee2f86072807a4e03912e1f29d4a5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1601 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1601}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6697f9008031b15004c4f4b007a15a5dec5183421aee4ecea8ad4a265655bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1646 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1646}}}],"partialFingerprints":{"codehealthFindingId/v1":"70243eba0428bba13e33d5c878c47cf75a9151db16bf52c6861194933b37cdf1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1654 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"77102e25ec7cc7bf5cf20aacedaa9486205961e65d7af620de50f3f5ad318f7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1660 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a35fe74e10770a90455d5272551fdd7ffebd3a360faad407d0423982143b8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1686 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"31db5d2016c7562751a0e424696fb7cf365e9a429073112f0c823e39f0eaf995"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1691 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/UserConnectionManager.ts"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"32e34b4898c6b88b9d7a8a2ad0a33dd9a174ae5403d01414bde0387c0b53040a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 135 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf2a954a24cecee6d88f6da200120559a85a43a0d4752ac95cfd29178550f242"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 212 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/assistants.ts"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb1b9c93f80aeb78e1e78b167437fe72b2d4f67f61d427f48c15775f4dbe9e11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 100 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/auth.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"98df361e313a85c140ea2afab650f4f9fc6139f594d6369812d2c71af9f8b547"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 159 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorizationRetry.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac0d535a775d47f61adb8c661df1f4e7cf1205d46258e6dea645fa44d3d8684"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 192 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/authorizationRetry.ts"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1ec8c049048974a5b0f6b07b54274d29fb62adcab4ea6f38899055bc90b141a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 428 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd33336703ba2d4dbd0346ccc67af13a2a699c292a61fd23dd3c87d880aca28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1221 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1221}}}],"partialFingerprints":{"codehealthFindingId/v1":"15341e04027252e355396351fed9d3c19b172a48b3799fa842c0fb5d7093c227"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1242 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1242}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25f4ddf46a98a7fbb3674b1736a0d517bcbe6751263502f079e0bb9da747612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1713 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1713}}}],"partialFingerprints":{"codehealthFindingId/v1":"52abcb4c7befba810a83f81540624420ee4868881b8cf12d635d6444a82d5255"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1791 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1791}}}],"partialFingerprints":{"codehealthFindingId/v1":"99327e9f444368f946f6f980363e39d0889677ca7ed1ed0cdeb791963553c8db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1937 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1937}}}],"partialFingerprints":{"codehealthFindingId/v1":"0496f9991bc90ce968fdf3c81581786e3750f45bf0b44be7d1d169382c17b3e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1951 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1951}}}],"partialFingerprints":{"codehealthFindingId/v1":"244eed60aa8f6c246ff9c0c1d26b095de50372165632fe4d5c938037ef762f48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1980 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":1980}}}],"partialFingerprints":{"codehealthFindingId/v1":"15790720c2e842b12faddd4bc05ab5a53c15b5b71a931f18e6be06964e434080"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2046 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2046}}}],"partialFingerprints":{"codehealthFindingId/v1":"991f999bf34e169fd298a320925d0e8a3bfade4b9d6f9f56acb64edb6644161e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2063 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2063}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9bcb3b3774baa44fdb840dd1471224e6658cdef681a5f16038f72e4981da00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2083 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2083}}}],"partialFingerprints":{"codehealthFindingId/v1":"67464a5acf0a4bd2b5cc5abb1920f9f42b48861a4b31511da78e0def12261877"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2094 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2094}}}],"partialFingerprints":{"codehealthFindingId/v1":"796a55dc6ebe251bc1ee36be71a87944a3da7c9989e7f2289576b607deff369c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2104 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f991fc691823a44de97f0b424fefa0fc3612b6c0eaa63ea6e8ae963f54ba2cea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2107 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2107}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca6dce51e40e926073534dd18a23f7ff013af988570bfab32ef5e86ad90ddb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2118 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2118}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ef7e21ba1615534de2cd165116f0e4946dc83890eb1c6ee92d53c173ae925"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2143 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2143}}}],"partialFingerprints":{"codehealthFindingId/v1":"427e9be6e3622747cc3f5c930bd48a710f298fa126cdfac3c588a278d95174c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"755a67433947eafa32eaccdfa754d3f914cd8435cc3a64f4cd7186497144f69e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2308 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed920bfdc6046beea0abfb10ee541ac1eb4052ce3f86b8eb5d3102035b2aea7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2344 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2344}}}],"partialFingerprints":{"codehealthFindingId/v1":"00931c42786ec4ab1a09040400de0d673b14542ef592265f26ce3fcf0b912351"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2370 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3c8047b4f36a3e8a87ead39b82547424342570687995fd5109bf14c0b034c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2383 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7fb8f569f61d98b403dafbc8cf912a479aa53f8dc2089f5b0d101794fcf0d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2386 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07303c0c4354e68b1861d6a389c6950fbb0d0ee7a7cd25cac5870146b662cb4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2447 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2447}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba0159c8f13b70d64c48ed7b0b220f7a1613f3d92cac4c3b42fac14c90e2328"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2454 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f34180e4888cc93448d12bf7217fa8baaf4b43fa79769914aefcaeb7ef652df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2480 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cdce3c45004f35e1e97ff5d8918551dea51577c1e5764f5dbf46af188b001e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2531 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2531}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cab13fbe0f4270ef44023fc6713a67c24b1f0100f9abc70eb7425f508079801"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2550 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99c1a8a01f922bca551fdad25350bffcf4742d3bf05cb22af552ec726fe38fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2571 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2571}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace4a0fc60528ec6c4cc8be1d9fa90689a2227dc6ea7fa1fa41d3d9a4944f6c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2583 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2583}}}],"partialFingerprints":{"codehealthFindingId/v1":"3538b966479d2d23fe955cc60630d14bb6ef1119cd854039f38410dda5e15fb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2602 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2602}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b0525db9dea60a42f46b2d89892d47db8301666913030457a9f0d1c57a262"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2614 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2614}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e53b10e4963e8795be0559a015aca22b739a929da6243661beeef5cfc57fca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2635 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2635}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29a4134252a8a41caefcb3b2b9aa1dc20a69a01a849038496b368c830a01beb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2655 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a5ec6d325c850bf33d55a988c437491f5a83d2675096894768c0ab73662ba33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2662 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2662}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4f3d60ab11c0e838c50a2f10bd469a608f1bb5194ef8bd6e0e9d4819783ef9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2674 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2674}}}],"partialFingerprints":{"codehealthFindingId/v1":"b443cf3d385d1e7fee08fa466126ce50b024434640ca16d40c47a96a583e2240"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2705 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2705}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a17eca1ed19b36ec61e1bd1c17b29416ed1257840ffec934e3a3ba938259543"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2715 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e4b7042959245047bc18500c0346eacbd024d7fc998a6b52b2f52c4e423866"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2754 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2754}}}],"partialFingerprints":{"codehealthFindingId/v1":"86189f3c0065d17bccae46365873c54390ce2a62231c320ff8b240d4e61feb2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2956 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2956}}}],"partialFingerprints":{"codehealthFindingId/v1":"5025a5a89df6ee68887e20403d34fd5c2f22d71dc5a72c22d70b148a65625766"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2966 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2966}}}],"partialFingerprints":{"codehealthFindingId/v1":"eea85eff1f03353993c2e8216f156f7106a138cf50e790548ead263297d190c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2990 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":2990}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a87ba95cb2a4822a8c085e4977f5fa1cb04b4df0c39da1aa2dd916a32b5dd9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3106 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc15350e22080f9a02ff4360f1dbb01f85e371188530e7f5c16567821ec2481"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3167 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3167}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8a78ee25fd3ad9016d68a8f497beb7aff1e7a9365ebd1d450ae6b7704afbd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3193 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3193}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ae22f42396097947a394754d167af780e3d99f616e980efe65f33fdb279ff5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3198 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec663bfa682687026a3339236ad76584660835f31f68b5acb9cf09b7cb9f000f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3225 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3225}}}],"partialFingerprints":{"codehealthFindingId/v1":"74eff7882d4dfc4f49832b4b4520bb62f59010f3073b5e7ada6a76acc1829489"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3237 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":3237}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eaac4e1c35cb8c38dc9afbabd2a0ca8516a6c2f3be1d2e50ba7b423cec4b051"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 87 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/context.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"0380c9ecf9a2c775b6de52395cc455b8b738ddf94990d9dd56bb8236dd3bb090"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 81 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3178a7bf5ac5b512bb3dceeda57b3fc9890dab1ce86401dd18910bd300c5cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 92 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e10bc46bd3df9b65eb7547a48d3f6e6220c0fadb7ce7324ec300cd3679aa5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe179a47ae27d7cbe5dc21efa47408e5cec9795fd6dae59c395298990dc820"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 121 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/loading.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9fafd8e550377516ad7d776d82f59eb800a5d87bad1fcdf0ca2089a8c829ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 243 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2036b6ecf48e0b0c57a8efe3dab27ae5f8b5009a9067ed960b2aacaa745fe7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2104585be64f932c6a1175b48a6afa6dde4e5daff7ce5830dc1ca0c77247797"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 373 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"269838ef3cf3cf12c62dcd6d3fcbe4bb0fe795f08484ef15c08264ba945812b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 388 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"595629595b0b2d48802da774e370ab80c7d7526dee0177c0e8445815f5402a41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 421 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"481bab7a90c2c625aef73f4ee690f7ce220ce93d2cf6ac1e9adf8e8532f6d492"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 462 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1af8ff8f094d69adf14a28faaef341212649877f238f2e6c5e5be7c34b9843"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 472 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"656b4755a5f866ee0bbfe1832cf8edc03365354e35c6d5397475a66cb51e3811"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 485 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb1f3c04331470489b7097a07573deef00b5af5e81f95967e319f2953069b39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 490 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c0009669f57667a2dd3194150be7936cc64ccc9139e7bee7e3630236d766fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 495 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"002d272fafa2d863cdc5561680a908d6939a7d007adb57eb6c3df74da83fc928"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 525 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fe056637935bd47fe1493c477b7f6d348367bd0c633eadb935b2000fb32de2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 566 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/tools.ts"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1629aa79f1e40d6c27b80df6d95e150c3c8f216f118b458926cd683feca34fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 159 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/toolsChanged.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57dc16964a6667f13dd27d0b0e48fb5665cc1c71ade72622f7d629a33c46c9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 254 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/toolsChanged.ts"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab52946646f6215e0bc40eaad3c7ddccf6d4ef2c58ff8a16330cfd13bd3a2c6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 161 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"af176507603452816caeab15853bcbc7496b5b01684341ee7b2f6395d5bacdad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50454dcd205f11bdb8f5641ebb9bcdcb3a068d34e41e77469d9ca0903e67e53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 168 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"17ffa8cffd62527806b37952a1a38ea25e49a80b202b8571feaea72079a71b9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 179 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"37ec40c2d4c557b89ea2a62130ad26b16f1a0b0475934239e28c243dfcdf6a59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 180 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"315bdda2e1678f00b9a4397fbcedeb775308dc7c138a0be4ee39a57796b5f026"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 181 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d357fa868778bae75bbd54594d89612af79c513e7eaa0c7a65d765ff152690"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 182 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"543fa9af2841ad9c3c2df13ee142cdad78008525edfe10dea7c6a7ebefc16ede"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 183 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d36c437d9750b48f14da43318920c07deb9549e3e11c6d93ff16008793683ac8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 184 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a913cddd73187e2ff7bfdff67a128e59847fb2212969c1c8e58841f9f70974"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 189 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacebd55213fd1a5fc9bc4ec074556c36422506c446cc8e588da8d65447e7d1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 190 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersInitializer.ts"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e25abc93f42dcf77a32f00c39f05f4296bf5481bea582ac81dc17653f241801"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 743 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":743}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2da1a452b2925da36ca125c9b410bf9cd938cb05c79351c3c7268699a369e3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 878 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae3aabb4f30413d035c412bf052a0761ec0159f4edbee80106b9b7e3400c6039"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1001 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1001}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab95757c2005c6ac6dae2306949704038cbe8003c54c71089dae227b307aba4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1309 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1309}}}],"partialFingerprints":{"codehealthFindingId/v1":"748aa3b08632f7511618d6bcf2ea910087a56aa52579349d2462c230256a5f99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1496 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"90b7930a2060f190a78e4a4abb3865704b642a7fc539f1539447bb4c8c7b8b01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1524 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1524}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d6947131791cc75a7eb128bab0a5446cacf3811cf63bc2c8098288bc0d4dbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1534 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1534}}}],"partialFingerprints":{"codehealthFindingId/v1":"a51fd022b8d003025b34b6042faa96ee9ded0842216e0d2206e5a36dc15fda1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1536 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1536}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7fff1559ea38b65099b88c3d579a5c3c928800241d9d536172f077ce614fb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1576 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1576}}}],"partialFingerprints":{"codehealthFindingId/v1":"001075fcec15176153b591b3634570ca5e35177bcd7bbd1c89cd42f0ad2d289c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1705 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/MCPServersRegistry.ts"},"region":{"startLine":1705}}}],"partialFingerprints":{"codehealthFindingId/v1":"195a9ddedd19dbc9e9f274965013c1f2a868c61f3ab30f54ce2944fe6f06990a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 267 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/hidden.ts"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"906ed66a31043fb4e23d54a012303d9006cb307ff229a3ddd00942e2cc0a608d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 214 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c2ad75da098f8e3842540d1d13c6896d9aeb6566351ed3030a293b0347b6d09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 361 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11a5b028f22431b5f2f7fb2e7029a62330753fb1538247251273e863b94e55d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 364 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"b509674b45e211a31d9ee8131d6d2981e388e0e69132473d9dd69c45721f4616"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 375 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e84ca9622c69512d0f952706f3cbba49a9b172614d66bccf15b43cd7fb3a1a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 410 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3fd084f4be41459242781fc09ab4036ba43f8efe265291874fe424add825b39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 416 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"88be3e435c8ab3caafbaccb5c305ea8c56a18309c69acc4fe64f6daf61b56a93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 441 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"f965b19dcf820493d8d51b80de02efcee539d7ff72d326b5fb08dc5b147d40b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 527 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/registry/db/ServerConfigsDB.ts"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb3f0324a6499d289aed01e8688f08fd3942dfb174b019ba095e631c9220a1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"261fe67f07f41da076481f6164e7e21044a7460083f41e149ef4c4f301fc2273"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 200 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a36da81eec50a096520b058328b373c1d00da517f8ca3814e5fa4f1c566b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 209 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7aa987e44b393d9bb5a0364992c818d746b9172a4cf1ee7c49eb42cfdf51d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e76fa7b009b8d15ee4515d21635ad05f29053a0cffcf1185e51eb178c9d6258"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 241 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"4968a5e23d2507775a7f615073b51cbc895e36661ff05ea2a611b7d7044544ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 247 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/OAuthReconnectionManager.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"29b8cc44a871aade71092e8de9d5587fd91d454aeab5634c568658be472cb819"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 177 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b490e15f2468669ea6f1cd4d9f0ecd67faac0d2ee08f180c12d844c1dfe676"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 231 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38bd4e242ec4435f5bfbed8562b6f8ade99c6b2890c4b30ee40e51027ef406c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 313 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"0767398bf56dca2222421bb353e740c4fb91ee33d9eda6e328892f418ccb9bd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 347 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"24050195336f470f11f7bde484f8f27cb5386138b37c285715eb31b57348a68b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 537 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdd9b3ec06eddba100a17d68e1c928ebc502a8dc73f2975e6b06caa88fc58ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 558 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f416ac1bfa1ab5b89782059237f330fab2b3a5437e2408eaf6bb4813dc5cc59"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 576 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab14231bf43e3e6d23ad09d3bec14fa120432cb369416bf0c73c0d0d9a2e3909"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 618 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"90895240a79a3430d41da0aaf9fa5e641ec14b3f6cfee59fdf474f1d6282b520"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 669 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/cleanup.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac090af2372bff8bca61d378301d3ccd8f806a8db78fc624670ba194e053b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 59 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/events.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"79d914e182049eed05d9332367c1a57606d6351f67ccf2983bf104fc67f9738f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 170 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd749792e38dc5212112fb616a14e848d725884c5cbee45e0a5f5f4fbdf8394"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 207 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"36814d2adafbcd3fa8820c59baa38326bd938dea0b72d8e955ad0ad4e33f44dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 270 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c79c471b9042c577759f5cb4c14cb8cba58a36503211681b4ef7c5778ee00ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 274 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e468de1e714df17d98b41a2561c5790f23ce4b80ca64171cad09d2f620ba76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 282 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d2a477de7e48eaf60009cc8ab134ed1747380ef9a2c86f7fae8c10e1294e86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 317 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd8ec62dc1264334b796f1673d60a15017ff62e1bc65bd1048623ffca99deea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d74401eb8e6deaa0bcca89acb35317a1de52d278d8479dee500282096d479b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 458 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c23f8c85124f6dae340d07fe5d2a8c7d4f8930c3d569b00e80934772dde19a3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 466 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"e21e2724e083c19f2a4b548b36c77def880ad492dbf91c844be88adc421b705b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 642 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596eb7b1693d924d4f9b958d14248ea51ae95d1d04d29d1d7215b2dca77c74c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 657 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04110c6e48fd724929c79c0fc5fdf2e5fb96c9b59424645386aef7060e0b78f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 717 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":717}}}],"partialFingerprints":{"codehealthFindingId/v1":"2110c274426636bbb4ebd43c3b9ddfb8de671aa618dec9e220f775f5bc1af040"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 744 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeea0a95a2a57712d5b57cb9ba3185446fd9ae6137a7e8995348ae32724b2bc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 748 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa46996f585178511e53b6dec03016265b1fac5bdd14ef8226cc58c6b02a4d76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 769 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b5c550346f049e793eda93ff074ea46ebd10f1988c054b8fbf1ac80cf2d76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 787 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c2b44d2c8f8dbf04b9c3f6ed7ced815d890fb77f1e4059a595cd77e733028cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 814 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"1967b01d82fbcbe989aa378904cc039743f5003da30d6dd3be65743fdf764ca3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 821 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"8679c6be01cb6e1b459c5f1912f770abf2b4047ada9b03892d98a2aaa621495a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 828 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d903077b529d6d0620cc3ac38206dc4bc129fd243107ca2c455273443c4d3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 871 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"051c98dee67a5e7e53d05c4b2b75dbcaa6b085f82214583e15506f7865d61d38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 875 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c045981fa6591575c51fce587a00cea6d2d589c042203dc91b3ea505a0493bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 888 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":888}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4749e7551394c46f47eaf29bc54ba1e21385b4253e8100b91a46df678d2934c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 903 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dd492785986c0b94e0f22cc1a3b91a247e945c8ad2754f81373f75a6c1cf28"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 957 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c1312e0221cb424f6c5ba43e6a704796d8ac3057aaa2e4c2677114284a4d72"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 981 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"315fc1fb4656e380eb20d27239e4fbe36b71794e6c4cecfa0353ddbfef0cdcf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 987 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":987}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17bcb2c9bc00f5fa80f28433919318f2edb5ae2598df9409da57004ceff4f95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 999 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":999}}}],"partialFingerprints":{"codehealthFindingId/v1":"3186839707783ebce58b482f60224efed192b575dc5b8dd86da0a84f69d82787"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1033 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1033}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7693e17f8a314ef87365c34baa68616f10152eb907dc40ab3b081aca1d1ca8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1043 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1043}}}],"partialFingerprints":{"codehealthFindingId/v1":"685f018749aebd1568414d7c3be74e7f398c908d0c6892700f6208dfe2d33c03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1048 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"d156155012702fe74b00e4fe216036b75e4a4d4d39d79f378da1c3dc784d58e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1056 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"656c8fc6e1a424d1603abf066d1a5937078b213ce65cc5dbeeae30944e3629be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1063 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1063}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae6faad0870ab98ebaa5993b7f742780767a4b55bbff9b698736db9cde346134"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1088 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac750d8ae8bc444cf895cba254a5739bd4256f732a75654d3ad68491481cada"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1092 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1092}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bc517edae7ecdd602329b33885194dd1fba6b767914afe7168ead9a6c1b31f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1109 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7eecc51847f5d5bd52446a5152535d92840be86596fa13651ec601738cb3582"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1127 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"30dd9e49cbed98e2eda75c19d4aa3fbbd8d9be0c054ef35931c907f609c3a0ef"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1138 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1138}}}],"partialFingerprints":{"codehealthFindingId/v1":"90e2679ae3a967afd31bf63a59ffc1188c2d7b95bb0c153b66ac8cb27597551d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1147 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1147}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa707867a19db971aadc7e7d28840f2e8d3ad63c6398dc51170d76ead83d14a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1172 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1172}}}],"partialFingerprints":{"codehealthFindingId/v1":"e972b32cb49df1f8f1676818ada0b64e55bf67529e37dffa9e8db8ba2499e00c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1183 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea16a2c6196179e51d71002901d1cd1079badcc5a69a4f4310d8e2656404c09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1208 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1208}}}],"partialFingerprints":{"codehealthFindingId/v1":"22025534714a25b191f625587f4f8da77a9fdfe03049b3d63b37422014736d5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1317 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d860c31c94a4e6e768b2a86f593048d01a8925ac589da65e3f6b0a554883e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1322 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1322}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b6345945630e1636838b04e6624e9bd6fd24f9741a28428a5938e2466a1163"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1717 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1717}}}],"partialFingerprints":{"codehealthFindingId/v1":"066bc4c29b78bc82bdddd24ca73c13156abbdf3986391598298a8872a73a90a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1726 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1726}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b06f5598b3ceb3d9765970983dbe6f921c323e794a9fc8d6434f03de789443e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1798 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"e221b67f4365516f721030272cc38cecae191a18ab1367f45ff881135274e0bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1850 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"97190704c18b048b560583ff02aa88c60a8f37d94f1a0560e654f0c420a8c1bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1855 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1855}}}],"partialFingerprints":{"codehealthFindingId/v1":"7303ba0ad61dc9d37d014136434fc6a6f14c32d0a06797442b32ade9040876d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1858 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"044ba97295f2eb69bdd49b8aa78b874a85efad7c13e98e0f31fe4531d75a3a4c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1861 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"69803534fb8cc1a78a9b24485e137bc39c429f338be4145e93e125fe732a18a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1864 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"920ccd57bbd7ef883208bda02f3e6f8ca1ba93b9aa467ff50029891ef795e915"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2007 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":2007}}}],"partialFingerprints":{"codehealthFindingId/v1":"e48382e428934c9d5bbe4f8e25c08b26eb0578b616f5a1398662e05544ee429c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2051 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":2051}}}],"partialFingerprints":{"codehealthFindingId/v1":"906067c47bee3cbac0d3c9a3cf8d5725db53cac7f1d90179b19c8301f8e60c11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2237 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"80021199544c9f882eaf1816f1561c79d728ea646d4a66ff10f0a5714820dcaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 2296 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":2296}}}],"partialFingerprints":{"codehealthFindingId/v1":"27083286b1c534e214733ec63b898912903361294ae319f3b4ea8ba1e4f3c44f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2308 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/handler.ts"},"region":{"startLine":2308}}}],"partialFingerprints":{"codehealthFindingId/v1":"53884b4c01657113efc31eedd60cf5766ad8a16b8a39de10188162af2e4d7ad0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 324 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/obo.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae4d7cb763f0c55d7e67ae8dfbb232a9faaa0f4e56a654bfbaa16f09c700bf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 161 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"848344ddcc246f6f69544dd975c2cdcc35e463e5ea23386ba1713186d9beef9b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 182 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"01150763b2c56ec405710fbf62a4aa6925872d19f6c5b86dc284d27e076e6588"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 211 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"91481bf526e46df6e34b279c4aefc08b08b6b9a93e1e2fc0046bc355746e000f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 237 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"baac2a5a9f5e311ff5697cb94b9495d8b33fefa40cb1fbd1202489a7648903e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 248 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/pending.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90114254a19e448d95d16ac054469e705ccf5eb8b5d83f4c543b7e80acd1d0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 479 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"980554ad06fb50b95107bcd4ecf38a985e052fc958afff551085f21040b3b9ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 487 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"7135ba588a1d58a97c2105e3ffe34f4a89b70acd753bd25bebda8e91ee4f3e0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 529 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":529}}}],"partialFingerprints":{"codehealthFindingId/v1":"65dae967c48b22258d276bd382d8ebfb44e007943d3f9229618d97f4d582d82a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 732 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":732}}}],"partialFingerprints":{"codehealthFindingId/v1":"6376093f169739d7aa3712907b418f4abef84324471324f87d465b1792e00a43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 757 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"3962d3bb8177e0200d5a2f88a432021866fca2581ef343cbc9efb3530f35b408"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 778 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cfb7bfd528b6b4519df5cd1f43e8fb2dce9a15f4beb8016331d3c53a0ca80d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 794 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"671461078147c4da4551aca893923992e987f9556efabffa16974b37c82c195c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 799 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":799}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3ef2159efcbb92005f46bc5c7668ceee018347bcc705d19a35993766c45b9f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 812 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bdc633c461575592343400f2fb8127badf7b6062dd1caf1739bb480a6367a95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 816 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df7917c387107785c8a68f4a307919b9d1d05228e60056e4b4187d99b88279d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 823 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff37560e111329061ee9949277044d83c542d4e88c5ab3beb7e3ed3859a740c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 828 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"7caf856acd5e3eefb0c1722623d3831b07bfba8235c5fca493a97b9c104bf937"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 831 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"771f876d986082f3e3deb7bc8d1c347aadd4301819db063be37b3ff2d0fe392e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 856 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"92a1558e91a120a605fa3f47dd455653d2ed2c5c4e346ef8992e5a32caa334a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 886 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"39034eadfe4d53fd19e4569c08e14b34edd216e178d57dcf70cc7afe0cc17b5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 902 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":902}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e04acfb275392899296b77d84e2a378fbe50bdd6428dd5eef188429128d422"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 957 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff01a057dfb2262be55b6f6b620380f8dd2e16bf10c3112e10907bd5e4621e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 960 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"353771c2eb1bad6245cd7afb6dd9a9306460f7153e16a6fbad9a74f2211921d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 997 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abad23a8a107aa04ce7c886a00cf42b6717d093d3ea13047c833633601c8fb7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1000 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1000}}}],"partialFingerprints":{"codehealthFindingId/v1":"54a47fa0a5070b5fc1fccf3afe8aace5669b81a2ce20094fd5764ac510aeba54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1008 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1008}}}],"partialFingerprints":{"codehealthFindingId/v1":"04076762460e79df74657d622dad6e17dc490e32ec402d8c580e4dd7512496cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1019 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1019}}}],"partialFingerprints":{"codehealthFindingId/v1":"2764bbeac40163873d973cf20257d2cb3c5c59b34c7e7ca987ca3b2d0f38407d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1024 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"7049be924844aa46ecc7f1cbfe3ed6a82344645c4d2e74d268701f763eba62d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1062 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1062}}}],"partialFingerprints":{"codehealthFindingId/v1":"5564529512543c3a03074e2d77ae3a4908b783b0aeb464763f1af4d35eaf1b2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1080 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe84b12098dfbe6bb399f4bb51532279ad6301c6d9c9b4a7be225519887ede95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1096 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"1082f7dd80105f7cc0cde2d38e2ed198bb2810ed9ee59130fee8a146993ea505"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1101 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f924776d3c5e8320dc5f8752d1df81046fd09b1c984656898ef7758927f25e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1121 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"39a34407966c66e24bfef523ddb520345b3fd42e51461bbfd36e1a7defde5ccc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1125 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c72c90debd1f547b451dd5585dd372ce0ae8d638cba4e85876e3ca3d59fc447"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1156 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c554e902e52d22969b4900096ed007b776d053991947179dd059b4e797f64785"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1185 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6617db67d65784c4ba16de642e6d62f9a72f6599376d36911208889196b03c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1258 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1258}}}],"partialFingerprints":{"codehealthFindingId/v1":"7253d17289c33b848ebae475e3625e62e1e39071ba035f346121bed46fb26efe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1285 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1285}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aba60386c57237946e3cdc6f3c14dfa2e449cde16daeb2a6668eac5d9af0b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1361 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70588512bd426c6e797f19786798bcfebc125718c80ab72a215ea4947e941eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1403 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"450ecb640e72ef3a89c724e695331338834c8077e1b909d80f655728ef7a454f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1476 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ab428fb8f04178d5aa0bdcd46475e3d2b287331d14c996db43a3b4062196db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1654 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1654}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fad9e6819f83d479029912728ea62874617310d91602ecbe95af6aa26e8558"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1660 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1660}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b8a985374cec23ea058e387e25a27d0c5d28ef5cc5d971c1e8bb2eb6eccf76a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1679 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1679}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b0fd917989704b74a17093778a6006780c4569a8bc33b7a5cdd26efb6b75cf9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1770 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1770}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb597ea6f330ce6de4946214a72d179f1c804bb1ac707d8e93bc8e33f217309d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1787 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1787}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcb29115aaababd07487eee29887e3bc8471dab9ff72f17113014913bb211e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1832 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30918a8693cb89103e4745f7713fe72b1bdf927644ce34a2b561a1e2b532c9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1838 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1838}}}],"partialFingerprints":{"codehealthFindingId/v1":"206fbd5ea0ea8fedf1d6614de0eba242fe349d5221473f05203f3bba59c6bf2d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1841 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1841}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cf2a9fd1e3ae8553063e3535f48d613315770aeb55cad06e8a6fa7622304087"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1859 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1859}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9740e52c172f531c4a5efc52f9bc5b84736f3a5de26cd5648ddc3a2e755f1a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1865 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1865}}}],"partialFingerprints":{"codehealthFindingId/v1":"07207b43fa545f531201cfa33e47ed18a9e796dbef899012e098ef95f4f46b0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1870 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1870}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd282154084cd155092345a86737439cfb02302c35cb81941a436c12b8ec2a8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1892 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1892}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb8f8a9dea96a5ab9b17c79abb26b09d0c98270984bd81ea1c087c38c2e91c40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1898 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1898}}}],"partialFingerprints":{"codehealthFindingId/v1":"0256b93a8128c4aea7cb99af46beeaab7d42a96fd633f482a5a3876b31812491"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1947 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1947}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba0eaa873ad749a71c46e0f069d7fb1b0b94f9ae39cc8310b26b847f1192f6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1962 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":1962}}}],"partialFingerprints":{"codehealthFindingId/v1":"19a2638b365d9ea034a51affa5c01335b91bcb4c92bab83c4ce529c24e231380"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2001 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":2001}}}],"partialFingerprints":{"codehealthFindingId/v1":"c162ecfffe404a51278d8c9a5d54905b86aa149cb65a5e649a49cbd80ddd7e01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2010 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":2010}}}],"partialFingerprints":{"codehealthFindingId/v1":"6383e7090623d7c9006119b6e044305bb07771c131a2073f90d97897dd888cd7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2069 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":2069}}}],"partialFingerprints":{"codehealthFindingId/v1":"f968a198b2bf0f9b94464edc6aafe0c9d9fac9aa569b6a8379ae1e9ff39f43d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2129 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/oauth/tokens.ts"},"region":{"startLine":2129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8825fbade142747795a0c9b324f432d64c8911ef07c8c3e036158d7ea1950c9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 139 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a245aaa3e9871b0fed93c36e530b11623a735d8698b58a9a5a4caa97ac94004"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 148 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f3347c7d43f6041bebe46cace0e98d75dbe81555c4f802ff291a8eca8d41f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 313 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c4c254721394757a4fc94d7bf9bc222b8f4640ecfe02646a71906f703f27b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 451 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34f10fe94e728c9c28cfb65bb05e4b80a4af4fa865a54f82c20eba1940c15c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 736 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"50020a384b7d1d3bac89d38a7a31654a9e08bfd36ac4fee740d78832021eedd9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 763 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8030d708631f95002e492c8f639e11e1be402b7cb230d7a9d06e882f60816bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 768 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":768}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca00bb4b8e8d06e5100ed2df17c07f14738269275c29404e69b8d15a78670e2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 879 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"22ffe1f7cc17345bc828b5af31d0648de694f4e48de0041728459b6f7c515a11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 926 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d61d96c7ea406a4f8ca2a98bfc6666c7f64c28140fcad0a5cc0a747a5ca907"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1071 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1071}}}],"partialFingerprints":{"codehealthFindingId/v1":"744498d5cf1a6fa6218f11e4a7d4151de3213d217c8a8c24fb4e33d4e26bb2c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1103 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1103}}}],"partialFingerprints":{"codehealthFindingId/v1":"07c301f8bd6eb14ace03f3a3eaec2702c79beb8c8f44b1cf1c06bbce0ccc0d82"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1176 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/recovery.ts"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e8f2783bf849aa8f1068b15ca27b976b8eadda70737614597702f98d377639"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 470 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e114d2d14089e0fb913308350a76c8cd91270fd5fcb6a7edbd879a826ada64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 522 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/catalog/store.ts"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"a612ae3b9419635b2820378db0cde7c23d2f0527e7587abae816f835c6dadad4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 195 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/apps/controller.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0618cf531f416e45c588b1bb1bc3449a836373fdf626549667c3201b3d73ba3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 187 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/destinations.ts"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa9a38b7627041d27061d711a5e2a29230939fe2cced8b01399e55f1d8d4e8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 194 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/feedback.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9fa2d6d04cabffc4b5c9973f6ce2caa6ff538656d0c3a98297d988506715da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 202 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/feedback.ts"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8ed490f3c1032ba48656116346302804eb551984ba7a57b214de480434b12e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 70 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/identity.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5db7414251b4fccc502264fe46012df443b9e63948e4ec8cb3e4a30c93c462d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 111 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/promptCatalogSync.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4e4c939b7b6f019adf73a60d9da5af8f4d8eb5b58c3794d7b7fdcb7508b1f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 603 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":603}}}],"partialFingerprints":{"codehealthFindingId/v1":"d57f1e0755b03d253451fa354a22fd4897c5c3eaea1fd9bd5ef73cadee59da2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1002 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/reader.ts"},"region":{"startLine":1002}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b7778fd1b2da9a0d18975e47bbcb25bb5be400a9f9ba814b6220a0e5e473a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 47 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/utils.ts"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ad5ce543b0c974889c7de5ae8edf2eb5970897982cc74092ce9d1d4cc52d54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 107 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/langfuse/utils.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4b7a9d476ccec294489297c364d8b1715440e410fa04d61c1200c5bb261d35a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 35 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/html/theme.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d1a6539b679f61f276fefabaab4e981219feda7fca928203b7e37e0d797bb6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 38 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/html/theme.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fb8e12d8d8369ac871208f624a4cc02a6d2636b70ca959ece0bf9fc7d4dfaf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 696 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baf242f7de5711097e98b4c78f8cfd6de3b4576aedbf34d7d5deb8266be8e19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 714 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"233b78f8b525d05bd85ffcc0e38fa730ec492712f4473c4d7caaa3f8f52fb20a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 722 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5d88904e726047b36542169cdccc8341d50b8df2cf84773d885521768c155bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 737 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":737}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa8844f7ab8197aa1adf3b3858f8e208774f472a2e9874252d04918804d92a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 775 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":775}}}],"partialFingerprints":{"codehealthFindingId/v1":"855c8c4a8b847a5d852ad8b38ec20f0e06150cae04cf7f761b7a2bc196186731"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 808 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"396a364cd15c3fe8ee84a5891cdbbdd5d139ed0c96d2513d030a586175eeca0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 818 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":818}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fa87d5ab429daf5e4c9fd2c7479e413a9e5c48d25922e00d9679af183b475f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 826 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8546998b0d982bdcba543483f494068f7403c1801bc033d35c13f0c5a328a99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 837 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"255b023579be5117cbf8d0c6f3751449138e4be9797472e8a86ae4ed135e7fa3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 855 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e2f8c369705c32297ba0529464a3e544792f573d9c2b18ba4460465431cf53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 874 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":874}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ea8b47b08874527e9280b277d44dffc4cc5777a41f5e26a9c62ba83b70a94b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 876 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd876ce2f406a4693aa661d79cc2e0c5b4636d0cbfa2d1bfa57d2a60d8037b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1051 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1051}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce14dfa3c415cb669629f1fe4c1699012ff9701fb8feaa56ea44ecfee80932a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1054 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6889890b6fa2916274f556a04da97a7567e58f788451f585baef785e992d961"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1105 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e80f32c0f8438a74512fa3d15b7f78b5a9a4ad5ffe4cdfb0bbfe79994862b8b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1108 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e64b57181155e34d668f1d883a4978769e31f2ea71d41e5db376d264a8cb352d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1178 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1178}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da28f0bab280eaf48b140f4498aa03c31429e025b2a546fd4f44e2dc0a3c8ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1181 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/flow/manager.ts"},"region":{"startLine":1181}}}],"partialFingerprints":{"codehealthFindingId/v1":"644eaab2b8b688d5b47fd2d83706ba896a8223cc6b8ab60a9f8d917572bcfacc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 64 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/access.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec4fa5f60fd37cc7161e5531ea57eee6d539a10021a451845b410e3bfaeb272"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 96 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/access.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb70738039037c1e881818e471fb4c1e87fab1a05fdacc1d5d9d0746add9175b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 82 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/context.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2dd7cd924e320c71e2d79078a299893694c20992d217ee483588ab6443bc83"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 22 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/speech.ts"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc40afa71bb7aef77d6558e85bed26aec78fe55e6222c2344e30f0bb9d625b15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 302 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b708ef280fe1520889cf81bb219817007bf5272ebae0cb82e3b7166df82947c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 313 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb72fe9226af7ef4c1f1a4543770b9c104ac244702e54ba0412d0679e21e2ee6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 324 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7c33ef8459e4d6d32917aad087a68a8d06f135c85b4651bdfffc39f95d44f64"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 331 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"62fff20d74e3ac7f0466dcc88b848d7f89b1fc99866db73eb37ac66559356ded"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 352 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0d12ac85447ec090e527405e8f29d0fc69c335a9518913a54952c37d53109f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 358 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dba7ff79cf5cc9a6966e7d37b1b6af7d292444c97105628b8b170484dcda4b6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 364 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/sweep.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36ec5bc2feaaeda41269bfa5930867a8148180c34ed595e65d713757670c2fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 90 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/text.ts"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb795073e83c4d26aa1c0282ff755c67c4498362fed79f0160c127bfb60779f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 133 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/text.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"600e46157362b8043656dda59c41fd5d41a4526322fbade32497b2c6b5a57c48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 21 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/upload/diagnostics.ts"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"03596ba42dadc07e72203ae4b988b39002dc5526ba38a56158997e2eebe4df10"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 29 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/upload/diagnostics.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82dd0e4051e51c8c32e8900fd6812bc7ec7b4f60a1ec3eba1d1e288a96a9507"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 117 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/upload/fallback.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b52c6a43f95754858735c92f33267001465a68f47ede676274167fcdff5db0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 86 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/rag/search.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a676491a71877d7c661e0cc393fcaee1f76880b294774b0dd69e3e5340f01008"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 189 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"9794235e67684e6f6ae3cd10c4b900e13c3b7f62cfeb8869cad48abdae8aeede"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 323 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd59a6b2521a7dc7fb5aa9ec33e3ab27c04d6ea519ce4ebc912ab3457c82737"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 368 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4cc8a7f367d07154cd39bafda6e4fa95f0c391602080cd595af17a1f2f429b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 452 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"0283196f50cc30127e6d4d3fbbf0e2bd416b03cea89617adb2c2130a9be8e963"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 582 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dc29c2b3864c0a240257edfe77dab05eb8ad5de61b894f87cb44c5306dc46bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 590 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/provision/service.ts"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"336d380fe7cc72fb2a8d926d273819e0f376a85a618ce93377617a95ed29dd92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 77 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4feaa7e36d8341b066574d7de28f279fb02207fd5f8f244271eec590891b88"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 288 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f450b1b723feb0f259b85120f92ec384da0468da6b7b6b215db01c46b588004"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 290 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a4f2e7ccf06ee81d9a0a0fe83d3202597eccf4bf7149d45b9a5e38a73caf68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 295 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/mistral/crud.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"574b937a932bf8767c0a12b8b905687a2e66c3edd2b94a1208c3d2f980003332"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 337 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/encode/utils.ts"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf97ec5406a72d85850c4725881a591ded157aa93655533cac3bf6587d39b516"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 35 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/extract.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d326394c7f867f7af099b556049a6f66f726a6b6ecef891c23ceaa58485bce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 274 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/extract.ts"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"d088f9044e3427719776897789a5df020d9af8c79abb7a521f44b5c386d4412f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 349 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/extract.ts"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c394f42927bff5a5f1b186ef4ed83d00bf4b78f2fa6da01e4576bd3ff35243"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 194 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"5123bddcac149547505960b3281f167a6af60eb1b463fb5003291092f74c1480"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 233 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb917467bf2e3d571cdc28f9363a246f4ab9f5af600bca86ba52b9c1ca9ff35"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 329 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e326fa8406fc433c04b616d90134d5eeec65b1d2d12acbdb56580a0ee652c4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 357 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c99c438127adc5c0764cef182e8fbe736a9844dd1dad0025082582c43c0e86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 547 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1684874569ec36e93adea94bf1dd331b4a7adab03811a30834a4fe3f4385497"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 557 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecac95ae01a453f90e1b534d165c5c4437836377217c4f6265a8388318792c1f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 565 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/code/process.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"696bff948cd8227eed7221c025156cceb67a7579d91e13e22137942446b85dc4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 89 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/files/agents/auth.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"b473da5505ba2c76349336a92a8e560d1d91b2db5458d3833b7554c010f69e3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 808 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/google/llm.ts"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"b862e52464de0248f62d7ba26fa53cd81048f8f9d19ff5a2055720a6ac5efdcd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 199 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"0339ece9792270ea93cd793cc40d26e3ea97c6800a24158df837d11ba73b5c7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 203 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ce34e28638ee153ce253986f7deea88e4d7771caee5beab82552dc3a4a94c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 314 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/endpoints/config/models.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1f91eaaa29f27710173af0eb1b6a966ac076d91285b6d4a471b1df454e9fa3d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 15 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/db/utils.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b76464e8c16b288c6eaf35092d904307754f2ab5be50af1dafc2fff31832510"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 17 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/db/utils.ts"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a8aeea3b40a06ce08b0e8e5b1f9ece3cd720065ad7541ddbd2926a08220e5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 20 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/db/utils.ts"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8da3bdd1a1ea40c09c29226a5826d29bc5e3b8bd004fa1c56d3363a65431cb1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 26 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/db/utils.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb68e909a7ad6cded611a6fb7e97a77d1627819b7aa48efd63ed9291ae5364f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 85 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/announce.ts"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc7b77bdbaf2e87813338160dd62fe95b85e6e9020ac4687b2f9e65fdc51957c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/announce.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"be04e5243f61bafcfb83769b00ae3eb21a9fd3516177bdcba45d7375de16f6b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 221 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/announce.ts"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f023d09687b10f28e544c4fce0b5fb8b60d03d015d458eb3d42f2a8d4a3d6dbb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 269 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/conversations/save.ts"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fa3062bb4017184165d07ca449edf59bce95e0c69309c84b9d1bbf1cd31688"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 555 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4f4d3b068148de99c52639bbd1d8877ad266a4db716986bf47db5b2bff3f06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 659 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0a6037f9d86dbc17e2fd6026f3eebdb97d5b46bf65bedea129b0e09b47f782"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 713 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"191ed638d489e900626d7f261a6c48501d0aec10b3e1545d8f7221391dc712d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 742 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":742}}}],"partialFingerprints":{"codehealthFindingId/v1":"731221a203b52934527870bfcef13889eefbe950f5bd7d069ee4892ca12d3493"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 892 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"0568f74f6abfd99f1099cab862b319477a9d25934002ca85699b8822a521e11d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1017 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/attachments.ts"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"91166c53faef8d2fc2e87746f195ba556c33ca09227548a7f32bb9d5825e8e7a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 491 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/code/lifecycle.ts"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c8ad36215240cb19d29f5cf7ddfef2a93e6fc2cad14be3e022e886f4dbc8ad8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 186 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cluster/LeaderElection.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa058e1a54a4ccc41e6a7c8d7e0b4e4a14d73924f6f8659b65347eb79f7917d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 501 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront-cookies.ts"},"region":{"startLine":501}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea67a5e5a851bd757c7d9f10423f5ef73c1d1c68eaba3b4f80a7987f8625df02"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 38 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cdn/cloudfront.ts"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd87766c18bece3e6c38adee2ca165c4bdd5cd02c7bbc9f15813e9bcfb54ef53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 23 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/audit.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e6e4a440c77ea62696bc23a40b2bb57aa0cced30e6910ab4d8465287d2106b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 70 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheConfig.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"19ad2cfc9ab96d19e7cfb8957f02c8ed7a0e8db73127a110a58d292f35c7731b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 74 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheConfig.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"03abaa6e2c3a98625049d78ea5a74c7a20aa3549762d257ca5041a5c0cc8eb53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 54 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"facc8f6bba823061fedbdf2656c83be3dbf3209bf04895c70987e918f1785198"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 68 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc60baa9107647cb030a653a4e702dbf7907a4dd17f750773facbab6e9c8b9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 113 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"33b73b4e3b274c023068a9757f156bf87669f68a752c392127362e2b67b291ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 128 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa9c0950aa91fb32334ff2a7dbebda0516a82fafa6f799a7b3dd377f22a18f2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 186 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"7462e11de8c65c6266f793343b3e9e45e7468f5df758429776bfbc49489db0fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 235 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/cacheFactory.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1588918627bab4d8821cb8a9cdd95b6edd88f02774f5ab2c7283833ed01f0b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 86 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/heartbeat.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"033a9fa34cf638596511473d204fee1a023fd670077e14983d5d1c37abadc9a5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/heartbeat.ts"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80f4e7e352aa8ffb04196359cef9b3fcc458673a16a9a27541ece56452b17c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 86 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/keyvMongo.ts"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"311d227d4fe624a77f3797d1384a0b8ca8fb07bbb10604d668fa353943fd36b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 94 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/keyvMongo.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f6b3ae32bdf494f690e32799cd0cf06416d0a192d9e944f36a8c21d076ec51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 77 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/recovery.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"314b99b42a4e6bcd02b6f934606e4eadba135428c6978d3c580c85bf027a24d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 82 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/recovery.ts"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c670b5c6d2031a9aeb50dc153848ff7b1ab77e828a10d3534a7e2aedad126f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 109 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/recovery.ts"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db104f14310cff3d098dddb233df540f23eedd82c2d975ed1b7e4d3bc5c8ebc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 64 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisClients.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"75aa44a0f1ef4814fcd75ea8b53d51419be7c06624f06fe7b77034de02d27406"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 107 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisClients.ts"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f1f138522ea55f22e2a5df812854f6eacc919bdcdb38897a25af16b87df33c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 127 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisClients.ts"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"34282aa655f22a49c5acb275272f231ba3d0d5fed455e292d5719897d89be06b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 224 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisClients.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a3d2bc550dd37312982bac6c1910ec2e0e68aefa474bb3a1cef47cff284856"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 58 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"698ebca7b457017db8151a5fa0627b5e5cbc356875b5502ddd0991b13b5157e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 61 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc183ffd4c43541b2af5324d01cd92502998bce236ad330ff72e3821bb25389"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 143 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef92233a25f6969df52fcaeeaf8fab5503793073e3f9d3c9196ffe9a90440a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 147 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1509b5e36a6c071200b9899f1a680c0ad3f30ec8733e70791085f11bba9c550d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 196 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc3bf56d089f894083579891d12c09acc204109440178b7e664b74d81ae2120"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 200 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/cache/redisUtils.ts"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26ee038a70b76e82bd7aef5a92693a5977c3c9d224a11bb72073b1c39e65f03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 278 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"a951969820c82a3d7acea93521b8298fce5c8e6101c3cd0d926370f2f42d5af9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 350 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca617cad3738ab69ded2ccbd062512880438c072e1567e8442f9f50fe5197ed9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 416 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"80771f39f1456304f6adc2ab6cc23a0a185cb30d402f3498edd4d3436b56d61e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 434 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"06da75e3fda98cd564ed5da3c199b55c54378aab459b7aae7594ab255f4661ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 451 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe9999129b6f9d3603464a6262a5aca6bec26a75a9e3101ad8c4a3a3889c7bba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 471 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e0a370796eb1746ddc676c9c443d9475c6b91a5a3733e256b3c505960979786"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 476 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc52dd1b7ba1aaeacc3cebc0adf1c85f47ca9db9856ed51c9e1b4a5dcd62f252"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 492 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc5fcf54d4aa0022c02c2630aa5276e35a95b4425edaa8f1cfd148145022d13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 509 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"234d6575ea8d2ff80dcbbc9f5f1e2419687b95e8c461369b1602367cc93233a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 528 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"183e7607244323518fd1e0813d1fd2c10b09b0ba2234c5b65a3448f235b35792"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 565 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c1346c4a2bd681117ed1a1651e5faaa95572cf6df77b6727e942d63359aeab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 576 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"b479947fc9465919dbe250560830d53ac8f528c004955572f8b055322026ad39"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 580 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ff35a538cb6efad992c85ea5867e4d9d1f85e7bf99360ee02ebf132c2084612"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 615 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"450da4f22b9bcac1c3afd519c252cbb594586566a6e440a918ccef9097500e54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 634 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"b03d6e824263d05a577ee72567453b1648d16dd83b1260e3c5d377a46ac8e9e2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 642 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae24cb5bd7cac13b75f7655834742d98a87310e1f9f42d882d19a17d9d14af0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 649 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d1b04e78fb15c780aad05bfcc08813f5103c85d9030103061d9549da8d63d9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 669 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ceb6b4210ef36e515643fae83879cb2751dbbf7c086114074af88897a4c7a8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 673 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c47fc0268101c72cc60c597daf72b70043efedc4a18b8f6fa0abf454d8f2ce"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 695 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7848e908ea69e34d4dfbf6340c6ba7c3e9730afee8d30d027034ec810fffa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 761 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/email.ts"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72c2bd577967ca8b6fc374d4addd84e95b89896346eb0363bb6772bad3abab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 140 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"60308f0abe44fd00487fdba04b8bd1e37ea628ef40f95e5caeb591c1a2b5c4c3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 181 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f8df0ed447f007028e0c8dbabb6d87a18fb27e7cb8ea7e7bfc61ccc969f48f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 191 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c31a833ab5b4bc0f2fef9e0fe7f62dd4a349fb159f02fb0780e78f1c443d3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 216 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e7ec67ff5b8f89f0db08f8523e505dbb1201d9cfafb72acc4b1c0132608f5a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 542 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/enrollment.ts"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a05c57cd27bc2366c0789f20349fc0cec2027fed987bc6d02a99d86c8bc189"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 135 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/exchange.ts"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d420b94cf6818647aa7eb621b02f2b4478c4f3e2839bc5cbb0d8eddfb21d7b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 174 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/exchange.ts"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e2a5c5621f32106255d949f668dc21767128dd677b0e87b9c8d50769b048bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/exchange.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"da913cf604aca5b7fcb5380747ca0995a92bc786ee3bf469e45daef962c7b8b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 25 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/ldap.ts"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f386e58f4f03f58a4fdf64c6e2eb07b63bedc9badcd8af50810eaa892a9db"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 43 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/login.ts"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"250592ab9e1ddc91a80b9fba5dbb644610c65cebaa753c4e84e6cc7ecf7ad2cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 59 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/login.ts"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"af986c0a6f376477bdf6475964f97bed5c5dff969ef83991c338999e8e53e861"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 177 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"48f1e63b103d812d0678f05247390806927dd2c6342350e67a7f23f8d7756c0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 206 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"93743f5c1d0ec24b49e8843c4fb2720a617f4d1b62735756d33df535fcaf926f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 210 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"6deabe44fd233e3f67450a7218c9f9bcfa2116125df6baed057bbc341d7339eb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 272 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3443717477da20c2559a9754f5ea3be5fa3baac162480a29fabcd3b8b5b590c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 278 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba68ef4b1c489281c90fb1d85e63624c10d2ada8e802d5256d8acec87c81947"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 285 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"77406c0a00cbb7d8db403330cb1cf85ec620d30c60a113df79912e799543790f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 300 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid.ts"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3a5597b6f0ada6f9a6534e74a6861036c492ae62fa4edfc68ce69a3784dae4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 272 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17240eee90bb48812ac95043c8f7659df90513a419725a38d3ce5e820d0cd4e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 365 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey.ts"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f0e4558cd1d75f90c3d8cdb7c47a222afa5b8550c725d26b46d2ac2432227f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 81 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d39b630ef7c95a1bac27b600c1296cb0c252e6cd275b764946dc0a8ea90665"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 87 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9350fd3a5337bb48c133af2f4c6d8b7ddd843a136b995f7a1a5f0dbd7e6a31f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 129 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"52a3cb15b06dbd054d7340b64003f6dbb178d038ca03ff895f77aa8725c9df9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 201 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"680fc36fe7843d1ee6a9c5c456ac677e9dd92726770dc44d8f841dee0a1546a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 209 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"25de49fa19bb35cbc9f16a9aabbf5052f3016b2668bb85132e762ba7c7b1ff76"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 211 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passwordReset.ts"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5861bc2facaa6373396d9286aa0403e4386c52cd1631dd338281ccaa9c0ce1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 105 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/provision.ts"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"216da433fc2f1103cad88ef5443509a4f14199b9dfa4d69262c65e410c3ed601"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 131 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/provision.ts"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"c04acae2952409e3d76ad46fb7933a48a3a4e0a0fb08cb2b836d18b1f5ae7783"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 138 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/provision.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7965eeeb1e8fc22563ad83ddf617509fad14341ab54fee097c2f40a1343cc2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 144 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/provision.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"dece423d181cf58fe6d51d492c2e779627bc9a80fcb9547f9228c70eb5cfb807"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 209 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/refresh.ts"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"78db0c4814e47565a1c0ee3ece902deb6ec70a634ec8a0f1651c1b5d258099f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 305 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/refresh.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb43e8d15d6de372169c4994c76c651c83413bb3ee6431c3cb4cb4f2e83ee4b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 99 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/resetRequest.ts"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83e32ec7469c3a20f32b17c488b33f16a750f4075f88dc1b73c53e275ad4765"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 65 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/saml.ts"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5eb9d5fd8526a3d39aabaa9712ce81bae6c3400ca2bf02c4c5df00d7a43caee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/saml.ts"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"926fc94051d7f9ca81a2e51998520a4b1705d87d976dff63805885eda421f6e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 73 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/saml.ts"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d760b640900732ec5b755b9fdc7fda69fb0b9f8bc6a4707aed559565544f9224"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 36 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/social.ts"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d120f60366e26cae7bf7e48c2b4bc13c38cedcecefe02236387326fa7f675aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 46 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/social.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d295557dd813bdf025a2fe5267204226ff78f993859f3ed283b12d908a8346f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 281 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"40720eaa3f757c5adb40f6ee678cd127327009121526a7971bdecb5332da8a03"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 604 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/twoFactor.ts"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82816690646d6a0bcd26f5236b90980ef5b85029d7167ca2285c8d63db11d43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 238 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/passkey/handlers.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1f31d4455b9b435a2b32a1213bf3c62ff4f0947114a8febb9a1104d47f29057"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 74 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/delivery.ts"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1ab35c6ff1557fef8c2599948b475b760b3f44499da7d6222d14427194f08d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 393 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ea3ba57fc043a94c220ab8366ae83500cf6de4d4ef613f0fe39d65c06dafe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 448 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/recovery.ts"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff2187694724316a20aac35e2b4c03184f8502dc82b7b624c1763f097f0af3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 41 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/retry.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4aa52096910b6393b8052811287567fc468dfab98cf5f2553b5086e078da380"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 98 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/retry.ts"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d340ab6c1d1c60330f0ec42e2c00e8a3fbd35c7fb563c7da615dbb7baf0f2b67"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 108 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/retry.ts"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5376a1e405f56b45f26981fde3a06622e3c960c0e32838664373df40299d20"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1983 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/auth/openid/session.ts"},"region":{"startLine":1983}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cf07b440b22fc716c20a8f0a6e16d0c6f8afe8211a85333c082e1ecb63a614"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 128 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f18b795849dc5c42a0d47555110ce2225f27ce52728cc0afac18d1b2a46c5a11"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 170 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f02f8ff7fada649a94023e6d65939ec1238ff38f724d82e4752f05c82bc946"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 277 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad35d3ccfc4425cd46b9dd0aecb951a9f3786ea205cae14411b48c9662d15f1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 280 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa9f1692bb2b4b3755d947f3c83071ed901a83f7ae108bb624b126e616ef807"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 293 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b63667a9d15ca5c8c63cbd6662bb5015da47355dc66c525f9619986f2d8cb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 301 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f0239b23b90f5bc7fb0f4f5dd9718bcd1b916931a51d9d312acdc3ea365b9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 313 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c80d2464f2ce76caafb20e201f8b5c3dbc941bcf8097299dda740921bde89c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 314 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed470d0823627b60877b911af38166a992ec8e55f30c2f844af0931a2bd489d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 387 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da92b375b568f0afe29da3a224567f4f0385e64e69fbb52a45217cffda53d68"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 478 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"9322e7702ef705becd25e31d3e85afc48ec1bf0d34d6125bc144b270b823a459"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 480 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"fef4015e3509cd93b51be1fe7e977099e501b5a363fb6dcdc03dd37b798a9050"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 489 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/checks.ts"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"01da07002ac5ed2175e711ca5823a2a1a096f2e9a5b69535f6b9d1b288c60a84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 120 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/invalidation.ts"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"428269095c8cac770b657b55ab009f1c11137c4afe681e9c82fd2da43fd39a50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 295 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/metrics.ts"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a493f04405b3f99abcef14876dbe39d879b22ee250c098ab3e694d1c4be92bca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 183 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e6cb1378897032605efb2715c0b4c3c169bce9c12e3291252166a2bd2f432a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 242 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0f28ab68cf4ffbdb136217bc0e4013360e33b8b0fd5d227ab9d88100dc3290"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 244 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6485dff957961c4982aa7d72ef1d78a45e617eb222385f7be9e27e2bfe160908"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 246 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"002fd2c5a9e0419bc8c5d7e01b7c4d1076bd70086ae5109161b2a9145d45e1fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 248 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"496de702ae6f29e2b9bea8b2e1d05cb50f552bc8940d46c91eb7ce40bd947d3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 251 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a59e37eaa4a5fa4f19ea7fe96f261c119a748f9a0792ab6e9147464f66d0add"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 783 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"d27082197c3ae995e21028cf3f1686d4a27f1110eae6e6c70c6cebe38346a414"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 806 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"362bb98e837cf13c2a6b008a3464ef81869f6a192306bf0d55f8d4375e5deb93"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 838 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/permissions.ts"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf5f02dd41907dea72085a4609268f94ac032cf18917e7ebfd93084511f1b58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 207 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c00db68ca323131a361268f717470c130e6bff5a4f81488d9e5daa395086ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 214 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"8787822ba6766f6d27fb40a9e60502b98b2215d08560d3c5366e0d46fdc5e5e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 219 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f8e95627d51759bdb71083f8ebf6d0894c18586841ec09b84e528f4dddefbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 226 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"febc2c302ceec1342d742ad71c1659ba249baaafe0eab4e60ec48659efd25015"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 231 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a1b266b0a85f4a2a6a6facc29fc265aff2234c3fb858acf62dece13c41d7c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 236 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/report.ts"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"891190ed5e0304828254956f119895844d268adc8bee2467839d57d04df5d6d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 27 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/server.ts"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a59c77b69f32e3560eccfd13c733e81ebefede4d7188de6953a38ceb99db5e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 88 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/server.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a5eaca484f746cac6e64dcfd6c38b3efa69ded2e235421dc50646424197756"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 680 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0efdf1c2020f3eadbc97ac377564ce0231fa09ecfb19b281d28527385deaca5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 685 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/service.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e00e5ac97b61578e9d2fef66900250c7698b37e33448f5c0d868ffc9f30f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 146 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/shutdown.ts"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed9d227f8744ec28e16143b9b1d6c5729cd33a947c09a1feaac216188f06ace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 150 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/shutdown.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd5ca1d7999be7c9fb31aed389dc2f4cea5eb5f6ed487c64eb1497ecfd426b2b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 170 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/app/shutdown.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c3bb32d2661c73849fdfbc23b37b5be3093c9d09767cb11e91fd77b06b702"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 118 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/added.ts"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e9ed57bd662b15ddddf6b72943cf3ace058f2c936532e99687484a80ad7539"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 37 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/auth.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4c1ee1c9226522bdf0e4fc79b29f8c43b0adf9541783c2ec091fe44c1b36ee"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 61 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/auth.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e2dfc23d3a9229f8f85dcd459b5bbcebd154b3c7ca2de6cd59cbb2a1fa6dbc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 81 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/auth.ts"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a40047a66f418be46970931c0b32ab970e7ab64ad8c999b08dab60911966591"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 585 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f17c61333bdea42055200c5729fc9f325affc1a45cd0a80043c028ec105157b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 886 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b582530b71f4cd7aca2cd86c0e724c3672a6a54f67e81f237db0e5d811755d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 891 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":891}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bdc535907ae51dd534a44b49018a66d8a82015100c898f2eca29bd545d5846"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 899 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"6267e4eb52f1eb2ee1afbd865115f230d9e7d73bab096d4d240725aa9c4a7780"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 930 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ef2a02b8dde4f96a07da8a1b3a07ae2b22f2d03daaffd9804f3710e41f4678"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2665 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eed6d026eccf816752e96716b68b3f29127d453659c8fc744c4869f6e486fe6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2708 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2708}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc1c404370a0117307574fd5ea5c49aeea6dc42dc6d674b2d97f122ecd6fb5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2755 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2755}}}],"partialFingerprints":{"codehealthFindingId/v1":"75362be3e6b89e757b3cb96622e99711462c90b86ffcc257fb0b1d986c9b04a4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2853 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2853}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f3961cd0b3ea19fb8bb961652276e56a0c03f78705a3cc9b79808e051fc0c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2872 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2872}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b29ed71f414d6953c38c5e1308b2ed91014c90d24d490734422ad024339c65b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2972 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2972}}}],"partialFingerprints":{"codehealthFindingId/v1":"567d6c1e089230d47434f66e1fb02e571b10e0505aff5bf62da55ffa743f6bd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2987 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":2987}}}],"partialFingerprints":{"codehealthFindingId/v1":"0daa56f815e30987e6beea4fb28a1f7304fd8503e2fbd1ca265dd4b6fcf739d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3205 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/background.ts"},"region":{"startLine":3205}}}],"partialFingerprints":{"codehealthFindingId/v1":"3390f7498268dd09b24965c73bcf365c176a4d3b41c64841d74660c1a33d8a66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 406 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"549e8c59691e45bd2d70782045eca6476eb10de0c3075b16bf9eced624029537"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 419 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"961ce2edff17b952d81779b1cd8223caf4fe5a03a266521b6c4b444aa8abc865"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 507 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a884c62cc80347fd73c8eb2cbc18d55f54105ee9b394e1f3b4202183428d879"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 513 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1ff3f131c16e57987394f79f4f57ecf5378e8ad8db999551dd8a0fcb7c85b7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 518 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"05124e29a2dbb525b1f71f48e39f97a8bb8f140f740c014e2556e9dad9e20464"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 882 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":882}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ab17071cfa024379b8225f53ce660f018bb31a37c301ac1e6e0a33d91ae818a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 925 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/checkpointer.ts"},"region":{"startLine":925}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c5b53acd42990795ed982d645f138ce99a92385826b5ee2c10cad1d3ec8333a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 563 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/client.ts"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4f96f7659304b91fe2969bf1b6802cab15574092cab9d53d8e394d576feed15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 60 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/config.ts"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"061734ed72d89dfc7f7ae8e62ab0a18b3d60d730e4630358f1bc70e304c6fcc3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 44 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/deletion.ts"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"74a6ed39f80c3cdb7a0a2a4b45de4e0a233e99eaae45ce00814fac3fe05cefe2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 215 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1396cbabddf428c3a7af8afbbb15b243afe164daf86404408de5de86218be7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 222 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"879d700120ff14d0d23ceb0b500af44cd031f77212a604fac05008b2dfcc08ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 238 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cc2db21f5ba6be0be0b8c8eaca353edb79fbdf8a36d04f1c38dee3fb02886c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 364 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"677f7ead0e1d19d2346b0cd9d6160338f6cfa3691cd4ffe830b5959a8c44524f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 526 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1dbab296cd39c4eceef16a9c8fb0e56fad3fd54e23aa6a83bbdbde44e8fe84"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 551 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/discovery.ts"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1cb240184c33038afc32686d3b5d675f45fdfbe8db4a97645ef08bb7d86639"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 278 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/files.ts"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d46b630e38c1e0435b43ea56bffce4ab6fa6b5a9fd24f99e425dc87704a6e8e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2160 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9f2de3d7ce323000ae6d6b619227468711f02be73b2f8db3d59db3693ebf21"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2190 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":2190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24d745763ea824b42db7c2829cf36fcb34748e43223bb7591192fee467b8675"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 5400 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5400}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3f701aff8e39ea6524b865c6f4867e2d1ae95b0b6d9d12cc40fa8ee65b457d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5560 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":5560}}}],"partialFingerprints":{"codehealthFindingId/v1":"401387bafc72103118f96c6596e621193b26698c6936668e48d66d83f41871e8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6234 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6234}}}],"partialFingerprints":{"codehealthFindingId/v1":"4be637bb0a7a3dafbd30582e947cf88394dec611cfa7afb06362ffd3810e477c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6278 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6278}}}],"partialFingerprints":{"codehealthFindingId/v1":"958b1b5523040cb158c9f83c3a50d8706e0b433946040040aeb32df937f8db73"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6412 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6412}}}],"partialFingerprints":{"codehealthFindingId/v1":"4393a460dc4bb9f1ffd9b0e252cac5b802cd08a98ceae504b76d81d2c233cc9c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6423 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6423}}}],"partialFingerprints":{"codehealthFindingId/v1":"541df429d5db32d2a9a54bcae89f6cfe5769e09d2331041880af5eaa878545e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6468 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6468}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4bc5f73f992b5ab8dbae3cd121b7a7819a8dcac41b27053ac5d3f67a7b82668"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6567 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6567}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e72918799013049f07a4b24b5e4f5fea280b266fff9a39749ad0b80b9e2fb8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6578 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6578}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfc100e9415423eb8267a53d0e61709ac71b28b0d10b2b1024701bc5a26bf53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6699 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6699}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa80b408e78092063b95feb02ec5983e3a0797dc6df5522e7e23227b6b1f44c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6726 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6726}}}],"partialFingerprints":{"codehealthFindingId/v1":"8590f54d5f419dc5f337194ab2b8660d78335d66583b1c226c625b5e1c6ca71a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6732 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6732}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a8afca664d142f93327d5a570a558ed27294c14af92133a5ab1bffb775ac526"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6758 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6758}}}],"partialFingerprints":{"codehealthFindingId/v1":"442ffdbb8b26d5421848a710dd952a2e0ea7424022c4bf021f895793ef990e9e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6763 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6763}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd760bee310e91d4e1da764b2353e76dbd4cfc06bbdf9ae80ac03359b295d9ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6852 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6852}}}],"partialFingerprints":{"codehealthFindingId/v1":"396936476eee34f1febb51603b27d698259dfa9f88d892b755a7627bacea39c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6857 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":6857}}}],"partialFingerprints":{"codehealthFindingId/v1":"41301e59857d98dddf0f3a00c8ce45a18fe0f4c322d7251f7812a847ae365b78"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7014 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7014}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66b26af0d57bcc703e5da4bc9ad0c743174b607f524669be1426f04b7500d1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7204 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7204}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0bde94e53b677a84c5b746d665e1a230d3780a7eaeb25c78027d335af00524"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7465 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7465}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a1d213b046d35cd5377e50a07c2eca4515185cfe71efc562144953acbc8c12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7480 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7480}}}],"partialFingerprints":{"codehealthFindingId/v1":"8958dbb2251c1cf1489bec912afef15d28c64741f49f350b1dd48dae9df60dfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 7493 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0a385a8e1b9f9a52bb066b8ddc80f0389c0c03a99d8d376084a6292ea0ed4f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7498 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7498}}}],"partialFingerprints":{"codehealthFindingId/v1":"98f8b579211923b57b17af6f75150fec5101137b0d07f5b6439f24fd7f26d8e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7536 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7536}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dc020a42297b202ec8f646572199cfcacd9e758a39098d3e033ed26a2ea3de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7573 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7573}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cd8bf1bf4e327c71a0bc8a4ea496891cafa6092d4859bbaaf8454c2535faf0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7626 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7626}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bd32eb8932a79b49db2a7cc5c95f98ca274f3a97898282d445e2672d48a8d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 7837 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7837}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f65c78ccc962509b88798c91012b07e58fb08a845b82e31921c8794c594e793"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7884 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7884}}}],"partialFingerprints":{"codehealthFindingId/v1":"289aa0c497a355425ad0fa7058d4f33052ad667244624a3f91aba78396de1738"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 7909 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7909}}}],"partialFingerprints":{"codehealthFindingId/v1":"0486503777830e6de12ecb397ecf63cef12f0d34cc0067233a37f9d94ab469aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 7915 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/handlers.ts"},"region":{"startLine":7915}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b25928b369b1a59f0f241664ab7c4d2147203fc730209ac44ea802e48a73d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 224 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/harvest.ts"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eaf5563b81e26ae917f3bef90073622dc23a5ff3427c7c7ba77643e60d79c8c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 355 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/harvest.ts"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48e58d7826fef395c0a3bee9fa79bdb85dc84788c9599b8c68da04ea99ecbd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 634 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7f5e35d98e744cc4073034bc63ebf7b1119e60f51f598f6fb880df6d141890"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1480 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"11561210b0b23f0cae1ecdae9ac803fd1ebf75ca8da658557eface17befcdab7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1485 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"623147b7d33d46e0313e72f10dfe648a73477d14c879401adae2b0ca007777a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2033 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2033}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c123e3d23b1ae6f761458104a48f4e673eef95a1d1f8b8777d152a72490cfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2166 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2166}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf0ebae313e44a47101875d84d051e6d6ca2f34ac3830f13fbf52b1faa01cc25"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2261 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2261}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cacfe8308c8717c3046c875f84825036e0c87297bfe7654d066ac157e0e8112"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2277 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08d930cb1f33d08fd5d146410384245ac470d89191379846b16218543ca970e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2371 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2371}}}],"partialFingerprints":{"codehealthFindingId/v1":"d51ae0ad443d28f587fe81c01089c0cfa65dedef3fc8b912589eb3f19ed3072c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2449 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2449}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2716c900238866eb998c6e270478e310fb6eeeef45bc17df8d8a756923f7a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2473 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2473}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8660d1aeb3f9768b927c4fc682baeccc3fe37490416593f6d818f66c7e2791"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2632 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2632}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffcb1a16db51089a8d287ef41236961395c052035ca5da4f7754ff00c76835bc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2638 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/initialize.ts"},"region":{"startLine":2638}}}],"partialFingerprints":{"codehealthFindingId/v1":"e756663fd5d6ce5007b94b00dcd69077c42afda2e1878db572004088f75984f8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 360 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/intent.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5f7a2a694532e85bf2dca6a8363edbb806285fefa6cdb5b332d971fb0ccb79"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 255 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/lazySubagents.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebcb960d2ed91c24090d8b5fc05143483b5c2c74fd4fdc0422cac304a35f4d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 272 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7a9a63e4539b6b224bc5c412b047cbfc80f1db2dc132d7f0b00e707a885a0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"f27099dd2966c7061f79ee8a77e472d8ec06841d4c870f3fbfd4540a6535ab7e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 332 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba10f63ebd2a05f96c0e3c8ce733b16c15bd3192338d07577a8890d62c8578b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 351 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a2675146aef1713b63bfcbeff7278a2db50edff8bae3d50dd459d33b0c8005"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 354 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef1470008da45634a46c25ddef81c3f1a6a9cd208516dcf93973488d34beb8e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1067 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/memory.ts"},"region":{"startLine":1067}}}],"partialFingerprints":{"codehealthFindingId/v1":"32744fedd554303ff81db2d4047e5c0a4852d93fc01d631f4471c42938705fe3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/prewarm.ts"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e1f81f936428369f42ee47cad47b596f7998c00d29d8bd80dc9d317f9f6eed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 246 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/prewarm.ts"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f1ba77b4be14eac303efb8778985eaac7828f24380b7f35c9ba12388fa63836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1070 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c2a542cdf9a756dd755dc5bb0d33effc016570e8c44cca60b27b39afa1005fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1082 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/queuedTurns.ts"},"region":{"startLine":1082}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc640d793fe79ce99eab62578bf6110dcf126cb88710c765b2c537ede0aa4fed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 103 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/reads.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7676ee4b1556602a4bd69a5edb72d3ab900677778b61f3d0d396602318841d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 549 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"52bb77f62ce5c44796b13e1be5d6dac80dcea506c19155e64a5d56bb89bab6b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 715 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/resources.ts"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc55bdea0e9ee11fc301217248a9aec05e6cdaff4ca610dc08702b6b12f540d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 855 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca5af4c18401f8e0c18d26eefd0c9305fc226daf34d7aefc0264194ddd770f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 858 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"9031a398072a3cdbbfb6bdacad0bd8d68917fb9c0fc4ede591a32dd9acc2538b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1410 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"cade1edae3f0fb3fb40a2b00e7df4b86c66944a965517316cb3294cc45881672"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 137 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/selection.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d06d9c9312830fc6c27ddca70cc098e9d9cdbb2d8e6a92afee236e3a070b736"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 189 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/selection.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"cff730d9abdbe7b238fda8374638deede43cf9b287fd193fa65552940ba139d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 220 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0432f6b0b2932ca9db7c47ad929ff031f0efc6086666859a14d72040348ed30"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 252 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"490aca314e7b8d81df4467ed7d4c3417953b8dcabb739609a800aab1e9ef474f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 545 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ede13b0d97fcdf2c074443232bf81ae7506a79c61bfefc30af80561fb0a85e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 571 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"70623bd857506936c1e6b07820b57c488cc19df6d7b01b3a9413e1f9e42a55d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 903 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b780f2d230f1a6be87a14800cefc4606f4c6d3cae0e5009e277019b1a4fe58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 986 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skillFiles.ts"},"region":{"startLine":986}}}],"partialFingerprints":{"codehealthFindingId/v1":"308e0c550066cba5149a7802de558de0d94521b386b2e50021349fdd3c2a152e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 292 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74c3bf5bb1ce087ba468792caf9fee12808656ff0fca445aab752b62debe1d5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 734 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":734}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e27feebabf1e17e11bb8111b91210ab25f829c7ca8a9d317f3b2331f2122a9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 778 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf4b0ac8e978114cc9d216c43fc14802a5bd4044b668e4f5c1e6450d1f0f570"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1088 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b059dfd39aa0c657b76934c773dc2303dd7d79de96117107e2e8cd426e89f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1330 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1330}}}],"partialFingerprints":{"codehealthFindingId/v1":"22a1a1aafd3c3da448eca3478dadd5182d07fb4e8c3be1a933ece7abdd189ec9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ab1667e1ef411421f372d796b0bae5c6174a2a948ccba0140b25fa6ef8afdd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1340 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1340}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f8aa2946d87b73e12760e5d1e0abc187b7e77c6cdc1ffd722724270aada9ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1586 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49cf7e79da4a5ee72c933ef2635eeb77de4ed5e2c60a117ad5f7e59c6a96880"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1592 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/skills.ts"},"region":{"startLine":1592}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19d17a1babc28635c30ce67c31bd8016b74f7f4126e66b0ca603f116e168772"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 101 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/stepBudget.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"813bc16f01a2da56f5aa7d7036d718f674625553e42d10c094bea3a1278f4359"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4030 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/subagentThreads.ts"},"region":{"startLine":4030}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2f94cf79b7c40b3c44bfa1efc07b7499261cd20f0003be2d87a1b111b75942"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 94 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/updates.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ac1dde0bb23127f3404be558afa3332f9a9550338c3cc008b920036d9ac117"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1040 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b43925e5681364bc3b6a3b7c81a7a6a4c6f47b7933ebea13cbe12393b66fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1054 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94836bbd3aed3d5bfbc028cb3e5816cb644c788c9659613009d7d4c2aefd03d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 528 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/service.ts"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"c938ba35ceb50d7d66aad4ae33bdc5e699ae28cb4cb5410ca106d75be8263bec"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 142 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/turn.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8a21de294d444c63c6f3cde8aa5d3f0c0bb6dd63dd4cee9d01c19fbb4a49ae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 166 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/turn.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0b5d09556b4a805592b77dcb8b7503263c678d9c3dd87089db5da869b03303f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 171 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/triggers/turn.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"3674768ea7371678e2fe4f58d961034fa7d8276969c736fcb04e96d8bead12a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 150 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/media.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3904e1cf591e56a9ee3ed3f54557e69c9c821f0375e4d2bebb7491525881d01f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 331 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/media.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cef956ce01c356d7d8ea13217dde4a1aa15e12c53df63a431cde2d2bd55dadc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 374 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"29172373eaaabb5e46274efae868b461b6e30c1e373b0ea6fec8b76bc30061c1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 398 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"9783855186f0f1167948d6f3e95258894daef3c8bc1162004f2301408f3d60a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 538 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ff431b9cc2e5244f90b4d6aa25333efa13971019984f744edab71f28c100f9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 557 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"030814d4bb69cc3a9ec2a1ec5b00cc9024af256389ee78ccbbbb6cbfc5a36df1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 813 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"1494a0c7ff5f773f03ce99e106fb3f4aec45dd5904df575a6c9dde3d8566fc8d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 984 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4d1fc1c7b3cd181fe8582b1cfaed689c8729f0c92c04eae2c1b703e46768edd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1094 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57a88589b0588fbdc3d0f2651c2a24e13b30353b172016b7a64e57fedf56295"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1151 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/request.ts"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c429a3d166ae8621dd891c2207bc89a6b7884b63f434251ce58ef718bde3ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 141 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dadd8d7d5d7af2be6f07653572dc6d22e1b1d08b2c47b6fe7f55449dcd4aa1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 182 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"13564a57aa8e1e851450562308cfa64750c461c19b209021459a2b72272ad10f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 189 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"e75759a74e1f254372fe4ebed884588f60fb42a0eac9cf01144f7a21905c42d3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 208 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/steering/runtime.ts"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"db09de337baa7ee621cfc75cd2f28a989911b459b3b1644e5b9d161a8f2513bf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 381 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/responses/clientTools.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d8a9475b229897a20a7d5d08eec6ccd401e85752b4205a73c1860cf3a452b8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 599 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":599}}}],"partialFingerprints":{"codehealthFindingId/v1":"3037b6b11e57586501eb3eabc44439be940282ad7bcd4f42e67c703feab94b75"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 618 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b9fad629901927ab808df7a755f3752cadc693fbc0407528a7d683b4bcde69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 654 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab7c331d051decc997e8badbf1df65839ac55f6d63eb9d6e7fecd9275911765"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 670 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6d8d4b14cf4e97bff298fcdf94adbc8c6ead8626f5b6bf353d8380ab6f808c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 676 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca18d0279764be926e3e4b396c39f57395dbc765eff293b8d743c2e5e4f85c97"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 679 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/executor.ts"},"region":{"startLine":679}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a39ed5199c6ce5bf7736038a3aad1415033c7ccae13660a13ff7952bb87af34"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 94 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"3742fa2a29c1814a05de5081999be098bcdbfab6721cb9db74a309f8bfa42158"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 117 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d451d0ac981caf5c8959567c9482c662c8d004e4283f4f336379b6336d0827"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"02efdb55608009ee31478195e72405fb9ff2a99ad0ce6a19178650e81eb76c3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 138 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hitl/hookLoader.ts"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"3863603caa436e6d45ac5173dd7236a1d90724dc2e3377ac7ff4ffbe37c21253"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 185 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/failures/subagent.ts"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd670d72e298ce99e986953b5cece6dea3b4a522dd33e2fe5a4895a1c3fbb374"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 156 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/failures/terminal.ts"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb0cff705f9bef86226937a631e4a178c74da3abf30076d956e653f1d4243dcb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 350 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/host.ts"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0fc1b6a52a9f1010a4bc73cf9c96f0f5d928ea428a65dae4171e31d3b043e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 576 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"a551f4c74d60f981c7ff9b48432e3cf6b15a2e19b8daa811cca0c362c187b44c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 669 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activityLabels/runtime.ts"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a68387f3a8c2455491c58fea6cc7a4f5970498e3845d7ff6ec7135bde186447"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 89 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/audit.ts"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"4548786cbe9a37f41b79cb40d611a45a7f273269c4838e91cb3d000bef862a42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 111 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/audit.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced13decf6e8baacbee0925f682a38149f864a9492c0baf5e96ce08bb4e57277"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 63 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/cascade.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"022359677ebd155a588e7701bcf4c0456787474272471d225d84f5d680fc743a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 96 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/cascade.ts"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"da80667fff76819c44a85aa6de0a973958d97bf696f2fe80b690966b53e91395"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 150 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/cascade.ts"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e00a388211870cd2d4fae8c789b7b315b02ec8234dd38e49bbe94bc48d2e12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 676 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":676}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ff1b77afccbf15c2a754cc3d88c95accde4df0774562a9e5fbee42ed14666d1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1053 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":1053}}}],"partialFingerprints":{"codehealthFindingId/v1":"c21b7fedc92af4b1238a44db1b238526484ffaa60730234800d664217cbe7764"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1371 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b1b21ca4f0fe5b9b31784a373566f1c015158994c2e19067cfbc62284b1922"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2683 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":2683}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee0175373c2af71a69806762a0012b6ab81d5e863410e5af935b6cd9bb507e65"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3493 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3493}}}],"partialFingerprints":{"codehealthFindingId/v1":"acbb7e47851efbf8409b5c9ccf30e661d87a7323ca75d0342404ebdacc8e32ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 3864 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":3864}}}],"partialFingerprints":{"codehealthFindingId/v1":"7efc2b572bae8d3dd40c6b6d81fef8d0133dfdebf172eb5958d324296a0236b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4176 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd59edc4ac88988ae72b1b99b7205849a8e29b891525dd59dd7c75a01b7dd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4465 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/config.ts"},"region":{"startLine":4465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9924d9def74a1af133e65017002ef2f5814874cb9230a1601a169d221f5d59ff"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 493 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cb4b2e7a66d5e0d30e3ecf25f9f4ec6cffe9bcd58edffca3ad6afefd08e9a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 523 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d6f3788dd1245e19f72fc88595150ccd550d714c8020e65699154104bec2476"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 567 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"017a5df885148f428470240ced65b4057d95d5a110425be4563cccb7788bd0f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1215 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ac66d220fad857bcaecb02d844fa5d0f45a56d244b1a6ace200a7852868231"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1300 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1300}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eedea5f0919670a6cf80d7a5951ed480d3ad623da580d7209ae20a3e7fffd09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1412 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/roles.ts"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7501dca59015ac212945f78de5753cdbbc77cf0a35b4e47db22f2072ad7f267e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 378 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/admin/users.ts"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"590ffdd34f75933b58b2be6bb854f7d1c635b0eb6dc26fa377247d7bbd895486"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 216 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da07aad8523211a8f293ae9dde6ab0df2c984fdfa1d3d75a0449381e8372bf5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 258 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dfc3e631ffd7f86cda33322d7b19f8b1831f6f9448b1bdcb0bcd50d2c32275"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 308 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f7ecd85c22782b9fc49af28f3f2a4c4586951e11bd897bbb5a3cde7cf611e5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 351 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"de6f35de5489bf500aaad34c1696bed7124d14dc341ccd512b06d2f15daf078b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 397 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"153c9f8793b969a9396bf4421aef5c3b4e679f83ed8eca5ca4a222f1f9cdecfb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 432 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f122a837fb3815b777a2152fa167aaa02935476232c9d764279dfb3d157d3d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 439 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba43332bd336f4328774ca8206c3316257978ed3ad600a09dbcc4749a4dc49b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 477 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"466ac3899803cd8aa9c4d179ce694a461cfba1e34c09383afd56ff56d641be7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 960 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f4ec01ea0cefe0a1f6af31dddbfcf3d853a36b2ee2474e00ac345c9ea30be0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1024 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"097608872153bedafb3543dfca740fb51d4f9b9ca15b0f814d99156cec01d1a2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1055 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/accessControlService.ts"},"region":{"startLine":1055}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b15a3915dd1ae74eaaf4218797fd7f0a44fcce99497673928b1b91d36b36b0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 173 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/acl/search.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a494097565c1a85ee90af293766ccfb25ad8b41f8323433c8a9ffaf31e03a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 22 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/appleStrategy.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c117a6036804d68291ce71fb0a9d09599fe4c5db945f1f0d05e5653e754b909c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 23 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/localStrategy.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"44486d35c97c4c97a90a9c74db61be45be458a8586ed67a1b2ddc473e6ce364a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 30 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/localStrategy.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1820451e794cecff56817426d169be5704561d323b7b26529f26c301401c348"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 36 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/localStrategy.js"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8b73eb7d561f88fc3b0e6f0d3bceaca1d974dc8756272c7993ae259f385e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 43 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/localStrategy.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66b489a71ca04f4b765ce2b8a1b2760ea6d23f5ba1f8711633c67d2d931acd2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 56 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/localStrategy.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"92786cc0040d2e87f43eb2b1907e6b27a25707fd4e073ae061fcb56609cf8fdc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/localStrategy.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"183a8f14aecc19430194fa07a01a13cf9bf83687ea7bb055bed1126f1cfcee63"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 58 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"342cc0b6f07f2c8733ac6d25841085e3a8c390d2f3b83200b2ae15322d40a935"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 61 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c9b9439799bb5f8adcd15548b404e129aab6b7c95c4e57a28403059e0a22896"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 62 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"995601240b9cf41bbf5f3ba32b87358aab1afc49dc73082abaf8fc897705d9bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 64 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f49ac26158c05901959ec0df8435722877bd4ac0ddc210dec6b62484b9bc94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 83 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b34eea4dd82e0c57a0dd25ab7c3723adc36eddf16adf1c6474ccbb8e3a6a163"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 84 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"643d902890fd63fd0c16651ecd736788706642ceadedafc320b59cc5fafb02c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 89 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e49ae2cf75fc52a4b6114e10ff6a4a699f468d9dded50d0d777a21004616784"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 110 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9334fefaa726448b94959e5bc074abd1736e949c268d1b11700b114eba74d1b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 147 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2adf634c7c98ce7386435832fd2f1fda5ba30df00f90f799379ae971676464"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 287 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939c0f27b28885bbb212cc2455c9b6b0f93978ea0647b65b46d47d52bdccf53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 426 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45343c2a9319c23b4662a7093b58042b14b0bedfdbe661fbecf4e6d01710419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 446 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a54cce4d4e38cb260bb118c6f6b46ede5c1635efd68bb85b1c84f34d04515de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 463 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"65435b41a808a7b6b54fff39cb0f4b62fdf7b1701c59f92d3e86df922139206b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 496 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ed96ef991dc3aea9fe11aa5474edece832445aaf03af37652ba43a035d2230"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 521 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac86ace96fabb2ea4debfa60f415b9aa08d988139b4921d7ef53bb64d54df61"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 540 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60b4af61d5fcb48d25be9e7e40264246b19a5e4d2f76eee65b8e8e980d23216"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 634 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd2dadd6203f75d838bba6c628ed2a3a7e565fc31066b8fc5a5bc51ae64783f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 639 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90eafe9ab4d379402d0921e3204db5adc81779402894a0da207ad26a43db038"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 646 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"87fc3d2e283bf393a3a2bd0c0ae6e298fc1f38122926e2dfb59776a5a88ec60f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 678 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"36e039ce1a09c8ecf07afea8b06fbad3c9e040cdd10c95aab2d1f719b15a0c9d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 703 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"5637c8149140fac463a440d42da7f829c470d17c00072bc728799ee0aca6351d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 747 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb1a8361ec4b32333a726d3fef8c58768a6ebf0f5f4914cae6a30220f9c96cb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 828 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5fc22985064d225bc5765b937b0a410244510bfc16547952c8d3ce255502339"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 879 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/openidStrategy.js"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f9944b8fa6084656c75ee6f5e0900096bb759b873c37859f9d85fdf0c331a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 77 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/samlStrategy.js"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d6bbc996ee8c5a6c484ad4556c08587630cde80ba5fb63953bb8f20cb44e01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/samlStrategy.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"38285a15fac1341b755635297f3c4561b9b194d6bab6874059dcc673de190812"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 196 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/samlStrategy.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5236b9e45375d2192b8868cf5197b2bf8eeea5fe13f2ed73bb27c27c3f87a83a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 282 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/samlStrategy.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe44c13f2fb6df8e1b11c277a0baa46fd97d0984208525b7aa597e528d7572ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 25 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebcc0c383218fbd2517c06655d814bc51ff6d122fa8e83f01ff58e7c2831dccc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 43 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2485ff5e8aae1db4285cdb7db709d48bfa1beb6b8a87ebfc0f266f33ece1fb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 62 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d031befd63e5134f4a1857049d1fb3f04931572553b7344e866694d223a1824"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 71 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a7e9e6e4b33a753eec0b5488353d5c9c79798ac280c94d3c86ed3dd3663781"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 81 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"624ebbf28a70f59c24f0be57a73ce9d5ebddcff8daad92e82e61e0584d368830"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 93 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d73857b5d82ce7ccf992071189115e72a62115ae5ea5bc771297269dccd772"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 103 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0100e7e2498f455ba20e84ac8d206d58cf9d0559e646ad3931f4acf452f71af7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 111 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"477b22fd07b18dda3c7b322ab769d926e90df1ad33e3cfd6b5b499261f66d38c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 133 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/strategies/socialLogin.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7496292ecaa565714c569e84a75d987d1d44d6a185830a5520729dfe245514b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 216 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"842ff78d74ea264a97a08c01f2121a2ef79aace3806d122b744647335c3456c9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 264 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa9a12d8c38185e6dbd54bcd61d07a58a51860ba1b265d87d2535967c097f94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 291 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11ff90ac895b437fd7f9308bdaef496e0afa3d473d8fd7a710d1553bbc60aa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 470 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e46f3ba6b4b303a92c952943d1e9282550a9a53b09f2fa062ceae58a3dc150"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 480 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb139a47b5e9dcd628dacdbcfc7b070cc883e4490089f6603348e5c179ca6812"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 485 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4265ab16f7d772c8095405d5f9acc74b7db7090255b0eb32c0eab194a1137c7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 573 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b1d99a31ca9201637f3523544664b482c406ef8c9e953db1e2ca2bc8df0df92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 744 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"75417074b3718b697b024e12c30cb0d7e0e960be3ef47941f551cafffe7e2c5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 748 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf8c103211e497c24b06613c099bb1545d58f572aa899e1eed6c33fee982c47"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 783 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f8bae845cafb1ab65b40123f3d2a55a03e41548033aaa848fe763b24086e8f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 789 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":789}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6fb6bcc715704f796f3df1ee2b3fcca961d46accc253b9ac54467112855cc1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 800 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/experimental.js"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"6924424ea4400d7fd9ce94f15bf414ff9087f7d0ac3a8f247f0425d0e721a51a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 328 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e1633429dec0ba1aa3abe6f585b1f89a996a2371a310ca46211a416819a169"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 538 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4899f67b1d10cb9ca97cdc3de4346f7d3b8d6166f6ff171b8e4ebd295c55169"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 542 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/index.js"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"f239df387a8114d5feab907c6323b642934e50885351678d44678c2b4be557d2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 56 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/defaults.js"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6c01dbfa8bc96d1c0a28a2960f0dfea692fdac16d7b0d26aa0595aac433ba1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 127 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/defaults.js"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3153850040159b0b48a6e8ef006ec35bcd6ef553da956d5ce391ba27c653b60d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 147 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/fork.js"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c3d108db4922a3a4f8e91d276b65920b0b339e8e1f345ffd455ac831c93da7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 171 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/fork.js"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1a44317f29ed73d2a68c530951a4b6e203993a35aece35d2a56bba6fd4a929b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 232 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importBatchBuilder.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"caeeec7f8e5ee633499d3fe8234dff669a87007f64c3c2f47f2888434a3fc42c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 234 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importBatchBuilder.js"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"177b969b02edfecc52f9363227932d74473b69b23e4a502c9e46035890e5ad12"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 236 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importBatchBuilder.js"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b4f90ca0804cffb9e8c4cb2484b44c45c00ef5a548b204647a2858522afd00"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 16 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importConversations.js"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"50f489b996f3a7b7d2d59a9ee9f43248480e0a7cb18cc4c13eab11ef882eeb1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 37 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importConversations.js"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"932ec04802e46c275e524589a215aba783a63d4418627907b0a475d5b9af91e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 39 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importConversations.js"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0228da853b2a367e89d682881e51e946abef19b5c9c4a0ba8a7cc0925e02c8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 45 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importConversations.js"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0292922c4d6856ff7d1dca99a1bb5e25f7fc64b46185d3a9805de3a7bdef82e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 164 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa03ae50099791641370628bc714a02b3640a0bfa5b8e8ca7bc69d2923e57fd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 166 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c0b454dbf96e3d0c28eb872dfb757bf46b938d55ba4dce94efb5c6da9e23f57"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 282 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dadf01a32be08d1d801868ff568ffc7849eebed8850d93f62cfedc4e51e2546"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 284 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab187af98f9b76925e606ecacb3d904354acdfd95372b392120f2976d790e6f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 395 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d898ffa863f2e47e3d2fd31107f99f29b0018b8b3eb71073cff158f9775334"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 397 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed89faf508d8757c101c3d7f12dccf17354c2b1ffc2cbedff0b5d3c9ffb23be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 429 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/utils/import/importers.js"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"f38d567ff3d473c27bf4bf599a02b4df1de89fd4ac1d37d1be07c4ee7045273b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 154 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"35939bb974f50d7ff2702ae371275b12efa1f90d1feefc039afddd11b39bb1c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 438 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ActionService.js"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"c473e79e424172907f58ec728370c2b944431ef79ba3852ae34037be1e783cea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 329 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AssistantService.js"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f72c251b13bc27b769c68e1e4afa330ab16c6ebb4d2631ed840b4a2f24f368"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 312 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e085c0aad73698661410b2beb4a6473ef2d800bfd0de857c01a1a796fe883d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 345 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"026e0bb29807ad469c68db82b7c273aae98c249f2e2742559c417ee9621816b2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 350 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0409b366012537f6964ce1811eb6f49eb565ae126e4b31bc634969e83f6951"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 357 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe373a16061bb553b36e180bd74f9b2bae1ece4aeeca7513fc2210356443b0f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 364 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"801912388afe970c1b9b60b1e87ac6dc2d54e3e7ff0afc4a06232aef7863da33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 372 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b91279a593c8006944e79cf474e4954211be45bba9b2c640134e2ea6458c0a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 379 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce6cd9427e0ab1c3a63299a9a4596c1f290bd6a85dadb159b6e25dea3f68c230"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 384 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdca1ead46e4e98cf71ec18e1e2bd3ecf53e1fc94c295f184ca27a19d3fcda9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 436 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":436}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e9323777da2bed15a524bb6b82488c425f9f6f62e26bd22a05cdf624a15112"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 441 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ee56f64c6ec9d8dd0a812b8678c426b0221ccc02cb9adf3c7132c406623a9fc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 483 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"356e2f4602f7ad5b3c250ac7c1dd5ba7cd73109223ec9dbcde63c72edfcccc01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 487 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e3e076c8007269d9acaac038a40720b0e6ba9aaa518405a0579b14e026dca24"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 972 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/AuthService.js"},"region":{"startLine":972}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a656f493f7459137466de1b89d527eaf1faaa52479f533de3a356607107df2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 312 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb647e1d3c52a175a5ae49c8d19e1ee31956d1d462915b0cf4ddd57035f9e2b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 352 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4484c1bd4f791948978dbb2e35fc85f686d97fbacdcec195af6416565ef7954"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 356 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"792b7234f072587169c7b7748914364c52ccf1304cca55f8a75f2232bfeca655"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 366 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphApiService.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d04ce7984db053c2b2a63257c272915b4c345eeec55afe7befadf2beb1d7a0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 18 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/GraphTokenService.js"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e2584749978bb7740b6554f30e2826d7d70ec78d0db8d33344dbe091ff7b4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 118 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ffb5f99bac80aaee90f4db2dfe6b1bf0433545071a55a190bc6024070881314"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1198 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8948239dbfa87d6f22ffa02a5265ca40ae08c7c2e707eb42a6609dcae4bbcef6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1430 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1430}}}],"partialFingerprints":{"codehealthFindingId/v1":"292e598ba2a939696fb2a542325b7a961fd681e84f7ec392ae92febb4b292ea3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1435 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1435}}}],"partialFingerprints":{"codehealthFindingId/v1":"64241a2442054daa8761b821600871b5441dea1de800ad7183531c6bbe23e42d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1575 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40d502783d1fcd8bd2d161859ca58b62f965aa90b376d755161c8f19da5519d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1620 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"332123defd432f6aadd8d31f84144ea417a1c5a7a7199d5a2c85c8d3f0fdf944"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1627 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1627}}}],"partialFingerprints":{"codehealthFindingId/v1":"120e250449cecd5e01a75bd8c348d7e0788287ae0e244439ea8f7d9d7dbeeb89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1640 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ffd6fa22447692b2303f54e1f67660839c142c4cd7017a8501780fb9cdbda1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1650 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/MCP.js"},"region":{"startLine":1650}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb5969d46fd59c3df20558d65c435508a219ca29b3fc4fb2999ca39da5e7442"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/OboTokenService.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b8343016b2a1e4181c61feae71c404fcae857eaf44bbf38b4a7e1687dd949a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 145 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/OboTokenService.js"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2165bfdbc1b628e5dd0c40b71596df66579128463fb82bf20c9d468391cb4bcc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 198 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/OboTokenService.js"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad51a8346bc73b1936fcf9d3b7595d7df778ba109c1d04a4b50b81e647a16c7c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 201 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/OboTokenService.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"977358e0296dfa121a7626f8d37be729a8cb06f4cd8d99173edfa8290eb3608b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 208 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/OboTokenService.js"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dfbd640e79ce7ea06ae65380bbf626aad291ee64840127d0b2326dd7975540"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 213 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/OboTokenService.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f180df9d9e7df9df601afd707cb3eb12ab70c70e6b965f79f4b1d45ec0c231"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"b702aa9325fd82c59f59213dd55925410ea0dff2709d630dc2d6b7df1d776db5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 146 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"d308c59f2203578a88bf53fcf13662d29d2205209bba9438c4b868faa677488f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 175 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0a100d8e62c82ff58120f413f9049d0d491c22ef0c006031daf3b1bed573f85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 212 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"212dfa0b2512e36c003f1407a30632b6865c754d72ea1bccbb913c4b497e7b53"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 218 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b664ca21298cf25d8343355f70c8ecc3980a0f1120d8a51ed4b60e4082aa1cd8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 256 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"956c86b6158bf53a271f749de35cad8b830d56da049b2cd9ec5a35b1f84b1d26"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 282 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d87b3052eb9b386284b164476774f1e3d99dab9e8cb40585f77b954065a0e52"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 375 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d539d71f6254a67aff25b5624a269a186ea12d4bafb966153e7bd1d9be4078"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 381 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd95b7bceaf04c5f3aac50276d1235d48eed6d5a0c23fa6055322aac1e4b1bbe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 396 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"36aca4c66c6b3c92ec686b126d53f691da36a3db58b48c3e27e5fadf2133f3dc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 407 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f9368b08829352507171db9e16dfe7fc4bea2fc8929c315f73272950fb63436"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 419 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c982606a4484c9a7333df44b96e210e7b063aee65e4996cb3012fb5fefa67fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 451 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"70794330bf18a669dbeaae3f1ac4e7ec9cf5b92e2ba6e60e37b348f3739a882f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 455 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bbdef9b2876f7e86b7f678273eaa16f5954a9c954156347ee85e298c6b519f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 460 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c9e7b4ab8e3534558d30ea4085c7e1b51e506a1e1a992edd58322fd4bf0ac4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 476 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ee36859812ab56a58ebbedee533c0d4d08d46327a8803beb21e750070e4fd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 480 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac042dd00d7821126afedc4d3bf900fbeb5e3ba920465ed268563927fd8ab345"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 518 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5749e6af6d0b0eaaba9bd2684b73f23a4126f5429ee30281d8d0cf56939874"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 557 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PermissionService.js"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e6bb0ff6a14b91b547f3a9c9977317cd3494c40cf6d88813040b18a5248ff7f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 107 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/PluginService.js"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd51ae564c5ebf0ca8bd0cdcc5d3d84d4857ce37b7df3c432511ea990c02b2e4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 453 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"379837ead0a15b8156114c0bb5e9b16543eb5d9012cb82c501af1e62cd800850"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 658 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"00859e277e5bfd64cbeec4ca72f6235e55545d58bb10a5a206015316d583ab44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 715 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f4e376f5529b318b3a7c784a7b409ea1d778f65182507c01828e242c1bfc45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1023 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf157b7cfe7fedc885980785925803b001e10467e32288b057522714ae9e89f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1301 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f671d7985f4a2dc183b1e3b84b3ca148b824a09e69d4a85062cf7656919952"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1388 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"38658bafff177d00e742307373d7ef4c274af610d13275a3ae164d2b43f05419"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 1445 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1445}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9625802ef92158708856e7e6ceca1b5d9f086baad11ff9ba19ce8ad1f9426b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1710 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1710}}}],"partialFingerprints":{"codehealthFindingId/v1":"871a562341bcc6f6c7752987cafa3b42572fd7f62cb49dcf21e2e6e6f96e792b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1943 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1943}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4f16396c38fcbc0849882750ab8e79c27afa5148db9b2bb576a34af8afa3e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1994 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":1994}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a5e6018a428bbe1702b4525bc6f56eb4a07c16259a70008c4d38dc76c5035a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2061 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2061}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3b1b76c760066113908f5110e0ded6be3d9c4568c66a92b07123c7c34d37be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2072 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2072}}}],"partialFingerprints":{"codehealthFindingId/v1":"a556c5dfe67b045a73dd8fb019812cb5b9d15f5067b9c63602656988aa0c1018"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2275}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f1dc3d4a3b5bfa7bf33c49dc245a57771abbaed65468d8f375660acc6d03af"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2599 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"84d935395ba0f89ddf3c2a9a14fa58ceae3a7a1b401d6bb4a18362293880facb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2608 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2608}}}],"partialFingerprints":{"codehealthFindingId/v1":"335a10329791acfe7fbe109830d086e2f332cd4b0d9bb4a7b37e850c26fdcef9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2665 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/ToolService.js"},"region":{"startLine":2665}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f185c70373cbb64f6531a6a8195b6f6afb9289632d77b7c6e907aae8f08577"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 53 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.js"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"caf7cfb72e7ff3bd37619191c3776dae0f8af5e0820dfa97c7b2ea6783c11bed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 73 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.js"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb41114eba1626be8f71dcdc9e07e702ee909f8052e29e243cb2957e7fabc71"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 153 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/initializeMCPs.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce8fcb75f49d9fb5e595b15f805e2734bd7f62525fb2d0f8d04aa3962dc2060f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 55 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/start/tools.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf759c1cbef11cefb913072fd3d67a90e3bcf0e77a7cbb6838b2890d299e4e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 67 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/start/tools.js"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aacdf9a70911a4fec4892bbba67eb78b4c674870861b0b2e8a878bb881f4b40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 315 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"943559e66d1f1c525fc1d59673d949bc8424b8d2cae4d47e129ce359b7698ee3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 354 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcf1418360eb6fc736a0529d5ebceb437b746006dbe8f65798069d67cdb96cb9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 391 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"755b277cba07b5af08277e722cb10e4d7f33276e38b1d676cd84948af8424cd5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 397 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"5017a17942c0d51865135de9481e977cda27b5d1facdd42c343b78e2741c9a05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 409 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/mcp.js"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa060c57f68df6a3d13320e781abbc37adb1089e63a137952cdcff4b1e499ad7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 49 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/search.js"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c26bfe9d04f72c7931ea2ca42c8e54091e0152e3698b90617a61b32a054b0b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 55 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Tools/search.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c67a48b7056e65d5fb5d6d9911f59455bd4e8af8cd4275af3d14a53fb90751b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 153 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/RunManager.js"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"1696c31a11d9badf8d0f10721ad258092c1254038f13609d409f16f0bc9a64d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 200 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"4648ffec04c67a73d1fa11a7c7710fc4431d0f85cd4987539760d62b51ca479b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 538 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d5669532a0ea4d9d3a9eca17ce0f2573c2aeb5471219aef9a097bcafa86836"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 552 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/StreamRunManager.js"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1f7a4d78ffe34a6aa121070b9a8dad1522cc3a125a033b11e77b75cffbb045"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 83 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6946170d9db43bb1474dcfb645dcfd13cc3c5c12304f3bf31a2b2fed03550aa0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 98 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf5076ca53de3ce8eb714f6543cbf3fe058d23335f14ff2336fb45433e4b002a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 104 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c3aac7f7725e3e35d7f0b95313c6ea70ca268da8b11dbda8b52c72ce08a5bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 118 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fadc1e7453ce7882f90c71e19d62982e16e5ab5ce909dbe562b976d68a897d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 122 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49bd5f0fc6b19c26765bcab7ffe0c482559746dfd7768f4cfd2eb3e2426f800"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 129 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf15cbc9993e1eaee13ad036e618024242b0c9ec3181e3f76a0b023d92499c6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 133 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"72af2e07efb09f271a4addfcc540deb30ae081b58f8b759361ab447d761df6e6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 138 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Runs/handle.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"05c42aa32e4acbec65697476fa8c9bc4b6e505e512d79cdff466498b65fe62b5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 444 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5eda04a096c7b4903b904b76de646373618d6e7bbf30b184446d375aa078a58"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1104 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1104}}}],"partialFingerprints":{"codehealthFindingId/v1":"331626547124476ed32dc6732ac3c0cdf29c9e9b5964ad2538603e74d2a8f381"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1115}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b08be865fd1c55c122e16534dcb1457d907a9161c0f55be49206477b9c9ce7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1174 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbff792ff67bf23d8e6ebb7f9b8e4623b53a8d9d5a4fe5b528a49bf833c6f4ab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1337 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"6140321549c0cf0b9f81dabdca92ae63f9b3579798dcace62baedf6cdbbb40a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1658 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/process.js"},"region":{"startLine":1658}}}],"partialFingerprints":{"codehealthFindingId/v1":"807b5e23e7119bdf604a347540cd246db00274d9c09470df779e32e51e5b4e38"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 23 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/OpenAI/crud.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e98ab3d67c74568da005679c6e25394cbd9c25af5e4b852432013ed2c39ae60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 30 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/OpenAI/crud.js"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7511efee00b66c26901cf41fb726336428af685315251cebfd57ed2a41b5b168"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 55 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/OpenAI/crud.js"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"19527e6411717f51f19c0d2054444fd03dbfd21af79c66f4df52ddf00cb5f5c0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 178 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Local/crud.js"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c0d4da3395c62e4f8eb4a822933b5ab1467fe77eb56cdf6a43d553cba772cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 187 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Local/crud.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"af8d5aedddcf830e6a7b131a00fe2af393ebc5f5fbf52c3d3472ef6c3c90c319"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 196 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Local/crud.js"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"a08b5b89e639ed18d9190c77e887d7417fdcd1052a2b209f0e24ae0cc0bf7e81"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 205 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Local/crud.js"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c640d59ab71f815bdd7b3dec0da739a6deeda1766cb57e368dae9533ea93f1e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 262 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/crud.js"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f945ade56618f0882c7f889f6293727c977d26ef56ad43a1db3025be9ad5d40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 51 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/preflight.js"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63f14d3ba53647127bb95f169053990dfddfd4e8ca5ef93726a5871aeb78c44"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 454 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":454}}}],"partialFingerprints":{"codehealthFindingId/v1":"1adb70e545a239fdd8e33d1837d6daf91e17f1804aabe939d1d9d08e936dfc7b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 484 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b097e8fe0fa6d7fd58f381e0048d24773fcad9e9cd8daa421a2b8c1c1e74da5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 490 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"434b66571a4877ee428399d07da8a3b86c5c12cf4dff6e311b358afdf67f35bb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 565 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17779ffdbc7043b81b4bae5ddc292a511b44aa2950864395aef078c2af74f3b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 584 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"3838af16db6e191d5aa1771b9b4d87831edbc02fea0d265211089fe4330847e1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 727 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f7ed13eb391d3d088ddf263a8bdc50a2c6744e38e81eeb6e732b5413a6205da"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 926 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"253d82a4b4078e077ee3cd94adb79d2b7f8ea617c5d0a730323e74201ed1388e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 967 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"de680cebbc3ce6201072c83b9c014ad43aeb94ffba2215f8bdf98f6cfc26985a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1099 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dcdb285abcf45aae613e29c57922c2ca9282cb4d455e193c6156c62b21bace"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1101 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"487cb2416867759f9a05493ee7ed483197c26b6253c2182cf07681da7d473a33"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1568 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Code/process.js"},"region":{"startLine":1568}}}],"partialFingerprints":{"codehealthFindingId/v1":"047326708779d656ce983e69a344fe7c93d6af6441ba8e401b5494fb50de51c5"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 42 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Citations/index.js"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc68c97130305e89989b94ee89891099089c69fa729f26ffedc48e3e1557472"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 48 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Citations/index.js"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"61bfecaf7967d348da6fa197f957a80634766a7b4fe98f6a4c169eba887fd6c4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 184 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Azure/crud.js"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"93e17d97fbb1253c67af2e084bb0a54a362c1e4df897d068d027bd90be884ef6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 344 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/STTService.js"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fe1351f3f94075532fc3d5e758c9830986b6a752a36bea30d89db84ae21004"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 359 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"d504f7a223a5d3f1eb518288ad36ff50ef1a7220b68b411271254de374b64b8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 428 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76de70636d7a150e69e925e044daa2ee608d107ad8c226e440c06ab2131c48c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 455 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Files/Audio/TTSService.js"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"b90b207d2902bda78f739d239fe930382bc893fc72ebbd038418b4d28da98585"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 141 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/addedConvo.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"79843e581ff5dfbd9780b73ae243e1f9aba9048ea2c6f34aa8338dd1caced6cd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 24 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/build.js"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f884f68cd4d75921d3d8a88ea40f29047a3fc2834bf87525aa2ad8cad91743"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 503 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02a5b9c44d02c845ff993430f98dfcb828313f571c929e76160b49b9558245b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 504 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c8feec5e3b856c52c64b6a5a577c6efb424620282273a3eb717ce47f36e23f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 534 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"66b6e507a8f2fa4e4ea2a9491cce8571d06a5f7bf544020843de35927d6acfae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 866 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"980e3cc4c3883e9ae724402fbda4cab672ec699e3657f2809864f69980b07eb0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1132 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1132}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fd51ea8d22d5810bf54cf034d4e7cf83f6f81fae2e2b8956e4f655375c2106"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1333 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7aaecd88d6f94dc68aae3eec55ccc1ba4ba60b3744bc6b7fe04d2d1256981ad"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1742 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/initialize.js"},"region":{"startLine":1742}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c676d72d74c82dbda4f96f637a8ad13aa6ab728ac14f8f1519b44ef92e327f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 108 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Endpoints/agents/title.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"4016d1fa8130fdcdea350a741056421c0c615e8c6ea00e9603f87f1955ad1c01"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 20 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/services/Config/loadAsyncEndpoints.js"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5adf5a878d454b3e4462bc10683fe52107f921af3def72ddf4e6aa3131434cba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 310 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/config.js"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdda33e3032014e50f71e3f0ced0af624ad08fca8715c0f3b63553567ab0553"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 396 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/config.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90bdb25738bc9e536afe306b101baa65333f56bfe1f845347efbc24e3914df6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 499 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"481c593d3a918ba4de556c5fa814f3fcaa0aaa5f91e5316c061603c6f8d65f37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 612 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":612}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4d371ecac317514a055d46eb09803386d9963de64cd8592d6e95bad34008539"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 622 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"f90fc20362bb31da7d1a5a99b43cef12d4c57238705e591f147a5a634e622c19"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 628 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"10f40f4fca6e5d278dfb23faf9fa6c34ee0803ae9d9b91f22a53faaf51cc0565"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 648 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1825ba0c5356d0059901325af25aa5525a585831c4ee54627998033bc385ce2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 681 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c1b98453517e07519754e4379ad51278ad2023ad6e9b8aa52db7bfebb25244"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 707 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87a0890eab26ffc160028be6ed03aad25e105d5ab7299c8d5ba4019fd29a622"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 713 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6680c2135ff61c330424637dec0f36d54779831352ea0f63ff3f91a578a8cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 716 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":716}}}],"partialFingerprints":{"codehealthFindingId/v1":"97fa754274c26435c91bbc95cf2cca88cce90cbae01a7350629029e8be303549"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 855 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":855}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa497719357432e358ac790ab4486a2245e0ea51e49eb4e4838c02ad4cd9c69"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 863 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c0b0593a01114aaec70f6f3123d173aaee532503d38dea95763b51e8b648797"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 877 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6c1356100fa994c188abd34ff8044fae045cfe2e1226a952c7be4ec89e8fd1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 945 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":945}}}],"partialFingerprints":{"codehealthFindingId/v1":"99760e57949850736cf178e7192dc76a8247166ea198bc043162125a76cb64b9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 967 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0682998b2b13f8bc903b556541b2e5d1605290b21ff7371626c765c76a1e623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1106 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b14c5aa0712d8a375dcc0c56865071fc62cede85eeced4551d0663d97f9e2c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1196 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1196}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7e626f250955e038808c4ee999b5e90d627f412cb2a4c6d5e3be46d7acb3a6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1240 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1ae0aed4146d0027e8a85404e50e12604e3260fe4866e492600616c7d2a087"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1255 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/mcp.js"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"42265e27b28a48e32e53d771c5dd9e230a8e8c66c602b1ff9c4b408c0bd96cae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 113 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/roles.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"3db86970464c74fc79b43649aab8a474f7bedd1ecb150b797a91be8f2edfbd48"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 201 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b578a54ac22375c82e350010ca02c02ca9df180cf9cac0811fe0de877d85a96"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 209 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e0c12c7602f1ae42bf5344499fa814ab31b8ee17eb10a827d4a659ad7f8411"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 228 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/share.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"34a8d93fd05eba5ed5476b7ccc7e1629a1991c6044fb28e4ef2817f0a0e48e5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aae63918bcc3cd1ed23fdbdfc22387a89f6bc31adcc61d62fb76811cc8614b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 295 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"a611e0cf822e42e3bfe806cb8c0fc5cb07841a2b28b2b40bffb6d61afb7c608f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 338 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5db2b30083df345fcdb8e5430f4ae5f6d04755d5a9c073aeddfe5177ab782cc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 366 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00a96edc56650d37d1b043399eb1fbf9b0aacc572692173d99ac030500e1914"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 376 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a0b39851375432b6f7e1c30c89954b8c1e8b3d81a12f313a0bdc3cb102e1e89"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 387 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"27187be0703dfda49baad70e4678951484e1ae88da5fca2e62f06cb5149fbd06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 399 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"254f62de64884ced7210615ebcd6124b8fa3d3136b355cd65c03936edfa9de95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 406 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ed6aab660ab07e0c8cee1a4f44a7d48b209378e67901a517c6ac18957a988a8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 507 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"459d1ece2d79d334dc25112aeea6de28360361a2b65bc680c9585c12c561c239"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 600 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"48373ffb5e2ae5692ef8898a9bc0e3d0060d93097a927ee79a1e62a22dfbb6f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 604 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":604}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01b61c86df55b2718a496b65ed7907979c0f926c8d4e93557ae20c1af0bfe6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 616 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0832f5486bc17b87ecb619d5b9975d9accce37695499c666013368f8c30d7a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 638 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79e2938bf797e64fbccd5209c56f6ff6910a0604468b88a921bb21bb069c611"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 648 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":648}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e7178c05cecf1ad41219ae9df3f62660e27eabc67bf8f03a1647c0ee69350c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 664 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a096ed394a060639d4b48306b6332b6218b123d51d761749bc70c734861d5d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 670 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"97888936c1bde54ae083ffa8745797041d06e8f905b268b39661594c6985345d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 696 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"81d4a7ca042adf175ad169f0d6502fbc8fc60c23cf029565f32ac5759b7a0ed4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 699 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b4a5719e2f029ed14456ceecb69932d8fbff0efc2bbfc585c76d655821485fa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 725 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/files.js"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f57da4f86e653b8d05c87170a070847e20a02927da37e9604d813c82a1480c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 26 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/multer.js"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d58bd1092bb1b261b32421352f1dd206d667c5eff8eeedd2ec8fedb02e277"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 44 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/speech/tts.js"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e2da344f3f86dcd92e52b319087e246fd4c38fdc37585bd7f369c040c30a04"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 61 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/files/speech/tts.js"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f3b5e6d8fc63950b19d1c60f529152b6bd185efb1c33db793249d9610724ed7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 138 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/actions.js"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c6f28f2eed822b114321746958a6e4ae7bc5e256c43bdc912e65fb3a4e2f887"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 239 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"61faf39ed188cb7ce9b2763bd76b08bf71fbf4780c731d3707c2e548c74c8af0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 296 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ada13249e9aa077969654f87feef82151d0208fff41c3d4a8ff9866ca6ae3d8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 318 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ae5e9d22d362df7c688b69b698184b00562ca92c8b67028cccfda2e4e1520b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 391 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fae454bae6a686b96dd6c23977cb087cabf65bfa4cc5adb08b1e2f7118c80f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 398 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e7789e922e5351761cd9e074cbe11b8080deeeb53cf6b68b8b6209634d2f60"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 428 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"0008fd73f86e560f6f853e8cfd16732b25c03c95defe62c0bfe06152c469551d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 627 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"987814b822847c8d89e41ab7f0162619be4731fd6e98ea528cf3b8462d5aec66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 684 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bdf2b8672ff8bcafa2b94db04c33205a5de6df20e2cf0c3bfc587cc626286f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 714 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80ca185508f5333049b66ec62015e122da1983f304e15be1131a3624a273a54"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 718 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"b11442736334db6d5e4d1ec7c0dffba76ccef550c1eed95e5d787f0f4a00d1a7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 722 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dfac356e84765a6307f3a3aa389c2aa8b54385b6ac7ef9ea7b331f1cde78d6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 738 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b2d2649e251e44993254ef70f6d6445725bb9497df9625c29e9ae8edef1f2a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 924 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9e74a4b6181f75d43ffb17cadab22ee71e7ce73ebdd376baa094ff10dde01a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1038 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":1038}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db926513a19df81fb69649bab112cdaa13f5aa83d51d42945d23b5567bf8427"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1113 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/agents/index.js"},"region":{"startLine":1113}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e59db8cb80ae315d4e63283d2d37f38eb09e9d45cad0940296e0343f4572f45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 121 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c435907b2fe8934e48c0520ccf69c7a0a7617aac184bde8257c4f61a96038b3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 139 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"31dbbf44f69b309330c9e9fce45a7abb3e2240e39337d0ba9e6d1cc65448326f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 218 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6d31b26ef46d302bea79da1a74d10080b4dffe6643baa33b65c5f1928f8b3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 223 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/routes/admin/auth.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afb9287bf5104b60d5a2dcc99e90b678272fcae7ab39bd015d6d4685472ed86"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 141 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc634ddd9ea454391b5818aa7ac1ef8aaddb9acdb8ab55f747868fe9e33bf4f1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 193 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/abortMiddleware.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b411c7e05d545ca1902eaef0d39137adba80e66b4ef36ee2f11a81d8c04546cb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 34 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/canDeleteAccount.js"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ae4f78e2c03124ff739267ddfd7fdbc4bb9525c87a3006a5eebc9e6358f6e42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 38 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/canDeleteAccount.js"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d45cf07f6f3da319da995cb7e0471c780c384d79b4c5732f10fa0a33198623"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 41 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/canDeleteAccount.js"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ec6c5784990e32dc7425c8652ea41892558a2be3814492ce7f869217d63ca3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 22 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/checkDomainAllowed.js"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"70491739ceeb305d3608343c9f2dd40ee4ec83c74f6a7d0a60997e121dfcfaaa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 8 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/validatePasswordReset.js"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1125b162c978b09de555349a6211a9aac818179377d2e5368525d3086046702a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 57 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aac07b8608e81b283075a2f358b70a49f63f94f4a9874441a16ecceaf6a40f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 66 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f066f468bebb5f4f1711e5421c7113446a6188e2b0ad676dc46cd31d4dd92a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 79 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"168b941587621882b080948655f22bfab8ca3d75c5d579c1b661dabdcfc7b4ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 82 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b13487d6bb26f78b62ebbd3910f9dabfb93f8c6d8929ffa914011c77bb2271d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 93 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d183626cc535fa2ab5f4087fbe17769663cfc7716bfd7f997b85c4214113f6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 100 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b048efbf4150968e7cbbab69a561113e20b2ac6e4dfd51f9fbfcde03a92a891"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b91db5648f5b46c5939ba3d50dec2fc1953236bd95aec408fb77f46f3df351"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae036fa6108d64dfee55de888e5810a8dc30d4f9ffd8b6e529ed31f62fdd2736"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 156 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/canAccessResource.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1ba9c6a3d7047089465bec37e1c9403cee9d33dcc7d49c0435ea08938dcd0d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 50 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/fileAccess.js"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3bf8923b4cadf659f52da1f94b9287ba94e3b152cd21a010cf81db5ddef12b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 71 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/middleware/accessResources/fileAccess.js"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"865e2f6443f8d8972ea56c03a2bdcaf03b979c701655be79c8ee6ee36cbf0435"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 348 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29f840f2a8a4ecfe30927eebecf2f69b1067a2a2e8007faa3df5a7618f1e45f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 376 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/AuthController.js"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"accadc649bb6415d1b6f055bdbfac9f8218230677deef4fc631a969adb5ba38d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 278 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7469a22dbcafc32244ed64e7aa40b40065c072d21a303c6d06da934ee7bef6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 327 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"780d8d482b2ed758e9128a5bf804ff78d2d78852cffcf5cc31ee88182f813f6d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 336 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"d29fa8f4ec4831a6bad23fadabf0ae1e97eddc33330f1b26e094a565778bd703"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 348 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"60f0d916b6b54bc1ff752aeb3ac2208957502ff6637262501c213636f7f7b89f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 481 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":481}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2781452023807139f96b5bc041a9520ab69f587e72d7eca64c2bf5d037c3be"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 505 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/UserController.js"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d432e0453a050c97dc8bc283ea5697d26954b775835d595f6afaa5f87dc1e1ed"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 75 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cb25b2c0c2128c262ff6555805534d36f182defeae95289b0132909a2758f4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 97 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac64720e3476ed31edf7801389810a95580b45a280b112f13581e5c5ef5f831e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 125 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3556b65af84981e9c55ffcaaae51b069bc1f25a98cb6145004334fd4a0586caf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 162 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdbfdcfd5af01f96759c7630fd3af20188739ca2f890d2e69e5afe64ce4759b0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 213 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa5a7ae78c6f22d210440d7190fdcf419eaae2f64ae8eaedbabbb026677459df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 279 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42d2c96c044dd1316599cf280fbea27cb5ea52514a26bce47fe036eff0ea8ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 318 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb37a72b70dc998c4ba621322d6d59807f30e72f9626aea4ecc8db0d7a9de8a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 339 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b9f28f3949985e7e6d353cdc2f239c12bc762086fd0f9bae1c5464e202e56c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 449 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"413dbd1ebb3373b02bafd602e23917321b0847de3043c0bab384792f171c5f3f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 572 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e421bf6ec74b02ca22e371ffbb8dccfbf69597b3bb280f7e26c377b27540f13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 582 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"be64e434ece0b2507f5b979d827f4c72f1a225f52351bd0f4f47a2664976d082"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 736 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/mcp.js"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"e923b1ade365cca5718a0540b1f94c973aa9b48cb7392eb940aac3414ea24dc8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e019d402a063873a497e46bb11c9b25dbb057f5864dcde403f613ffd24362d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 122 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"22fa57bb2e034eafeced7a4feb65458e81433286cad15d65c92cd39619902c2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13352f140b48b0f1eeddb7f8def61c985c4bd18563de7326620866a0e03f5d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 141 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"64024a5ba6922de9e72d4d7a81fde7fe34e341b0865eff841d3adb76d3e7d5d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 156 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e477acc1e8a1c52a1f524e68571e1718e5ff613be103af2406e4947557af99"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 203 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"223497f31e2f9263a9e77324360dba36ecf277b8c265bdef4af8f4a04db70530"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 250 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/tools.js"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0975537b6629724d223cee9e29cf09c08570ee4ca341a12b8bd973b401d67100"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 23 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/LogoutController.js"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b17fc35fd1a3dafdfcee3822af752f1f802e0104b8f74d9c1623c32186c0bfd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 69 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/auth/oauth.js"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdce050e7c228d57f7d1e38355cd2d4e1f2dc2bfcd04e773aec21a3839289b49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 180 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/chatV1.js"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3f45f970fade070270fddf6822a46351787e36f2b280c488ded5f2aeb54d51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 78 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30db03699922af01142db3c9e9eedc1a947d337a882677c711b207990d8871"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 96 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"cded87815d141c5852bf1bef50a2b09f31a9c8df9041d3ff53c383d068d3fc41"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 108 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdc6c585beaa485e6f9d91ce55e103e94497df27d48c38b15dae4b38aca134e3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 113 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"119621118e2c68f40955820907bae44beeab5d760c76c27a429e1253db437a06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 115 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"4369d0f459424013afa4234d2f9290b4deffa864001643d2f9ebeedd4acccc95"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 131 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"604d76ed5443824e7853c7db3a2628eb164a4024c5c9fca74241c1709e1f4e4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 187 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/errors.js"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2aa5bdb688e5ed6afc65e0dbfc16c112a1432dd035d8980133b0f60f8ea3d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 228 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/helpers.js"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2ac241bfacfd2c1d06e231fc4c07e6435d2412c0212716001871bb1f1a32d7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 232 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/helpers.js"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39c90a94d3c9e2e536d01eee51f7cc5b8de83d4855f3b2d4d6113786ff1dc06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 112 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v1.js"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde2300160c74c95e3eb55cb85178a528a5f6e118ec028db81ea36dad8b0f13e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 222 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v1.js"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9aee92b19cbeed193dde1770afcced415e74fcb3e8a761a6a1b5aa63c7fc71b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 248 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v1.js"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5aa78cfbf6343890ae4277161380f6b3fb9c4ad64158c29de2847f3631286361"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 85 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v2.js"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca6e210dfd1fc9072308fd370954494cad8794757fffe3dd05cce85cb5250ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 191 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v2.js"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1e3bc4eb90c9b49937a6608b02e4b5b1cdbe4700c905f267074a960f3dbb15"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 223 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/assistants/v2.js"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c98d686d213a624a6dbc150d71c059bb2c184666cee2b38dba54bef26b559c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 731 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/callbacks.js"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"177cde26c2f710cf365f043d4e76ceb580161b69bc2a759cec3c6e5c024895cf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 337 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4c9fe40d6a42b3b9cce9d36ebf7cd1e0b96718db69ff56f5e40ff0a4e52083d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 838 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"69f2083394abbad911ca0de8d888dcdb3f6a25f96ca8368d430983dc45f5c010"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1193 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb0e5768228be682ec435de1eb98b6c3dee25a7c2add743aba5a07916bfcb6b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1282 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1282}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac59b5f493c561a7eaadf433f63a177b975f564ad5b8420668dd17b189c0b06"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1708 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"52aae2f011fc9597fc558926c5cdad290293784086a1cefd7dc5c7659c3f4a9a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1858 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00ad1c8a3a771b7de38f2a81f0f748a91ed4d069c1dc2147c5ade3bdfffc38f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1948 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":1948}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9389a922f8ca0fc2ecfc166e3c706232076ebb6b92fe7af6a0be0711bdba2e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2335}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a7567a2f531953539bab96a3c3176ac30d692ef0a9facf12b629d4879934813"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2797 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":2797}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea0acbb98b8452621a8429dd05be833c8910f7cd7faaa1fef1b24bd354a9686a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3329 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":3329}}}],"partialFingerprints":{"codehealthFindingId/v1":"7560e24051cbda098551a2ac8a88f773dbf94e9b38914a46744b6680190d397c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4291 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4291}}}],"partialFingerprints":{"codehealthFindingId/v1":"362858fe803cd41f21d2b0d2e41251af54f83d37143fd5b3116baf294114655e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4317 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4317}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f7b576d4e4956dee9e1dca9d196ea91bade8f48bac83abae3330929e5870805"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4335 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8fe54b7316e6bf0cc870fc6c4002a7798c7888a2bf2391fdb45431c117146ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4387 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31a3748000e684ca8b74e7c6d092084fb6c69a7bc7c33855794b0d93359eded"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 4393 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4393}}}],"partialFingerprints":{"codehealthFindingId/v1":"a326013aa5bee746618bd2248e94a7c1774fecf3fe2c393dbb932dee28ab06d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4519 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4519}}}],"partialFingerprints":{"codehealthFindingId/v1":"b259c08015c78731df33b616de72f38c663bdd01e7d6600794af126342a92403"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4531 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4531}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb70691aa9a5e321ca9f5eae22e0aa298bd2437540ca9bc1ed0b5985518309ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4863 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4863}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ff36b3f1cfcaf4615361a7a5b6fc46cd792c69a1db76f5b04ff1a4a87bd6ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 4903 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4903}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a564d8ca5b2ec962ada4c6f3b52aa769270dca6af523983f333bc83fa9d6ecb"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 4926 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":4926}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e73457f131781406da74585dcebfbfd5519db79ce0816f7da83f7354d9b6e5c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 5275 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":5275}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca090989eb33b88445ec310b140f86845e64376db3d615dd1f078c9d627d25de"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 6185 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":6185}}}],"partialFingerprints":{"codehealthFindingId/v1":"16618e6ab7de1bed93809e7c03ac23edb7e71cf1900e61a13f777d12caa43410"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 6199 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/client.js"},"region":{"startLine":6199}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db6564cc6f599974b33d2bfbc76d40603c265c2a35d354f581e26718faa875c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 396 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a294b97fc720c725021c0527a5b04a561e5b249e8079a510995fbecc54b44a13"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 964 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":964}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b63801a5f5f2f189ecc334cfd3ac83e438c5f5dde06162ab0313dcfc956ba4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1167 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"e37f7c62e762143c67c2bb9660d88523a8514ba0cf34bee960b04853306b9b4a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1214 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec929711f01387f8e483333432ebbba32b09a8953935fcdfa76027ff1c08d51"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1251 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/openai.js"},"region":{"startLine":1251}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3a5bf1102c25e94f8daada61be5b71577b24caf7a14021d2f5f704b63aded6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2029 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2029}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50ca5070ed48866c57fdab203420b8a00d841c25500ed1ab7d43638ca38e941"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2912 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84903d80c7669f9863324152013bbb09d7d39c8d377114b3bb89d83ca64f71f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2932 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2932}}}],"partialFingerprints":{"codehealthFindingId/v1":"281da4da22bccb1e010ab954014c0c3ace6b0431b8aedd53d886fc65d11eb39e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2939 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2939}}}],"partialFingerprints":{"codehealthFindingId/v1":"984f65a36641949691e967e058806fbbd007fc35323c040a18999b4cb51224f3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2952 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2952}}}],"partialFingerprints":{"codehealthFindingId/v1":"1181ad4d48320c92a74d34f27b621ddf258473c78720f03b6364252f795d3703"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2963 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2963}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11b8b107d884aa28f151e28a2af953a9508ae667cc3fa3a65fc7ac33362bcd3"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2968 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2968}}}],"partialFingerprints":{"codehealthFindingId/v1":"137997c35cef85e52b7c678c6ad96e918596ec65ebffcada64c07fb360e4de5b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2985 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":2985}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf70bb6e58c337ba77fc9f3f68718346104366f43d3ca94b6d14da5ca53f7d42"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3403 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":3403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2f4d8968806633d1aa78475f9ca42696e2f49de6877ed18823c2d0e92f72a9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3413 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":3413}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded8d6cb98ec3dbebe43e33fa1da044ad7a847f89a0235d4475ff1d5afa09a5f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 3420 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":3420}}}],"partialFingerprints":{"codehealthFindingId/v1":"757ee88a70efc8b8de64ee26d2e31c75881e17d81f18553455fb10fca66e0f37"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3424 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":3424}}}],"partialFingerprints":{"codehealthFindingId/v1":"26fd7e34dd076b85a84cd088ec6a0a01da4316ff3b4bc3a6bb9909450d5baeab"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 3495 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/request.js"},"region":{"startLine":3495}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa2c3b4b457da3955d022399d8945c1e5481e5b6c1be8341ceb9e5229efb3b1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 471 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d0a7c133180535f88b39485a5c015057e1d1f3b9340d24d96983a8bd8c3b90"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 1023 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"8336dac7e777a09ddc808dab7934025205d0a44996559b6c8821e99dc6f34412"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1238 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1238}}}],"partialFingerprints":{"codehealthFindingId/v1":"2657f3b98c8d8b6dee70b5f681a4b247c9a0573f40a6532739102b3ae7eb6fc9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1466 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1466}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca7187e223ad4372202e5c65e71c47786314e7c4a15a588c6d78ddeb41c6d4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1549 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/responses.js"},"region":{"startLine":1549}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae54ff1257444e18d7a92bae628bb7f5aaf6041e5d350f2c04945ebf680c5016"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 188 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5a59f3a6177cd1b04b4ec8a7d72155c1e8eaf8e92b42b50cba332a6b46b029"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 193 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"686efd36a40172bca14b01c864c1116392a40e9f30e7c2be01e89231910593aa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 207 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"714e7fc807b0a83a40899cdb6bba0835b652aa32d8ed03e8adab9eda42764333"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 450 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"348341c0353aca28dd8a7a2d3d365baa636e0a1410d77eeaeaae3a85a9330d92"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 560 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07f9d59f2679fddd7d40fae46df583c85a2ad21f96dfda2743aeac992a600ca"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2087 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2087}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0de0b105779225c59737eff4811e1015787f7a0b335aca5474bf5edb3bc85e9"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2114 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e240a7d35a8763c74374f799d2268287472ce2ec036dfaeaa23f0ea46079fb2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2119 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2119}}}],"partialFingerprints":{"codehealthFindingId/v1":"36135e298ac4951a9c7bdf400d697ef4c66b2666cadb1170867ae8c3f32c9cbf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2133 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2133}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d73fa886bdb31d461c94cf5679a2eb93466a4dc630b9a1d5e6768a8add3d6a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2149 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2149}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e323d182756b02c7f6a5ebffd0bd7118f65f7606145649fd97162d82676316"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 2162 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2162}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c55805a4aac7c90f2c9442be8d51fc31c4338eb43481f84fff2439e6da4aa05"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 2237 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/resume.js"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ab03740a677f70692b75fb9381704e9f75dd5a01b7ac8baa5a2c11673efb251"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 595 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":595}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac1e1eda0d573776779bfecf0e06b110fc72bf9de6e67b1c4e84866901fca85"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 630 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1253947f0988f0aa19459a844ad72caced98f40f17eac3ebd3d87c9329a777d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 642 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f207c76feaa78e818f6843d30f353e972e0ce974c7aae80321f0b7929e65abc"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 653 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"36dd1d5622625c560760912c6f2bbef266ff40d98c71fcb1ed83bc3d2967e931"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 686 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ce0e21b20269d90438c1d181c58120f56ae80106453276212a9a3a07437057"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 740 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"84aeeb43ee83c2ddf29bdeb54f7ff6a6d0ae64e02a13276fdaed2b7a11906a43"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 745 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ab5a4d60e9f20739597a5b2ffd1a21889f38f69fc89a5e15e7ff10d9b413ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 935 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":935}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a3ca835dd677963cbec5612556d3346395c20d07b9ad48a760dc2a8d0c403"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 939 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":939}}}],"partialFingerprints":{"codehealthFindingId/v1":"113cd1db0f2bd74bc287087f54843e5b300521381b4d1e9216811373f0dd59c2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 1744 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1744}}}],"partialFingerprints":{"codehealthFindingId/v1":"d589f56a4a7251c71c50e04531e1ead1dfb1b054f7e76df2ab881cf3938ccdfa"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 1748 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":1748}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf5285ab5ed4513855e6aea75862c6db9f76d98e5b968dc6169fd68cc9cc617"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 2066 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/server/controllers/agents/v1.js"},"region":{"startLine":2066}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2722c5ea63957836a6bf57e78766c0cbdc1a27c08483f3c6d0bb6752c6162f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 60 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c70af7a68f9e44a6cc2a0ff8288d349ac772be3fb316182446afeff83969265"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 75 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"339dd864dbb2041b671da63fe22be6856a3ee2663324e74394a3d9bd461ff25b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 78 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c8cd127961aa34f2c944f7c11fa151b28910e4131a430b825aeadc3686bb09"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 239 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2003e1b7245fac2cd5f45ebeda87b4419ffa8a0be7a17e828a11d4273e774490"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 267 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0558aaeb4113b4f02fc4593d162f43439ac1d455f104035f309c63374615fa8"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 273 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b74aa535a3ad780aba8da384e354451edcd71d46693df1fe896ec6543e10dd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 278 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6df22d16afefe4224a7a6a71c7482ecca3ba401c4974fb532de5bc0e168d383"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 293 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"075c92bf4d8f9a98980a6518b1e704f3150d9d687acde271d3a77df3f3cc05e7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 321 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"4125ada2d33762c6a2ebf6a5debcd788a9c64a1c80566f3a55895c778db47156"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 327 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f82fc1d3c4f0d0e84c3f62d7bd7813cb915014e1dae49841c059f6bf6484f49"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 332 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/indexSync.js"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9782aeafb5623460387eb50319737e85e2b42e9a47c5163960a9ce3cded7ce3e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 82 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/db/utils.js"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06f44d29aaee9c565b96bfa0fea1ae89a131580bedc68207534286c938e9f1c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 76 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/cache/banViolation.js"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a93e925539d727174302a5bac1af7300acc433758f2467926c8866d9e48243"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 135 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/cache/getLogStores.js"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd56dc2cb881d3add3cd5bbc6245a42ebf43dd713708d3e9505c0203f1c9e66"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 142 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/cache/getLogStores.js"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"2552ea18b677642a427f3a10f5eb13803ae738f2ccb1c491a7f4b8c63388872f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 148 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/cache/getLogStores.js"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"692672a3182f9de13d8028c381c13e2149a5cf434b25d205c06039f1de353fae"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 157 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.info({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.info(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/cache/getLogStores.js"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c2cf6910c1858b5be4f9b24c50ad64a4719eac1408626634581986a90aa184e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 420 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.debug({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.debug(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/BaseClient.js"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7bbd4f5b67d8d8bed3c4fdf338261e6a6461acf7e5141d2c5ed94d05f18a50"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 447 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbecc5455b14cb5e1b2cd9fa84ad937512a1e4a1e39e84987dab9eacee0bc45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 508 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefc212c349e597f87a5be890ffc6b77f0c8e9d38a06b9d583b4ab04d18066ba"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 514 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.warn({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.warn(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"2289a9c9fff24f6379f1103ec67ef006ecd04a43fb8b128227bfd3f07a45a532"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 576 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/util/handleTools.js"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f779cd3d60cf2a108a18e80b97750517626c4aa3363d46b30c90566ddab7f6e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 396 is handed a template literal with \u0060${\u2026}\u0060 substitutions as its message, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: \u0060logger.error({ orderId, status }, \u0027order status updated\u0027)\u0060 for pino and bunyan, \u0060logger.error(\u0027order status updated\u0027, { orderId, status })\u0060 for winston. If these calls go through a NestJS \u0060Logger\u0060 routed into pino, nestjs-pino forwards an object first argument as fields in the same way."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api/app/clients/tools/structured/FluxAPI.js"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79455290fef411e6cf481daa8775f26744add450d41fec266fe5b5f8a739ca0"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.6 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 469 assertion(s) across the 765709 source line(s) of the 3526 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: packages/api/src/mcp/MCPConnectionFactory.ts (54), packages/chat/src/react/subagents/state.ts (25), packages/api/src/mcp/MCPManager.ts (17). 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 JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/react/parts/intent.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a50cb4f9a1465e43a6acf7b112879a5cbe58043162f2cb27d3563e8c213d8bb"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/openapi/router.smoke.cjs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"09484ddf3f413219f642b2821a5076bd7c245257c661ad8a6355d8ecb29cc6a3"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/lib/rum/redact.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9dbdc49cb114ce0d97c5f065cd036763deb377d3e8ec9120c9c1942295f982a"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a754ad78cc9acad7afa141544efced327fb94303fe26a8cc4b962c10f201d9"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/src/components/Chat/Messages/Content/Parts/ExecuteCode.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"4497d1afa6ef6daf23bb4ec177577c4a1461755afa23b4ad2b70f4447b3c9766"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022bg-presentation flex h-full items-center justify-center\u0022\u003E\u0060 under \u0060isLoading\u0060, but \u0060isLoading\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":"client/src/components/Skills/tree/SkillFileEditor.tsx"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"7128e59421a303c0efeda15578ee710dd5688ddd7f3409d2eca0a5234bea7892"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022bg-surface-primary flex h-full items-center justify-center\u0022\u003E\u0060 under \u0060isLoading\u0060, but \u0060isLoading\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":"client/src/components/Skills/tree/SkillFilePreview.tsx"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc4d70de62feca90669caa941d40a20a54c999a7ca53c67a58e0fecd203b008"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner class=\u0022size-4\u0022/\u003E\u0060 under \u0060isDeleting\u0060, but \u0060isDeleting\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":"client/src/components/SidePanel/Memories/MemoryCardActions.tsx"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c95ae0d82af5740a5fa520f12f59b96b52592d3f1c94e751b28534612af1a9"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner class=\u0022mt-0.5 size-4 shrink-0\u0022 aria-hidden=\u0022true\u0022/\u003E\u0060 under \u0060isResolving\u0060, but \u0060isResolving\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":"client/src/components/Prompts/lists/ChatGroupItem.tsx"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"15b4ebf596a1b2c67280b20817567b336c800f800a684718148c576338638933"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner/\u003E\u0060 under \u0060isUnarchiving\u0060, but \u0060isUnarchiving\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":"client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d18e18c76932d4936c0fee162a8ebda252ad8f0940ce0c2a4def61d5c5f58f"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner/\u003E\u0060 under \u0060isLoading\u0060, but \u0060isLoading\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":"client/src/components/Nav/SettingsTabs/Data/DeleteCache.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad9d59bbeaf27d7d5a0105288e8fec05bdd696656b56064030e9944bc11bd48"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner class=\u0022icon-sm me-2\u0022/\u003E\u0060 under \u0060isUploading\u0060, but \u0060isUploading\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":"client/src/components/Nav/SettingsTabs/Account/Avatar.tsx"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce8b360091d13398baf220904a4970687e05f34339fffb5940ea4261bdb9077"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003Cdiv class=\u0022flex h-6 justify-center\u0022\u003E\u0060 under \u0060isDeleting\u0060, but \u0060isDeleting\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":"client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"74bb07d3542ad3e4cd3a0ebc4624050af369db55edba0b12267e41fb63d2decf"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner size=  strokeWidth=  bgOpacity=  class=\u0022pointer-events-none absolute -inset-s-[0.4375rem] -top-[0.4375rem] size-[2.125rem]\u0022/\u003E\u0060 under \u0060isGenerating\u0060, but \u0060isGenerating\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":"client/src/components/Conversations/Convo.tsx"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ca90a5e50e7ef8af064998bf04d31c1c93abff12d29d493d41df8da24e807d"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner aria-label=\u0022Spinner\u0022/\u003E\u0060 under \u0060isLoading\u0060, but \u0060isLoading\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":"client/src/components/Chat/Menus/BookmarkMenu.tsx"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"878b3b5da4652cbd585668011d24c47df282f6fa01cc147b18a094e252503d5e"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner class=\u0022h-5 w-5\u0022/\u003E\u0060 under \u0060isSigningIn\u0060, but \u0060isSigningIn\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":"client/src/components/Auth/PasskeySignIn.tsx"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d824e1404c38f6976a45a212edf1d75db4d49f9a31e560f60a61635a6170b0"}},{"ruleId":"X7","level":"note","message":{"text":"Pending state with no failure state: The view draws \u0060\u003CSpinner class=\u0022size-4 shrink-0\u0022 aria-hidden=\u0022true\u0022/\u003E\u0060 under \u0060isUpdating\u0060, but \u0060isUpdating\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":"client/src/components/Agents/AgentDetailContent.tsx"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a79745b3c1e53c9247283ff3b5d245447663148e3e38e55430e65d977b994f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060findContainerScript\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":"client/src/hooks/Config/useAnalytics.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdceb1ec17776ea1ea42ecfb2bf156becb7a6dc5dce79650e633e7025dbbf35b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractSubagentType\u0060 swallows every exception into \u0060return \u0027agent\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":"client/src/components/Chat/Messages/Content/Parts/SubagentCall.tsx"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ac240a02c6a1ec8dcb23470b14f87406ec27c1eca2a877885aa2d9b51eef7e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060formatValue\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":"client/src/components/Chat/Messages/Content/AgentHandoff.tsx"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcb59f5acfba24e674a146cf1d932bb2b7514864bf9fbb2d7277a72ae303aaa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060BackgroundTaskCall\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":"client/src/components/Chat/Messages/Content/Parts/BackgroundTaskCall.tsx"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6be616b6a5e976aa636ba2de8e240bc8673e5574eec27b626ae089afb6a00d04"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060ToolApproval\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":"client/src/components/Chat/Messages/Content/ToolApproval.tsx"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"32166059948fb104351a95c2b5bc24eeb82ad4a589e6886627744c01e5a1da0f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060slackCreateUrl\u0060 swallows every exception into \u0060return \u0027https://api.slack.com/apps?new_app=1\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":"client/src/components/SidePanel/Agents/ChannelSetup.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f4df1825847b9254d6a98c730fada19d42f039f7979c416bf6272b63c7bebd"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractServerNameFromUrl\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":"client/src/components/SidePanel/MCPBuilder/MCPServerDialog/utils/urlUtils.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e218c6e453cc1d9e48ebdf0cdc826cda0b9f980272c77334ae070f89ef221acf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060urlToPath\u0060 swallows every exception into \u0060return \u0027[url]\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":"client/src/lib/rum/redact.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a4823eda0a8060a1f4c02713c427b41860c29b1108fd0afc42162c20291cc95"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060currentRouteTemplate\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":"client/src/lib/rum/logs.ts"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef529b386b15df53982eb39f5f2f92bbd2925649c4d1a654ede5faf08fc9b02"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060sanitizeTelemetryUrl\u0060 swallows every exception into \u0060return \u0027[redacted]\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":"client/src/lib/rum/privacy.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ad30837dd887932c84f3d6e335506fed0484138cb7253862ad5a5f5527505d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredPasteIds\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":"client/src/utils/files.ts"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"15589102bbd58c0d5e9dd2310c65c458268851ce41d2cc869a16ea9ed83a38f9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStoredRetainedDeletions\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":"client/src/utils/files.ts"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d9298ebfe8b5a066089e74141fefe9a6afd75a9785c6fc25ea51a7561f36ed"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readPendingDiscardStore\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":"client/src/utils/files.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d0b8a545818b65be4f36783c01dd0ee3f8a9c026723cc0d2983642f79a026ae"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060encodeBase64\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":"client/src/utils/drafts.ts"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567e56b2d791e240a3dde4e9488076b5ba835c6bf8784ef071cf04dd9ba3a6d"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060decodeBase64\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":"client/src/utils/drafts.ts"},"region":{"startLine":710}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a8ad48a0c71d467beb037f693b0e36ade0979f4fab38cb498e5960fe100f03"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeJson\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/activity.ts"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e676eed61a6ad04ac7d63ebe53fcfd8394487e2cca3fc96383c7907b600512"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060describeAuthFailure\u0060 swallows every exception into \u0060return \u0027undescribable rejection\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/execution.ts"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87202f4e1c6a5a89ec14e292a6da2289568a932203a472e08c26acbff774316"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseUsageEvents\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/usage.ts"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1dd8257247d1074131b28dc29e952f14f0b8f53e74dcce05d92d17c486b6e9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060redactUrl\u0060 swallows every exception into \u0060return \u0027[url]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/errors.ts"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1df741f53d76cd35eeff1c9b7b64b36615e280d0db0aaec837b702ffcaea2680"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060extractInvokedSkillsFromPayload\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/run.ts"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d525a1ff5fbd3e44096afbeff81141c8c4f54dd3a983cc4e254dd9011364d4"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/ptc.ts"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"276a0b549f278e868cb800127c11626b250ec1d64c7cfb03fd4882c4a8a336e5"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060findAskUserQuestionContentIndex\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":"packages/api/src/agents/hitl/resume.ts"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"980017b7d6d4ee0ed5adfff8b43b79760541d14475d51094e9b5b41244578ae2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060hook\u0060 (in \u0060registerPluginHooks\u0060) swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/agents/hooks/runtime.ts"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5b918b81bb2d4a7e9889b3571a96adda13c4a8addf391cb74a01c00eebbe3e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getJSONRPCRequestIds\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/connection.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e94488ab34535bffab06b697d9b702d78f03521aac48bc9cdfe450f736875efa"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060parseCspParam\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/mcp/sandbox.ts"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"52759c220a65f74fb03b08afafa75965f5e7905c1ffcc2783e5590bf7a696c23"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getKeySourceSignature\u0060 swallows every exception into \u0060return \u0027inline\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/key.ts"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"27d599d8ea3e778246f81ace48471e4b38597cb16eb9e8615e807b18bb0f0d2b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060logOpenIdRequestBody\u0060 swallows every exception into \u0060return \u0027[OpenID request body metadata unavailable]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/openid.ts"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7599b883f2058d38f7e8eb2147a24859385e32e13b189acde317ed0de620719c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060logHeaders\u0060 swallows every exception into \u0060return \u0027[OpenID request headers unavailable]\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/utils/openid.ts"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f8b51c6a1f48ac532aeb3e8dec0ba2f57f0fecbef31fdc433c704900047b0e"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getNormalizedMimeType\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"4492b7b97916d4a4250e8a8b15cc7920acc760b0f2fe116e32c2322a1a9ae5cf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getNormalizedParentType\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/shared-links/protection.ts"},"region":{"startLine":963}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0952efc875ee6bd2740e62a0074a8cc1f520c3caed8e5f97f4943dc9ac78b6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060reportUnexecutedHooks\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/plugins/hooks.ts"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5993140e897c35147c4b1329e9b239824caec99f05aa6ffe6e3a15b29d29d7a6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getRunSteps\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":4772}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0c4361c164e7a8b7e1a30808add59c555d00fb6cccd1098b6d01eb63de1acc"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getPendingChunks\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/stream/implementations/RedisJobStore.ts"},"region":{"startLine":5687}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fc534ab3c684385e08860bba93f1815eaaa8cf1c65630919f97a5d08f5a9e83"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060getErrorType\u0060 swallows every exception into \u0060return \u0027object\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/api/src/telemetry/safeException.ts"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee273e8c2925513f5cc46938169c047490e46917cfffabcb08283ca5ddcf4a33"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060summarizeOutput\u0060 swallows every exception into \u0060return \u0027\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/chat/src/core/subagents/content.ts"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abfac0cde366ebef85f18b67150a6554589ca009888a07e5110f33381ef6cbf"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readStored\u0060 swallows every exception into \u0060return {}\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/clientLimits.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"01243a229ccb4f3647bab890abf3b5c0c49b6d1e4965d3584a59d2e1855d8ee3"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060readScheduleMCPOutcomes\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/types/schedules.ts"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"0039399563444143e283018e2b7cb893391063ca97bca37bc58df62f90b6e32c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060nextRunInstants\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-provider/src/cadence.ts"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"82639c0a1fd90d18797cf00e124a79fb3b255b8a8444ba8ea34332b0bf0d592b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060validTimeZone\u0060 swallows every exception into \u0060return \u0027UTC\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/methods/insights.ts"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"fca232d8bd750a7b3fe05370adb47e47e1aa1041ed9d3924206c6dd958a4cf81"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060safeStringify\u0060 swallows every exception into \u0060return \u0027(unserializable predicate)\u0027\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"packages/data-schemas/src/tenant/probe.ts"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d047df33831f9970bc8bc834531ad860ab17183f1bd952d555212a94aa29549c"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060editedEntries\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":"scripts/static-checks.mts"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"186e86c9eecbe93502d36826460d00b96afc95809a69048651602c81b890b7e1"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060declaredBundleFiles\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":"scripts/static-checks.mts"},"region":{"startLine":1628}}}],"partialFingerprints":{"codehealthFindingId/v1":"89dde6e86d1786a532cb154fa412f5dc75f611ff1bb0e058cc8cf4f23e741996"}}],"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-1188","guid":"90b5d93c-2e8f-7d58-b831-915e7ee4a150","name":"CWE-1188","shortDescription":{"text":"CWE-1188"},"helpUri":"https://cwe.mitre.org/data/definitions/1188.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1321","guid":"0367a99b-2a5d-7b52-a83b-6f4196022556","name":"CWE-1321","shortDescription":{"text":"CWE-1321"},"helpUri":"https://cwe.mitre.org/data/definitions/1321.html"},{"id":"CWE-1333","guid":"11a336ce-63de-c45c-845e-29ca1e8df13d","name":"CWE-1333","shortDescription":{"text":"CWE-1333"},"helpUri":"https://cwe.mitre.org/data/definitions/1333.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-174","guid":"12320e15-76a3-3950-856e-f2ca9ed179e7","name":"CWE-174","shortDescription":{"text":"CWE-174"},"helpUri":"https://cwe.mitre.org/data/definitions/174.html"},{"id":"CWE-201","guid":"1280be2f-a005-e65c-89ee-62d76055b355","name":"Exposure of Sensitive Information Through Sent Data","shortDescription":{"text":"Exposure of Sensitive Information Through Sent Data"},"helpUri":"https://cwe.mitre.org/data/definitions/201.html"},{"id":"CWE-209","guid":"da28ecd2-f5c1-7852-ac41-a93b2d668c73","name":"Generation of Error Message Containing Sensitive Information","shortDescription":{"text":"Generation of Error Message Containing Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/209.html"},{"id":"CWE-248","guid":"64b58946-d244-a556-a48a-f82fcd4f4186","name":"Uncaught Exception","shortDescription":{"text":"Uncaught Exception"},"helpUri":"https://cwe.mitre.org/data/definitions/248.html"},{"id":"CWE-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-310","guid":"97174724-2e33-8455-b7cd-5c3258d1cb8f","name":"CWE-310","shortDescription":{"text":"CWE-310"},"helpUri":"https://cwe.mitre.org/data/definitions/310.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-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-444","guid":"8989da48-caaf-a955-b9ef-53767db527d8","name":"Inconsistent Interpretation of HTTP Requests (\u0027HTTP Request Smuggling\u0027)","shortDescription":{"text":"Inconsistent Interpretation of HTTP Requests (\u0027HTTP Request Smuggling\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/444.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-703","guid":"fa730aa9-95e4-845e-83fa-8169f2cf339e","name":"Improper Check or Handling of Exceptional Conditions","shortDescription":{"text":"Improper Check or Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/703.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-755","guid":"ac8136dd-f77c-1c5e-bdcc-3905bbad9bd9","name":"Improper Handling of Exceptional Conditions","shortDescription":{"text":"Improper Handling of Exceptional Conditions"},"helpUri":"https://cwe.mitre.org/data/definitions/755.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-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"Missing Authorization","shortDescription":{"text":"Missing Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-863","guid":"423a0473-f7ff-b65b-94ee-e2f6cb591901","name":"Incorrect Authorization","shortDescription":{"text":"Incorrect Authorization"},"helpUri":"https://cwe.mitre.org/data/definitions/863.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"},{"id":"CWE-943","guid":"da8ca609-5263-5d50-8f65-8e61b9587003","name":"CWE-943","shortDescription":{"text":"CWE-943"},"helpUri":"https://cwe.mitre.org/data/definitions/943.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":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":720,"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."]}]}